Home
last modified time | relevance | path

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

12

/external/clang/lib/CodeGen/
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 …]
DCodeGenModule.cpp60 static CGCXXABI *createCXXABI(CodeGenModule &CGM) { in createCXXABI()
75 CodeGenModule::CodeGenModule(ASTContext &C, const CodeGenOptions &CGO, in CodeGenModule() function in CodeGenModule
150 CodeGenModule::~CodeGenModule() { in ~CodeGenModule()
162 void CodeGenModule::createObjCRuntime() { in createObjCRuntime()
181 void CodeGenModule::createOpenCLRuntime() { in createOpenCLRuntime()
185 void CodeGenModule::createOpenMPRuntime() { in createOpenMPRuntime()
189 void CodeGenModule::createCUDARuntime() { in createCUDARuntime()
193 void CodeGenModule::applyReplacements() { in applyReplacements()
244 void CodeGenModule::checkAliases() { in checkAliases()
310 void CodeGenModule::clear() { in clear()
[all …]
DCGCUDARuntime.h26 class CodeGenModule; variable
33 CodeGenModule &CGM;
36 CGCUDARuntime(CodeGenModule &CGM) : CGM(CGM) {} in CGCUDARuntime()
49 CGCUDARuntime *CreateNVCUDARuntime(CodeGenModule &CGM);
DTargetInfo.h36 class CodeGenModule; variable
58 CodeGen::CodeGenModule &M) const {} in SetTargetAttributes()
63 CodeGen::CodeGenModule &M) const {} in emitTargetMD()
88 virtual int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const { in getDwarfEHStackPointer()
153 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const { in getUBSanFunctionSignature()
DCGOpenCLRuntime.h30 class CodeGenModule; variable
34 CodeGenModule &CGM;
37 CGOpenCLRuntime(CodeGenModule &CGM) : CGM(CGM) {} in CGOpenCLRuntime()
DCGCXX.cpp33 bool CodeGenModule::TryEmitBaseDestructorAsAlias(const CXXDestructorDecl *D) { in TryEmitBaseDestructorAsAlias()
112 bool CodeGenModule::TryEmitDefinitionAsAlias(GlobalDecl AliasDecl, in TryEmitDefinitionAsAlias()
199 void CodeGenModule::EmitCXXConstructor(const CXXConstructorDecl *ctor, in EmitCXXConstructor()
229 CodeGenModule::GetAddrOfCXXConstructor(const CXXConstructorDecl *ctor, in GetAddrOfCXXConstructor()
248 void CodeGenModule::EmitCXXDestructor(const CXXDestructorDecl *dtor, in EmitCXXDestructor()
286 CodeGenModule::GetAddrOfCXXDestructor(const CXXDestructorDecl *dtor, in GetAddrOfCXXDestructor()
313 CodeGenModule &CGM = CGF.CGM; in BuildAppleKextVirtualCall()
DCGOpenMPRuntime.h41 class CodeGenModule; variable
75 CodeGenModule &CGM;
139 explicit CGOpenMPRuntime(CodeGenModule &CGM);
DCGVTables.h29 class CodeGenModule; variable
32 CodeGenModule &CGM;
69 CodeGenVTables(CodeGenModule &CGM);
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()
266 static llvm::Constant *tryCaptureAsConstant(CodeGenModule &CGM, in tryCaptureAsConstant()
297 static void initializeForBlockHeader(CodeGenModule &CGM, CGBlockInfo &info, in initializeForBlockHeader()
331 static void computeBlockInfo(CodeGenModule &CGM, CodeGenFunction *CGF, in computeBlockInfo()
879 llvm::Type *CodeGenModule::getBlockDescriptorType() { in getBlockDescriptorType()
909 llvm::Type *CodeGenModule::getGenericBlockLiteralType() { in getGenericBlockLiteralType()
[all …]
DCGDeclCXX.cpp40 CodeGenModule &CGM = CGF.CGM; in EmitDeclInit()
67 CodeGenModule &CGM = CGF.CGM; in EmitDeclDestroy()
159 CreateGlobalInitOrDestructFunction(CodeGenModule &CGM,
166 static llvm::Constant *createAtExitStub(CodeGenModule &CGM, const VarDecl &VD, in createAtExitStub()
230 CreateGlobalInitOrDestructFunction(CodeGenModule &CGM, in CreateGlobalInitOrDestructFunction()
261 CodeGenModule::EmitCXXGlobalVarDeclInitFunc(const VarDecl *D, in EmitCXXGlobalVarDeclInitFunc()
319 void CodeGenModule::EmitCXXThreadLocalInitFunc() { in EmitCXXThreadLocalInitFunc()
341 CodeGenModule::EmitCXXGlobalInitFunc() { in EmitCXXGlobalInitFunc()
406 void CodeGenModule::EmitCXXGlobalDtorFunc() { in EmitCXXGlobalDtorFunc()
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()
527 llvm::Constant *ConstStructBuilder::BuildStruct(CodeGenModule &CGM, in BuildStruct()
538 llvm::Constant *ConstStructBuilder::BuildStruct(CodeGenModule &CGM, in BuildStruct()
562 CodeGenModule &CGM;
566 ConstExprEmitter(CodeGenModule &cgm, CodeGenFunction *cgf) in ConstExprEmitter()
979 llvm::Constant *CodeGenModule::EmitConstantInit(const VarDecl &D, in EmitConstantInit()
1020 llvm::Constant *CodeGenModule::EmitConstantExpr(const Expr *E, in EmitConstantExpr()
[all …]
DCodeGenPGO.h33 CodeGenModule &CGM;
47 CodeGenPGO(CodeGenModule &CGM) in CodeGenPGO()
113 static llvm::Function *emitInitialization(CodeGenModule &CGM);
DCGCUDANV.cpp40 CGNVCUDARuntime(CodeGenModule &CGM);
47 CGNVCUDARuntime::CGNVCUDARuntime(CodeGenModule &CGM) : CGCUDARuntime(CGM) { in CGNVCUDARuntime()
123 CGCUDARuntime *CodeGen::CreateNVCUDARuntime(CodeGenModule &CGM) { in CreateNVCUDARuntime()
DCGCXXABI.h38 class CodeGenModule; variable
43 CodeGenModule &CGM;
46 CGCXXABI(CodeGenModule &CGM) in CGCXXABI()
526 CGCXXABI *CreateItaniumCXXABI(CodeGenModule &CGM);
529 CGCXXABI *CreateMicrosoftCXXABI(CodeGenModule &CGM);
DCodeGenTypes.h56 class CodeGenModule; variable
62 CodeGenModule &CGM;
111 CodeGenTypes(CodeGenModule &cgm);
DCGException.cpp26 static llvm::Constant *getAllocateExceptionFn(CodeGenModule &CGM) { in getAllocateExceptionFn()
35 static llvm::Constant *getFreeExceptionFn(CodeGenModule &CGM) { in getFreeExceptionFn()
44 static llvm::Constant *getThrowFn(CodeGenModule &CGM) { in getThrowFn()
55 static llvm::Constant *getReThrowFn(CodeGenModule &CGM) { in getReThrowFn()
64 static llvm::Constant *getGetExceptionPtrFn(CodeGenModule &CGM) { in getGetExceptionPtrFn()
73 static llvm::Constant *getBeginCatchFn(CodeGenModule &CGM) { in getBeginCatchFn()
82 static llvm::Constant *getEndCatchFn(CodeGenModule &CGM) { in getEndCatchFn()
91 static llvm::Constant *getUnexpectedFn(CodeGenModule &CGM) { in getUnexpectedFn()
100 static llvm::Constant *getTerminateFn(CodeGenModule &CGM) { in getTerminateFn()
119 static llvm::Constant *getCatchallRethrowFn(CodeGenModule &CGM, in getCatchallRethrowFn()
[all …]
DCodeGenPGO.cpp52 static llvm::Function *getRegisterFunc(CodeGenModule &CGM) { in getRegisterFunc()
56 static llvm::BasicBlock *getOrInsertRegisterBB(CodeGenModule &CGM) { in getOrInsertRegisterBB()
83 static llvm::Constant *getOrInsertRuntimeRegister(CodeGenModule &CGM) { in getOrInsertRuntimeRegister()
91 static bool isMachO(const CodeGenModule &CGM) { in isMachO()
95 static StringRef getCountersSection(const CodeGenModule &CGM) { in getCountersSection()
99 static StringRef getNameSection(const CodeGenModule &CGM) { in getNameSection()
103 static StringRef getDataSection(const CodeGenModule &CGM) { in getDataSection()
174 llvm::Function *CodeGenPGO::emitInitialization(CodeGenModule &CGM) { in emitInitialization()
781 static void emitRuntimeHook(CodeGenModule &CGM) { in emitRuntimeHook()
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()
609 CodeGenModule::getVTableLinkage(const CXXRecordDecl *RD) { in getVTableLinkage()
692 void CodeGenModule::EmitVTable(CXXRecordDecl *theClass, bool isRequired) { in EmitVTable()
748 static bool shouldEmitVTableAtEndOfTranslationUnit(CodeGenModule &CGM, in shouldEmitVTableAtEndOfTranslationUnit()
756 void CodeGenModule::EmitDeferredVTables() { in EmitDeferredVTables()
DModuleBuilder.cpp38 std::unique_ptr<CodeGen::CodeGenModule> Builder;
75 Builder.reset(new CodeGen::CodeGenModule(Context, CodeGenOpts, *M, *TD, in Initialize()
DCodeGenABITypes.cpp31 CGM(new CodeGen::CodeGenModule(C, *CGO, M, TD, C.getDiagnostics())) { in CodeGenABITypes()
DCodeGenModule.h255 class CodeGenModule : public CodeGenTypeCache {
256 CodeGenModule(const CodeGenModule &) LLVM_DELETED_FUNCTION;
257 void operator=(const CodeGenModule &) LLVM_DELETED_FUNCTION;
480 CodeGenModule(ASTContext &C, const CodeGenOptions &CodeGenOpts,
484 ~CodeGenModule();
DCMakeLists.txt55 CodeGenModule.cpp
DTargetInfo.cpp579 CodeGen::CodeGenModule &CGM) const override;
581 int getDwarfEHStackPointer(CodeGen::CodeGenModule &CGM) const override { in getDwarfEHStackPointer()
597 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const override { in getUBSanFunctionSignature()
1133 CodeGen::CodeGenModule &CGM) const { in SetTargetAttributes()
1348 int getDwarfEHStackPointer(CodeGen::CodeGenModule &CGM) const override { in getDwarfEHStackPointer()
1394 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const override { in getUBSanFunctionSignature()
1437 int getDwarfEHStackPointer(CodeGen::CodeGenModule &CGM) const override { in getDwarfEHStackPointer()
2844 int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const override { in getDwarfEHStackPointer()
2947 int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const override { in getDwarfEHStackPointer()
2960 int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const override { in getDwarfEHStackPointer()
[all …]
/external/clang/include/clang/CodeGen/
DCodeGenABITypes.h45 class CodeGenModule; variable
77 CodeGen::CodeGenModule *CGM;

12