Home
last modified time | relevance | path

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

123

/netbsd/external/apache2/llvm/dist/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h58 class CodeGenModule; variable
74 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM,
77 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM,
80 const CGFunctionInfo &arrangeCXXMethodType(CodeGenModule &CGM,
85 const CGFunctionInfo &arrangeFreeFunctionCall(CodeGenModule &CGM,
103 llvm::FunctionType *convertFreeFunctionType(CodeGenModule &CGM,
106 llvm::Type *convertTypeForMemory(CodeGenModule &CGM, QualType T);
112 unsigned getLLVMFieldNumber(CodeGenModule &CGM,
131 void addDefaultFunctionDefinitionAttributes(CodeGenModule &CGM,
183 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.h36 class CodeGenModule; variable
50 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()
/netbsd/external/apache2/llvm/dist/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.h59 CodeGen::CodeGenModule &M) const {} in setTargetAttributes()
64 CodeGen::CodeGenModule &CGM, in emitTargetMetadata()
69 virtual void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc, in checkFunctionCallABI()
97 virtual int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const { in getDwarfEHStackPointer()
135 CodeGenModule &CGM) const { in testFPKind()
184 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const { in getUBSanFunctionSignature()
252 virtual llvm::Constant *getNullPointer(const CodeGen::CodeGenModule &CGM,
259 virtual LangAS getGlobalVarAddressSpace(CodeGenModule &CGM,
281 virtual llvm::Constant *performAddrSpaceCast(CodeGenModule &CGM,
312 getCustomFieldValues(CodeGenModule &CGM, const CGBlockInfo &Info) = 0;
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,
315 virtual llvm::Constant *BuildGCBlockLayout(CodeGen::CodeGenModule &CGM,
319 virtual std::string getRCBlockLayoutStr(CodeGen::CodeGenModule &CGM, in getRCBlockLayoutStr()
325 virtual llvm::Constant *BuildByrefLayout(CodeGen::CodeGenModule &CGM,
343 unsigned ComputeBitfieldBitOffset(CodeGen::CodeGenModule &CGM,
350 CGObjCRuntime *CreateGNUObjCRuntime(CodeGenModule &CGM);
[all …]
H A DCodeGenModule.cpp97 CodeGenModule::CodeGenModule(ASTContext &C, const HeaderSearchOptions &HSO, in CodeGenModule() function in CodeGenModule
213 CodeGenModule::~CodeGenModule() {} in ~CodeGenModule()
215 void CodeGenModule::createObjCRuntime() { in createObjCRuntime()
263 void CodeGenModule::createCUDARuntime() { in createCUDARuntime()
336 void CodeGenModule::checkAliases() { in checkAliases()
411 void CodeGenModule::clear() { in clear()
446 CodeGenModule::GetLLVMVisibility( in setVisibilityFromDLLStorageClass()
476 void CodeGenModule::Release() { in Release()
2210 void CodeGenModule::emitLLVMUsed() { in emitLLVMUsed()
2361 void CodeGenModule::EmitDeferred() { in EmitDeferred()
[all …]
H A DSwiftCallingConv.cpp22 static const SwiftABIInfo &getSwiftABIInfo(CodeGenModule &CGM) { in getSwiftABIInfo()
55 static CharUnits getTypeStoreSize(CodeGenModule &CGM, llvm::Type *type) { in getTypeStoreSize()
59 static CharUnits getTypeAllocSize(CodeGenModule &CGM, llvm::Type *type) { in getTypeAllocSize()
647 bool swiftcall::shouldPassIndirectly(CodeGenModule &CGM, in shouldPassIndirectly()
654 CharUnits swiftcall::getMaximumVoluntaryIntegerSize(CodeGenModule &CGM) { in getMaximumVoluntaryIntegerSize()
671 bool swiftcall::isLegalIntegerType(CodeGenModule &CGM, in isLegalIntegerType()
794 bool swiftcall::mustPassRecordIndirectly(CodeGenModule &CGM, in mustPassRecordIndirectly()
815 static ABIArgInfo classifyType(CodeGenModule &CGM, CanQualType type, in classifyType()
864 ABIArgInfo swiftcall::classifyArgumentType(CodeGenModule &CGM, in classifyArgumentType()
869 void swiftcall::computeABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI) { in computeABIInfo()
[all …]
H A DCGCUDARuntime.h36 class CodeGenModule; variable
43 CodeGenModule &CGM;
76 CGCUDARuntime(CodeGenModule &CGM) : CGM(CGM) {} in CGCUDARuntime()
112 CGCUDARuntime *CreateNVCUDARuntime(CodeGenModule &CGM);
H A DSanitizerMetadata.h30 class CodeGenModule; variable
36 CodeGenModule &CGM;
38 SanitizerMetadata(CodeGenModule &CGM);
H A DCoverageMappingGen.h78 class CodeGenModule; variable
91 CodeGenModule &CGM;
108 CoverageMappingModuleGen(CodeGenModule &CGM, CoverageSourceInfo &SourceInfo);
130 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.h33 class CodeGenModule; variable
37 CodeGenModule &CGM;
55 CGOpenCLRuntime(CodeGenModule &CGM) : CGM(CGM), in CGOpenCLRuntime()
H A DCGVTables.h28 class CodeGenModule; variable
33 CodeGenModule &CGM;
99 CodeGenVTables(CodeGenModule &CGM);
H A DPatternInit.h20 class CodeGenModule; variable
22 llvm::Constant *initializationPatternFor(CodeGenModule &, llvm::Type *);
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()
684 static void AddPointerLayoutOffset(const CodeGenModule &CGM, in AddPointerLayoutOffset()
692 static void AddRelativeLayoutOffset(const CodeGenModule &CGM, in AddRelativeLayoutOffset()
994 CodeGenModule::getVTableLinkage(const CXXRecordDecl *RD) { in getVTableLinkage()
1086 void CodeGenModule::EmitVTable(CXXRecordDecl *theClass) { in EmitVTable()
1145 static bool shouldEmitVTableAtEndOfTranslationUnit(CodeGenModule &CGM, in shouldEmitVTableAtEndOfTranslationUnit()
1158 void CodeGenModule::EmitDeferredVTables() { in EmitDeferredVTables()
1196 bool CodeGenModule::HasHiddenLTOVisibility(const CXXRecordDecl *RD) { in HasHiddenLTOVisibility()
[all …]
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()
547 CodeGenModule &CGM;
997 CodeGenModule &CGM;
1458 CodeGenModule &CGM;
1757 CodeGenModule &CGM;
2170 void CodeGenModule::setAddrOfConstantCompoundLiteral( in setAddrOfConstantCompoundLiteral()
[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 DModuleBuilder.cpp63 std::unique_ptr<CodeGen::CodeGenModule> Builder;
94 CodeGenModule &CGM() { in CGM()
145 Builder.reset(new CodeGen::CodeGenModule(Context, HeaderSearchOpts, in Initialize()
308 CodeGenModule &CodeGenerator::CGM() { in CGM()
H A DCGCXXABI.h40 class CodeGenModule; variable
46 CodeGenModule &CGM;
49 CGCXXABI(CodeGenModule &CGM) in CGCXXABI()
610 CodeGenModule &CGM, ArrayRef<const VarDecl *> CXXThreadLocals,
640 CGCXXABI *CreateItaniumCXXABI(CodeGenModule &CGM);
643 CGCXXABI *CreateMicrosoftCXXABI(CodeGenModule &CGM);
H A DCodeGenPGO.h29 CodeGenModule &CGM;
43 CodeGenPGO(CodeGenModule &CGModule) in CodeGenPGO()
H A DCodeGenTypes.h54 class CodeGenModule; variable
60 CodeGenModule &CGM;
110 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()
120 CodeGenModule &CGM);
123 CodeGenModule &CGM) { in getBlockDescriptorName()
1109 llvm::Type *CodeGenModule::getBlockDescriptorType() { in getBlockDescriptorType()
1141 llvm::Type *CodeGenModule::getGenericBlockLiteralType() { in getGenericBlockLiteralType()
1287 CodeGenModule::GetAddrOfGlobalBlock(const BlockExpr *BE, in GetAddrOfGlobalBlock()
1309 static llvm::Constant *buildGlobalBlock(CodeGenModule &CGM, in buildGlobalBlock()
1738 CodeGenModule &CGM) { in getBlockCaptureStr()
[all …]
H A DCGOpenMPRuntime.h56 class CodeGenModule; variable
230 CodeGenModule &CGM;
234 DisableAutoDeclareTargetRAII(CodeGenModule &CGM);
240 CodeGenModule &CGM;
244 NontemporalDeclsRAII(CodeGenModule &CGM, const OMPLoopDirective &S);
250 CodeGenModule &CGM;
281 CodeGenModule &CGM;
305 CodeGenModule &CGM;
501 CodeGenModule &CGM;
560 OffloadEntriesInfoManagerTy(CodeGenModule &CGM) : CGM(CGM) {} in OffloadEntriesInfoManagerTy()
[all …]

123