/external/clang/lib/CodeGen/ |
CGCXXABI.h | 20 #include "CodeGenFunction.h" 38 class CodeGenFunction; 51 ImplicitParamDecl *&getThisDecl(CodeGenFunction &CGF) { 54 llvm::Value *&getThisValue(CodeGenFunction &CGF) { 58 ImplicitParamDecl *&getVTTDecl(CodeGenFunction &CGF) { 61 llvm::Value *&getVTTValue(CodeGenFunction &CGF) { 66 void BuildThisParam(CodeGenFunction &CGF, FunctionArgList &Params); 70 void EmitThisParam(CodeGenFunction &CGF); 92 EmitLoadOfMemberFunctionPointer(CodeGenFunction &CGF, 98 virtual llvm::Value *EmitMemberDataPointerAddress(CodeGenFunction &CGF [all...] |
CGObjCRuntime.h | 37 class CodeGenFunction; 86 LValue EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF, 99 void EmitTryCatchStmt(CodeGenFunction &CGF, 108 void EmitAtSynchronizedStmt(CodeGenFunction &CGF, 154 GenerateMessageSend(CodeGen::CodeGenFunction &CGF, 170 GenerateMessageSendSuper(CodeGen::CodeGenFunction &CGF, 231 virtual void EmitSynchronizedStmt(CodeGen::CodeGenFunction &CGF, 233 virtual void EmitTryStmt(CodeGen::CodeGenFunction &CGF, 235 virtual void EmitThrowStmt(CodeGen::CodeGenFunction &CGF, 237 virtual llvm::Value *EmitObjCWeakRead(CodeGen::CodeGenFunction &CGF [all...] |
CGCUDARuntime.h | 25 class CodeGenFunction; 39 virtual RValue EmitCUDAKernelCallExpr(CodeGenFunction &CGF, 43 virtual void EmitDeviceStubBody(CodeGenFunction &CGF,
|
CGCXXABI.cpp | 22 static void ErrorUnsupportedABI(CodeGenFunction &CGF, 42 llvm::Value *CGCXXABI::EmitLoadOfMemberFunctionPointer(CodeGenFunction &CGF, 57 llvm::Value *CGCXXABI::EmitMemberDataPointerAddress(CodeGenFunction &CGF, 66 llvm::Value *CGCXXABI::EmitMemberPointerConversion(CodeGenFunction &CGF, 79 CGCXXABI::EmitMemberPointerComparison(CodeGenFunction &CGF, 89 CGCXXABI::EmitMemberPointerIsNotNull(CodeGenFunction &CGF, 121 void CGCXXABI::BuildThisParam(CodeGenFunction &CGF, FunctionArgList ¶ms) { 134 void CGCXXABI::EmitThisParam(CodeGenFunction &CGF) { 142 void CGCXXABI::EmitReturnFromThunk(CodeGenFunction &CGF, 151 llvm::Value *CGCXXABI::InitializeArrayCookie(CodeGenFunction &CGF [all...] |
CGOpenCLRuntime.h | 25 class CodeGenFunction; 38 /// CodeGenFunction::EmitStaticVarDecl to emit an internal global for D. 39 virtual void EmitWorkGroupLocalVarDecl(CodeGenFunction &CGF,
|
CGDeclCXX.cpp | 14 #include "CodeGenFunction.h" 23 static void EmitDeclInit(CodeGenFunction &CGF, const VarDecl &D, 57 static void EmitDeclDestroy(CodeGenFunction &CGF, const VarDecl &D, 95 function = CodeGenFunction(CGM).generateDestroyHelper(addr, type, 106 static void EmitDeclInvariant(CodeGenFunction &CGF, const VarDecl &D, 124 void CodeGenFunction::EmitCXXGlobalVarDeclInit(const VarDecl &D, 149 static void emitGlobalDtorWithCXAAtExit(CodeGenFunction &CGF, 197 CodeGenFunction CGF(CGM); 216 static void emitGlobalDtorWithAtExit(CodeGenFunction &CGF, 234 void CodeGenFunction::EmitCXXGlobalDtorRegistration(llvm::Constant *dtor [all...] |
CGCUDARuntime.cpp | 20 #include "CodeGenFunction.h" 27 RValue CGCUDARuntime::EmitCUDAKernelCallExpr(CodeGenFunction &CGF, 33 CodeGenFunction::ConditionalEvaluation eval(CGF);
|
CGObjC.cpp | 16 #include "CodeGenFunction.h" 31 tryEmitARCRetainScalarExpr(CodeGenFunction &CGF, const Expr *e); 32 static RValue AdjustRelatedResultType(CodeGenFunction &CGF, 46 llvm::Value *CodeGenFunction::EmitObjCStringLiteral(const ObjCStringLiteral *E) 59 CodeGenFunction::EmitObjCBoxedExpr(const ObjCBoxedExpr *E) { 88 llvm::Value *CodeGenFunction::EmitObjCCollectionLiteral(const Expr *E, 179 llvm::Value *CodeGenFunction::EmitObjCArrayLiteral(const ObjCArrayLiteral *E) { 183 llvm::Value *CodeGenFunction::EmitObjCDictionaryLiteral( 189 llvm::Value *CodeGenFunction::EmitObjCSelectorExpr(const ObjCSelectorExpr *E) { 197 llvm::Value *CodeGenFunction::EmitObjCProtocolExpr(const ObjCProtocolExpr *E) [all...] |
CMakeLists.txt | 45 CodeGenFunction.cpp
|
CGOpenCLRuntime.cpp | 17 #include "CodeGenFunction.h" 25 void CGOpenCLRuntime::EmitWorkGroupLocalVarDecl(CodeGenFunction &CGF,
|
CodeGenFunction.cpp | 1 //===--- CodeGenFunction.cpp - Emit LLVM Code from ASTs for a Function ----===// 14 #include "CodeGenFunction.h" 31 CodeGenFunction::CodeGenFunction(CodeGenModule &cgm) 48 CodeGenFunction::~CodeGenFunction() { 57 llvm::Type *CodeGenFunction::ConvertTypeForMem(QualType T) { 61 llvm::Type *CodeGenFunction::ConvertType(QualType T) { 65 bool CodeGenFunction::hasAggregateLLVMType(QualType type) { 106 void CodeGenFunction::EmitReturnBlock() [all...] |
CGDecl.cpp | 15 #include "CodeGenFunction.h" 33 void CodeGenFunction::EmitDecl(const Decl &D) { 109 void CodeGenFunction::EmitVarDecl(const VarDecl &D) { 141 static std::string GetStaticDeclName(CodeGenFunction &CGF, const VarDecl &D, 173 CodeGenFunction::CreateStaticVarDecl(const VarDecl &D, 212 CodeGenFunction::AddInitializerToStaticVarDecl(const VarDecl &D, 271 void CodeGenFunction::EmitStaticVarDecl(const VarDecl &D, 338 CodeGenFunction::Destroyer *destroyer, 345 CodeGenFunction::Destroyer *destroyer; 348 void Emit(CodeGenFunction &CGF, Flags flags) [all...] |
CGException.cpp | 14 #include "CodeGenFunction.h" 25 static llvm::Constant *getAllocateExceptionFn(CodeGenFunction &CGF) { 34 static llvm::Constant *getFreeExceptionFn(CodeGenFunction &CGF) { 43 static llvm::Constant *getThrowFn(CodeGenFunction &CGF) { 54 static llvm::Constant *getReThrowFn(CodeGenFunction &CGF) { 63 static llvm::Constant *getGetExceptionPtrFn(CodeGenFunction &CGF) { 72 static llvm::Constant *getBeginCatchFn(CodeGenFunction &CGF) { 81 static llvm::Constant *getEndCatchFn(CodeGenFunction &CGF) { 90 static llvm::Constant *getUnexpectedFn(CodeGenFunction &CGF) { 99 llvm::Constant *CodeGenFunction::getUnwindResumeFn() [all...] |
MicrosoftCXXABI.cpp | 47 void BuildInstanceFunctionParams(CodeGenFunction &CGF, 54 void EmitInstanceFunctionProlog(CodeGenFunction &CGF) { 81 void ReadArrayCookie(CodeGenFunction &CGF, llvm::Value *Ptr,
|
ItaniumCXXABI.cpp | 23 #include "CodeGenFunction.h" 63 llvm::Value *EmitLoadOfMemberFunctionPointer(CodeGenFunction &CGF, 68 llvm::Value *EmitMemberDataPointerAddress(CodeGenFunction &CGF, 73 llvm::Value *EmitMemberPointerConversion(CodeGenFunction &CGF, 88 llvm::Value *EmitMemberPointerComparison(CodeGenFunction &CGF, 94 llvm::Value *EmitMemberPointerIsNotNull(CodeGenFunction &CGF, 108 void BuildInstanceFunctionParams(CodeGenFunction &CGF, 112 void EmitInstanceFunctionProlog(CodeGenFunction &CGF); 115 llvm::Value *InitializeArrayCookie(CodeGenFunction &CGF, 120 void ReadArrayCookie(CodeGenFunction &CGF, llvm::Value *Ptr [all...] |
CGExpr.cpp | 14 #include "CodeGenFunction.h" 36 llvm::Value *CodeGenFunction::EmitCastToVoidPtr(llvm::Value *value) { 50 llvm::AllocaInst *CodeGenFunction::CreateTempAlloca(llvm::Type *Ty, 57 void CodeGenFunction::InitTempAlloca(llvm::AllocaInst *Var, 64 llvm::AllocaInst *CodeGenFunction::CreateIRTemp(QualType Ty, 73 llvm::AllocaInst *CodeGenFunction::CreateMemTemp(QualType Ty, 84 llvm::Value *CodeGenFunction::EvaluateExprAsBool(const Expr *E) { 99 void CodeGenFunction::EmitIgnoredExpr(const Expr *E) { 111 RValue CodeGenFunction::EmitAnyExpr(const Expr *E, AggValueSlot AggSlot, 124 RValue CodeGenFunction::EmitAnyExprToTemp(const Expr *E) [all...] |
CGClass.cpp | 16 #include "CodeGenFunction.h" 78 CodeGenFunction::GetAddressOfDirectBaseInCompleteClass(llvm::Value *This, 108 ApplyNonVirtualAndVirtualOffset(CodeGenFunction &CGF, llvm::Value *ThisPtr, 135 CodeGenFunction::GetAddressOfBaseClass(llvm::Value *Value, 218 CodeGenFunction::GetAddressOfDerivedClass(llvm::Value *Value, 277 static llvm::Value *GetVTTParameter(CodeGenFunction &CGF, GlobalDecl GD, 331 void Emit(CodeGenFunction &CGF, Flags flags) { 368 static void EmitBaseInitializer(CodeGenFunction &CGF, 414 static void EmitAggMemberInitializer(CodeGenFunction &CGF, 424 CodeGenFunction::RunCleanupsScope Cleanups(CGF) [all...] |
CGBlocks.cpp | 15 #include "CodeGenFunction.h" 50 return CodeGenFunction(CGM).GenerateCopyHelperFunction(blockInfo); 56 return CodeGenFunction(CGM).GenerateDestroyHelperFunction(blockInfo); 218 CodeGenFunction *CGF, 282 static void computeBlockInfo(CodeGenModule &CGM, CodeGenFunction *CGF, 493 static void enterBlockScope(CodeGenFunction &CGF, BlockDecl *block) { 535 CodeGenFunction::Destroyer *destroyer; 540 destroyer = CodeGenFunction::destroyARCStrongImprecise; 569 void CodeGenFunction::enterNonTrivialFullExpression(const ExprWithCleanups *E) { 596 void CodeGenFunction::destroyBlockInfos(CGBlockInfo *head) [all...] |
CGStmt.cpp | 16 #include "CodeGenFunction.h" 32 void CodeGenFunction::EmitStopPoint(const Stmt *S) { 43 void CodeGenFunction::EmitStmt(const Stmt *S) { 170 bool CodeGenFunction::EmitSimpleStmt(const Stmt *S) { 192 RValue CodeGenFunction::EmitCompoundStmt(const CompoundStmt &S, bool GetLast, 226 void CodeGenFunction::SimplifyForwardingBlocks(llvm::BasicBlock *BB) { 244 void CodeGenFunction::EmitBlock(llvm::BasicBlock *BB, bool IsFinished) { 264 void CodeGenFunction::EmitBranch(llvm::BasicBlock *Target) { 281 void CodeGenFunction::EmitBlockAfterUses(llvm::BasicBlock *block) { 298 CodeGenFunction::JumpDes [all...] |
Android.mk | 44 CodeGenFunction.cpp \
|
CGObjCRuntime.cpp | 20 #include "CodeGenFunction.h" 81 LValue CGObjCRuntime::EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF, 152 void Emit(CodeGenFunction &CGF, Flags flags) { 164 void CGObjCRuntime::EmitTryCatchStmt(CodeGenFunction &CGF, 170 CodeGenFunction::JumpDest Cont; 174 CodeGenFunction::FinallyInfo FinallyInfo; 232 CodeGenFunction::LexicalScope cleanups(CGF, Handler.Body->getSourceRange()); 297 void Emit(CodeGenFunction &CGF, Flags flags) { 303 void CGObjCRuntime::EmitAtSynchronizedStmt(CodeGenFunction &CGF, 307 CodeGenFunction::RunCleanupsScope cleanups(CGF) [all...] |
TargetInfo.h | 35 class CodeGenFunction; 88 virtual bool initDwarfEHRegSizeTable(CodeGen::CodeGenFunction &CGF, 98 virtual llvm::Value *decodeReturnAddress(CodeGen::CodeGenFunction &CGF, 108 virtual llvm::Value *encodeReturnAddress(CodeGen::CodeGenFunction &CGF, 113 virtual llvm::Type* adjustInlineAsmType(CodeGen::CodeGenFunction &CGF,
|
CGExprCXX.cpp | 15 #include "CodeGenFunction.h" 26 RValue CodeGenFunction::EmitCXXMemberCall(const CXXMethodDecl *MD, 171 RValue CodeGenFunction::EmitCXXMemberCallExpr(const CXXMemberCallExpr *CE, 285 CodeGenFunction::EmitCXXMemberPointerCallExpr(const CXXMemberCallExpr *E, 330 CodeGenFunction::EmitCXXOperatorMemberCallExpr(const CXXOperatorCallExpr *E, 351 RValue CodeGenFunction::EmitCUDAKernelCallExpr(const CUDAKernelCallExpr *E, 356 static void EmitNullBaseClassInitialization(CodeGenFunction &CGF, 400 CodeGenFunction::EmitCXXConstructExpr(const CXXConstructExpr *E, 472 CodeGenFunction::EmitSynthesizedCXXCopyCtor(llvm::Value *Dest, 496 static CharUnits CalculateCookiePadding(CodeGenFunction &CGF [all...] |
CGCXX.cpp | 17 #include "CodeGenFunction.h" 206 CodeGenFunction(*this).GenerateCode(GlobalDecl(ctor, ctorType), fn, fnInfo); 270 CodeGenFunction(*this).GenerateCode(GlobalDecl(dtor, dtorType), fn, fnInfo); 293 static llvm::Value *BuildVirtualCall(CodeGenFunction &CGF, uint64_t VTableIndex, 304 CodeGenFunction::BuildVirtualCall(const CXXMethodDecl *MD, llvm::Value *This, 316 CodeGenFunction::BuildAppleKextVirtualCall(const CXXMethodDecl *MD, 350 CodeGenFunction::BuildAppleKextVirtualDestructorCall( 384 CodeGenFunction::BuildVirtualCall(const CXXDestructorDecl *DD, CXXDtorType Type,
|
CGCUDANV.cpp | 16 #include "CodeGenFunction.h" 43 void EmitDeviceStubBody(CodeGenFunction &CGF, FunctionArgList &Args); 79 void CGNVCUDARuntime::EmitDeviceStubBody(CodeGenFunction &CGF,
|