diff options
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index fee9e6f9b3..36130cf6a8 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -40,6 +40,8 @@ namespace clang { class FunctionDecl; class FunctionTypeProto; class LabelStmt; + class ObjCInterfaceDecl; + class ObjCIvarDecl; class ObjCMethodDecl; class ObjCPropertyImplDecl; class TargetInfo; @@ -334,9 +336,13 @@ public: LValue EmitMemberExpr(const MemberExpr *E); LValue EmitCompoundLiteralLValue(const CompoundLiteralExpr *E); + llvm::Value *EmitIvarOffset(ObjCInterfaceDecl *Interface, + const ObjCIvarDecl *Ivar); LValue EmitLValueForField(llvm::Value* Base, FieldDecl* Field, bool isUnion, unsigned CVRQualifiers); - + LValue EmitLValueForIvar(llvm::Value* Base, const ObjCIvarDecl *Ivar, + unsigned CVRQualifiers); + LValue EmitCXXConditionDeclLValue(const CXXConditionDeclExpr *E); LValue EmitObjCMessageExprLValue(const ObjCMessageExpr *E); @@ -442,6 +448,8 @@ private: /// instructions in IndirectSwitches. void EmitIndirectSwitches(); + void EmitReturnOfRValue(RValue RV, QualType Ty); + /// ExpandTypeFromArgs - Reconstruct a structure of type \arg Ty /// from function arguments into \arg Dst. See ABIArgInfo::Expand. /// |