diff options
author | Chris Lattner <sabre@nondot.org> | 2007-08-03 16:28:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-08-03 16:28:33 +0000 |
commit | 017d6aa8e67da23b6333f669aff1e875c05fd88f (patch) | |
tree | 8b01e3709b5ae78279ce6e05c0151b9ea0d6d9a9 /CodeGen/CodeGenFunction.h | |
parent | 34cdc86af5b0a54084a512a1b2643365b8f5bdd2 (diff) |
add codegen support for storing into a single-element ocu lvalue, such as:
vec2.x = f;
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40781 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenFunction.h')
-rw-r--r-- | CodeGen/CodeGenFunction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CodeGen/CodeGenFunction.h b/CodeGen/CodeGenFunction.h index 2ac8e8035a..d8f1571b38 100644 --- a/CodeGen/CodeGenFunction.h +++ b/CodeGen/CodeGenFunction.h @@ -323,6 +323,7 @@ public: /// lvalue, where both are guaranteed to the have the same type, and that type /// is 'Ty'. void EmitStoreThroughLValue(RValue Src, LValue Dst, QualType Ty); + void EmitStoreThroughOCUComponentLValue(RValue Src, LValue Dst, QualType Ty); LValue EmitDeclRefLValue(const DeclRefExpr *E); LValue EmitStringLiteralLValue(const StringLiteral *E); |