Home
last modified time | relevance | path

Searched refs:CodeGenModule (Results 1 – 25 of 51) sorted by relevance

123

/external/clang/lib/CodeGen/
DCodeGenModule.cpp61 static CGCXXABI *createCXXABI(CodeGenModule &CGM) { in createCXXABI()
77 CodeGenModule::CodeGenModule(ASTContext &C, const CodeGenOptions &CGO, in CodeGenModule() function in CodeGenModule
160 CodeGenModule::~CodeGenModule() { in ~CodeGenModule()
172 void CodeGenModule::createObjCRuntime() { in createObjCRuntime()
191 void CodeGenModule::createOpenCLRuntime() { in createOpenCLRuntime()
195 void CodeGenModule::createOpenMPRuntime() { in createOpenMPRuntime()
199 void CodeGenModule::createCUDARuntime() { in createCUDARuntime()
203 void CodeGenModule::addReplacement(StringRef Name, llvm::Constant *C) { in addReplacement()
207 void CodeGenModule::applyReplacements() { in applyReplacements()
258 void CodeGenModule::checkAliases() { in checkAliases()
[all …]
DCGObjCRuntime.h56 class CodeGenModule; variable
65 CodeGen::CodeGenModule &CGM;
66 CGObjCRuntime(CodeGen::CodeGenModule &CGM) : CGM(CGM) {} in CGObjCRuntime()
78 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
81 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
265 virtual llvm::Constant *BuildGCBlockLayout(CodeGen::CodeGenModule &CGM,
267 virtual llvm::Constant *BuildRCBlockLayout(CodeGen::CodeGenModule &CGM,
269 virtual llvm::Constant *BuildByrefLayout(CodeGen::CodeGenModule &CGM,
289 unsigned ComputeBitfieldBitOffset(CodeGen::CodeGenModule &CGM,
296 CGObjCRuntime *CreateGNUObjCRuntime(CodeGenModule &CGM);
[all …]
DCGCUDARuntime.h26 class CodeGenModule; variable
33 CodeGenModule &CGM;
36 CGCUDARuntime(CodeGenModule &CGM) : CGM(CGM) {} in CGCUDARuntime()
49 CGCUDARuntime *CreateNVCUDARuntime(CodeGenModule &CGM);
DTargetInfo.h37 class CodeGenModule; variable
59 CodeGen::CodeGenModule &M) const {} in SetTargetAttributes()
64 CodeGen::CodeGenModule &M) const {} in emitTargetMD()
89 virtual int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const { in getDwarfEHStackPointer()
162 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const { in getUBSanFunctionSignature()
DCGOpenCLRuntime.h30 class CodeGenModule; variable
34 CodeGenModule &CGM;
37 CGOpenCLRuntime(CodeGenModule &CGM) : CGM(CGM) {} in CGOpenCLRuntime()
DSanitizerMetadata.h31 class CodeGenModule; variable
37 CodeGenModule &CGM;
39 SanitizerMetadata(CodeGenModule &CGM);
DCGVTables.h29 class CodeGenModule; variable
32 CodeGenModule &CGM;
69 CodeGenVTables(CodeGenModule &CGM);
DCoverageMappingGen.h48 class CodeGenModule; variable
53 CodeGenModule &CGM;
61 CoverageMappingModuleGen(CodeGenModule &CGM, CoverageSourceInfo &SourceInfo) in CoverageMappingModuleGen()
DCGBlocks.cpp43 CodeGenModule::ByrefHelpers::~ByrefHelpers() {} in ~ByrefHelpers()
46 static llvm::Constant *buildGlobalBlock(CodeGenModule &CGM,
51 static llvm::Constant *buildCopyHelper(CodeGenModule &CGM, in buildCopyHelper()
57 static llvm::Constant *buildDisposeHelper(CodeGenModule &CGM, in buildDisposeHelper()
76 static llvm::Constant *buildBlockDescriptor(CodeGenModule &CGM, in buildBlockDescriptor()
272 static llvm::Constant *tryCaptureAsConstant(CodeGenModule &CGM, in tryCaptureAsConstant()
303 static void initializeForBlockHeader(CodeGenModule &CGM, CGBlockInfo &info, in initializeForBlockHeader()
337 static void computeBlockInfo(CodeGenModule &CGM, CodeGenFunction *CGF, in computeBlockInfo()
901 llvm::Type *CodeGenModule::getBlockDescriptorType() { in getBlockDescriptorType()
931 llvm::Type *CodeGenModule::getGenericBlockLiteralType() { in getGenericBlockLiteralType()
[all …]
DCGCXX.cpp33 bool CodeGenModule::TryEmitBaseDestructorAsAlias(const CXXDestructorDecl *D) { in TryEmitBaseDestructorAsAlias()
113 bool CodeGenModule::TryEmitDefinitionAsAlias(GlobalDecl AliasDecl, in TryEmitDefinitionAsAlias()
205 llvm::Function *CodeGenModule::codegenCXXStructor(const CXXMethodDecl *MD, in codegenCXXStructor()
227 llvm::GlobalValue *CodeGenModule::getAddrOfCXXStructor( in getAddrOfCXXStructor()
260 CodeGenModule &CGM = CGF.CGM; in BuildAppleKextVirtualCall()
DCGCXXABI.h39 class CodeGenModule; variable
44 CodeGenModule &CGM;
47 CGCXXABI(CodeGenModule &CGM) in CGCXXABI()
514 CodeGenModule &CGM,
539 CGCXXABI *CreateItaniumCXXABI(CodeGenModule &CGM);
542 CGCXXABI *CreateMicrosoftCXXABI(CodeGenModule &CGM);
DCGExprConstant.cpp37 CodeGenModule &CGM;
45 static llvm::Constant *BuildStruct(CodeGenModule &CGM, CodeGenFunction *CGF,
47 static llvm::Constant *BuildStruct(CodeGenModule &CGM, CodeGenFunction *CGF,
51 ConstStructBuilder(CodeGenModule &CGM, CodeGenFunction *CGF) in ConstStructBuilder()
548 llvm::Constant *ConstStructBuilder::BuildStruct(CodeGenModule &CGM, in BuildStruct()
559 llvm::Constant *ConstStructBuilder::BuildStruct(CodeGenModule &CGM, in BuildStruct()
583 CodeGenModule &CGM;
587 ConstExprEmitter(CodeGenModule &cgm, CodeGenFunction *cgf) in ConstExprEmitter()
1006 llvm::Constant *CodeGenModule::EmitConstantInit(const VarDecl &D, in EmitConstantInit()
1047 llvm::Constant *CodeGenModule::EmitConstantExpr(const Expr *E, in EmitConstantExpr()
[all …]
DCGCUDANV.cpp40 CGNVCUDARuntime(CodeGenModule &CGM);
47 CGNVCUDARuntime::CGNVCUDARuntime(CodeGenModule &CGM) : CGCUDARuntime(CGM) { in CGNVCUDARuntime()
123 CGCUDARuntime *CodeGen::CreateNVCUDARuntime(CodeGenModule &CGM) { in CreateNVCUDARuntime()
DCGDeclCXX.cpp41 CodeGenModule &CGM = CGF.CGM; in EmitDeclInit()
68 CodeGenModule &CGM = CGF.CGM; in EmitDeclDestroy()
251 llvm::Function *CodeGenModule::CreateGlobalInitOrDestructFunction( in CreateGlobalInitOrDestructFunction()
282 void CodeGenModule::EmitPointerToInitFunc(const VarDecl *D, in EmitPointerToInitFunc()
298 CodeGenModule::EmitCXXGlobalVarDeclInitFunc(const VarDecl *D, in EmitCXXGlobalVarDeclInitFunc()
372 void CodeGenModule::EmitCXXThreadLocalInitFunc() { in EmitCXXThreadLocalInitFunc()
382 CodeGenModule::EmitCXXGlobalInitFunc() { in EmitCXXGlobalInitFunc()
452 void CodeGenModule::EmitCXXGlobalDtorFunc() { in EmitCXXGlobalDtorFunc()
DCodeGenTypes.h56 class CodeGenModule; variable
121 CodeGenModule &CGM;
170 CodeGenTypes(CodeGenModule &cgm);
DCGOpenMPRuntime.h44 class CodeGenModule; variable
144 CodeGenModule &CGM;
301 explicit CGOpenMPRuntime(CodeGenModule &CGM);
DCGObjCRuntime.cpp29 static uint64_t LookupFieldBitOffset(CodeGen::CodeGenModule &CGM, in LookupFieldBitOffset()
65 uint64_t CGObjCRuntime::ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, in ComputeIvarBaseOffset()
72 uint64_t CGObjCRuntime::ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, in ComputeIvarBaseOffset()
80 CodeGen::CodeGenModule &CGM, in ComputeBitfieldBitOffset()
DCGVTables.cpp32 CodeGenVTables::CodeGenVTables(CodeGenModule &CGM) in CodeGenVTables()
35 llvm::Constant *CodeGenModule::GetAddrOfThunk(GlobalDecl GD, in GetAddrOfThunk()
54 static void setThunkVisibility(CodeGenModule &CGM, const CXXMethodDecl *MD, in setThunkVisibility()
681 CodeGenModule::getVTableLinkage(const CXXRecordDecl *RD) { in getVTableLinkage()
761 void CodeGenModule::EmitVTable(CXXRecordDecl *theClass) { in EmitVTable()
815 static bool shouldEmitVTableAtEndOfTranslationUnit(CodeGenModule &CGM, in shouldEmitVTableAtEndOfTranslationUnit()
823 void CodeGenModule::EmitDeferredVTables() { in EmitDeferredVTables()
843 void CodeGenModule::EmitVTableBitSetEntries(llvm::GlobalVariable *VTable, in EmitVTableBitSetEntries()
DCodeGenPGO.h33 CodeGenModule &CGM;
48 CodeGenPGO(CodeGenModule &CGM) in CodeGenPGO()
DTargetInfo.cpp641 CodeGen::CodeGenModule &CGM) const override;
643 int getDwarfEHStackPointer(CodeGen::CodeGenModule &CGM) const override { in getDwarfEHStackPointer()
667 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const override { in getUBSanFunctionSignature()
1323 CodeGen::CodeGenModule &CGM) const { in SetTargetAttributes()
1556 int getDwarfEHStackPointer(CodeGen::CodeGenModule &CGM) const override { in getDwarfEHStackPointer()
1602 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const override { in getUBSanFunctionSignature()
1654 CodeGen::CodeGenModule &CGM) const override;
1671 CodeGen::CodeGenModule &CGM) { in addStackProbeSizeTargetAttribute()
1683 CodeGen::CodeGenModule &CGM) const { in SetTargetAttributes()
1696 CodeGen::CodeGenModule &CGM) const override;
[all …]
DModuleBuilder.cpp53 std::unique_ptr<CodeGen::CodeGenModule> Builder;
100 Builder.reset(new CodeGen::CodeGenModule(Context, CodeGenOpts, *M, *TD, in Initialize()
DItaniumCXXABI.cpp54 ItaniumCXXABI(CodeGen::CodeGenModule &CGM, in ItaniumCXXABI()
260 CodeGenModule &CGM,
308 ARMCXXABI(CodeGen::CodeGenModule &CGM) : in ARMCXXABI()
333 iOS64CXXABI(CodeGen::CodeGenModule &CGM) : ARMCXXABI(CGM) {} in iOS64CXXABI()
340 CodeGen::CGCXXABI *CodeGen::CreateItaniumCXXABI(CodeGenModule &CGM) { in CreateItaniumCXXABI()
925 static llvm::Constant *getAllocateExceptionFn(CodeGenModule &CGM) { in getAllocateExceptionFn()
934 static llvm::Constant *getThrowFn(CodeGenModule &CGM) { in getThrowFn()
1698 static llvm::Constant *getGuardAcquireFn(CodeGenModule &CGM, in getGuardAcquireFn()
1710 static llvm::Constant *getGuardReleaseFn(CodeGenModule &CGM, in getGuardReleaseFn()
1721 static llvm::Constant *getGuardAbortFn(CodeGenModule &CGM, in getGuardAbortFn()
[all …]
DCGException.cpp31 static llvm::Constant *getFreeExceptionFn(CodeGenModule &CGM) { in getFreeExceptionFn()
40 static llvm::Constant *getUnexpectedFn(CodeGenModule &CGM) { in getUnexpectedFn()
49 llvm::Constant *CodeGenModule::getTerminateFn() { in getTerminateFn()
72 static llvm::Constant *getCatchallRethrowFn(CodeGenModule &CGM, in getCatchallRethrowFn()
90 static const EHPersonality &get(CodeGenModule &CGM,
215 const EHPersonality &EHPersonality::get(CodeGenModule &CGM, in get()
242 static llvm::Constant *getPersonalityFn(CodeGenModule &CGM, in getPersonalityFn()
250 static llvm::Constant *getOpaquePersonalityFn(CodeGenModule &CGM, in getOpaquePersonalityFn()
306 void CodeGenModule::SimplifyPersonality() { in SimplifyPersonality()
1318 CodeGenModule &CGM = CGF.CGM; in Emit()
DCodeGenABITypes.cpp32 CGM(new CodeGen::CodeGenModule(C, *CGO, M, TD, C.getDiagnostics(), in CodeGenABITypes()
/external/clang/include/clang/CodeGen/
DCodeGenABITypes.h46 class CodeGenModule; variable
79 CodeGen::CodeGenModule *CGM;

123