| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CGOpenMPRuntimeAMDGCN.h | 19 #include "CodeGenFunction.h" 31 llvm::Value *getGPUWarpSize(CodeGenFunction &CGF) override; 34 llvm::Value *getGPUThreadID(CodeGenFunction &CGF) override; 37 llvm::Value *getGPUNumThreads(CodeGenFunction &CGF) override;
|
| CGOpenMPRuntimeNVPTX.h | 19 #include "CodeGenFunction.h" 31 llvm::Value *getGPUWarpSize(CodeGenFunction &CGF) override; 34 llvm::Value *getGPUThreadID(CodeGenFunction &CGF) override; 37 llvm::Value *getGPUNumThreads(CodeGenFunction &CGF) override;
|
| CGOpenMPRuntimeGPU.h | 18 #include "CodeGenFunction.h" 61 void syncCTAThreads(CodeGenFunction &CGF); 67 void emitWorkerLoop(CodeGenFunction &CGF, WorkerFunctionState &WST); 71 void emitNonSPMDEntryHeader(CodeGenFunction &CGF, EntryFunctionState &EST, 76 void emitNonSPMDEntryFooter(CodeGenFunction &CGF, EntryFunctionState &EST); 79 void emitGenericVarsProlog(CodeGenFunction &CGF, SourceLocation Loc, 83 void emitGenericVarsEpilog(CodeGenFunction &CGF, bool WithSPMDCheck = false); 86 void emitSPMDEntryHeader(CodeGenFunction &CGF, EntryFunctionState &EST, 90 void emitSPMDEntryFooter(CodeGenFunction &CGF, EntryFunctionState &EST); 158 void emitNonSPMDParallelCall(CodeGenFunction &CGF, SourceLocation Loc [all...] |
| CGCXXABI.h | 17 #include "CodeGenFunction.h" 39 class CodeGenFunction; 53 ImplicitParamDecl *getThisDecl(CodeGenFunction &CGF) { 56 llvm::Value *getThisValue(CodeGenFunction &CGF) { 59 Address getThisAddress(CodeGenFunction &CGF) { 64 void ErrorUnsupportedABI(CodeGenFunction &CGF, StringRef S); 69 ImplicitParamDecl *&getStructorImplicitParamDecl(CodeGenFunction &CGF) { 72 llvm::Value *&getStructorImplicitParamValue(CodeGenFunction &CGF) { 77 llvm::Value *loadIncomingCXXThis(CodeGenFunction &CGF); 79 void setCXXABIThisValue(CodeGenFunction &CGF, llvm::Value *ThisPtr) [all...] |
| CGObjCRuntime.h | 37 class CodeGenFunction; 86 LValue EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF, 99 void EmitTryCatchStmt(CodeGenFunction &CGF, const ObjCAtTryStmt &S, 104 void EmitInitOfCatchParam(CodeGenFunction &CGF, llvm::Value *exn, 111 void EmitAtSynchronizedStmt(CodeGenFunction &CGF, 128 virtual llvm::Value *GetSelector(CodeGenFunction &CGF, Selector Sel) = 0; 135 virtual Address GetAddrOfSelector(CodeGenFunction &CGF, Selector Sel) = 0; 138 virtual llvm::Value *GetSelector(CodeGenFunction &CGF, 167 GenerateMessageSend(CodeGen::CodeGenFunction &CGF, 181 GeneratePossiblySpecializedMessageSend(CodeGenFunction &CGF [all...] |
| CGOpenMPRuntime.h | 55 class CodeGenFunction; 63 virtual void Enter(CodeGenFunction &CGF) {} 64 virtual void Exit(CodeGenFunction &CGF) {} 72 typedef void (*CodeGenTy)(intptr_t, CodeGenFunction &, PrePostActionTy &); 77 static void CallbackFn(intptr_t CodeGen, CodeGenFunction &CGF, 92 void operator()(CodeGenFunction &CGF) const; 159 LValue emitSharedLValue(CodeGenFunction &CGF, const Expr *E); 161 LValue emitSharedLValueUB(CodeGenFunction &CGF, const Expr *E); 167 void emitAggregateInitialization(CodeGenFunction &CGF, unsigned N, 177 void emitSharedOrigLValue(CodeGenFunction &CGF, unsigned N) [all...] |
| CGCUDARuntime.cpp | 17 #include "CodeGenFunction.h" 26 RValue CGCUDARuntime::EmitCUDAKernelCallExpr(CodeGenFunction &CGF, 32 CodeGenFunction::ConditionalEvaluation eval(CGF);
|
| CGCXXABI.cpp | 23 void CGCXXABI::ErrorUnsupportedABI(CodeGenFunction &CGF, StringRef S) { 42 CodeGenFunction &CGF, const Expr *E, Address This, 59 CGCXXABI::EmitMemberDataPointerAddress(CodeGenFunction &CGF, const Expr *E, 68 llvm::Value *CGCXXABI::EmitMemberPointerConversion(CodeGenFunction &CGF, 81 CGCXXABI::EmitMemberPointerComparison(CodeGenFunction &CGF, 91 CGCXXABI::EmitMemberPointerIsNotNull(CodeGenFunction &CGF, 122 void CGCXXABI::buildThisParam(CodeGenFunction &CGF, FunctionArgList ¶ms) { 146 llvm::Value *CGCXXABI::loadIncomingCXXThis(CodeGenFunction &CGF) { 151 void CGCXXABI::setCXXABIThisValue(CodeGenFunction &CGF, llvm::Value *ThisPtr) { 157 void CGCXXABI::EmitReturnFromThunk(CodeGenFunction &CGF [all...] |
| CGOpenCLRuntime.h | 32 class CodeGenFunction; 61 /// CodeGenFunction::EmitStaticVarDecl to emit an internal global for D. 62 virtual void EmitWorkGroupLocalVarDecl(CodeGenFunction &CGF, 83 EnqueuedBlockInfo emitOpenCLEnqueuedBlock(CodeGenFunction &CGF,
|
| CGOpenMPRuntimeAMDGCN.cpp | 16 #include "CodeGenFunction.h" 35 llvm::Value *CGOpenMPRuntimeAMDGCN::getGPUWarpSize(CodeGenFunction &CGF) { 42 llvm::Value *CGOpenMPRuntimeAMDGCN::getGPUThreadID(CodeGenFunction &CGF) { 49 llvm::Value *CGOpenMPRuntimeAMDGCN::getGPUNumThreads(CodeGenFunction &CGF) {
|
| CGOpenMPRuntimeNVPTX.cpp | 16 #include "CodeGenFunction.h" 35 llvm::Value *CGOpenMPRuntimeNVPTX::getGPUWarpSize(CodeGenFunction &CGF) { 42 llvm::Value *CGOpenMPRuntimeNVPTX::getGPUThreadID(CodeGenFunction &CGF) { 50 llvm::Value *CGOpenMPRuntimeNVPTX::getGPUNumThreads(CodeGenFunction &CGF) {
|
| TargetInfo.h | 39 class CodeGenFunction; 105 virtual bool initDwarfEHRegSizeTable(CodeGen::CodeGenFunction &CGF, 115 virtual llvm::Value *decodeReturnAddress(CodeGen::CodeGenFunction &CGF, 125 virtual llvm::Value *encodeReturnAddress(CodeGen::CodeGenFunction &CGF, 145 virtual llvm::Type *adjustInlineAsmType(CodeGen::CodeGenFunction &CGF, 153 CodeGen::CodeGenFunction &CGF, CodeGen::LValue ReturnValue, 271 virtual llvm::Value *performAddrSpaceCast(CodeGen::CodeGenFunction &CGF, 307 getCustomFieldValues(CodeGenFunction &CGF, const CGBlockInfo &Info) = 0; 324 createEnqueuedBlockKernel(CodeGenFunction &CGF, 347 virtual bool emitCUDADeviceBuiltinSurfaceDeviceCopy(CodeGenFunction &CGF [all...] |
| CGStmtOpenMP.cpp | 15 #include "CodeGenFunction.h" 41 class OMPLexicalScope : public CodeGenFunction::LexicalScope { 42 void emitPreInitStmt(CodeGenFunction &CGF, const OMPExecutableDirective &S) { 51 CodeGenFunction::AutoVarEmission Emission = 60 CodeGenFunction::OMPPrivateScope InlinedShareds; 62 static bool isCapturedVar(CodeGenFunction &CGF, const VarDecl *VD) { 71 CodeGenFunction &CGF, const OMPExecutableDirective &S, 74 : CodeGenFunction::LexicalScope(CGF, S.getSourceRange()), 113 OMPParallelScope(CodeGenFunction &CGF, const OMPExecutableDirective &S) 128 OMPTeamsScope(CodeGenFunction &CGF, const OMPExecutableDirective &S [all...] |
| CGCUDARuntime.h | 35 class CodeGenFunction; 79 virtual RValue EmitCUDAKernelCallExpr(CodeGenFunction &CGF, 84 virtual void emitDeviceStub(CodeGenFunction &CGF, FunctionArgList &Args) = 0;
|
| CGObjC.cpp | 15 #include "CodeGenFunction.h" 35 tryEmitARCRetainScalarExpr(CodeGenFunction &CGF, const Expr *e); 36 static RValue AdjustObjCObjectType(CodeGenFunction &CGF, 48 llvm::Value *CodeGenFunction::EmitObjCStringLiteral(const ObjCStringLiteral *E) 62 CodeGenFunction::EmitObjCBoxedExpr(const ObjCBoxedExpr *E) { 120 llvm::Value *CodeGenFunction::EmitObjCCollectionLiteral(const Expr *E, 243 llvm::Value *CodeGenFunction::EmitObjCArrayLiteral(const ObjCArrayLiteral *E) { 247 llvm::Value *CodeGenFunction::EmitObjCDictionaryLiteral( 253 llvm::Value *CodeGenFunction::EmitObjCSelectorExpr(const ObjCSelectorExpr *E) { 261 llvm::Value *CodeGenFunction::EmitObjCProtocolExpr(const ObjCProtocolExpr *E) [all...] |
| CodeGenFunction.cpp | 1 //===--- CodeGenFunction.cpp - Emit LLVM Code from ASTs for a Function ----===// 13 #include "CodeGenFunction.h" 68 CodeGenFunction::CodeGenFunction(CodeGenModule &cgm, bool suppressNewContext) 84 CodeGenFunction::~CodeGenFunction() { 112 void CodeGenFunction::SetFPModel() { 123 void CodeGenFunction::SetFastMathFlags(FPOptions FPFeatures) { 135 CodeGenFunction::CGFPOptionsRAII::CGFPOptionsRAII(CodeGenFunction &CGF [all...] |
| EHScopeStack.h | 28 class CodeGenFunction; 59 static saved_type save(CodeGenFunction &CGF, type value) { return value; } 60 static type restore(CodeGenFunction &CGF, saved_type value) { return value; } 191 virtual void Emit(CodeGenFunction &CGF, Flags flags) = 0; 202 T restore(CodeGenFunction &CGF, std::index_sequence<Is...>) { 208 void Emit(CodeGenFunction &CGF, Flags flags) override { 222 // member of CodeGenFunction. 242 CodeGenFunction* CGF; 320 void setCGF(CodeGenFunction *inCGF) { CGF = inCGF; }
|
| ABIInfo.h | 34 class CodeGenFunction; 87 virtual CodeGen::Address EmitVAArg(CodeGen::CodeGenFunction &CGF, 95 virtual CodeGen::Address EmitMSVAArg(CodeGen::CodeGenFunction &CGF,
|
| CGCoroutine.cpp | 14 #include "CodeGenFunction.h" 58 CodeGenFunction::JumpDest CleanupJD; 62 CodeGenFunction::JumpDest FinalJD; 86 clang::CodeGen::CodeGenFunction::CGCoroInfo::CGCoroInfo() {} 87 CodeGenFunction::CGCoroInfo::~CGCoroInfo() {} 89 static void createCoroData(CodeGenFunction &CGF, 90 CodeGenFunction::CGCoroInfo &CurCoro, 175 static LValueOrRValue emitSuspendExpression(CodeGenFunction &CGF, CGCoroData &Coro, 182 CodeGenFunction::OpaqueValueMappingData::bind(CGF, S.getOpaqueValue(), E); 261 RValue CodeGenFunction::EmitCoawaitExpr(const CoawaitExpr &E [all...] |
| CGObjCRuntime.cpp | 19 #include "CodeGenFunction.h" 53 LValue CGObjCRuntime::EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF, 134 void Emit(CodeGenFunction &CGF, Flags flags) override { 143 void CGObjCRuntime::EmitTryCatchStmt(CodeGenFunction &CGF, 149 CodeGenFunction::JumpDest Cont; 155 CodeGenFunction::FinallyInfo FinallyInfo; 196 CodeGenFunction HelperCGF(CGM, /*suppressNewContext=*/true); 245 CodeGenFunction::LexicalScope cleanups(CGF, Handler.Body->getSourceRange()); 288 void CGObjCRuntime::EmitInitOfCatchParam(CodeGenFunction &CGF, 319 void Emit(CodeGenFunction &CGF, Flags flags) override [all...] |
| CGException.cpp | 16 #include "CodeGenFunction.h" 247 const EHPersonality &EHPersonality::get(CodeGenFunction &CGF) { 374 static llvm::Constant *getCatchAllValue(CodeGenFunction &CGF) { 385 void Emit(CodeGenFunction &CGF, Flags flags) override { 395 void CodeGenFunction::EmitAnyExprToExn(const Expr *e, Address addr) { 421 Address CodeGenFunction::getExceptionSlot() { 427 Address CodeGenFunction::getEHSelectorSlot() { 433 llvm::Value *CodeGenFunction::getExceptionFromSlot() { 437 llvm::Value *CodeGenFunction::getSelectorFromSlot() { 441 void CodeGenFunction::EmitCXXThrowExpr(const CXXThrowExpr *E [all...] |
| CGExpr.cpp | 21 #include "CodeGenFunction.h" 53 llvm::Value *CodeGenFunction::EmitCastToVoidPtr(llvm::Value *value) { 67 Address CodeGenFunction::CreateTempAllocaWithoutCast(llvm::Type *Ty, 78 Address CodeGenFunction::CreateTempAlloca(llvm::Type *Ty, CharUnits Align, 109 llvm::AllocaInst *CodeGenFunction::CreateTempAlloca(llvm::Type *Ty, 122 Address CodeGenFunction::CreateDefaultAlignTempAlloca(llvm::Type *Ty, 129 void CodeGenFunction::InitTempAlloca(Address Var, llvm::Value *Init) { 142 Address CodeGenFunction::CreateIRTemp(QualType Ty, const Twine &Name) { 147 Address CodeGenFunction::CreateMemTemp(QualType Ty, const Twine &Name, 153 Address CodeGenFunction::CreateMemTemp(QualType Ty, CharUnits Align [all...] |
| CGDeclCXX.cpp | 16 #include "CodeGenFunction.h" 28 static void EmitDeclInit(CodeGenFunction &CGF, const VarDecl &D, 70 static void EmitDeclDestroy(CodeGenFunction &CGF, const VarDecl &D, 139 Func = CodeGenFunction(CGM) 150 static void EmitDeclInvariant(CodeGenFunction &CGF, const VarDecl &D, 156 void CodeGenFunction::EmitInvariantStart(llvm::Constant *Addr, CharUnits Size) { 174 void CodeGenFunction::EmitCXXGlobalVarDeclInit(const VarDecl &D, 230 llvm::Function *CodeGenFunction::createAtExitStub(const VarDecl &VD, 245 CodeGenFunction CGF(CGM); 266 void CodeGenFunction::registerGlobalDtorWithAtExit(const VarDecl &VD [all...] |
| CGStmt.cpp | 15 #include "CodeGenFunction.h" 42 void CodeGenFunction::EmitStopPoint(const Stmt *S) { 52 void CodeGenFunction::EmitStmt(const Stmt *S, ArrayRef<const Attr *> Attrs) { 392 bool CodeGenFunction::EmitSimpleStmt(const Stmt *S, 436 Address CodeGenFunction::EmitCompoundStmt(const CompoundStmt &S, bool GetLast, 448 CodeGenFunction::EmitCompoundStmtWithoutScope(const CompoundStmt &S, 500 void CodeGenFunction::SimplifyForwardingBlocks(llvm::BasicBlock *BB) { 522 void CodeGenFunction::EmitBlock(llvm::BasicBlock *BB, bool IsFinished) { 542 void CodeGenFunction::EmitBranch(llvm::BasicBlock *Target) { 559 void CodeGenFunction::EmitBlockAfterUses(llvm::BasicBlock *block) [all...] |
| CGCleanup.cpp | 20 #include "CodeGenFunction.h" 35 DominatingValue<RValue>::saved_type::save(CodeGenFunction &CGF, RValue rv) { 51 CodeGenFunction::ComplexPairTy V = rv.getComplexVal(); 76 RValue DominatingValue<RValue>::saved_type::restore(CodeGenFunction &CGF) { 280 Address CodeGenFunction::createCleanupActiveFlag() { 295 void CodeGenFunction::initFullExprCleanupWithFlag(Address ActiveFlag) { 323 static void ResolveAllBranchFixups(CodeGenFunction &CGF, 361 static llvm::SwitchInst *TransitionToCleanupSwitch(CodeGenFunction &CGF, 381 void CodeGenFunction::ResolveBranchFixups(llvm::BasicBlock *Block) { 420 void CodeGenFunction::PopCleanupBlocks [all...] |