Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h50 class CodeGenModule; variable
66 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM,
69 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM,
72 const CGFunctionInfo &arrangeCXXMethodType(CodeGenModule &CGM,
77 const CGFunctionInfo &arrangeFreeFunctionCall(CodeGenModule &CGM,
95 llvm::FunctionType *convertFreeFunctionType(CodeGenModule &CGM,
98 llvm::Type *convertTypeForMemory(CodeGenModule &CGM, QualType T);
104 unsigned getLLVMFieldNumber(CodeGenModule &CGM,
123 void addDefaultFunctionDefinitionAttributes(CodeGenModule &CGM,
175 llvm::Function *getNonTrivialCStructDestructor(CodeGenModule &CGM,
[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);
139 bool isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
141 bool isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
146 splitLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
153 void legalizeVectorType(CodeGenModule &CGM, CharUnits vectorSize,
175 void computeABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI);
[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()
/llvm-project-15.0.7/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.h58 CodeGen::CodeGenModule &M) const {} in setTargetAttributes()
63 CodeGen::CodeGenModule &CGM, in emitTargetMetadata()
68 virtual void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc, in checkFunctionCallABI()
96 virtual int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const { in getDwarfEHStackPointer()
134 CodeGenModule &CGM) const { in testFPKind()
190 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const { in getUBSanFunctionSignature()
258 virtual llvm::Constant *getNullPointer(const CodeGen::CodeGenModule &CGM,
265 virtual LangAS getGlobalVarAddressSpace(CodeGenModule &CGM,
287 virtual llvm::Constant *performAddrSpaceCast(CodeGenModule &CGM,
318 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,
320 virtual std::string getRCBlockLayoutStr(CodeGen::CodeGenModule &CGM, in getRCBlockLayoutStr()
326 virtual llvm::Constant *BuildByrefLayout(CodeGen::CodeGenModule &CGM,
361 unsigned ComputeBitfieldBitOffset(CodeGen::CodeGenModule &CGM,
368 CGObjCRuntime *CreateGNUObjCRuntime(CodeGenModule &CGM);
[all …]
H A DCodeGenModule.cpp99 CodeGenModule::CodeGenModule(ASTContext &C, in CodeGenModule() function in CodeGenModule
227 CodeGenModule::~CodeGenModule() {} in ~CodeGenModule()
229 void CodeGenModule::createObjCRuntime() { in createObjCRuntime()
386 void CodeGenModule::checkAliases() { in checkAliases()
456 void CodeGenModule::clear() { in clear()
492 CodeGenModule::GetLLVMVisibility( in setVisibilityFromDLLStorageClass()
522 void CodeGenModule::Release() { in Release()
2433 void CodeGenModule::emitLLVMUsed() { in emitLLVMUsed()
2609 void CodeGenModule::EmitDeferred() { in EmitDeferred()
6917 bool CodeGenModule::stopAutoInit() { in stopAutoInit()
[all …]
H A DCGHLSLRuntime.h22 class CodeGenModule; variable
26 CodeGenModule &CGM;
29 CGHLSLRuntime(CodeGenModule &CGM) : CGM(CGM) {} in CGHLSLRuntime()
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.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()
648 bool swiftcall::shouldPassIndirectly(CodeGenModule &CGM, in shouldPassIndirectly()
655 CharUnits swiftcall::getMaximumVoluntaryIntegerSize(CodeGenModule &CGM) { in getMaximumVoluntaryIntegerSize()
672 bool swiftcall::isLegalIntegerType(CodeGenModule &CGM, in isLegalIntegerType()
795 bool swiftcall::mustPassRecordIndirectly(CodeGenModule &CGM, in mustPassRecordIndirectly()
816 static ABIArgInfo classifyType(CodeGenModule &CGM, CanQualType type, in classifyType()
865 ABIArgInfo swiftcall::classifyArgumentType(CodeGenModule &CGM, in classifyArgumentType()
870 void swiftcall::computeABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI) { in computeABIInfo()
[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 DConstantEmitter.h25 CodeGenModule &CGM;
51 ConstantEmitter(CodeGenModule &CGM, CodeGenFunction *CGF = nullptr)
122 static llvm::Constant *emitNullForMemory(CodeGenModule &CGM, QualType T);
123 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 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()
327 CodeGenModule &CodeGenerator::CGM() { in CGM()
H A DCGCXXABI.h39 class CodeGenModule; variable
44 friend class CodeGenModule; variable
47 CodeGenModule &CGM;
50 CGCXXABI(CodeGenModule &CGM) in CGCXXABI()
626 CodeGenModule &CGM, ArrayRef<const VarDecl *> CXXThreadLocals,
656 CGCXXABI *CreateItaniumCXXABI(CodeGenModule &CGM);
659 CGCXXABI *CreateMicrosoftCXXABI(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()
686 static void AddPointerLayoutOffset(const CodeGenModule &CGM, in AddPointerLayoutOffset()
694 static void AddRelativeLayoutOffset(const CodeGenModule &CGM, in AddRelativeLayoutOffset()
996 CodeGenModule::getVTableLinkage(const CXXRecordDecl *RD) { in getVTableLinkage()
1088 void CodeGenModule::EmitVTable(CXXRecordDecl *theClass) { in EmitVTable()
1147 static bool shouldEmitVTableAtEndOfTranslationUnit(CodeGenModule &CGM, in shouldEmitVTableAtEndOfTranslationUnit()
1160 void CodeGenModule::EmitDeferredVTables() { in EmitDeferredVTables()
1201 bool CodeGenModule::HasHiddenLTOVisibility(const CXXRecordDecl *RD) { in HasHiddenLTOVisibility()
[all …]
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.cpp43 CodeGenModule &CGM;
45 ConstantAggregateBuilderUtils(CodeGenModule &CGM) : CGM(CGM) {} in ConstantAggregateBuilderUtils()
99 static llvm::Constant *buildFrom(CodeGenModule &CGM,
107 ConstantAggregateBuilder(CodeGenModule &CGM) in ConstantAggregateBuilder()
399 CodeGenModule &CGM, ArrayRef<llvm::Constant *> Elems, in buildFrom()
558 CodeGenModule &CGM;
1017 CodeGenModule &CGM;
1487 CodeGenModule &CGM;
1788 CodeGenModule &CGM;
2207 void CodeGenModule::setAddrOfConstantCompoundLiteral( in setAddrOfConstantCompoundLiteral()
[all …]
H A DCodeGenPGO.h29 CodeGenModule &CGM;
43 CodeGenPGO(CodeGenModule &CGModule) in CodeGenPGO()
H A DCodeGenTypes.h49 class CodeGenModule; variable
55 CodeGenModule &CGM;
106 CodeGenTypes(CodeGenModule &cgm);
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()
1116 llvm::Type *CodeGenModule::getBlockDescriptorType() { in getBlockDescriptorType()
1148 llvm::Type *CodeGenModule::getGenericBlockLiteralType() { in getGenericBlockLiteralType()
1292 CodeGenModule::GetAddrOfGlobalBlock(const BlockExpr *BE, in GetAddrOfGlobalBlock()
1314 static llvm::Constant *buildGlobalBlock(CodeGenModule &CGM, in buildGlobalBlock()
1718 CodeGenModule &CGM) { in getBlockCaptureStr()
[all …]

123