Home
last modified time | relevance | path

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

12345

/external/llvm-project/clang/include/clang/CodeGen/
DCodeGenABITypes.h58 class CodeGenModule; variable
70 const CGFunctionInfo &arrangeObjCMessageSendSignature(CodeGenModule &CGM,
74 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM,
77 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM,
80 const CGFunctionInfo &arrangeCXXMethodType(CodeGenModule &CGM,
85 const CGFunctionInfo &arrangeFreeFunctionCall(CodeGenModule &CGM,
94 getImplicitCXXConstructorArgs(CodeGenModule &CGM, const CXXConstructorDecl *D);
97 getCXXDestructorImplicitParam(CodeGenModule &CGM, llvm::BasicBlock *InsertBlock,
103 llvm::FunctionType *convertFreeFunctionType(CodeGenModule &CGM,
106 llvm::Type *convertTypeForMemory(CodeGenModule &CGM, QualType T);
[all …]
DSwiftCallingConv.h36 class CodeGenModule; variable
42 CodeGenModule &CGM;
57 SwiftAggLowering(CodeGenModule &CGM) : CGM(CGM) {} in SwiftAggLowering()
123 bool shouldPassIndirectly(CodeGenModule &CGM,
128 CharUnits getMaximumVoluntaryIntegerSize(CodeGenModule &CGM);
131 CharUnits getNaturalAlignment(CodeGenModule &CGM, llvm::Type *type);
135 bool isLegalIntegerType(CodeGenModule &CGM, llvm::IntegerType *type);
139 bool isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
141 bool isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
146 splitLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
[all …]
/external/clang/include/clang/CodeGen/
DSwiftCallingConv.h38 class CodeGenModule; variable
44 CodeGenModule &CGM;
59 SwiftAggLowering(CodeGenModule &CGM) : CGM(CGM) {} in SwiftAggLowering()
121 CharUnits getMaximumVoluntaryIntegerSize(CodeGenModule &CGM);
124 CharUnits getNaturalAlignment(CodeGenModule &CGM, llvm::Type *type);
128 bool isLegalIntegerType(CodeGenModule &CGM, llvm::IntegerType *type);
132 bool isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
134 bool isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
139 splitLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
146 void legalizeVectorType(CodeGenModule &CGM, CharUnits vectorSize,
[all …]
DCodeGenABITypes.h49 class CodeGenModule; variable
51 const CGFunctionInfo &arrangeObjCMessageSendSignature(CodeGenModule &CGM,
55 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM,
59 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM,
62 const CGFunctionInfo &arrangeCXXMethodType(CodeGenModule &CGM,
67 const CGFunctionInfo &arrangeFreeFunctionCall(CodeGenModule &CGM,
/external/llvm-project/clang/lib/CodeGen/
DCodeGenABITypes.cpp30 void CodeGen::addDefaultFunctionDefinitionAttributes(CodeGenModule &CGM, in addDefaultFunctionDefinitionAttributes()
36 CodeGen::arrangeObjCMessageSendSignature(CodeGenModule &CGM, in arrangeObjCMessageSendSignature()
43 CodeGen::arrangeFreeFunctionType(CodeGenModule &CGM, in arrangeFreeFunctionType()
49 CodeGen::arrangeFreeFunctionType(CodeGenModule &CGM, in arrangeFreeFunctionType()
55 CodeGen::arrangeCXXMethodType(CodeGenModule &CGM, in arrangeCXXMethodType()
63 CodeGen::arrangeFreeFunctionCall(CodeGenModule &CGM, in arrangeFreeFunctionCall()
74 CodeGen::getImplicitCXXConstructorArgs(CodeGenModule &CGM, in getImplicitCXXConstructorArgs()
98 CodeGen::convertFreeFunctionType(CodeGenModule &CGM, const FunctionDecl *FD) { in convertFreeFunctionType()
109 CodeGen::convertTypeForMemory(CodeGenModule &CGM, QualType T) { in convertTypeForMemory()
113 unsigned CodeGen::getLLVMFieldNumber(CodeGenModule &CGM, in getLLVMFieldNumber()
[all …]
DTargetInfo.h58 CodeGen::CodeGenModule &M) const {} in setTargetAttributes()
63 CodeGen::CodeGenModule &CGM, in emitTargetMetadata()
68 virtual void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc, in checkFunctionCallABI()
96 virtual int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const { in getDwarfEHStackPointer()
173 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const { in getUBSanFunctionSignature()
241 virtual llvm::Constant *getNullPointer(const CodeGen::CodeGenModule &CGM,
248 virtual LangAS getGlobalVarAddressSpace(CodeGenModule &CGM,
270 virtual llvm::Constant *performAddrSpaceCast(CodeGenModule &CGM,
301 getCustomFieldValues(CodeGenModule &CGM, const CGBlockInfo &Info) = 0;
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,
315 virtual llvm::Constant *BuildGCBlockLayout(CodeGen::CodeGenModule &CGM,
317 virtual llvm::Constant *BuildRCBlockLayout(CodeGen::CodeGenModule &CGM,
319 virtual std::string getRCBlockLayoutStr(CodeGen::CodeGenModule &CGM, in getRCBlockLayoutStr()
325 virtual llvm::Constant *BuildByrefLayout(CodeGen::CodeGenModule &CGM,
343 unsigned ComputeBitfieldBitOffset(CodeGen::CodeGenModule &CGM,
[all …]
DCodeGenModule.cpp77 static CGCXXABI *createCXXABI(CodeGenModule &CGM) { in createCXXABI()
97 CodeGenModule::CodeGenModule(ASTContext &C, const HeaderSearchOptions &HSO, in CodeGenModule() function in CodeGenModule
183 CodeGenModule::~CodeGenModule() {} in ~CodeGenModule()
185 void CodeGenModule::createObjCRuntime() { in createObjCRuntime()
205 void CodeGenModule::createOpenCLRuntime() { in createOpenCLRuntime()
209 void CodeGenModule::createOpenMPRuntime() { in createOpenMPRuntime()
233 void CodeGenModule::createCUDARuntime() { in createCUDARuntime()
237 void CodeGenModule::addReplacement(StringRef Name, llvm::Constant *C) { in addReplacement()
241 void CodeGenModule::applyReplacements() { in applyReplacements()
272 void CodeGenModule::addGlobalValReplacement(llvm::GlobalValue *GV, llvm::Constant *C) { in addGlobalValReplacement()
[all …]
DCGCUDARuntime.h34 class CodeGenModule; variable
41 CodeGenModule &CGM;
71 CGCUDARuntime(CodeGenModule &CGM) : CGM(CGM) {} in CGCUDARuntime()
101 CGCUDARuntime *CreateNVCUDARuntime(CodeGenModule &CGM);
DSanitizerMetadata.h30 class CodeGenModule; variable
36 CodeGenModule &CGM;
38 SanitizerMetadata(CodeGenModule &CGM);
DSwiftCallingConv.cpp22 static const SwiftABIInfo &getSwiftABIInfo(CodeGenModule &CGM) { in getSwiftABIInfo()
55 static CharUnits getTypeStoreSize(CodeGenModule &CGM, llvm::Type *type) { in getTypeStoreSize()
59 static CharUnits getTypeAllocSize(CodeGenModule &CGM, llvm::Type *type) { in getTypeAllocSize()
647 bool swiftcall::shouldPassIndirectly(CodeGenModule &CGM, in shouldPassIndirectly()
654 CharUnits swiftcall::getMaximumVoluntaryIntegerSize(CodeGenModule &CGM) { in getMaximumVoluntaryIntegerSize()
660 CharUnits swiftcall::getNaturalAlignment(CodeGenModule &CGM, llvm::Type *type) { in getNaturalAlignment()
671 bool swiftcall::isLegalIntegerType(CodeGenModule &CGM, in isLegalIntegerType()
691 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in isLegalVectorType()
698 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in isLegalVectorType()
706 swiftcall::splitLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in splitLegalVectorType()
[all …]
DCGOpenCLRuntime.h33 class CodeGenModule; variable
37 CodeGenModule &CGM;
55 CGOpenCLRuntime(CodeGenModule &CGM) : CGM(CGM), in CGOpenCLRuntime()
DConstantEmitter.h25 CodeGenModule &CGM;
51 ConstantEmitter(CodeGenModule &CGM, CodeGenFunction *CGF = nullptr)
122 static llvm::Constant *emitNullForMemory(CodeGenModule &CGM, QualType T);
123 static llvm::Constant *emitForMemory(CodeGenModule &CGM, llvm::Constant *C,
DPatternInit.h20 class CodeGenModule; variable
22 llvm::Constant *initializationPatternFor(CodeGenModule &, llvm::Type *);
/external/clang/lib/CodeGen/
DCodeGenABITypes.cpp30 CodeGen::arrangeObjCMessageSendSignature(CodeGenModule &CGM, in arrangeObjCMessageSendSignature()
37 CodeGen::arrangeFreeFunctionType(CodeGenModule &CGM, in arrangeFreeFunctionType()
44 CodeGen::arrangeFreeFunctionType(CodeGenModule &CGM, in arrangeFreeFunctionType()
50 CodeGen::arrangeCXXMethodType(CodeGenModule &CGM, in arrangeCXXMethodType()
58 CodeGen::arrangeFreeFunctionCall(CodeGenModule &CGM, in arrangeFreeFunctionCall()
DCodeGenModule.cpp64 static CGCXXABI *createCXXABI(CodeGenModule &CGM) { in createCXXABI()
82 CodeGenModule::CodeGenModule(ASTContext &C, const HeaderSearchOptions &HSO, in CodeGenModule() function in CodeGenModule
161 CodeGenModule::~CodeGenModule() {} in ~CodeGenModule()
163 void CodeGenModule::createObjCRuntime() { in createObjCRuntime()
183 void CodeGenModule::createOpenCLRuntime() { in createOpenCLRuntime()
187 void CodeGenModule::createOpenMPRuntime() { in createOpenMPRuntime()
204 void CodeGenModule::createCUDARuntime() { in createCUDARuntime()
208 void CodeGenModule::addReplacement(StringRef Name, llvm::Constant *C) { in addReplacement()
212 void CodeGenModule::applyReplacements() { in applyReplacements()
243 void CodeGenModule::addGlobalValReplacement(llvm::GlobalValue *GV, llvm::Constant *C) { in addGlobalValReplacement()
[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,
274 virtual llvm::Constant *BuildGCBlockLayout(CodeGen::CodeGenModule &CGM,
276 virtual llvm::Constant *BuildRCBlockLayout(CodeGen::CodeGenModule &CGM,
280 virtual llvm::Constant *BuildByrefLayout(CodeGen::CodeGenModule &CGM,
301 unsigned ComputeBitfieldBitOffset(CodeGen::CodeGenModule &CGM,
308 CGObjCRuntime *CreateGNUObjCRuntime(CodeGenModule &CGM);
[all …]
DCGCUDARuntime.h31 class CodeGenModule; variable
38 CodeGenModule &CGM;
47 CGCUDARuntime(CodeGenModule &CGM) : CGM(CGM) {} in CGCUDARuntime()
68 CGCUDARuntime *CreateNVCUDARuntime(CodeGenModule &CGM);
DTargetInfo.h37 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()
161 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const { in getUBSanFunctionSignature()
DCGOpenCLRuntime.h30 class CodeGenModule; variable
34 CodeGenModule &CGM;
38 CGOpenCLRuntime(CodeGenModule &CGM) : CGM(CGM), PipeTy(nullptr) {} 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);
DSwiftCallingConv.cpp23 static const SwiftABIInfo &getSwiftABIInfo(CodeGenModule &CGM) { in getSwiftABIInfo()
56 static CharUnits getTypeStoreSize(CodeGenModule &CGM, llvm::Type *type) { in getTypeStoreSize()
595 CharUnits swiftcall::getMaximumVoluntaryIntegerSize(CodeGenModule &CGM) { in getMaximumVoluntaryIntegerSize()
601 CharUnits swiftcall::getNaturalAlignment(CodeGenModule &CGM, llvm::Type *type) { in getNaturalAlignment()
612 bool swiftcall::isLegalIntegerType(CodeGenModule &CGM, in isLegalIntegerType()
632 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in isLegalVectorType()
638 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in isLegalVectorType()
646 swiftcall::splitLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in splitLegalVectorType()
660 void swiftcall::legalizeVectorType(CodeGenModule &CGM, CharUnits origVectorSize, in legalizeVectorType()
733 bool swiftcall::shouldPassCXXRecordIndirectly(CodeGenModule &CGM, in shouldPassCXXRecordIndirectly()
[all …]
DCoverageMappingGen.h48 class CodeGenModule; variable
53 CodeGenModule &CGM;
62 CoverageMappingModuleGen(CodeGenModule &CGM, CoverageSourceInfo &SourceInfo) in CoverageMappingModuleGen()
DCGOpenMPRuntimeNVPTX.h40 WorkerFunctionState(CodeGenModule &CGM);
43 void createWorkerFunction(CodeGenModule &CGM);
138 explicit CGOpenMPRuntimeNVPTX(CodeGenModule &CGM);

12345