/freebsd-src/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | TargetInfo.h | 19 #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 checkFunctionCallABI() 95 virtual void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc, 124 virtual int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const { 162 CodeGenModule &CGM) const { 219 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const { 287 virtual llvm::Constant *getNullPointer(const CodeGen::CodeGenModule [all...] |
H A D | CodeGenABITypes.cpp | 30 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 D | CGObjCRuntime.h | 58 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 D | CodeGenModule.cpp | 1 //===--- CodeGenModule.cpp - Emit LLVM Code from ASTs for a Module --------===// 13 #include "CodeGenModule.h" 89 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() 455 CodeGenModule::~CodeGenModule() {} in createObjCRuntime() 457 void CodeGenModule in createObjCRuntime() 329 CodeGenModule::CodeGenModule(ASTContext &C, CodeGenModule() function in CodeGenModule [all...] |
H A D | CGCUDARuntime.h | 37 class CodeGenModule; variable 44 CodeGenModule &CGM; 82 CGCUDARuntime(CodeGenModule &CGM) : CGM(CGM) {} 118 CGCUDARuntime *CreateNVCUDARuntime(CodeGenModule &CGM);
|
H A D | SanitizerMetadata.h | 30 class CodeGenModule; variable 36 CodeGenModule &CGM; 39 SanitizerMetadata(CodeGenModule &CGM);
|
H A D | SwiftCallingConv.cpp | 15 #include "CodeGenModule.h" 24 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 [all...] |
H A D | TargetInfo.cpp | 120 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 D | CGOpenCLRuntime.h | 34 class CodeGenModule; variable 38 CodeGenModule &CGM; 58 CGOpenCLRuntime(CodeGenModule &CGM) : CGM(CGM), in CGOpenCLRuntime()
|
H A D | ConstantEmitter.h | 18 #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 D | CoverageMappingGen.h | 97 class CodeGenModule; 114 CodeGenModule &CGM; 130 CoverageMappingModuleGen(CodeGenModule &CGM, CoverageSourceInfo &SourceInfo); 151 /// Return an interface into CodeGenModule. 152 CodeGenModule &getCodeGenModule() { return CGM; } 92 class CodeGenModule; global() variable
|
H A D | CGHLSLRuntime.h | 67 class CodeGenModule; 105 CodeGenModule &CGM; 111 CGHLSLRuntime(CodeGenModule &CGM) : CGM(CGM) {} 47 class CodeGenModule; global() variable
|
H A D | PatternInit.h | 20 class CodeGenModule; variable 22 llvm::Constant *initializationPatternFor(CodeGenModule &, llvm::Type *);
|
H A D | CGVTables.h | 28 class CodeGenModule; variable 33 CodeGenModule &CGM; 89 CodeGenVTables(CodeGenModule &CGM);
|
H A D | CGVTables.cpp | 15 #include "CodeGenModule.h" 32 CodeGenVTables::CodeGenVTables(CodeGenModule &CGM) in CodeGenVTables() 35 llvm::Constant *CodeGenModule::GetAddrOfThunk(StringRef Name, llvm::Type *FnTy, in GetAddrOfThunk() 41 static void setThunkProperties(CodeGenModule &CGM, const ThunkInfo &Thunk, in setThunkProperties() 471 // that CodeGenModule doesn't try to set attributes. in generateThunk() 485 static bool shouldEmitVTableThunk(CodeGenModule &CGM, const CXXMethodDecl *MD, in shouldEmitVTableThunk() 707 static bool UseRelativeLayout(const CodeGenModule &CGM) { in AddPointerLayoutOffset() 716 llvm::Type *CodeGenModule::getVTableComponentType() const { in addVTableComponent() 726 static void AddPointerLayoutOffset(const CodeGenModule &CGM, in addVTableComponent() 734 static void AddRelativeLayoutOffset(const CodeGenModule in addVTableComponent() [all...] |
H A D | CodeGenTypes.h | 49 class CodeGenModule; variable 55 CodeGenModule &CGM; 96 CodeGenTypes(CodeGenModule &cgm); 102 CodeGenModule &getCGM() const { return CGM; }
|
/freebsd-src/contrib/llvm-project/clang/include/clang/CodeGen/ |
H A D | CodeGenABITypes.h | 51 class CodeGenModule; 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 50 class CodeGenModule; global() variable [all...] |
H A D | SwiftCallingConv.h | 36 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-src/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | XCore.cpp | 123 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 D | M68k.cpp | 26 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 D | SPIR.cpp | 52 llvm::Type *getOpenCLType(CodeGenModule &CGM, const Type *T) const override; 112 void computeSPIRKernelABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI) { in computeSPIRKernelABIInfo() 175 llvm::Type *CommonSPIRTargetCodeGenInfo::getOpenCLType(CodeGenModule &CGM, in getOpenCLType() 211 CodeGen::createCommonSPIRTargetCodeGenInfo(CodeGenModule &CGM) { in createCommonSPIRTargetCodeGenInfo() 216 CodeGen::createSPIRVTargetCodeGenInfo(CodeGenModule &CGM) { in createSPIRVTargetCodeGenInfo()
|
H A D | AMDGPU.cpp | 293 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, in requiresAMDGPUProtectedVisibility() 338 const FunctionDecl *FD, llvm::Function *F, CodeGenModule &M) const { in setFunctionDeclAttributes() 404 CodeGen::CodeGenModule &CGM) const { in setTargetAttributes() 436 const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const { in getNullPointer() 470 const CodeGen::CodeGenModule &CGM, llvm::PointerType *PT, in getLLVMSyncScopeID() 483 AMDGPUTargetCodeGenInfo::getGlobalVarAddressSpace(CodeGenModule in getLLVMSyncScopeID() [all...] |
H A D | MSP430.cpp | 68 CodeGen::CodeGenModule &M) const override; 74 const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const { in setTargetAttributes() 95 CodeGen::createMSP430TargetCodeGenInfo(CodeGenModule &CGM) {
|
H A D | TCE.cpp | 29 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 D | AVR.cpp | 117 LangAS getGlobalVarAddressSpace(CodeGenModule &CGM, in getGlobalVarAddressSpace() 134 CodeGen::CodeGenModule &CGM) const override { in setTargetAttributes() 151 CodeGen::createAVRTargetCodeGenInfo(CodeGenModule &CGM, unsigned NPR, in createAVRTargetCodeGenInfo()
|