Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/IR/
H A DDIBuilder.cpp35 : M(m), VMContext(M.getContext()), CUNode(CU), in DIBuilder()
409 return DITemplateTypeParameter::get(VMContext, Name, Ty); in createTemplateTypeParameter()
433 MDString::get(VMContext, Val)); in createTemplateTemplateParameter()
604 return MDTuple::get(VMContext, Elements); in getOrCreateArray()
609 return MDTuple::get(VMContext, Elements); in getOrCreateMacroArray()
620 return DITypeRefArray(MDNode::get(VMContext, Elts)); in getOrCreateTypeArray()
624 return DISubrange::get(VMContext, Count, Lo); in getOrCreateSubrange()
628 return DISubrange::get(VMContext, CountNode, Lo); in getOrCreateSubrange()
671 LLVMContext &VMContext, in createLocalVariable() argument
736 return DIExpression::get(VMContext, Addr); in createExpression()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DSanitizerMetadata.cpp38 llvm::LLVMContext &VMContext = CGM.getLLVMContext(); in reportGlobalToASan() local
44 GlobalName = llvm::MDString::get(VMContext, Name); in reportGlobalToASan()
50 llvm::ConstantInt::get(llvm::Type::getInt1Ty(VMContext), IsDynInit)), in reportGlobalToASan()
52 llvm::Type::getInt1Ty(VMContext), IsBlacklisted))}; in reportGlobalToASan()
54 llvm::MDNode *ThisGlobal = llvm::MDNode::get(VMContext, GlobalMetadata); in reportGlobalToASan()
98 llvm::LLVMContext &VMContext = CGM.getLLVMContext(); in getLocationMetadata() local
100 llvm::MDString::get(VMContext, PLoc.getFilename()), in getLocationMetadata()
102 llvm::Type::getInt32Ty(VMContext), PLoc.getLine())), in getLocationMetadata()
104 llvm::Type::getInt32Ty(VMContext), PLoc.getColumn())), in getLocationMetadata()
106 return llvm::MDNode::get(VMContext, LocMetadata); in getLocationMetadata()
H A DObjectFilePCHContainerOperations.cpp54 std::unique_ptr<llvm::LLVMContext> VMContext; member in __anon266401a60111::PCHContainerGenerator
168 VMContext.reset(new llvm::LLVMContext()); in Initialize()
169 M.reset(new llvm::Module(MainFileName, *VMContext)); in Initialize()
239 assert(M && VMContext && Builder); in HandleTranslationUnit()
241 std::unique_ptr<llvm::LLVMContext> VMContext = std::move(this->VMContext); in HandleTranslationUnit() local
274 auto Int8Ty = llvm::Type::getInt8Ty(*VMContext); in HandleTranslationUnit()
277 *VMContext, StringRef(SerializedAST.data(), Size), in HandleTranslationUnit()
H A DCodeGenTypes.cpp290 static llvm::Type *getTypeForFormat(llvm::LLVMContext &VMContext, in getTypeForFormat() argument
295 return llvm::Type::getHalfTy(VMContext); in getTypeForFormat()
297 return llvm::Type::getInt16Ty(VMContext); in getTypeForFormat()
300 return llvm::Type::getFloatTy(VMContext); in getTypeForFormat()
302 return llvm::Type::getDoubleTy(VMContext); in getTypeForFormat()
304 return llvm::Type::getFP128Ty(VMContext); in getTypeForFormat()
306 return llvm::Type::getPPC_FP128Ty(VMContext); in getTypeForFormat()
308 return llvm::Type::getX86_FP80Ty(VMContext); in getTypeForFormat()
H A DCodeGenAction.cpp802 : Act(_Act), VMContext(_VMContext ? _VMContext : new LLVMContext), in CodeGenAction()
808 delete VMContext; in ~CodeGenAction()
828 return VMContext; in takeLLVMContext()
874 getOwningLazyBitcodeModule(std::move(*BCBuf), *VMContext); in CreateASTConsumer()
899 std::move(LinkModules), std::move(OS), *VMContext, CoverageInfo)); in CreateASTConsumer()
947 VMContext->enableDebugTypeODRUniquing(); in loadModule()
967 auto M = llvm::make_unique<llvm::Module>("empty", *VMContext); in loadModule()
972 Bm->parseModule(*VMContext); in loadModule()
979 if (std::unique_ptr<llvm::Module> M = parseIR(MBRef, Err, *VMContext)) in loadModule()
H A DCGObjCGNU.cpp339 llvm::LLVMContext &VMContext; member in __anon0fc3211f0111::CGObjCGNU
843 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep()
1486 CGBuilderTy B(CGM, VMContext); in ModuleInitFunction()
2040 Int8Ty = llvm::Type::getInt8Ty(VMContext); in CGObjCGNU()
2060 Int32Ty = llvm::Type::getInt32Ty(VMContext); in CGObjCGNU()
2061 Int64Ty = llvm::Type::getInt64Ty(VMContext); in CGObjCGNU()
2105 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNU()
2501 llvm::MDString::get(VMContext, Sel.getAsString()), in GenerateMessageSendSuper()
2577 llvm::MDString::get(VMContext, Sel.getAsString()), in GenerateMessageSend()
3700 CGBuilderTy Builder(CGM, VMContext); in ModuleInitFunction()
[all …]
H A DCGObjCMac.cpp54 llvm::LLVMContext &VMContext; member in __anon0aefe8a60111::ObjCCommonTypesHelper
821 llvm::LLVMContext &VMContext; member in __anon0aefe8a60111::CGObjCCommonMac
1058 CGObjCRuntime(cgm), VMContext(cgm.getLLVMContext()) { } in CGObjCCommonMac()
2801 return getConstantGEP(VMContext, Entry, 0, 0); in getBitmapBlockLayout()
5075 return getConstantGEP(VMContext, Entry, 0, 0); in GetClassName()
5426 return getConstantGEP(VMContext, Entry, 0, 0); in GetMethodVarName()
5441 return getConstantGEP(VMContext, Entry, 0, 0); in GetMethodVarType()
5452 return getConstantGEP(VMContext, Entry, 0, 0); in GetMethodVarType()
5460 return getConstantGEP(VMContext, Entry, 0, 0); in GetPropertyName()
7003 llvm::MDNode::get(VMContext, None)); in EmitIvarOffset()
[all …]
H A DCGExprScalar.cpp219 llvm::LLVMContext &VMContext; member in __anon442aaf6c0111::ScalarExprEmitter
224 VMContext(cgf.getLLVMContext()) { in ScalarExprEmitter()
442 return llvm::ConstantFP::get(VMContext, E->getValue()); in VisitFloatingLiteral()
859 llvm::Value *Max = llvm::ConstantInt::get(VMContext, LargestInt); in EmitFloatConversionCheck()
2476 amt = llvm::ConstantFP::get(VMContext, in EmitScalarPrePostIncDec()
2479 amt = llvm::ConstantFP::get(VMContext, in EmitScalarPrePostIncDec()
2495 amt = llvm::ConstantFP::get(VMContext, F); in EmitScalarPrePostIncDec()
3866 PN->addIncoming(llvm::ConstantInt::getFalse(VMContext), *PI); in VisitBinLAnd()
3951 PN->addIncoming(llvm::ConstantInt::getTrue(VMContext), *PI); in VisitBinLOr()
4419 auto &VMContext = getLLVMContext(); in EmitCheckedInBoundsGEP() local
[all …]
H A DCodeGenModule.cpp98 VMContext(M.getContext()), Types(*this), VTables(*this), in CodeGenModule()
421 getModule().setProfileSummary(PGOReader->getSummary().getMD(VMContext)); in Release()
476 llvm::MDString::get(VMContext, "StrictVTablePointers"), in Release()
478 llvm::Type::getInt32Ty(VMContext), 1))}; in Release()
482 llvm::MDNode::get(VMContext, Ops)); in Release()
4322 C = llvm::ConstantDataArray::get(VMContext, Arr); in GetAddrOfConstantCFString()
4324 C = llvm::ConstantDataArray::getString(VMContext, Entry.first()); in GetAddrOfConstantCFString()
4444 return llvm::ConstantDataArray::getString(VMContext, Str, false); in GetConstantArrayFromStringLiteral()
4459 return llvm::ConstantDataArray::get(VMContext, Elements); in GetConstantArrayFromStringLiteral()
4469 return llvm::ConstantDataArray::get(VMContext, Elements); in GetConstantArrayFromStringLiteral()
H A DCGExprConstant.cpp712 llvm::LLVMContext &VMContext; member in __anon91458c600111::ConstExprEmitter
715 : CGM(emitter.CGM), Emitter(emitter), VMContext(CGM.getLLVMContext()) { in ConstExprEmitter()
791 llvm::StructType *STy = llvm::StructType::get(VMContext, Types, false); in VisitCastExpr()
1094 return llvm::ConstantDataArray::getString(VMContext, Str, false); in VisitObjCEncodeExpr()
H A DCodeGenModule.h302 llvm::LLVMContext &VMContext; variable
670 llvm::LLVMContext &getLLVMContext() { return VMContext; } in getLLVMContext()
H A DItaniumCXXABI.cpp2661 llvm::LLVMContext &VMContext; member in __anonc1a1ea230311::ItaniumRTTIBuilder
2701 : CGM(ABI.CGM), VMContext(CGM.getModule().getContext()), CXXABI(ABI) {} in ItaniumRTTIBuilder()
2768 llvm::Constant *Init = llvm::ConstantDataArray::getString(VMContext, in GetAddrOfTypeName()
H A DTargetInfo.cpp5950 llvm::LLVMContext &VMContext) { in isIntegerLikeType() argument
5975 return isIntegerLikeType(CT->getElementType(), Context, VMContext); in isIntegerLikeType()
6007 if (!isIntegerLikeType(FD->getType(), Context, VMContext)) in isIntegerLikeType()
6017 if (!isIntegerLikeType(FD->getType(), Context, VMContext)) in isIntegerLikeType()
H A DMicrosoftCXXABI.cpp3474 VMContext(CGM.getLLVMContext()), Module(CGM.getModule()), RD(RD), in MSRTTIBuilder()
3486 llvm::LLVMContext &VMContext; member
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/CodeGen/
H A DCodeGenAction.h51 llvm::LLVMContext *VMContext; variable
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDIBuilder.h44 LLVMContext &VMContext; variable
645 VMContext, {dwarf::DW_OP_constu, Val, dwarf::DW_OP_stack_value}); in createConstantValueExpression()