Home
last modified time | relevance | path

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

1234

/freebsd-src/contrib/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 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 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 DCodeGenModule.cpp1 //===--- 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 DCGCUDARuntime.h37 class CodeGenModule; variable
44 CodeGenModule &CGM;
82 CGCUDARuntime(CodeGenModule &CGM) : CGM(CGM) {}
118 CGCUDARuntime *CreateNVCUDARuntime(CodeGenModule &CGM);
H A DSanitizerMetadata.h30 class CodeGenModule; variable
36 CodeGenModule &CGM;
39 SanitizerMetadata(CodeGenModule &CGM);
H A DSwiftCallingConv.cpp15 #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 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 DCGOpenCLRuntime.h34 class CodeGenModule; variable
38 CodeGenModule &CGM;
58 CGOpenCLRuntime(CodeGenModule &CGM) : CGM(CGM), in CGOpenCLRuntime()
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 DCoverageMappingGen.h97 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 DCGHLSLRuntime.h67 class CodeGenModule;
105 CodeGenModule &CGM;
111 CGHLSLRuntime(CodeGenModule &CGM) : CGM(CGM) {}
47 class CodeGenModule; global() variable
H A DPatternInit.h20 class CodeGenModule; variable
22 llvm::Constant *initializationPatternFor(CodeGenModule &, llvm::Type *);
H A DCGVTables.h28 class CodeGenModule; variable
33 CodeGenModule &CGM;
89 CodeGenVTables(CodeGenModule &CGM);
H A DCGVTables.cpp15 #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 DCodeGenTypes.h49 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 DCodeGenABITypes.h51 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 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-src/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 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.cpp52 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 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, 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 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) {
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 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()

1234