Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h50 class CodeGenModule; variable
62 const CGFunctionInfo &arrangeObjCMessageSendSignature(CodeGenModule &CGM,
66 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM,
69 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM,
72 const CGFunctionInfo &arrangeCXXMethodType(CodeGenModule &CGM,
77 const CGFunctionInfo &arrangeFreeFunctionCall(CodeGenModule &CGM,
86 getImplicitCXXConstructorArgs(CodeGenModule &CGM, const CXXConstructorDecl *D);
89 getCXXDestructorImplicitParam(CodeGenModule &CGM, llvm::BasicBlock *InsertBlock,
95 llvm::FunctionType *convertFreeFunctionType(CodeGenModule &CGM,
98 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 …]
H A DModuleBuilder.h41 class CodeGenModule; variable
55 CodeGen::CodeGenModule &CGM();
H A DConstantInitBuilder.h30 class CodeGenModule; variable
58 CodeGenModule &CGM;
69 explicit ConstantInitBuilderBase(CodeGenModule &CGM) : CGM(CGM) {} in ConstantInitBuilderBase()
506 ConstantInitBuilderTemplateBase(CodeGenModule &CGM) in ConstantInitBuilderTemplateBase()
538 explicit ConstantInitBuilder(CodeGenModule &CGM) : in ConstantInitBuilder()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
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()
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 …]
H A DTargetInfo.h71 CodeGen::CodeGenModule &M) const {} in setTargetAttributes()
76 CodeGen::CodeGenModule &CGM, in emitTargetMetadata()
81 virtual void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc, in checkFunctionCallABI()
109 virtual int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const { in getDwarfEHStackPointer()
147 CodeGenModule &CGM) const { in testFPKind()
203 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const { in getUBSanFunctionSignature()
271 virtual llvm::Constant *getNullPointer(const CodeGen::CodeGenModule &CGM,
278 virtual LangAS getGlobalVarAddressSpace(CodeGenModule &CGM,
300 virtual llvm::Constant *performAddrSpaceCast(CodeGenModule &CGM,
331 getCustomFieldValues(CodeGenModule &CGM, const CGBlockInfo &Info) = 0;
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.cpp83 static CGCXXABI *createCXXABI(CodeGenModule &CGM) { in createCXXABI()
103 CodeGenModule::CodeGenModule(ASTContext &C, in CodeGenModule() function in CodeGenModule
215 CodeGenModule::~CodeGenModule() {} in ~CodeGenModule()
217 void CodeGenModule::createObjCRuntime() { in createObjCRuntime()
237 void CodeGenModule::createOpenCLRuntime() { in createOpenCLRuntime()
241 void CodeGenModule::createOpenMPRuntime() { in createOpenMPRuntime()
261 void CodeGenModule::createCUDARuntime() { in createCUDARuntime()
265 void CodeGenModule::createHLSLRuntime() { in createHLSLRuntime()
269 void CodeGenModule::addReplacement(StringRef Name, llvm::Constant *C) { in addReplacement()
273 void CodeGenModule::applyReplacements() { in applyReplacements()
[all …]
H A DCGCUDARuntime.h36 class CodeGenModule; variable
43 CodeGenModule &CGM;
89 CGCUDARuntime(CodeGenModule &CGM) : CGM(CGM) {} in CGCUDARuntime()
125 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()
646 bool swiftcall::shouldPassIndirectly(CodeGenModule &CGM, in shouldPassIndirectly()
652 CharUnits swiftcall::getMaximumVoluntaryIntegerSize(CodeGenModule &CGM) { in getMaximumVoluntaryIntegerSize()
658 CharUnits swiftcall::getNaturalAlignment(CodeGenModule &CGM, llvm::Type *type) { in getNaturalAlignment()
667 bool swiftcall::isLegalIntegerType(CodeGenModule &CGM, in isLegalIntegerType()
687 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in isLegalVectorType()
694 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in isLegalVectorType()
701 swiftcall::splitLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in splitLegalVectorType()
[all …]
H A DCoverageMappingGen.h92 class CodeGenModule; variable
105 CodeGenModule &CGM;
122 CoverageMappingModuleGen(CodeGenModule &CGM, CoverageSourceInfo &SourceInfo);
144 CodeGenModule &getCodeGenModule() { return CGM; } in getCodeGenModule()
H A DCGHLSLRuntime.h47 class CodeGenModule; variable
71 CodeGenModule &CGM;
77 CGHLSLRuntime(CodeGenModule &CGM) : CGM(CGM) {} in CGHLSLRuntime()
H A DConstantEmitter.h25 CodeGenModule &CGM;
51 ConstantEmitter(CodeGenModule &CGM, CodeGenFunction *CGF = nullptr)
125 static llvm::Constant *emitNullForMemory(CodeGenModule &CGM, QualType T);
126 static llvm::Constant *emitForMemory(CodeGenModule &CGM, llvm::Constant *C,
H A DCGOpenCLRuntime.h34 class CodeGenModule; variable
38 CodeGenModule &CGM;
59 CGOpenCLRuntime(CodeGenModule &CGM) : CGM(CGM), in CGOpenCLRuntime()
H A DPatternInit.h20 class CodeGenModule; variable
22 llvm::Constant *initializationPatternFor(CodeGenModule &, llvm::Type *);
H A DCGVTables.h28 class CodeGenModule; variable
33 CodeGenModule &CGM;
99 CodeGenVTables(CodeGenModule &CGM);
H A DCGVTables.cpp31 CodeGenVTables::CodeGenVTables(CodeGenModule &CGM) in CodeGenVTables()
34 llvm::Constant *CodeGenModule::GetAddrOfThunk(StringRef Name, llvm::Type *FnTy, in GetAddrOfThunk()
40 static void setThunkProperties(CodeGenModule &CGM, const ThunkInfo &Thunk, in setThunkProperties()
476 static bool shouldEmitVTableThunk(CodeGenModule &CGM, const CXXMethodDecl *MD, in shouldEmitVTableThunk()
681 static bool UseRelativeLayout(const CodeGenModule &CGM) { in UseRelativeLayout()
690 llvm::Type *CodeGenModule::getVTableComponentType() const { in getVTableComponentType()
700 static void AddPointerLayoutOffset(const CodeGenModule &CGM, in AddPointerLayoutOffset()
708 static void AddRelativeLayoutOffset(const CodeGenModule &CGM, in AddRelativeLayoutOffset()
1021 static bool shouldEmitAvailableExternallyVTable(const CodeGenModule &CGM, in shouldEmitAvailableExternallyVTable()
1031 CodeGenModule::getVTableLinkage(const CXXRecordDecl *RD) { in getVTableLinkage()
[all …]
H A DModuleBuilder.cpp65 std::unique_ptr<CodeGen::CodeGenModule> Builder;
97 CodeGenModule &CGM() { in CGM()
141 std::unique_ptr<CodeGenModule> OldBuilder = std::move(Builder); in StartModule()
164 Builder.reset(new CodeGen::CodeGenModule(Context, FS, HeaderSearchOpts, in Initialize()
328 CodeGenModule &CodeGenerator::CGM() { in CGM()
H A DCodeGenTypes.h49 class CodeGenModule; variable
55 CodeGenModule &CGM;
106 CodeGenTypes(CodeGenModule &cgm);
112 CodeGenModule &getCGM() const { return CGM; } in getCGM()
H A DCGCXXABI.h39 class CodeGenModule; variable
44 friend class CodeGenModule; variable
47 CodeGenModule &CGM;
50 CGCXXABI(CodeGenModule &CGM) in CGCXXABI()
635 CodeGenModule &CGM, ArrayRef<const VarDecl *> CXXThreadLocals,
665 CGCXXABI *CreateItaniumCXXABI(CodeGenModule &CGM);
668 CGCXXABI *CreateMicrosoftCXXABI(CodeGenModule &CGM);
H A DCGCXX.cpp34 bool CodeGenModule::TryEmitBaseDestructorAsAlias(const CXXDestructorDecl *D) { in TryEmitBaseDestructorAsAlias()
207 llvm::Function *CodeGenModule::codegenCXXStructor(GlobalDecl GD) { in codegenCXXStructor()
221 llvm::FunctionCallee CodeGenModule::getAddrAndTypeOfCXXStructor( in getAddrAndTypeOfCXXStructor()
253 CodeGenModule &CGM = CGF.CGM; in BuildAppleKextVirtualCall()
H A DCGExprConstant.cpp44 CodeGenModule &CGM;
46 ConstantAggregateBuilderUtils(CodeGenModule &CGM) : CGM(CGM) {} in ConstantAggregateBuilderUtils()
100 static llvm::Constant *buildFrom(CodeGenModule &CGM,
108 ConstantAggregateBuilder(CodeGenModule &CGM) in ConstantAggregateBuilder()
394 EmitArrayConstant(CodeGenModule &CGM, llvm::ArrayType *DesiredType,
400 CodeGenModule &CGM, ArrayRef<llvm::Constant *> Elems, in buildFrom()
559 CodeGenModule &CGM;
920 CodeGenModule &CGM = emitter.CGM; in tryEmitGlobalCompoundLiteral()
948 EmitArrayConstant(CodeGenModule &CGM, llvm::ArrayType *DesiredType, in EmitArrayConstant()
1017 CodeGenModule &CGM;
[all …]
H A DCGBlocks.cpp51 static llvm::Constant *buildGlobalBlock(CodeGenModule &CGM,
56 static llvm::Constant *buildCopyHelper(CodeGenModule &CGM, in buildCopyHelper()
62 static llvm::Constant *buildDisposeHelper(CodeGenModule &CGM, in buildDisposeHelper()
105 CodeGenModule &CGM);
108 CodeGenModule &CGM) { in getBlockDescriptorName()
169 static llvm::Constant *buildBlockDescriptor(CodeGenModule &CGM, in buildBlockDescriptor()
409 CGBlockInfo &Info, CodeGenModule &CGM) { in addBlockLayout()
462 static llvm::Constant *tryCaptureAsConstant(CodeGenModule &CGM, in tryCaptureAsConstant()
498 static void initializeForBlockHeader(CodeGenModule &CGM, CGBlockInfo &info, in initializeForBlockHeader()
570 static void computeBlockInfo(CodeGenModule &CGM, CodeGenFunction *CGF, in computeBlockInfo()
[all …]
H A DCodeGenPGO.h30 CodeGenModule &CGM;
44 CodeGenPGO(CodeGenModule &CGModule) in CodeGenPGO()

123