Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp464 IsDefault, MDString::get(VMContext, Val)); in createTemplateTemplateParameter()
667 return MDTuple::get(VMContext, Elements); in getOrCreateArray()
672 return MDTuple::get(VMContext, Elements); in getOrCreateMacroArray()
683 return DITypeRefArray(MDNode::get(VMContext, Elts)); in getOrCreateTypeArray()
760 LLVMContext &VMContext, in createLocalVariable() argument
818 return DIExpression::get(VMContext, Addr); in createExpression()
1050 MetadataAsValue::get(VMContext, VarInfo), in insertDeclare()
1051 MetadataAsValue::get(VMContext, Expr)}; in insertDeclare()
1075 Value *Args[] = {getDbgIntrinsicValueImpl(VMContext, V), in insertDbgIntrinsic()
1076 MetadataAsValue::get(VMContext, VarInfo), in insertDbgIntrinsic()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp54 std::unique_ptr<llvm::LLVMContext> VMContext; member in __anon6e2187ed0111::PCHContainerGenerator
177 VMContext.reset(new llvm::LLVMContext()); in Initialize()
178 M.reset(new llvm::Module(MainFileName, *VMContext)); in Initialize()
248 assert(M && VMContext && Builder); in HandleTranslationUnit()
250 std::unique_ptr<llvm::LLVMContext> VMContext = std::move(this->VMContext); in HandleTranslationUnit() local
293 llvm::MDString::get(*VMContext, "__clangast"), in HandleTranslationUnit()
294 llvm::MDString::get(*VMContext, in HandleTranslationUnit()
296 auto *NameAndContent = llvm::MDTuple::get(*VMContext, Ops); in HandleTranslationUnit()
299 auto Int8Ty = llvm::Type::getInt8Ty(*VMContext); in HandleTranslationUnit()
302 *VMContext, StringRef(SerializedAST.data(), Size), in HandleTranslationUnit()
H A DCodeGenTypes.cpp213 static llvm::Type *getTypeForFormat(llvm::LLVMContext &VMContext, in getTypeForFormat() argument
218 return llvm::Type::getHalfTy(VMContext); in getTypeForFormat()
220 return llvm::Type::getInt16Ty(VMContext); in getTypeForFormat()
223 return llvm::Type::getBFloatTy(VMContext); in getTypeForFormat()
225 return llvm::Type::getFloatTy(VMContext); in getTypeForFormat()
227 return llvm::Type::getDoubleTy(VMContext); in getTypeForFormat()
229 return llvm::Type::getFP128Ty(VMContext); in getTypeForFormat()
231 return llvm::Type::getPPC_FP128Ty(VMContext); in getTypeForFormat()
233 return llvm::Type::getX86_FP80Ty(VMContext); in getTypeForFormat()
H A DCodeGenAction.cpp934 : Act(_Act), VMContext(_VMContext ? _VMContext : new LLVMContext), in CodeGenAction()
940 delete VMContext; in ~CodeGenAction()
958 getOwningLazyBitcodeModule(std::move(*BCBuf), *VMContext); in loadLinkModules()
990 return VMContext; in takeLLVMContext()
1041 std::move(LinkModules), std::move(OS), *VMContext, CoverageInfo)); in CreateASTConsumer()
1075 VMContext->enableDebugTypeODRUniquing(); in loadModule()
1086 auto M = std::make_unique<llvm::Module>("empty", *VMContext); in loadModule()
1091 Bm->parseModule(*VMContext); in loadModule()
1103 if (std::unique_ptr<llvm::Module> M = parseIR(MBRef, Err, *VMContext)) in loadModule()
1114 BM.parseModule(*VMContext); in loadModule()
[all …]
H A DCGObjCGNU.cpp331 llvm::LLVMContext &VMContext; member in __anonaf5ecb460111::CGObjCGNU
830 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep()
1557 CGBuilderTy B(CGM, VMContext); in ModuleInitFunction()
2272 Int8Ty = llvm::Type::getInt8Ty(VMContext); in CGObjCGNU()
2294 Int32Ty = llvm::Type::getInt32Ty(VMContext); in CGObjCGNU()
2295 Int64Ty = llvm::Type::getInt64Ty(VMContext); in CGObjCGNU()
2342 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNU()
2733 llvm::MDString::get(VMContext, Sel.getAsString()), in GenerateMessageSendSuper()
2785 llvm::MDString::get(VMContext, Sel.getAsString()), in GenerateMessageSend()
4007 CGBuilderTy Builder(CGM, VMContext); in ModuleInitFunction()
[all …]
H A DCGObjCMac.cpp55 llvm::LLVMContext &VMContext; member in __anonaa8b92cd0111::ObjCCommonTypesHelper
850 llvm::LLVMContext &VMContext; member in __anonaa8b92cd0111::CGObjCCommonMac
1088 : CGObjCRuntime(cgm), VMContext(cgm.getLLVMContext()) {} in CGObjCCommonMac()
2836 return getConstantGEP(VMContext, Entry, 0, 0); in getBitmapBlockLayout()
5100 auto Int8Ty = llvm::Type::getInt8Ty(VMContext); in EmitImageInfo()
5124 llvm::MDNode::get(VMContext, Ops)); in EmitImageInfo()
5258 return getConstantGEP(VMContext, Entry, 0, 0); in GetClassName()
5604 return getConstantGEP(VMContext, Entry, 0, 0); in GetMethodVarName()
5619 return getConstantGEP(VMContext, Entry, 0, 0); in GetMethodVarType()
5630 return getConstantGEP(VMContext, Entry, 0, 0); in GetMethodVarType()
[all …]
H A DCodeGenModule.cpp339 VMContext(M.getContext()), Types(*this), VTables(*this), in CodeGenModule()
998 llvm::Type::getInt32Ty(VMContext), 1))}; in Release()
1002 llvm::MDNode::get(VMContext, Ops)); in Release()
2274 llvm::MDString::get(VMContext, baseTypeName)); in GenKernelArgMetadata()
2309 llvm::MDString::get(VMContext, baseTypeName)); in GenKernelArgMetadata()
2319 llvm::MDNode::get(VMContext, addressQuals)); in GenKernelArgMetadata()
2321 llvm::MDNode::get(VMContext, accessQuals)); in GenKernelArgMetadata()
2332 llvm::MDNode::get(VMContext, argNames)); in GenKernelArgMetadata()
6164 C = llvm::ConstantDataArray::get(VMContext, Arr); in GetAddrOfConstantCFString()
6306 return llvm::ConstantDataArray::get(VMContext, Elements); in GetConstantArrayFromStringLiteral()
[all …]
H A DCGExprScalar.cpp220 llvm::LLVMContext &VMContext; member in __anondf337c330111::ScalarExprEmitter
225 VMContext(cgf.getLLVMContext()) { in ScalarExprEmitter()
458 return llvm::ConstantFP::get(VMContext, E->getValue()); in VisitFloatingLiteral()
991 Builder.CreateFCmpOGT(Src, llvm::ConstantFP::get(VMContext, MinSrc)); in EmitFloatConversionCheck()
993 Builder.CreateFCmpOLT(Src, llvm::ConstantFP::get(VMContext, MaxSrc)); in EmitFloatConversionCheck()
2752 amt = llvm::ConstantFP::get(VMContext, in EmitScalarPrePostIncDec()
2755 amt = llvm::ConstantFP::get(VMContext, in EmitScalarPrePostIncDec()
2776 amt = llvm::ConstantFP::get(VMContext, F); in EmitScalarPrePostIncDec()
4627 PN->addIncoming(llvm::ConstantInt::getFalse(VMContext), *PI); in VisitBinLAnd()
4768 PN->addIncoming(llvm::ConstantInt::getTrue(VMContext), *PI); in VisitBinLOr()
[all …]
H A DCGExprConstant.cpp1020 llvm::LLVMContext &VMContext; member in __anon11b4a6e70111::ConstExprEmitter
1023 : CGM(emitter.CGM), Emitter(emitter), VMContext(CGM.getLLVMContext()) { in ConstExprEmitter()
1101 llvm::StructType *STy = llvm::StructType::get(VMContext, Types, false); in VisitCastExpr()
1377 return llvm::ConstantDataArray::getString(VMContext, Str, false); in VisitObjCEncodeExpr()
H A DCodeGenModule.h313 llvm::LLVMContext &VMContext; variable
760 llvm::LLVMContext &getLLVMContext() { return VMContext; } in getLLVMContext()
H A DItaniumCXXABI.cpp3145 llvm::LLVMContext &VMContext; member in __anonbdc44fca0311::ItaniumRTTIBuilder
3185 : CGM(ABI.CGM), VMContext(CGM.getModule().getContext()), CXXABI(ABI) {} in ItaniumRTTIBuilder()
3252 llvm::Constant *Init = llvm::ConstantDataArray::getString(VMContext, in GetAddrOfTypeName()
H A DMicrosoftCXXABI.cpp3680 VMContext(CGM.getLLVMContext()), Module(CGM.getModule()), RD(RD), in MSRTTIBuilder()
3692 llvm::LLVMContext &VMContext; member
/freebsd-14.2/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCodeGenAction.h51 llvm::LLVMContext *VMContext; variable
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DARM.cpp447 llvm::LLVMContext &VMContext) { in isIntegerLikeType() argument
472 return isIntegerLikeType(CT->getElementType(), Context, VMContext); in isIntegerLikeType()
504 if (!isIntegerLikeType(FD->getType(), Context, VMContext)) in isIntegerLikeType()
514 if (!isIntegerLikeType(FD->getType(), Context, VMContext)) in isIntegerLikeType()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h44 LLVMContext &VMContext; variable
747 VMContext, {dwarf::DW_OP_constu, Val, dwarf::DW_OP_stack_value}); in createConstantValueExpression()