Home
last modified time | relevance | path

Searched refs:VMContext (Results 1 – 16 of 16) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DDIBuilder.cpp35 : 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 …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DSanitizerMetadata.cpp42 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()
H A DObjectFilePCHContainerOperations.cpp53 std::unique_ptr<llvm::LLVMContext> VMContext; member in __anon115c17220111::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()
H A DCodeGenTypes.cpp301 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()
H A DCodeGenAction.cpp859 : Act(_Act), VMContext(_VMContext ? _VMContext : new LLVMContext), in CodeGenAction()
865 delete VMContext; in ~CodeGenAction()
885 return VMContext; in takeLLVMContext()
935 getOwningLazyBitcodeModule(std::move(*BCBuf), *VMContext); in CreateASTConsumer()
958 std::move(OS), *VMContext, CoverageInfo)); in CreateASTConsumer()
983 VMContext->enableDebugTypeODRUniquing(); in loadModule()
1003 auto M = std::make_unique<llvm::Module>("empty", *VMContext); in loadModule()
1008 Bm->parseModule(*VMContext); in loadModule()
1015 if (std::unique_ptr<llvm::Module> M = parseIR(MBRef, Err, *VMContext)) in loadModule()
1090 std::move(LinkModules), *VMContext, nullptr); in ExecuteAction()
H A DCGObjCGNU.cpp212 llvm::Constant *value = llvm::ConstantDataArray::getString(VMContext,Str); in ExportUniqueString()
330 llvm::LLVMContext &VMContext; member in __anon119c321b0111::CGObjCGNU
825 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep()
829 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep()
838 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep()
846 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep()
1065 auto *C = llvm::ConstantDataArray::get(VMContext, Arr); in GenerateConstantString()
1448 llvm::Constant *Init = llvm::ConstantDataArray::getString(VMContext, in GetTypeString()
1498 emptyStruct = llvm::StructType::create(VMContext, ".objc_section_sentinel"); in GetSectionBounds()
1533 llvm::FunctionType::get(llvm::Type::getVoidTy(VMContext), false), in ModuleInitFunction()
[all …]
H A DCodeGenModule.cpp105 VMContext(M.getContext()), Types(*this), VTables(*this), in CodeGenModule()
504 PGOReader->getSummary(/* UseCS */ false).getMD(VMContext), in Release()
596 llvm::MDString::get(VMContext, "StrictVTablePointers"), in Release()
598 llvm::Type::getInt32Ty(VMContext), 1))}; in Release()
602 llvm::MDNode::get(VMContext, Ops)); in Release()
1578 accessQuals.push_back(llvm::MDString::get(VMContext, "write_only")); in GenOpenCLArgMetadata()
1580 accessQuals.push_back(llvm::MDString::get(VMContext, "read_write")); in GenOpenCLArgMetadata()
1582 accessQuals.push_back(llvm::MDString::get(VMContext, "read_only")); in GenOpenCLArgMetadata()
1584 accessQuals.push_back(llvm::MDString::get(VMContext, "none")); in GenOpenCLArgMetadata()
1587 argNames.push_back(llvm::MDString::get(VMContext, parm->getName())); in GenOpenCLArgMetadata()
[all …]
H A DCGObjCMac.cpp55 llvm::LLVMContext &VMContext; member in __anon0cc8f9a20111::ObjCCommonTypesHelper
107 llvm::Type *longDoubleType = llvm::Type::getX86_FP80Ty(VMContext); in getMessageSendFp2retFn()
846 llvm::LLVMContext &VMContext; member in __anon0cc8f9a20111::CGObjCCommonMac
1084 : CGObjCRuntime(cgm), VMContext(cgm.getLLVMContext()) {} in CGObjCCommonMac()
1853 static llvm::Constant *getConstantGEP(llvm::LLVMContext &VMContext, in getConstantGEP() argument
1857 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx0), in getConstantGEP()
1858 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx1) in getConstantGEP()
2037 llvm::ConstantDataArray::getString(VMContext, Entry.first()); in GenerateConstantNSString()
2903 return getConstantGEP(VMContext, Entry, 0, 0); in getBitmapBlockLayout()
4244 llvm::ConstantDataArray::getString(VMContext, Name, NullTerminate); in CreateCStringLiteral()
[all …]
H A DCGExprScalar.cpp224 llvm::LLVMContext &VMContext; member in __anonacb3eee80111::ScalarExprEmitter
229 VMContext(cgf.getLLVMContext()) { in ScalarExprEmitter()
457 return llvm::ConstantFP::get(VMContext, E->getValue()); in VisitFloatingLiteral()
950 Builder.CreateFCmpOGT(Src, llvm::ConstantFP::get(VMContext, MinSrc)); in EmitFloatConversionCheck()
952 Builder.CreateFCmpOLT(Src, llvm::ConstantFP::get(VMContext, MaxSrc)); in EmitFloatConversionCheck()
2645 amt = llvm::ConstantFP::get(VMContext, in EmitScalarPrePostIncDec()
2648 amt = llvm::ConstantFP::get(VMContext, in EmitScalarPrePostIncDec()
2664 amt = llvm::ConstantFP::get(VMContext, F); in EmitScalarPrePostIncDec()
4308 llvm::PHINode *PN = llvm::PHINode::Create(llvm::Type::getInt1Ty(VMContext), 2, in VisitBinLAnd()
4312 PN->addIncoming(llvm::ConstantInt::getFalse(VMContext), *PI); in VisitBinLAnd()
[all …]
H A DCodeGenModule.h313 llvm::LLVMContext &VMContext; variable
720 llvm::LLVMContext &getLLVMContext() { return VMContext; } in getLLVMContext()
H A DCGExprConstant.cpp999 llvm::LLVMContext &VMContext; member in __anon411c9adc0111::ConstExprEmitter
1002 : CGM(emitter.CGM), Emitter(emitter), VMContext(CGM.getLLVMContext()) { in ConstExprEmitter()
1080 llvm::StructType *STy = llvm::StructType::get(VMContext, Types, false); in VisitCastExpr()
1318 return llvm::ConstantDataArray::getString(VMContext, Str, false); in VisitObjCEncodeExpr()
H A DItaniumCXXABI.cpp3043 llvm::LLVMContext &VMContext; member in __anon3b53191f0311::ItaniumRTTIBuilder
3083 : CGM(ABI.CGM), VMContext(CGM.getModule().getContext()), CXXABI(ABI) {} in ItaniumRTTIBuilder()
3150 llvm::Constant *Init = llvm::ConstantDataArray::getString(VMContext, in GetAddrOfTypeName()
H A DMicrosoftCXXABI.cpp3585 VMContext(CGM.getLLVMContext()), Module(CGM.getModule()), RD(RD), in MSRTTIBuilder()
3597 llvm::LLVMContext &VMContext; member
H A DTargetInfo.cpp6569 llvm::LLVMContext &VMContext) { in isIntegerLikeType() argument
6594 return isIntegerLikeType(CT->getElementType(), Context, VMContext); in isIntegerLikeType()
6626 if (!isIntegerLikeType(FD->getType(), Context, VMContext)) in isIntegerLikeType()
6636 if (!isIntegerLikeType(FD->getType(), Context, VMContext)) in isIntegerLikeType()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/CodeGen/
H A DCodeGenAction.h51 llvm::LLVMContext *VMContext; variable
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDIBuilder.h43 LLVMContext &VMContext; variable
695 VMContext, {dwarf::DW_OP_constu, Val, dwarf::DW_OP_stack_value}); in createConstantValueExpression()