/external/clang/include/clang/CodeGen/ |
D | SwiftCallingConv.h | 38 class CodeGenModule; variable 44 CodeGenModule &CGM; 59 SwiftAggLowering(CodeGenModule &CGM) : CGM(CGM) {} in SwiftAggLowering() 121 CharUnits getMaximumVoluntaryIntegerSize(CodeGenModule &CGM); 124 CharUnits getNaturalAlignment(CodeGenModule &CGM, llvm::Type *type); 128 bool isLegalIntegerType(CodeGenModule &CGM, llvm::IntegerType *type); 132 bool isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, 134 bool isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, 139 splitLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, 146 void legalizeVectorType(CodeGenModule &CGM, CharUnits vectorSize, [all …]
|
D | CodeGenABITypes.h | 49 class CodeGenModule; variable 51 const CGFunctionInfo &arrangeObjCMessageSendSignature(CodeGenModule &CGM, 55 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM, 59 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM, 62 const CGFunctionInfo &arrangeCXXMethodType(CodeGenModule &CGM, 67 const CGFunctionInfo &arrangeFreeFunctionCall(CodeGenModule &CGM,
|
D | ModuleBuilder.h | 36 class CodeGenModule; variable 49 CodeGen::CodeGenModule &CGM();
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 64 static CGCXXABI *createCXXABI(CodeGenModule &CGM) { in createCXXABI() 82 CodeGenModule::CodeGenModule(ASTContext &C, const HeaderSearchOptions &HSO, in CodeGenModule() function in CodeGenModule 161 CodeGenModule::~CodeGenModule() {} in ~CodeGenModule() 163 void CodeGenModule::createObjCRuntime() { in createObjCRuntime() 183 void CodeGenModule::createOpenCLRuntime() { in createOpenCLRuntime() 187 void CodeGenModule::createOpenMPRuntime() { in createOpenMPRuntime() 204 void CodeGenModule::createCUDARuntime() { in createCUDARuntime() 208 void CodeGenModule::addReplacement(StringRef Name, llvm::Constant *C) { in addReplacement() 212 void CodeGenModule::applyReplacements() { in applyReplacements() 243 void CodeGenModule::addGlobalValReplacement(llvm::GlobalValue *GV, llvm::Constant *C) { in addGlobalValReplacement() [all …]
|
D | CGObjCRuntime.h | 56 class CodeGenModule; variable 65 CodeGen::CodeGenModule &CGM; 66 CGObjCRuntime(CodeGen::CodeGenModule &CGM) : CGM(CGM) {} in CGObjCRuntime() 78 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, 81 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, 274 virtual llvm::Constant *BuildGCBlockLayout(CodeGen::CodeGenModule &CGM, 276 virtual llvm::Constant *BuildRCBlockLayout(CodeGen::CodeGenModule &CGM, 280 virtual llvm::Constant *BuildByrefLayout(CodeGen::CodeGenModule &CGM, 301 unsigned ComputeBitfieldBitOffset(CodeGen::CodeGenModule &CGM, 308 CGObjCRuntime *CreateGNUObjCRuntime(CodeGenModule &CGM); [all …]
|
D | CodeGenABITypes.cpp | 30 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()
|
D | CGCUDARuntime.h | 31 class CodeGenModule; variable 38 CodeGenModule &CGM; 47 CGCUDARuntime(CodeGenModule &CGM) : CGM(CGM) {} in CGCUDARuntime() 68 CGCUDARuntime *CreateNVCUDARuntime(CodeGenModule &CGM);
|
D | TargetInfo.h | 37 class CodeGenModule; variable 58 CodeGen::CodeGenModule &M) const {} in setTargetAttributes() 63 CodeGen::CodeGenModule &M) const {} in emitTargetMD() 88 virtual int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const { in getDwarfEHStackPointer() 161 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const { in getUBSanFunctionSignature()
|
D | CGOpenCLRuntime.h | 30 class CodeGenModule; variable 34 CodeGenModule &CGM; 38 CGOpenCLRuntime(CodeGenModule &CGM) : CGM(CGM), PipeTy(nullptr) {} in CGOpenCLRuntime()
|
D | SanitizerMetadata.h | 31 class CodeGenModule; variable 37 CodeGenModule &CGM; 39 SanitizerMetadata(CodeGenModule &CGM);
|
D | SwiftCallingConv.cpp | 23 static const SwiftABIInfo &getSwiftABIInfo(CodeGenModule &CGM) { in getSwiftABIInfo() 56 static CharUnits getTypeStoreSize(CodeGenModule &CGM, llvm::Type *type) { in getTypeStoreSize() 595 CharUnits swiftcall::getMaximumVoluntaryIntegerSize(CodeGenModule &CGM) { in getMaximumVoluntaryIntegerSize() 601 CharUnits swiftcall::getNaturalAlignment(CodeGenModule &CGM, llvm::Type *type) { in getNaturalAlignment() 612 bool swiftcall::isLegalIntegerType(CodeGenModule &CGM, in isLegalIntegerType() 632 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in isLegalVectorType() 638 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in isLegalVectorType() 646 swiftcall::splitLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in splitLegalVectorType() 660 void swiftcall::legalizeVectorType(CodeGenModule &CGM, CharUnits origVectorSize, in legalizeVectorType() 733 bool swiftcall::shouldPassCXXRecordIndirectly(CodeGenModule &CGM, in shouldPassCXXRecordIndirectly() [all …]
|
D | CGVTables.h | 29 class CodeGenModule; variable 32 CodeGenModule &CGM; 69 CodeGenVTables(CodeGenModule &CGM);
|
D | CoverageMappingGen.h | 48 class CodeGenModule; variable 53 CodeGenModule &CGM; 62 CoverageMappingModuleGen(CodeGenModule &CGM, CoverageSourceInfo &SourceInfo) in CoverageMappingModuleGen()
|
D | CGOpenMPRuntimeNVPTX.h | 40 WorkerFunctionState(CodeGenModule &CGM); 43 void createWorkerFunction(CodeGenModule &CGM); 138 explicit CGOpenMPRuntimeNVPTX(CodeGenModule &CGM);
|
D | CGCXX.cpp | 34 bool CodeGenModule::TryEmitBaseDestructorAsAlias(const CXXDestructorDecl *D) { in TryEmitBaseDestructorAsAlias() 120 bool CodeGenModule::TryEmitDefinitionAsAlias(GlobalDecl AliasDecl, in TryEmitDefinitionAsAlias() 217 llvm::Function *CodeGenModule::codegenCXXStructor(const CXXMethodDecl *MD, in codegenCXXStructor() 242 llvm::Constant *CodeGenModule::getAddrOfCXXStructor( in getAddrOfCXXStructor() 270 CodeGenModule &CGM = CGF.CGM; in BuildAppleKextVirtualCall()
|
D | CGExprConstant.cpp | 38 CodeGenModule &CGM; 46 static llvm::Constant *BuildStruct(CodeGenModule &CGM, CodeGenFunction *CFG, 50 static llvm::Constant *BuildStruct(CodeGenModule &CGM, CodeGenFunction *CGF, 52 static llvm::Constant *BuildStruct(CodeGenModule &CGM, CodeGenFunction *CGF, 56 ConstStructBuilder(CodeGenModule &CGM, CodeGenFunction *CGF) in ConstStructBuilder() 561 llvm::Constant *ConstStructBuilder::BuildStruct(CodeGenModule &CGM, in BuildStruct() 572 llvm::Constant *ConstStructBuilder::BuildStruct(CodeGenModule &CGM, in BuildStruct() 583 llvm::Constant *ConstStructBuilder::BuildStruct(CodeGenModule &CGM, in BuildStruct() 607 CodeGenModule &CGM; 611 ConstExprEmitter(CodeGenModule &cgm, CodeGenFunction *cgf) in ConstExprEmitter() [all …]
|
D | ModuleBuilder.cpp | 64 std::unique_ptr<CodeGen::CodeGenModule> Builder; 87 CodeGenModule &CGM() { in CGM() 123 Builder.reset(new CodeGen::CodeGenModule(Context, HeaderSearchOpts, in Initialize() 290 CodeGenModule &CodeGenerator::CGM() { in CGM()
|
D | CGCXXABI.h | 39 class CodeGenModule; variable 45 CodeGenModule &CGM; 48 CGCXXABI(CodeGenModule &CGM) in CGCXXABI() 557 CodeGenModule &CGM, ArrayRef<const VarDecl *> CXXThreadLocals, 580 CGCXXABI *CreateItaniumCXXABI(CodeGenModule &CGM); 583 CGCXXABI *CreateMicrosoftCXXABI(CodeGenModule &CGM);
|
D | CGDeclCXX.cpp | 38 CodeGenModule &CGM = CGF.CGM; in EmitDeclInit() 65 CodeGenModule &CGM = CGF.CGM; in EmitDeclDestroy() 259 llvm::Function *CodeGenModule::CreateGlobalInitOrDestructFunction( in CreateGlobalInitOrDestructFunction() 296 void CodeGenModule::EmitPointerToInitFunc(const VarDecl *D, in EmitPointerToInitFunc() 312 CodeGenModule::EmitCXXGlobalVarDeclInitFunc(const VarDecl *D, in EmitCXXGlobalVarDeclInitFunc() 399 void CodeGenModule::EmitCXXThreadLocalInitFunc() { in EmitCXXThreadLocalInitFunc() 409 CodeGenModule::EmitCXXGlobalInitFunc() { in EmitCXXGlobalInitFunc() 479 void CodeGenModule::EmitCXXGlobalDtorFunc() { in EmitCXXGlobalDtorFunc()
|
D | CGVTables.cpp | 32 CodeGenVTables::CodeGenVTables(CodeGenModule &CGM) in CodeGenVTables() 35 llvm::Constant *CodeGenModule::GetAddrOfThunk(GlobalDecl GD, in GetAddrOfThunk() 53 static void setThunkVisibility(CodeGenModule &CGM, const CXXMethodDecl *MD, in setThunkVisibility() 58 static void setThunkProperties(CodeGenModule &CGM, const ThunkInfo &Thunk, in setThunkProperties() 717 static bool shouldEmitAvailableExternallyVTable(const CodeGenModule &CGM, in shouldEmitAvailableExternallyVTable() 727 CodeGenModule::getVTableLinkage(const CXXRecordDecl *RD) { in getVTableLinkage() 818 void CodeGenModule::EmitVTable(CXXRecordDecl *theClass) { in EmitVTable() 877 static bool shouldEmitVTableAtEndOfTranslationUnit(CodeGenModule &CGM, in shouldEmitVTableAtEndOfTranslationUnit() 890 void CodeGenModule::EmitDeferredVTables() { in EmitDeferredVTables() 906 bool CodeGenModule::HasHiddenLTOVisibility(const CXXRecordDecl *RD) { in HasHiddenLTOVisibility() [all …]
|
D | CodeGenPGO.h | 33 CodeGenModule &CGM; 50 CodeGenPGO(CodeGenModule &CGM) in CodeGenPGO()
|
D | CGBlocks.cpp | 46 static llvm::Constant *buildGlobalBlock(CodeGenModule &CGM, 51 static llvm::Constant *buildCopyHelper(CodeGenModule &CGM, in buildCopyHelper() 57 static llvm::Constant *buildDisposeHelper(CodeGenModule &CGM, in buildDisposeHelper() 76 static llvm::Constant *buildBlockDescriptor(CodeGenModule &CGM, in buildBlockDescriptor() 262 static llvm::Constant *tryCaptureAsConstant(CodeGenModule &CGM, in tryCaptureAsConstant() 298 static void initializeForBlockHeader(CodeGenModule &CGM, CGBlockInfo &info, in initializeForBlockHeader() 321 static void computeBlockInfo(CodeGenModule &CGM, CodeGenFunction *CGF, in computeBlockInfo() 904 llvm::Type *CodeGenModule::getBlockDescriptorType() { in getBlockDescriptorType() 934 llvm::Type *CodeGenModule::getGenericBlockLiteralType() { in getGenericBlockLiteralType() 1036 CodeGenModule::GetAddrOfGlobalBlock(const BlockExpr *blockExpr, in GetAddrOfGlobalBlock() [all …]
|
D | CodeGenTypes.h | 56 class CodeGenModule; variable 121 CodeGenModule &CGM; 170 CodeGenTypes(CodeGenModule &cgm);
|
D | CGObjCRuntime.cpp | 29 static uint64_t LookupFieldBitOffset(CodeGen::CodeGenModule &CGM, in LookupFieldBitOffset() 65 uint64_t CGObjCRuntime::ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, in ComputeIvarBaseOffset() 72 uint64_t CGObjCRuntime::ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, in ComputeIvarBaseOffset() 80 CodeGen::CodeGenModule &CGM, in ComputeBitfieldBitOffset()
|
D | CGOpenMPRuntime.h | 50 class CodeGenModule; variable 110 CodeGenModule &CGM; 242 CodeGenModule &CGM; 280 OffloadEntriesInfoManagerTy(CodeGenModule &CGM) in OffloadEntriesInfoManagerTy() 496 explicit CGOpenMPRuntime(CodeGenModule &CGM);
|