Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/CodeGen/
H A DSwiftCallingConv.h37 class CodeGenModule; variable
43 CodeGenModule &CGM;
58 SwiftAggLowering(CodeGenModule &CGM) : CGM(CGM) {} in SwiftAggLowering()
124 bool shouldPassIndirectly(CodeGenModule &CGM,
129 CharUnits getMaximumVoluntaryIntegerSize(CodeGenModule &CGM);
140 bool isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
142 bool isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
147 splitLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
154 void legalizeVectorType(CodeGenModule &CGM, CharUnits vectorSize,
176 void computeABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI);
[all …]
H A DCodeGenABITypes.h51 class CodeGenModule; variable
53 const CGFunctionInfo &arrangeObjCMessageSendSignature(CodeGenModule &CGM,
57 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM,
61 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM,
64 const CGFunctionInfo &arrangeCXXMethodType(CodeGenModule &CGM,
69 const CGFunctionInfo &arrangeFreeFunctionCall(CodeGenModule &CGM,
76 llvm::FunctionType *convertFreeFunctionType(CodeGenModule &CGM,
79 llvm::Type *convertTypeForMemory(CodeGenModule &CGM, QualType T);
85 unsigned getLLVMFieldNumber(CodeGenModule &CGM,
H A DModuleBuilder.h37 class CodeGenModule; variable
51 CodeGen::CodeGenModule &CGM();
H A DConstantInitBuilder.h31 class CodeGenModule; variable
59 CodeGenModule &CGM;
70 explicit ConstantInitBuilderBase(CodeGenModule &CGM) : CGM(CGM) {} in ConstantInitBuilderBase()
488 ConstantInitBuilderTemplateBase(CodeGenModule &CGM) in ConstantInitBuilderTemplateBase()
520 explicit ConstantInitBuilder(CodeGenModule &CGM) : in ConstantInitBuilder()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenABITypes.cpp30 CodeGen::arrangeObjCMessageSendSignature(CodeGenModule &CGM, in arrangeObjCMessageSendSignature()
37 CodeGen::arrangeFreeFunctionType(CodeGenModule &CGM, in arrangeFreeFunctionType()
44 CodeGen::arrangeFreeFunctionType(CodeGenModule &CGM, in arrangeFreeFunctionType()
50 CodeGen::arrangeCXXMethodType(CodeGenModule &CGM, in arrangeCXXMethodType()
58 CodeGen::arrangeFreeFunctionCall(CodeGenModule &CGM, in arrangeFreeFunctionCall()
69 CodeGen::convertFreeFunctionType(CodeGenModule &CGM, const FunctionDecl *FD) { in convertFreeFunctionType()
80 CodeGen::convertTypeForMemory(CodeGenModule &CGM, QualType T) { in convertTypeForMemory()
84 unsigned CodeGen::getLLVMFieldNumber(CodeGenModule &CGM, in getLLVMFieldNumber()
H A DCGObjCRuntime.h57 class CodeGenModule; variable
66 CodeGen::CodeGenModule &CGM;
67 CGObjCRuntime(CodeGen::CodeGenModule &CGM) : CGM(CGM) {} in CGObjCRuntime()
79 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
82 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
277 virtual llvm::Constant *BuildGCBlockLayout(CodeGen::CodeGenModule &CGM,
281 virtual std::string getRCBlockLayoutStr(CodeGen::CodeGenModule &CGM, in getRCBlockLayoutStr()
287 virtual llvm::Constant *BuildByrefLayout(CodeGen::CodeGenModule &CGM,
305 unsigned ComputeBitfieldBitOffset(CodeGen::CodeGenModule &CGM,
312 CGObjCRuntime *CreateGNUObjCRuntime(CodeGenModule &CGM);
[all …]
H A DCodeGenModule.cpp90 CodeGenModule::CodeGenModule(ASTContext &C, const HeaderSearchOptions &HSO, in CodeGenModule() function in CodeGenModule
175 CodeGenModule::~CodeGenModule() {} in ~CodeGenModule()
177 void CodeGenModule::createObjCRuntime() { in createObjCRuntime()
197 void CodeGenModule::createOpenCLRuntime() { in createOpenCLRuntime()
220 void CodeGenModule::createCUDARuntime() { in createCUDARuntime()
228 void CodeGenModule::applyReplacements() { in applyReplacements()
293 void CodeGenModule::checkAliases() { in checkAliases()
368 void CodeGenModule::clear() { in clear()
391 void CodeGenModule::Release() { in Release()
1646 void CodeGenModule::emitLLVMUsed() { in emitLLVMUsed()
[all …]
H A DTargetInfo.h60 CodeGen::CodeGenModule &M) const {} in setTargetAttributes()
65 CodeGen::CodeGenModule &M) const {} in emitTargetMD()
90 virtual int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const { in getDwarfEHStackPointer()
163 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const { in getUBSanFunctionSignature()
231 virtual llvm::Constant *getNullPointer(const CodeGen::CodeGenModule &CGM,
238 virtual LangAS getGlobalVarAddressSpace(CodeGenModule &CGM,
260 virtual llvm::Constant *performAddrSpaceCast(CodeGenModule &CGM,
284 getCustomFieldValues(CodeGenModule &CGM, const CGBlockInfo &Info) = 0;
H A DCGCUDARuntime.h31 class CodeGenModule; variable
38 CodeGenModule &CGM;
47 CGCUDARuntime(CodeGenModule &CGM) : CGM(CGM) {} in CGCUDARuntime()
68 CGCUDARuntime *CreateNVCUDARuntime(CodeGenModule &CGM);
H A DSwiftCallingConv.cpp23 static const SwiftABIInfo &getSwiftABIInfo(CodeGenModule &CGM) { in getSwiftABIInfo()
56 static CharUnits getTypeStoreSize(CodeGenModule &CGM, llvm::Type *type) { in getTypeStoreSize()
60 static CharUnits getTypeAllocSize(CodeGenModule &CGM, llvm::Type *type) { in getTypeAllocSize()
632 bool swiftcall::shouldPassIndirectly(CodeGenModule &CGM, in shouldPassIndirectly()
639 CharUnits swiftcall::getMaximumVoluntaryIntegerSize(CodeGenModule &CGM) { in getMaximumVoluntaryIntegerSize()
656 bool swiftcall::isLegalIntegerType(CodeGenModule &CGM, in isLegalIntegerType()
777 bool swiftcall::mustPassRecordIndirectly(CodeGenModule &CGM, in mustPassRecordIndirectly()
798 static ABIArgInfo classifyType(CodeGenModule &CGM, CanQualType type, in classifyType()
847 ABIArgInfo swiftcall::classifyArgumentType(CodeGenModule &CGM, in classifyArgumentType()
852 void swiftcall::computeABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI) { in computeABIInfo()
[all …]
H A DSanitizerMetadata.h31 class CodeGenModule; variable
37 CodeGenModule &CGM;
39 SanitizerMetadata(CodeGenModule &CGM);
H A DConstantEmitter.h26 CodeGenModule &CGM;
52 ConstantEmitter(CodeGenModule &CGM, CodeGenFunction *CGF = nullptr)
121 static llvm::Constant *emitNullForMemory(CodeGenModule &CGM, QualType T);
122 static llvm::Constant *emitForMemory(CodeGenModule &CGM, llvm::Constant *C,
H A DCGOpenCLRuntime.h34 class CodeGenModule; variable
38 CodeGenModule &CGM;
56 CGOpenCLRuntime(CodeGenModule &CGM) : CGM(CGM), in CGOpenCLRuntime()
H A DCGVTables.h29 class CodeGenModule; variable
34 CodeGenModule &CGM;
77 CodeGenVTables(CodeGenModule &CGM);
H A DCoverageMappingGen.h46 class CodeGenModule; variable
51 CodeGenModule &CGM;
60 CoverageMappingModuleGen(CodeGenModule &CGM, CoverageSourceInfo &SourceInfo) in CoverageMappingModuleGen()
H A DModuleBuilder.cpp64 std::unique_ptr<CodeGen::CodeGenModule> Builder;
87 CodeGenModule &CGM() { in CGM()
138 Builder.reset(new CodeGen::CodeGenModule(Context, HeaderSearchOpts, in Initialize()
294 CodeGenModule &CodeGenerator::CGM() { in CGM()
H A DCGCXX.cpp34 bool CodeGenModule::TryEmitBaseDestructorAsAlias(const CXXDestructorDecl *D) { in TryEmitBaseDestructorAsAlias()
207 llvm::Function *CodeGenModule::codegenCXXStructor(const CXXMethodDecl *MD, in codegenCXXStructor()
231 llvm::Constant *CodeGenModule::getAddrOfCXXStructor( in getAddrOfCXXStructor()
264 CodeGenModule &CGM = CGF.CGM; in BuildAppleKextVirtualCall()
H A DCGCXXABI.h40 class CodeGenModule; variable
46 CodeGenModule &CGM;
49 CGCXXABI(CodeGenModule &CGM) in CGCXXABI()
575 CodeGenModule &CGM, ArrayRef<const VarDecl *> CXXThreadLocals,
605 CGCXXABI *CreateItaniumCXXABI(CodeGenModule &CGM);
608 CGCXXABI *CreateMicrosoftCXXABI(CodeGenModule &CGM);
H A DCGOpenMPRuntimeNVPTX.h51 WorkerFunctionState(CodeGenModule &CGM, SourceLocation Loc);
54 void createWorkerFunction(CodeGenModule &CGM);
199 explicit CGOpenMPRuntimeNVPTX(CodeGenModule &CGM);
388 void checkArchForUnifiedAddressing(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()
456 static bool shouldEmitVTableThunk(CodeGenModule &CGM, const CXXMethodDecl *MD, in shouldEmitVTableThunk()
782 static bool shouldEmitAvailableExternallyVTable(const CodeGenModule &CGM, in shouldEmitAvailableExternallyVTable()
792 CodeGenModule::getVTableLinkage(const CXXRecordDecl *RD) { in getVTableLinkage()
884 void CodeGenModule::EmitVTable(CXXRecordDecl *theClass) { in EmitVTable()
943 static bool shouldEmitVTableAtEndOfTranslationUnit(CodeGenModule &CGM, in shouldEmitVTableAtEndOfTranslationUnit()
956 void CodeGenModule::EmitDeferredVTables() { in EmitDeferredVTables()
974 bool CodeGenModule::HasHiddenLTOVisibility(const CXXRecordDecl *RD) { in HasHiddenLTOVisibility()
[all …]
H A DCGDeclCXX.cpp42 CodeGenModule &CGM = CGF.CGM; in EmitDeclInit()
79 CodeGenModule &CGM = CGF.CGM; in EmitDeclDestroy()
324 llvm::Function *CodeGenModule::CreateGlobalInitOrDestructFunction( in CreateGlobalInitOrDestructFunction()
401 void CodeGenModule::EmitPointerToInitFunc(const VarDecl *D, in EmitPointerToInitFunc()
417 CodeGenModule::EmitCXXGlobalVarDeclInitFunc(const VarDecl *D, in EmitCXXGlobalVarDeclInitFunc()
505 void CodeGenModule::EmitCXXThreadLocalInitFunc() { in EmitCXXThreadLocalInitFunc()
515 CodeGenModule::EmitCXXGlobalInitFunc() { in EmitCXXGlobalInitFunc()
581 void CodeGenModule::EmitCXXGlobalDtorFunc() { in EmitCXXGlobalDtorFunc()
H A DCGExprConstant.cpp40 CodeGenModule &CGM;
710 CodeGenModule &CGM;
1290 CodeGenModule &CGM;
1308 ReplacePlaceholders(CodeGenModule &CGM, llvm::Constant *base, in ReplacePlaceholders()
1516 llvm::Constant *ConstantEmitter::emitForMemory(CodeGenModule &CGM, in emitForMemory()
1589 CodeGenModule &CGM;
2007 void CodeGenModule::setAddrOfConstantCompoundLiteral( in setAddrOfConstantCompoundLiteral()
2021 CodeGenModule::getMemberPointerConstant(const UnaryOperator *uo) { in getMemberPointerConstant()
2036 static llvm::Constant *EmitNullConstantForBase(CodeGenModule &CGM,
2040 static llvm::Constant *EmitNullConstant(CodeGenModule &CGM, in EmitNullConstant()
[all …]
H A DCodeGenPGO.h30 CodeGenModule &CGM;
44 CodeGenPGO(CodeGenModule &CGM) in CodeGenPGO()
H A DCGOpenMPRuntime.h51 class CodeGenModule; variable
207 CodeGenModule &CGM;
211 DisableAutoDeclareTargetRAII(CodeGenModule &CGM);
216 CodeGenModule &CGM;
220 explicit CGOpenMPRuntime(CodeGenModule &CGM, StringRef FirstSeparator,
421 CodeGenModule &CGM;
480 OffloadEntriesInfoManagerTy(CodeGenModule &CGM) : CGM(CGM) {} in OffloadEntriesInfoManagerTy()
761 explicit CGOpenMPRuntime(CodeGenModule &CGM) in CGOpenMPRuntime()
1222 llvm::Value *emitReductionFunction(CodeGenModule &CGM, SourceLocation Loc,
1585 virtual void checkArchForUnifiedAddressing(CodeGenModule &CGM, in checkArchForUnifiedAddressing()
[all …]
H A DCGBlocks.cpp52 static llvm::Constant *buildGlobalBlock(CodeGenModule &CGM,
57 static llvm::Constant *buildCopyHelper(CodeGenModule &CGM, in buildCopyHelper()
63 static llvm::Constant *buildDisposeHelper(CodeGenModule &CGM, in buildDisposeHelper()
121 CodeGenModule &CGM);
124 CodeGenModule &CGM) { in getBlockDescriptorName()
1191 llvm::Type *CodeGenModule::getBlockDescriptorType() { in getBlockDescriptorType()
1223 llvm::Type *CodeGenModule::getGenericBlockLiteralType() { in getGenericBlockLiteralType()
1371 CodeGenModule::GetAddrOfGlobalBlock(const BlockExpr *BE, in GetAddrOfGlobalBlock()
1393 static llvm::Constant *buildGlobalBlock(CodeGenModule &CGM, in buildGlobalBlock()
2992 llvm::Constant *CodeGenModule::getBlockObjectDispose() { in getBlockObjectDispose()
[all …]

123