Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h58 class CodeGenModule; variable
70 const CGFunctionInfo &arrangeObjCMessageSendSignature(CodeGenModule &CGM,
74 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM,
77 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM,
80 const CGFunctionInfo &arrangeCXXMethodType(CodeGenModule &CGM,
85 const CGFunctionInfo &arrangeFreeFunctionCall(CodeGenModule &CGM,
94 getImplicitCXXConstructorArgs(CodeGenModule &CGM, const CXXConstructorDecl *D);
97 getCXXDestructorImplicitParam(CodeGenModule &CGM, llvm::BasicBlock *InsertBlock,
103 llvm::FunctionType *convertFreeFunctionType(CodeGenModule &CGM,
106 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.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-src/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 DCodeGenModule.cpp77 static CGCXXABI *createCXXABI(CodeGenModule &CGM) { in createCXXABI()
97 CodeGenModule::CodeGenModule(ASTContext &C, const HeaderSearchOptions &HSO, in CodeGenModule() function in CodeGenModule
213 CodeGenModule::~CodeGenModule() {} in ~CodeGenModule()
215 void CodeGenModule::createObjCRuntime() { in createObjCRuntime()
235 void CodeGenModule::createOpenCLRuntime() { in createOpenCLRuntime()
239 void CodeGenModule::createOpenMPRuntime() { in createOpenMPRuntime()
263 void CodeGenModule::createCUDARuntime() { in createCUDARuntime()
267 void CodeGenModule::addReplacement(StringRef Name, llvm::Constant *C) { in addReplacement()
271 void CodeGenModule::applyReplacements() { in applyReplacements()
302 void CodeGenModule::addGlobalValReplacement(llvm::GlobalValue *GV, llvm::Constant *C) { in addGlobalValReplacement()
[all …]
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,
317 virtual llvm::Constant *BuildRCBlockLayout(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,
[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()
660 CharUnits swiftcall::getNaturalAlignment(CodeGenModule &CGM, llvm::Type *type) { in getNaturalAlignment()
671 bool swiftcall::isLegalIntegerType(CodeGenModule &CGM, in isLegalIntegerType()
691 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in isLegalVectorType()
698 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in isLegalVectorType()
706 swiftcall::splitLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in splitLegalVectorType()
[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()
474 static bool shouldEmitVTableThunk(CodeGenModule &CGM, const CXXMethodDecl *MD, in shouldEmitVTableThunk()
684 static void AddPointerLayoutOffset(const CodeGenModule &CGM, in AddPointerLayoutOffset()
692 static void AddRelativeLayoutOffset(const CodeGenModule &CGM, in AddRelativeLayoutOffset()
984 static bool shouldEmitAvailableExternallyVTable(const CodeGenModule &CGM, in shouldEmitAvailableExternallyVTable()
994 CodeGenModule::getVTableLinkage(const CXXRecordDecl *RD) { in getVTableLinkage()
1086 void CodeGenModule::EmitVTable(CXXRecordDecl *theClass) { in EmitVTable()
1145 static bool shouldEmitVTableAtEndOfTranslationUnit(CodeGenModule &CGM, in shouldEmitVTableAtEndOfTranslationUnit()
[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()
393 EmitArrayConstant(CodeGenModule &CGM, llvm::ArrayType *DesiredType,
399 CodeGenModule &CGM, ArrayRef<llvm::Constant *> Elems, in buildFrom()
547 CodeGenModule &CGM;
896 static ConstantAddress tryEmitGlobalCompoundLiteral(CodeGenModule &CGM, in tryEmitGlobalCompoundLiteral()
928 EmitArrayConstant(CodeGenModule &CGM, llvm::ArrayType *DesiredType, in EmitArrayConstant()
997 CodeGenModule &CGM;
[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 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()
185 static llvm::Constant *buildBlockDescriptor(CodeGenModule &CGM, in buildBlockDescriptor()
412 static llvm::Constant *tryCaptureAsConstant(CodeGenModule &CGM, in tryCaptureAsConstant()
448 static void initializeForBlockHeader(CodeGenModule &CGM, CGBlockInfo &info, in initializeForBlockHeader()
522 static void computeBlockInfo(CodeGenModule &CGM, CodeGenFunction *CGF, in computeBlockInfo()
1109 llvm::Type *CodeGenModule::getBlockDescriptorType() { in getBlockDescriptorType()
[all …]
H A DCodeGenTypes.h54 class CodeGenModule; variable
60 CodeGenModule &CGM;
110 CodeGenTypes(CodeGenModule &cgm);
H A DCodeGenPGO.h29 CodeGenModule &CGM;
43 CodeGenPGO(CodeGenModule &CGModule) in CodeGenPGO()
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;
312 explicit CGOpenMPRuntime(CodeGenModule &CGM, StringRef FirstSeparator,
501 CodeGenModule &CGM;
[all …]

123