/external/llvm/lib/IR/ |
D | DIBuilder.cpp | 28 : M(m), VMContext(M.getContext()), CUNode(nullptr), in DIBuilder() 49 CUNode->replaceEnumTypes(MDTuple::get(VMContext, AllEnumTypes)); in finalize() 62 CUNode->replaceRetainedTypes(MDTuple::get(VMContext, RetainValues)); in finalize() 64 DISubprogramArray SPs = MDTuple::get(VMContext, AllSubprograms); in finalize() 86 CUNode->replaceGlobalVariables(MDTuple::get(VMContext, AllGVs)); in finalize() 90 VMContext, SmallVector<Metadata *, 16>(AllImportedModules.begin(), in finalize() 124 VMContext, Lang, DIFile::get(VMContext, Filename, Directory), Producer, in createCompileUnit() 151 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module, in createImportedModule() 158 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module, in createImportedModule() 164 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module, in createImportedModule() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | DIBuilder.cpp | 35 : M(m), VMContext(M.getContext()), CUNode(CU), in DIBuilder() 76 CUNode->replaceEnumTypes(MDTuple::get(VMContext, AllEnumTypes)); in finalize() 89 CUNode->replaceRetainedTypes(MDTuple::get(VMContext, RetainValues)); in finalize() 91 DISubprogramArray SPs = MDTuple::get(VMContext, AllSubprograms); in finalize() 99 CUNode->replaceGlobalVariables(MDTuple::get(VMContext, AllGVs)); in finalize() 103 VMContext, SmallVector<Metadata *, 16>(AllImportedModules.begin(), in finalize() 109 CUNode->replaceMacros(MDTuple::get(VMContext, I.second.getArrayRef())); in finalize() 114 auto *MF = DIMacroFile::get(VMContext, dwarf::DW_MACINFO_start_file, in finalize() 151 VMContext, Lang, File, Producer, isOptimized, Flags, RunTimeVer, in createCompileUnit() 182 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module, in createImportedModule() [all …]
|
/external/llvm-project/llvm/lib/IR/ |
D | DIBuilder.cpp | 35 : M(m), VMContext(M.getContext()), CUNode(CU), in DIBuilder() 76 CUNode->replaceEnumTypes(MDTuple::get(VMContext, AllEnumTypes)); in finalize() 89 CUNode->replaceRetainedTypes(MDTuple::get(VMContext, RetainValues)); in finalize() 91 DISubprogramArray SPs = MDTuple::get(VMContext, AllSubprograms); in finalize() 99 CUNode->replaceGlobalVariables(MDTuple::get(VMContext, AllGVs)); in finalize() 103 VMContext, SmallVector<Metadata *, 16>(AllImportedModules.begin(), in finalize() 109 CUNode->replaceMacros(MDTuple::get(VMContext, I.second.getArrayRef())); in finalize() 114 auto *MF = DIMacroFile::get(VMContext, dwarf::DW_MACINFO_start_file, in finalize() 152 VMContext, Lang, File, Producer, isOptimized, Flags, RunTimeVer, in createCompileUnit() 183 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module, in createImportedModule() [all …]
|
/external/clang/lib/CodeGen/ |
D | SanitizerMetadata.cpp | 36 llvm::LLVMContext &VMContext = CGM.getLLVMContext(); in reportGlobalToASan() local 42 GlobalName = llvm::MDString::get(VMContext, Name); in reportGlobalToASan() 48 llvm::ConstantInt::get(llvm::Type::getInt1Ty(VMContext), IsDynInit)), in reportGlobalToASan() 50 llvm::Type::getInt1Ty(VMContext), IsBlacklisted))}; in reportGlobalToASan() 52 llvm::MDNode *ThisGlobal = llvm::MDNode::get(VMContext, GlobalMetadata); in reportGlobalToASan() 86 llvm::LLVMContext &VMContext = CGM.getLLVMContext(); in getLocationMetadata() local 88 llvm::MDString::get(VMContext, PLoc.getFilename()), in getLocationMetadata() 90 llvm::Type::getInt32Ty(VMContext), PLoc.getLine())), in getLocationMetadata() 92 llvm::Type::getInt32Ty(VMContext), PLoc.getColumn())), in getLocationMetadata() 94 return llvm::MDNode::get(VMContext, LocMetadata); in getLocationMetadata()
|
D | ObjectFilePCHContainerOperations.cpp | 55 std::unique_ptr<llvm::LLVMContext> VMContext; member in __anon109341a00111::PCHContainerGenerator 165 VMContext.reset(new llvm::LLVMContext()); in Initialize() 166 M.reset(new llvm::Module(MainFileName, *VMContext)); in Initialize() 230 assert(M && VMContext && Builder); in HandleTranslationUnit() 232 std::unique_ptr<llvm::LLVMContext> VMContext = std::move(this->VMContext); in HandleTranslationUnit() local 261 auto Int8Ty = llvm::Type::getInt8Ty(*VMContext); in HandleTranslationUnit() 264 *VMContext, StringRef(SerializedAST.data(), Size), in HandleTranslationUnit()
|
D | CodeGenTypes.cpp | 286 static llvm::Type *getTypeForFormat(llvm::LLVMContext &VMContext, in getTypeForFormat() argument 291 return llvm::Type::getHalfTy(VMContext); in getTypeForFormat() 293 return llvm::Type::getInt16Ty(VMContext); in getTypeForFormat() 296 return llvm::Type::getFloatTy(VMContext); in getTypeForFormat() 298 return llvm::Type::getDoubleTy(VMContext); in getTypeForFormat() 300 return llvm::Type::getFP128Ty(VMContext); in getTypeForFormat() 302 return llvm::Type::getPPC_FP128Ty(VMContext); in getTypeForFormat() 304 return llvm::Type::getX86_FP80Ty(VMContext); in getTypeForFormat()
|
D | CGObjCGNU.cpp | 182 llvm::Constant *value = llvm::ConstantDataArray::getString(VMContext,Str); in ExportUniqueString() 299 llvm::LLVMContext &VMContext; member in __anon62b492590111::CGObjCGNU 751 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() 760 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() 769 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() 934 VMContext(cgm.getLLVMContext()), ClassPtrAlias(nullptr), in CGObjCGNU() 938 msgSendMDKind = VMContext.getMDKindID("GNUObjCMessageSend"); in CGObjCGNU() 951 Int8Ty = llvm::Type::getInt8Ty(VMContext); in CGObjCGNU() 969 Int32Ty = llvm::Type::getInt32Ty(VMContext); in CGObjCGNU() 970 Int64Ty = llvm::Type::getInt64Ty(VMContext); in CGObjCGNU() [all …]
|
D | CodeGenAction.cpp | 661 : Act(_Act), VMContext(_VMContext ? _VMContext : new LLVMContext), in CodeGenAction() 667 delete VMContext; in ~CodeGenAction() 691 return VMContext; in takeLLVMContext() 735 getLazyBitcodeModule(std::move(*BCBuf), *VMContext); in CreateASTConsumer() 757 OS, *VMContext, CoverageInfo)); in CreateASTConsumer() 803 VMContext->enableDebugTypeODRUniquing(); in ExecuteAction() 806 TheModule = parseIR(MainFile->getMemBufferRef(), Err, *VMContext); in ExecuteAction()
|
D | CGExprConstant.cpp | 609 llvm::LLVMContext &VMContext; member in __anon8110d1da0111::ConstExprEmitter 612 : CGM(cgm), CGF(cgf), VMContext(cgm.getLLVMContext()) { in ConstExprEmitter() 982 return llvm::ConstantDataArray::getString(VMContext, Str, false); in VisitObjCEncodeExpr() 1340 return llvm::ConstantInt::get(VMContext, Value.getInt()); in EmitConstantValue() 1344 Complex[0] = llvm::ConstantInt::get(VMContext, in EmitConstantValue() 1346 Complex[1] = llvm::ConstantInt::get(VMContext, in EmitConstantValue() 1360 return llvm::ConstantInt::get(VMContext, Init.bitcastToAPInt()); in EmitConstantValue() 1362 return llvm::ConstantFP::get(VMContext, Init); in EmitConstantValue() 1367 Complex[0] = llvm::ConstantFP::get(VMContext, in EmitConstantValue() 1369 Complex[1] = llvm::ConstantFP::get(VMContext, in EmitConstantValue() [all …]
|
D | CodeGenTBAA.cpp | 32 CodeGenTBAA::CodeGenTBAA(ASTContext &Ctx, llvm::LLVMContext& VMContext, in CodeGenTBAA() argument 36 MDHelper(VMContext), Root(nullptr), Char(nullptr) { in CodeGenTBAA()
|
D | CGObjCMac.cpp | 51 llvm::LLVMContext &VMContext; member in __anon5de159e00111::ObjCCommonTypesHelper 107 llvm::Type *longDoubleType = llvm::Type::getX86_FP80Ty(VMContext); in getMessageSendFp2retFn() 815 llvm::LLVMContext &VMContext; member in __anon5de159e00111::CGObjCCommonMac 1040 CGObjCRuntime(cgm), VMContext(cgm.getLLVMContext()) { } in CGObjCCommonMac() 1680 static llvm::Constant *getConstantGEP(llvm::LLVMContext &VMContext, in getConstantGEP() argument 1684 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx0), in getConstantGEP() 1685 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx1) in getConstantGEP() 2581 llvm::ConstantDataArray::getString(VMContext, BitMap, false), in getBitmapBlockLayout() 2583 return getConstantGEP(VMContext, Entry, 0, 0); in getBitmapBlockLayout() 4540 llvm::MDString::get(VMContext,Section)); in EmitImageInfo() [all …]
|
D | CodeGenTBAA.h | 92 CodeGenTBAA(ASTContext &Ctx, llvm::LLVMContext &VMContext,
|
D | CGExprScalar.cpp | 65 llvm::LLVMContext &VMContext; member in __anonbb924e660111::ScalarExprEmitter 70 VMContext(cgf.getLLVMContext()) { in ScalarExprEmitter() 229 return llvm::ConstantFP::get(VMContext, E->getValue()); in VisitFloatingLiteral() 624 llvm::Value *Max = llvm::ConstantInt::get(VMContext, LargestInt); in EmitFloatConversionCheck() 628 llvm::Value *Min = llvm::ConstantInt::get(VMContext, -LargestInt); in EmitFloatConversionCheck() 678 Builder.CreateFCmpOGT(Src, llvm::ConstantFP::get(VMContext, MinSrc)); in EmitFloatConversionCheck() 680 Builder.CreateFCmpOLT(Src, llvm::ConstantFP::get(VMContext, MaxSrc)); in EmitFloatConversionCheck() 716 Builder.CreateFCmpOGT(AbsSrc, llvm::ConstantFP::get(VMContext, MinBad)); in EmitFloatConversionCheck() 718 Builder.CreateFCmpOLT(AbsSrc, llvm::ConstantFP::get(VMContext, MaxBad)); in EmitFloatConversionCheck() 1777 amt = llvm::ConstantFP::get(VMContext, in EmitScalarPrePostIncDec() [all …]
|
D | CodeGenModule.cpp | 90 VMContext(M.getContext()), Types(*this), VTables(*this), in CodeGenModule() 127 TBAA.reset(new CodeGenTBAA(Context, VMContext, CodeGenOpts, getLangOpts(), in CodeGenModule() 396 getModule().setProfileSummary(PGOReader->getSummary().getMD(VMContext)); in Release() 435 llvm::MDString::get(VMContext, "StrictVTablePointers"), in Release() 437 llvm::Type::getInt32Ty(VMContext), 1))}; in Release() 441 llvm::MDNode::get(VMContext, Ops)); in Release() 1919 llvm::AttributeSet::get(VMContext, in GetOrCreateLLVMFunction() 3167 C = llvm::ConstantDataArray::get(VMContext, Arr); in GetAddrOfConstantCFString() 3169 C = llvm::ConstantDataArray::getString(VMContext, Entry.first()); in GetAddrOfConstantCFString() 3306 llvm::ConstantDataArray::getString(VMContext, Entry.first()); in GetAddrOfConstantString() [all …]
|
/external/llvm-project/clang/lib/CodeGen/ |
D | SanitizerMetadata.cpp | 42 llvm::LLVMContext &VMContext = CGM.getLLVMContext(); in reportGlobalToASan() local 48 GlobalName = llvm::MDString::get(VMContext, Name); in reportGlobalToASan() 54 llvm::ConstantInt::get(llvm::Type::getInt1Ty(VMContext), IsDynInit)), in reportGlobalToASan() 56 llvm::Type::getInt1Ty(VMContext), IsExcluded))}; in reportGlobalToASan() 58 llvm::MDNode *ThisGlobal = llvm::MDNode::get(VMContext, GlobalMetadata); in reportGlobalToASan() 96 llvm::LLVMContext &VMContext = CGM.getLLVMContext(); in getLocationMetadata() local 98 llvm::MDString::get(VMContext, PLoc.getFilename()), in getLocationMetadata() 100 llvm::Type::getInt32Ty(VMContext), PLoc.getLine())), in getLocationMetadata() 102 llvm::Type::getInt32Ty(VMContext), PLoc.getColumn())), in getLocationMetadata() 104 return llvm::MDNode::get(VMContext, LocMetadata); in getLocationMetadata()
|
D | ObjectFilePCHContainerOperations.cpp | 53 std::unique_ptr<llvm::LLVMContext> VMContext; member in __anon506bdcce0111::PCHContainerGenerator 167 VMContext.reset(new llvm::LLVMContext()); in Initialize() 168 M.reset(new llvm::Module(MainFileName, *VMContext)); in Initialize() 238 assert(M && VMContext && Builder); in HandleTranslationUnit() 240 std::unique_ptr<llvm::LLVMContext> VMContext = std::move(this->VMContext); in HandleTranslationUnit() local 273 auto Int8Ty = llvm::Type::getInt8Ty(*VMContext); in HandleTranslationUnit() 276 *VMContext, StringRef(SerializedAST.data(), Size), in HandleTranslationUnit()
|
D | CodeGenTypes.cpp | 301 static llvm::Type *getTypeForFormat(llvm::LLVMContext &VMContext, in getTypeForFormat() argument 306 return llvm::Type::getHalfTy(VMContext); in getTypeForFormat() 308 return llvm::Type::getInt16Ty(VMContext); in getTypeForFormat() 311 return llvm::Type::getBFloatTy(VMContext); in getTypeForFormat() 313 return llvm::Type::getFloatTy(VMContext); in getTypeForFormat() 315 return llvm::Type::getDoubleTy(VMContext); in getTypeForFormat() 317 return llvm::Type::getFP128Ty(VMContext); in getTypeForFormat() 319 return llvm::Type::getPPC_FP128Ty(VMContext); in getTypeForFormat() 321 return llvm::Type::getX86_FP80Ty(VMContext); in getTypeForFormat()
|
D | CodeGenAction.cpp | 879 : Act(_Act), VMContext(_VMContext ? _VMContext : new LLVMContext), in CodeGenAction() 885 delete VMContext; in ~CodeGenAction() 905 return VMContext; in takeLLVMContext() 951 getOwningLazyBitcodeModule(std::move(*BCBuf), *VMContext); in CreateASTConsumer() 974 std::move(OS), *VMContext, CoverageInfo)); in CreateASTConsumer() 1023 VMContext->enableDebugTypeODRUniquing(); in loadModule() 1043 auto M = std::make_unique<llvm::Module>("empty", *VMContext); in loadModule() 1048 Bm->parseModule(*VMContext); in loadModule() 1055 if (std::unique_ptr<llvm::Module> M = parseIR(MBRef, Err, *VMContext)) in loadModule() 1121 std::move(LinkModules), *VMContext, nullptr); in ExecuteAction()
|
D | CGObjCGNU.cpp | 212 llvm::Constant *value = llvm::ConstantDataArray::getString(VMContext,Str); in ExportUniqueString() 330 llvm::LLVMContext &VMContext; member in __anonc5a169470111::CGObjCGNU 823 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() 827 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() 836 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() 844 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() 1063 auto *C = llvm::ConstantDataArray::get(VMContext, Arr); in GenerateConstantString() 1445 llvm::Constant *Init = llvm::ConstantDataArray::getString(VMContext, in GetTypeString() 1495 emptyStruct = llvm::StructType::create(VMContext, ".objc_section_sentinel"); in GetSectionBounds() 1530 llvm::FunctionType::get(llvm::Type::getVoidTy(VMContext), false), in ModuleInitFunction() [all …]
|
D | CodeGenModule.cpp | 105 VMContext(M.getContext()), Types(*this), VTables(*this), in CodeGenModule() 476 PGOReader->getSummary(/* UseCS */ false).getMD(VMContext), in Release() 563 llvm::MDString::get(VMContext, "StrictVTablePointers"), in Release() 565 llvm::Type::getInt32Ty(VMContext), 1))}; in Release() 569 llvm::MDNode::get(VMContext, Ops)); in Release() 1471 argTypeNames.push_back(llvm::MDString::get(VMContext, typeName)); in GenOpenCLArgMetadata() 1484 llvm::MDString::get(VMContext, baseTypeName)); in GenOpenCLArgMetadata() 1538 argTypeNames.push_back(llvm::MDString::get(VMContext, typeName)); in GenOpenCLArgMetadata() 1546 llvm::MDString::get(VMContext, baseTypeName)); in GenOpenCLArgMetadata() 1552 argTypeQuals.push_back(llvm::MDString::get(VMContext, typeQuals)); in GenOpenCLArgMetadata() [all …]
|
D | CGObjCMac.cpp | 55 llvm::LLVMContext &VMContext; member in __anonc0ce30ce0111::ObjCCommonTypesHelper 107 llvm::Type *longDoubleType = llvm::Type::getX86_FP80Ty(VMContext); in getMessageSendFp2retFn() 846 llvm::LLVMContext &VMContext; member in __anonc0ce30ce0111::CGObjCCommonMac 1084 : CGObjCRuntime(cgm), VMContext(cgm.getLLVMContext()) {} in CGObjCCommonMac() 1834 static llvm::Constant *getConstantGEP(llvm::LLVMContext &VMContext, in getConstantGEP() argument 1838 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx0), in getConstantGEP() 1839 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx1) in getConstantGEP() 2018 llvm::ConstantDataArray::getString(VMContext, Entry.first()); in GenerateConstantNSString() 2881 return getConstantGEP(VMContext, Entry, 0, 0); in getBitmapBlockLayout() 4222 llvm::ConstantDataArray::getString(VMContext, Name, NullTerminate); in CreateCStringLiteral() [all …]
|
/external/clang/include/clang/CodeGen/ |
D | CodeGenAction.h | 31 llvm::LLVMContext *VMContext; variable
|
/external/llvm-project/clang/include/clang/CodeGen/ |
D | CodeGenAction.h | 50 llvm::LLVMContext *VMContext; variable
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | DIBuilder.h | 43 LLVMContext &VMContext; variable 646 VMContext, {dwarf::DW_OP_constu, Val, dwarf::DW_OP_stack_value}); in createConstantValueExpression()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | DIBuilder.h | 43 LLVMContext &VMContext; variable 683 VMContext, {dwarf::DW_OP_constu, Val, dwarf::DW_OP_stack_value}); in createConstantValueExpression()
|