Home
last modified time | relevance | path

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

12

/external/clang/lib/CodeGen/
DCodeGenModule.cpp53 static CGCXXABI &createCXXABI(CodeGenModule &CGM) { in createCXXABI()
64 CodeGenModule::CodeGenModule(ASTContext &C, const CodeGenOptions &CGO, in CodeGenModule() function in CodeGenModule
123 CodeGenModule::~CodeGenModule() { in ~CodeGenModule()
135 void CodeGenModule::createObjCRuntime() { in createObjCRuntime()
142 void CodeGenModule::createOpenCLRuntime() { in createOpenCLRuntime()
146 void CodeGenModule::createCUDARuntime() { in createCUDARuntime()
150 void CodeGenModule::Release() { in Release()
174 void CodeGenModule::UpdateCompletedType(const TagDecl *TD) { in UpdateCompletedType()
179 llvm::MDNode *CodeGenModule::getTBAAInfo(QualType QTy) { in getTBAAInfo()
185 llvm::MDNode *CodeGenModule::getTBAAInfoForVTablePtr() { in getTBAAInfoForVTablePtr()
[all …]
DCGCUDARuntime.h26 class CodeGenModule; variable
33 CodeGenModule &CGM;
36 CGCUDARuntime(CodeGenModule &CGM) : CGM(CGM) {} in CGCUDARuntime()
49 CGCUDARuntime *CreateNVCUDARuntime(CodeGenModule &CGM);
DCGObjCRuntime.h57 class CodeGenModule; variable
66 CodeGen::CodeGenModule &CGM;
67 CGObjCRuntime(CodeGen::CodeGenModule &CGM) : CGM(CGM) {} in CGObjCRuntime()
79 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
82 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
262 virtual llvm::Constant *BuildGCBlockLayout(CodeGen::CodeGenModule &CGM,
282 CGObjCRuntime *CreateGNUObjCRuntime(CodeGenModule &CGM);
283 CGObjCRuntime *CreateMacObjCRuntime(CodeGenModule &CGM);
DCGOpenCLRuntime.h26 class CodeGenModule; variable
30 CodeGenModule &CGM;
33 CGOpenCLRuntime(CodeGenModule &CGM) : CGM(CGM) {} in CGOpenCLRuntime()
DCGCXXABI.h39 class CodeGenModule; variable
44 CodeGenModule &CGM;
47 CGCXXABI(CodeGenModule &CGM) in CGCXXABI()
255 CGCXXABI *CreateARMCXXABI(CodeGenModule &CGM);
256 CGCXXABI *CreateItaniumCXXABI(CodeGenModule &CGM);
257 CGCXXABI *CreateMicrosoftCXXABI(CodeGenModule &CGM);
DCGCXX.cpp33 bool CodeGenModule::TryEmitBaseDestructorAsAlias(const CXXDestructorDecl *D) { in TryEmitBaseDestructorAsAlias()
102 bool CodeGenModule::TryEmitDefinitionAsAlias(GlobalDecl AliasDecl, in TryEmitDefinitionAsAlias()
176 void CodeGenModule::EmitCXXConstructors(const CXXConstructorDecl *D) { in EmitCXXConstructors()
189 void CodeGenModule::EmitCXXConstructor(const CXXConstructorDecl *ctor, in EmitCXXConstructor()
213 CodeGenModule::GetAddrOfCXXConstructor(const CXXConstructorDecl *ctor, in GetAddrOfCXXConstructor()
230 void CodeGenModule::EmitCXXDestructors(const CXXDestructorDecl *D) { in EmitCXXDestructors()
246 void CodeGenModule::EmitCXXDestructor(const CXXDestructorDecl *dtor, in EmitCXXDestructor()
277 CodeGenModule::GetAddrOfCXXDestructor(const CXXDestructorDecl *dtor, in GetAddrOfCXXDestructor()
DTargetInfo.h34 class CodeGenModule; variable
55 CodeGen::CodeGenModule &M) const { } in SetTargetAttributes()
80 virtual int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const { in getDwarfEHStackPointer()
DCGBlocks.cpp40 CodeGenModule::ByrefHelpers::~ByrefHelpers() {} in ~ByrefHelpers()
43 static llvm::Constant *buildGlobalBlock(CodeGenModule &CGM,
48 static llvm::Constant *buildCopyHelper(CodeGenModule &CGM, in buildCopyHelper()
54 static llvm::Constant *buildDisposeHelper(CodeGenModule &CGM, in buildDisposeHelper()
60 static llvm::Constant *buildBlockDescriptor(CodeGenModule &CGM, in buildBlockDescriptor()
217 static llvm::Constant *tryCaptureAsConstant(CodeGenModule &CGM, in tryCaptureAsConstant()
248 static void initializeForBlockHeader(CodeGenModule &CGM, CGBlockInfo &info, in initializeForBlockHeader()
282 static void computeBlockInfo(CodeGenModule &CGM, CodeGenFunction *CGF, in computeBlockInfo()
788 llvm::Type *CodeGenModule::getBlockDescriptorType() { in getBlockDescriptorType()
818 llvm::Type *CodeGenModule::getGenericBlockLiteralType() { in getGenericBlockLiteralType()
[all …]
DCGVTables.h29 class CodeGenModule; variable
32 CodeGenModule &CGM;
76 CodeGenVTables(CodeGenModule &CGM);
DCGRTTI.cpp26 CodeGenModule &CGM; // Per-module state.
65 RTTIBuilder(CodeGenModule &CGM) : CGM(CGM), in RTTIBuilder()
248 static bool ShouldUseExternalRTTIDescriptor(CodeGenModule &CGM, QualType Ty) { in ShouldUseExternalRTTIDescriptor()
309 getTypeInfoLinkage(CodeGenModule &CGM, QualType Ty) { in getTypeInfoLinkage()
517 maybeUpdateRTTILinkage(CodeGenModule &CGM, llvm::GlobalVariable *GV, in maybeUpdateRTTILinkage()
689 CGM.setTypeVisibility(GV, RD, CodeGenModule::TVK_ForRTTI); in BuildTypeInfo()
690 CGM.setTypeVisibility(TypeName, RD, CodeGenModule::TVK_ForRTTIName); in BuildTypeInfo()
699 TypeName->setVisibility(CodeGenModule:: in BuildTypeInfo()
703 GV->setVisibility(CodeGenModule::GetLLVMVisibility(TypeInfoVisibility)); in BuildTypeInfo()
980 llvm::Constant *CodeGenModule::GetAddrOfRTTIDescriptor(QualType Ty, in GetAddrOfRTTIDescriptor()
[all …]
DCGDeclCXX.cpp37 CodeGenModule &CGM = CGF.CGM; in EmitDeclInit()
59 CodeGenModule &CGM = CGF.CGM; in EmitDeclDestroy()
182 CreateGlobalInitOrDestructFunction(CodeGenModule &CGM,
188 static llvm::Constant *createAtExitStub(CodeGenModule &CGM, in createAtExitStub()
269 CreateGlobalInitOrDestructFunction(CodeGenModule &CGM, in CreateGlobalInitOrDestructFunction()
289 CodeGenModule::EmitCXXGlobalVarDeclInitFunc(const VarDecl *D, in EmitCXXGlobalVarDeclInitFunc()
321 CodeGenModule::EmitCXXGlobalInitFunc() { in EmitCXXGlobalInitFunc()
356 void CodeGenModule::EmitCXXGlobalDtorFunc() { in EmitCXXGlobalDtorFunc()
DMicrosoftCXXABI.cpp29 MicrosoftCXXABI(CodeGenModule &CGM) : CGCXXABI(CGM) {} in MicrosoftCXXABI()
92 CGCXXABI *clang::CodeGen::CreateMicrosoftCXXABI(CodeGenModule &CGM) { in CreateMicrosoftCXXABI()
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()
577 llvm::Constant *ConstStructBuilder::BuildStruct(CodeGenModule &CGM, in BuildStruct()
588 llvm::Constant *ConstStructBuilder::BuildStruct(CodeGenModule &CGM, in BuildStruct()
616 CodeGenModule &CGM;
620 ConstExprEmitter(CodeGenModule &cgm, CodeGenFunction *cgf) in ConstExprEmitter()
1009 llvm::Constant *CodeGenModule::EmitConstantInit(const VarDecl &D, in EmitConstantInit()
1034 llvm::Constant *CodeGenModule::EmitConstantExpr(const Expr *E, in EmitConstantExpr()
[all …]
DCGCUDANV.cpp41 CGNVCUDARuntime(CodeGenModule &CGM);
48 CGNVCUDARuntime::CGNVCUDARuntime(CodeGenModule &CGM) : CGCUDARuntime(CGM) { in CGNVCUDARuntime()
124 CGCUDARuntime *CodeGen::CreateNVCUDARuntime(CodeGenModule &CGM) { in CreateNVCUDARuntime()
DCodeGenTypes.h55 class CodeGenModule; variable
69 CodeGenModule &CGM;
108 CodeGenTypes(CodeGenModule &CGM);
DModuleBuilder.cpp36 OwningPtr<CodeGen::CodeGenModule> Builder;
58 Builder.reset(new CodeGen::CodeGenModule(Context, CodeGenOpts, in Initialize()
DCodeGenModule.h211 class CodeGenModule : public CodeGenTypeCache {
212 CodeGenModule(const CodeGenModule&); // DO NOT IMPLEMENT
213 void operator=(const CodeGenModule&); // DO NOT IMPLEMENT
356 CodeGenModule(ASTContext &C, const CodeGenOptions &CodeGenOpts,
360 ~CodeGenModule();
DCGDebugInfo.h39 class CodeGenModule; variable
47 CodeGenModule &CGM;
165 CGDebugInfo(CodeGenModule &CGM);
DCGObjCRuntime.cpp31 static uint64_t LookupFieldBitOffset(CodeGen::CodeGenModule &CGM, in LookupFieldBitOffset()
67 uint64_t CGObjCRuntime::ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, in ComputeIvarBaseOffset()
74 uint64_t CGObjCRuntime::ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, in ComputeIvarBaseOffset()
DCMakeLists.txt46 CodeGenModule.cpp
DCGVTables.cpp31 CodeGenVTables::CodeGenVTables(CodeGenModule &CGM) in CodeGenVTables()
61 llvm::Constant *CodeGenModule::GetAddrOfThunk(GlobalDecl GD, in GetAddrOfThunk()
120 static void setThunkVisibility(CodeGenModule &CGM, const CXXMethodDecl *MD, in setThunkVisibility()
659 CGM.setTypeVisibility(VTable, RD, CodeGenModule::TVK_ForVTable); in EmitVTableDefinition()
691 CGM.setTypeVisibility(VTable, RD, CodeGenModule::TVK_ForConstructionVTable); in GenerateConstructionVTable()
DAndroid.mk45 CodeGenModule.cpp \
DTargetInfo.cpp466 CodeGen::CodeGenModule &CGM) const;
468 int getDwarfEHStackPointer(CodeGen::CodeGenModule &CGM) const { in getDwarfEHStackPointer()
798 CodeGen::CodeGenModule &CGM) const { in SetTargetAttributes()
997 int getDwarfEHStackPointer(CodeGen::CodeGenModule &CGM) const { in getDwarfEHStackPointer()
1049 int getDwarfEHStackPointer(CodeGen::CodeGenModule &CGM) const { in getDwarfEHStackPointer()
2362 int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const { in getDwarfEHStackPointer()
2462 int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const { in getDwarfEHStackPointer()
2859 CodeGen::CodeGenModule &M) const;
2913 CodeGen::CodeGenModule &M) const{ in SetTargetAttributes()
2974 CodeGen::CodeGenModule &M) const;
[all …]
DItaniumCXXABI.cpp56 ItaniumCXXABI(CodeGen::CodeGenModule &CGM, bool IsARM = false) : in ItaniumCXXABI()
131 ARMCXXABI(CodeGen::CodeGenModule &CGM) : ItaniumCXXABI(CGM, /*ARM*/ true) {} in ARMCXXABI()
173 CodeGen::CGCXXABI *CodeGen::CreateItaniumCXXABI(CodeGenModule &CGM) { in CreateItaniumCXXABI()
177 CodeGen::CGCXXABI *CodeGen::CreateARMCXXABI(CodeGenModule &CGM) { in CreateARMCXXABI()
1020 static llvm::Constant *getGuardAcquireFn(CodeGenModule &CGM, in getGuardAcquireFn()
1031 static llvm::Constant *getGuardReleaseFn(CodeGenModule &CGM, in getGuardReleaseFn()
1041 static llvm::Constant *getGuardAbortFn(CodeGenModule &CGM, in getGuardAbortFn()
DCGBlocks.h47 class CodeGenModule; variable

12