Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DTargetInfo.h77 CodeGen::CodeGenModule &M) const {} in setTargetAttributes()
82 CodeGen::CodeGenModule &CGM, in emitTargetMetadata()
86 virtual void emitTargetGlobals(CodeGen::CodeGenModule &CGM) const {} in emitTargetGlobals()
90 virtual void checkFunctionABI(CodeGenModule &CGM, in checkFunctionABI()
95 virtual void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc, in checkFunctionCallABI()
124 virtual int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const { in getDwarfEHStackPointer()
162 CodeGenModule &CGM) const { in testFPKind()
219 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const { in getUBSanFunctionSignature()
287 virtual llvm::Constant *getNullPointer(const CodeGen::CodeGenModule &CGM,
294 virtual LangAS getGlobalVarAddressSpace(CodeGenModule &CGM,
[all …]
H A 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()
73 CodeGen::getImplicitCXXConstructorArgs(CodeGenModule &CGM, in getImplicitCXXConstructorArgs()
97 CodeGen::convertFreeFunctionType(CodeGenModule &CGM, const FunctionDecl *FD) { in convertFreeFunctionType()
108 CodeGen::convertTypeForMemory(CodeGenModule &CGM, QualType T) { in convertTypeForMemory()
112 unsigned CodeGen::getLLVMFieldNumber(CodeGenModule &CGM, in getLLVMFieldNumber()
[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 DCGPointerAuth.cpp26 llvm::ConstantInt *CodeGenModule::getPointerAuthOtherDiscriminator( in getPointerAuthOtherDiscriminator()
49 uint16_t CodeGen::getPointerAuthTypeDiscriminator(CodeGenModule &CGM, in getPointerAuthTypeDiscriminator()
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 getPointerAuthInfoForPointeeType()
143 CGPointerAuthInfo CodeGenModule::getPointerAuthInfoForPointeeType(QualType T) { in getPointerAuthInfoForPointeeType()
149 static CGPointerAuthInfo getPointerAuthInfoForType(CodeGenModule &CGM, in getPointerAuthInfoForType()
165 CGPointerAuthInfo CodeGenModule::getPointerAuthInfoForType(QualType T) { in getPointerAuthInfoForType()
292 CodeGenModule::getConstantSignedPointer(llvm::Constant *Pointer, unsigned Key, in getConstantSignedPointer()
[all …]
H A DCodeGenModule.cpp89 static CGCXXABI *createCXXABI(CodeGenModule &CGM) { in createCXXABI()
110 createTargetCodeGenInfo(CodeGenModule &CGM) { in createTargetCodeGenInfo()
327 const TargetCodeGenInfo &CodeGenModule::getTargetCodeGenInfo() { in getTargetCodeGenInfo()
333 CodeGenModule::CodeGenModule(ASTContext &C, in CodeGenModule() function in CodeGenModule
455 CodeGenModule::~CodeGenModule() {} in ~CodeGenModule()
457 void CodeGenModule::createObjCRuntime() { in createObjCRuntime()
477 void CodeGenModule::createOpenCLRuntime() { in createOpenCLRuntime()
481 void CodeGenModule::createOpenMPRuntime() { in createOpenMPRuntime()
501 void CodeGenModule::createCUDARuntime() { in createCUDARuntime()
505 void CodeGenModule::createHLSLRuntime() { in createHLSLRuntime()
[all …]
H A DCGCUDARuntime.h37 class CodeGenModule; variable
44 CodeGenModule &CGM;
82 CGCUDARuntime(CodeGenModule &CGM) : CGM(CGM) {} in CGCUDARuntime()
118 CGCUDARuntime *CreateNVCUDARuntime(CodeGenModule &CGM);
H A DSanitizerMetadata.h30 class CodeGenModule; variable
36 CodeGenModule &CGM;
39 SanitizerMetadata(CodeGenModule &CGM);
H A DSwiftCallingConv.cpp24 static const SwiftABIInfo &getSwiftABIInfo(CodeGenModule &CGM) { in getSwiftABIInfo()
57 static CharUnits getTypeStoreSize(CodeGenModule &CGM, llvm::Type *type) { in getTypeStoreSize()
61 static CharUnits getTypeAllocSize(CodeGenModule &CGM, llvm::Type *type) { in getTypeAllocSize()
647 bool swiftcall::shouldPassIndirectly(CodeGenModule &CGM, in shouldPassIndirectly()
653 CharUnits swiftcall::getMaximumVoluntaryIntegerSize(CodeGenModule &CGM) { in getMaximumVoluntaryIntegerSize()
659 CharUnits swiftcall::getNaturalAlignment(CodeGenModule &CGM, llvm::Type *type) { in getNaturalAlignment()
668 bool swiftcall::isLegalIntegerType(CodeGenModule &CGM, in isLegalIntegerType()
688 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in isLegalVectorType()
695 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in isLegalVectorType()
702 swiftcall::splitLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in splitLegalVectorType()
[all …]
H A DConstantEmitter.h25 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 DCoverageMappingGen.h97 class CodeGenModule; variable
114 CodeGenModule &CGM;
130 CoverageMappingModuleGen(CodeGenModule &CGM, CoverageSourceInfo &SourceInfo);
152 CodeGenModule &getCodeGenModule() { return CGM; } in getCodeGenModule()
H A DPatternInit.h20 class CodeGenModule; variable
22 llvm::Constant *initializationPatternFor(CodeGenModule &, llvm::Type *);
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) { in createDefaultTargetCodeGenInfo()
H A DCGVTables.h28 class CodeGenModule; variable
33 CodeGenModule &CGM;
89 CodeGenVTables(CodeGenModule &CGM);
H A DCGHLSLRuntime.h67 class CodeGenModule; variable
105 CodeGenModule &CGM;
111 CGHLSLRuntime(CodeGenModule &CGM) : CGM(CGM) {} in CGHLSLRuntime()
H A DCodeGenTypes.h49 class CodeGenModule; variable
55 CodeGenModule &CGM;
96 CodeGenTypes(CodeGenModule &cgm);
102 CodeGenModule &getCGM() const { return CGM; } in getCGM()
/freebsd/contrib/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,
78 const CGFunctionInfo &arrangeFreeFunctionCall(CodeGenModule &CGM,
87 getImplicitCXXConstructorArgs(CodeGenModule &CGM, const CXXConstructorDecl *D);
90 getCXXDestructorImplicitParam(CodeGenModule &CGM, llvm::BasicBlock *InsertBlock,
96 llvm::FunctionType *convertFreeFunctionType(CodeGenModule &CGM,
99 llvm::Type *convertTypeForMemory(CodeGenModule &CGM, QualType T);
[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 …]
/freebsd/contrib/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 &CGM, 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 DAMDGPU.cpp293 CodeGenModule &CGM) const;
295 void emitTargetGlobals(CodeGen::CodeGenModule &CGM) const override;
298 CodeGen::CodeGenModule &M) const override;
301 llvm::Constant *getNullPointer(const CodeGen::CodeGenModule &CGM,
308 LangAS getGlobalVarAddressSpace(CodeGenModule &CGM,
338 const FunctionDecl *FD, llvm::Function *F, CodeGenModule &M) const { in setFunctionDeclAttributes()
404 CodeGen::CodeGenModule &CGM) const { in emitTargetGlobals()
436 const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const { in setTargetAttributes()
470 const CodeGen::CodeGenModule &CGM, llvm::PointerType *PT, in getNullPointer()
483 AMDGPUTargetCodeGenInfo::getGlobalVarAddressSpace(CodeGenModule &CGM, in getGlobalVarAddressSpace()
[all …]
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 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 DAVR.cpp117 LangAS getGlobalVarAddressSpace(CodeGenModule &CGM, in getGlobalVarAddressSpace()
134 CodeGen::CodeGenModule &CGM) const override { in setTargetAttributes()
151 CodeGen::createAVRTargetCodeGenInfo(CodeGenModule &CGM, unsigned NPR, in createAVRTargetCodeGenInfo()
H A DNVPTX.cpp47 CodeGen::CodeGenModule &M) const override;
50 llvm::Constant *getNullPointer(const CodeGen::CodeGenModule &CGM,
228 const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const { in setTargetAttributes()
300 NVPTXTargetCodeGenInfo::getNullPointer(const CodeGen::CodeGenModule &CGM, in getNullPointer()
314 void CodeGenModule::handleCUDALaunchBoundsAttr(llvm::Function *F, in handleCUDALaunchBoundsAttr()
364 CodeGen::createNVPTXTargetCodeGenInfo(CodeGenModule &CGM) { in createNVPTXTargetCodeGenInfo()
H A DAArch64.cpp111 int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const override { in getDwarfEHStackPointer()
118 CodeGen::CodeGenModule &CGM) const override { in setTargetAttributes()
153 void checkFunctionABI(CodeGenModule &CGM,
156 void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc,
164 void checkFunctionCallABIStreaming(CodeGenModule &CGM, SourceLocation CallLoc,
169 void checkFunctionCallABISoftFloat(CodeGenModule &CGM, SourceLocation CallLoc,
182 CodeGen::CodeGenModule &CGM) const override;
196 const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &CGM) const { in setTargetAttributes()
858 CodeGenModule &CGM, const FunctionDecl *FuncDecl) const { in checkFunctionABI()
874 CodeGenModule &CGM, SourceLocation CallLoc, const FunctionDecl *Caller, in checkFunctionCallABIStreaming()
[all …]

1234