Home
last modified time | relevance | path

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

1234

/llvm-project/clang/lib/CodeGen/
H A DTargetInfo.h19 #include "CodeGenModule.h"
77 CodeGen::CodeGenModule &M) const {}
82 CodeGen::CodeGenModule &CGM, in emitTargetMetadata()
86 virtual void emitTargetGlobals(CodeGen::CodeGenModule &CGM) const {}
90 virtual void checkFunctionABI(CodeGenModule &CGM, in checkFunctionABI()
95 virtual void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc, in checkFunctionCallABI()
142 virtual int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const { in decodeReturnAddress()
180 CodeGenModule &CGM) const { in isScalarizableAsmOperand()
237 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const {
305 virtual llvm::Constant *getNullPointer(const CodeGen::CodeGenModule
[all...]
H A DCodeGenABITypes.cpp22 #include "CodeGenModule.h"
28 void CodeGen::addDefaultFunctionDefinitionAttributes(CodeGenModule &CGM,
34 CodeGen::arrangeObjCMessageSendSignature(CodeGenModule &CGM,
41 CodeGen::arrangeFreeFunctionType(CodeGenModule &CGM,
47 CodeGen::arrangeFreeFunctionType(CodeGenModule &CGM,
53 CodeGen::arrangeCXXMethodType(CodeGenModule &CGM,
61 CodeGenModule &CGM, CanQualType returnType, ArrayRef<CanQualType> argTypes,
71 CodeGenModule &CGM, CanQualType returnType, ArrayRef<CanQualType> argTypes,
80 CodeGen::getImplicitCXXConstructorArgs(CodeGenModule &CGM, in getImplicitCXXConstructorArgs()
104 CodeGen::convertFreeFunctionType(CodeGenModule in convertFreeFunctionType()
[all...]
H A DCGPointerAuth.cpp15 #include "CodeGenModule.h"
26 llvm::ConstantInt *CodeGenModule::getPointerAuthOtherDiscriminator( in getPointerAuthOtherDiscriminator()
49 uint16_t CodeGen::getPointerAuthTypeDiscriminator(CodeGenModule &CGM, in getPointerAuthDeclDiscriminator()
54 uint16_t CodeGen::getPointerAuthDeclDiscriminator(CodeGenModule &CGM, in getPointerAuthDeclDiscriminator()
61 CodeGenModule::getPointerAuthDeclDiscriminator(GlobalDecl Declaration) { in getPointerAuthDeclDiscriminator()
74 CGPointerAuthInfo CodeGenModule::getFunctionPointerAuthInfo(QualType T) { in getFunctionPointerAuthInfo()
131 getPointerAuthInfoForPointeeType(CodeGenModule &CGM, QualType PointeeType) { in getConstantSignedPointer()
143 CGPointerAuthInfo CodeGenModule::getPointerAuthInfoForPointeeType(QualType T) { in shouldSignPointer()
149 static CGPointerAuthInfo getPointerAuthInfoForType(CodeGenModule &CGM,
165 CGPointerAuthInfo CodeGenModule
[all...]
H A DCGObjCRuntime.h58 class CodeGenModule; variable
67 CodeGen::CodeGenModule &CGM;
68 CGObjCRuntime(CodeGen::CodeGenModule &CGM) : CGM(CGM) {} in CGObjCRuntime()
80 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
83 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
316 virtual llvm::Constant *BuildGCBlockLayout(CodeGen::CodeGenModule &CGM,
318 virtual llvm::Constant *BuildRCBlockLayout(CodeGen::CodeGenModule &CGM,
320 virtual std::string getRCBlockLayoutStr(CodeGen::CodeGenModule &CGM, in getRCBlockLayoutStr()
326 virtual llvm::Constant *BuildByrefLayout(CodeGen::CodeGenModule &CGM,
361 unsigned ComputeBitfieldBitOffset(CodeGen::CodeGenModule &CGM,
[all …]
H A DCodeGenModule.cpp1 //===--- CodeGenModule.cpp - Emit LLVM Code from ASTs for a Module --------===//
13 #include "CodeGenModule.h"
87 static CGCXXABI *createCXXABI(CodeGenModule &CGM) {
108 createTargetCodeGenInfo(CodeGenModule &CGM) {
328 const TargetCodeGenInfo &CodeGenModule::getTargetCodeGenInfo() { in getTargetCodeGenInfo()
334 CodeGenModule::CodeGenModule(ASTContext &C, in CodeGenModule() function in CodeGenModule
456 CodeGenModule::~CodeGenModule() {}
458 void CodeGenModule in createObjCRuntime()
[all...]
H A DCGCUDARuntime.h38 class CodeGenModule;
45 CodeGenModule &CGM;
83 CGCUDARuntime(CodeGenModule &CGM) : CGM(CGM) {}
120 CGCUDARuntime *CreateNVCUDARuntime(CodeGenModule &CGM);
37 class CodeGenModule; global() variable
H A DSwiftCallingConv.cpp15 #include "CodeGenModule.h"
23 static const SwiftABIInfo &getSwiftABIInfo(CodeGenModule &CGM) {
56 static CharUnits getTypeStoreSize(CodeGenModule &CGM, llvm::Type *type) {
60 static CharUnits getTypeAllocSize(CodeGenModule &CGM, llvm::Type *type) {
646 bool swiftcall::shouldPassIndirectly(CodeGenModule &CGM,
652 CharUnits swiftcall::getMaximumVoluntaryIntegerSize(CodeGenModule &CGM) {
658 CharUnits swiftcall::getNaturalAlignment(CodeGenModule &CGM, llvm::Type *type) {
667 bool swiftcall::isLegalIntegerType(CodeGenModule &CGM,
687 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
694 bool swiftcall::isLegalVectorType(CodeGenModule in isLegalVectorType()
[all...]
H A DSanitizerMetadata.h30 class CodeGenModule; variable
36 CodeGenModule &CGM;
39 SanitizerMetadata(CodeGenModule &CGM);
H A DTargetInfo.cpp120 llvm::Constant *TargetCodeGenInfo::getNullPointer(const CodeGen::CodeGenModule &CGM, in getNullPointer()
125 LangAS TargetCodeGenInfo::getGlobalVarAddressSpace(CodeGenModule &CGM, in getGlobalVarAddressSpace()
146 TargetCodeGenInfo::performAddrSpaceCast(CodeGenModule &CGM, llvm::Constant *Src, in performAddrSpaceCast()
163 const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &CGM) const { in addStackProbeTargetAttributes()
264 CodeGen::createDefaultTargetCodeGenInfo(CodeGenModule &CGM) {
H A DCoverageMappingGen.h97 class CodeGenModule;
115 CodeGenModule &CGM;
131 CoverageMappingModuleGen(CodeGenModule &CGM, CoverageSourceInfo &SourceInfo);
152 /// Return an interface into CodeGenModule.
153 CodeGenModule &getCodeGenModule() { return CGM; }
92 class CodeGenModule; global() variable
H A DConstantEmitter.h18 #include "CodeGenModule.h"
25 CodeGenModule &CGM;
51 ConstantEmitter(CodeGenModule &CGM, CodeGenFunction *CGF = nullptr)
129 static llvm::Constant *emitNullForMemory(CodeGenModule &CGM, QualType T);
130 static llvm::Constant *emitForMemory(CodeGenModule &CGM, llvm::Constant *C,
H A DCGOpenCLRuntime.h34 class CodeGenModule; variable
38 CodeGenModule &CGM;
58 CGOpenCLRuntime(CodeGenModule &CGM) : CGM(CGM), in CGOpenCLRuntime()
H A DCGVTables.h28 class CodeGenModule; variable
33 CodeGenModule &CGM;
89 CodeGenVTables(CodeGenModule &CGM);
H A DPatternInit.h20 class CodeGenModule; variable
22 llvm::Constant *initializationPatternFor(CodeGenModule &, llvm::Type *);
H A DCGHLSLRuntime.h67 class CodeGenModule; variable
139 CodeGenModule &CGM;
145 CGHLSLRuntime(CodeGenModule &CGM) : CGM(CGM) {}
/llvm-project/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h51 class CodeGenModule; variable
63 const CGFunctionInfo &arrangeObjCMessageSendSignature(CodeGenModule &CGM,
67 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM,
70 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM,
73 const CGFunctionInfo &arrangeCXXMethodType(CodeGenModule &CGM,
79 arrangeCXXMethodCall(CodeGenModule &CGM, CanQualType returnType,
85 CodeGenModule &CGM, CanQualType returnType, ArrayRef<CanQualType> argTypes,
92 arrangeFreeFunctionCall(CodeGenModule &CGM, CanQualType returnType,
101 getImplicitCXXConstructorArgs(CodeGenModule &CGM, const CXXConstructorDecl *D);
104 getCXXDestructorImplicitParam(CodeGenModule
[all...]
H A 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 …]
/llvm-project/clang/lib/CodeGen/Targets/
H A DXCore.cpp123 const CodeGen::CodeGenModule &M) const;
128 void emitTargetMetadata(CodeGen::CodeGenModule &CGM,
293 const CodeGen::CodeGenModule &CGM,
299 const CodeGen::CodeGenModule &CGM) const { in emitTargetMD()
312 CodeGen::CodeGenModule &CGM, in emitTargetMetadata()
328 const CodeGen::CodeGenModule &CGM,
336 const CodeGen::CodeGenModule &CGM, in extractFieldType()
363 const CodeGen::CodeGenModule &CGM, in appendRecordType()
532 const CodeGen::CodeGenModule &CGM, in appendPointerType()
544 const CodeGen::CodeGenModule in appendArrayType()
[all...]
H A DM68k.cpp26 CodeGen::CodeGenModule &M) const override;
32 const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const { in setTargetAttributes()
53 CodeGen::createM68kTargetCodeGenInfo(CodeGenModule &CGM) { in createM68kTargetCodeGenInfo()
H A DSPIR.cpp54 llvm::Type *getOpenCLType(CodeGenModule &CGM, const Type *T) const override;
55 llvm::Type *getHLSLType(CodeGenModule &CGM, const Type *Ty) const override;
65 LangAS getGlobalVarAddressSpace(CodeGenModule &CGM, in setCCs()
68 CodeGen::CodeGenModule &M) const override; in classifyKernelArgumentType()
205 void computeSPIRKernelABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI) { in getOpenCLType()
229 SPIRVTargetCodeGenInfo::getGlobalVarAddressSpace(CodeGenModule &CGM,
251 const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const {
332 llvm::Type *CommonSPIRTargetCodeGenInfo::getOpenCLType(CodeGenModule &CGM,
367 llvm::Type *CommonSPIRTargetCodeGenInfo::getHLSLType(CodeGenModule &CGM,
443 CodeGen::createCommonSPIRTargetCodeGenInfo(CodeGenModule
[all...]
H A DAMDGPU.cpp305 CodeGenModule &CGM) const; in getASTAllocaAddressSpace()
307 void emitTargetGlobals(CodeGen::CodeGenModule &CGM) const override; in getASTAllocaAddressSpace()
310 CodeGen::CodeGenModule &M) const override;
313 llvm::Constant *getNullPointer(const CodeGen::CodeGenModule &CGM,
320 LangAS getGlobalVarAddressSpace(CodeGenModule &CGM,
353 const FunctionDecl *FD, llvm::Function *F, CodeGenModule &M) const { in setFunctionDeclAttributes()
419 CodeGen::CodeGenModule &CGM) const { in emitTargetGlobals()
451 const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const { in setTargetAttributes()
482 const CodeGen::CodeGenModule &CGM, llvm::PointerType *PT,
495 AMDGPUTargetCodeGenInfo::getGlobalVarAddressSpace(CodeGenModule in getGlobalVarAddressSpace()
[all...]
H A DMSP430.cpp68 CodeGen::CodeGenModule &M) const override;
74 const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const { in setTargetAttributes()
95 CodeGen::createMSP430TargetCodeGenInfo(CodeGenModule &CGM) { in createMSP430TargetCodeGenInfo()
H A DTCE.cpp29 CodeGen::CodeGenModule &M) const override;
33 const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const { in setTargetAttributes()
80 CodeGen::createTCETargetCodeGenInfo(CodeGenModule &CGM) { in createTCETargetCodeGenInfo()
H A DNVPTX.cpp49 CodeGen::CodeGenModule &M) const override;
52 llvm::Constant *getNullPointer(const CodeGen::CodeGenModule &CGM,
234 const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const { in setTargetAttributes()
337 NVPTXTargetCodeGenInfo::getNullPointer(const CodeGen::CodeGenModule &CGM, in handleCUDALaunchBoundsAttr()
351 void CodeGenModule::handleCUDALaunchBoundsAttr(llvm::Function *F, in handleCUDALaunchBoundsAttr()
401 CodeGen::createNVPTXTargetCodeGenInfo(CodeGenModule &CGM) {
H A DAArch64.cpp131 int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const override { in setTargetAttributes()
138 CodeGen::CodeGenModule &CGM) const override { in setTargetAttributes()
173 void checkFunctionABI(CodeGenModule &CGM,
176 void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc,
187 void checkFunctionCallABIStreaming(CodeGenModule &CGM, SourceLocation CallLoc,
192 void checkFunctionCallABISoftFloat(CodeGenModule &CGM, SourceLocation CallLoc,
205 CodeGen::CodeGenModule &CGM) const override;
219 const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &CGM) const {
1155 CodeGenModule &CGM, const FunctionDecl *FuncDecl) const {
1214 CodeGenModule
[all...]

1234