Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp35 : M(m), VMContext(M.getContext()), CUNode(CU), in DIBuilder()
448 false, MDString::get(VMContext, Val)); in createTemplateTemplateParameter()
552 VMContext, dwarf::DW_TAG_array_type, "", nullptr, 0, in createArrayType()
643 return MDTuple::get(VMContext, Elements); in getOrCreateArray()
648 return MDTuple::get(VMContext, Elements); in getOrCreateMacroArray()
659 return DITypeRefArray(MDNode::get(VMContext, Elts)); in getOrCreateTypeArray()
734 LLVMContext &VMContext, in createLocalVariable() argument
799 return DIExpression::get(VMContext, Addr); in createExpression()
876 VMContext, Scope, Decl, Name, File, LineNo); in createCommonBlock()
996 MetadataAsValue::get(VMContext, Expr)}; in insertDeclare()
[all …]
/freebsd-13.1/contrib/llvm-project/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 __anon026200ab0111::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.cpp861 : Act(_Act), VMContext(_VMContext ? _VMContext : new LLVMContext), in CodeGenAction()
867 delete VMContext; in ~CodeGenAction()
887 return VMContext; in takeLLVMContext()
937 getOwningLazyBitcodeModule(std::move(*BCBuf), *VMContext); in CreateASTConsumer()
960 std::move(OS), *VMContext, CoverageInfo)); in CreateASTConsumer()
985 VMContext->enableDebugTypeODRUniquing(); in loadModule()
1005 auto M = std::make_unique<llvm::Module>("empty", *VMContext); in loadModule()
1010 Bm->parseModule(*VMContext); in loadModule()
1017 if (std::unique_ptr<llvm::Module> M = parseIR(MBRef, Err, *VMContext)) in loadModule()
1092 std::move(LinkModules), *VMContext, nullptr); in ExecuteAction()
H A DCGObjCGNU.cpp330 llvm::LLVMContext &VMContext; member in __anon90b381c40111::CGObjCGNU
847 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep()
1543 CGBuilderTy B(CGM, VMContext); in ModuleInitFunction()
2158 Int8Ty = llvm::Type::getInt8Ty(VMContext); in CGObjCGNU()
2178 Int32Ty = llvm::Type::getInt32Ty(VMContext); in CGObjCGNU()
2179 Int64Ty = llvm::Type::getInt64Ty(VMContext); in CGObjCGNU()
2223 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNU()
2617 llvm::MDString::get(VMContext, Sel.getAsString()), in GenerateMessageSendSuper()
2693 llvm::MDString::get(VMContext, Sel.getAsString()), in GenerateMessageSend()
3820 CGBuilderTy Builder(CGM, VMContext); in ModuleInitFunction()
[all …]
H A DCodeGenModule.cpp105 VMContext(M.getContext()), Types(*this), VTables(*this), in CodeGenModule()
614 llvm::Type::getInt32Ty(VMContext), 1))}; in Release()
1648 llvm::MDString::get(VMContext, baseTypeName)); in GenOpenCLArgMetadata()
1683 llvm::MDString::get(VMContext, baseTypeName)); in GenOpenCLArgMetadata()
1692 llvm::MDNode::get(VMContext, addressQuals)); in GenOpenCLArgMetadata()
1694 llvm::MDNode::get(VMContext, accessQuals)); in GenOpenCLArgMetadata()
1696 llvm::MDNode::get(VMContext, argTypeNames)); in GenOpenCLArgMetadata()
1700 llvm::MDNode::get(VMContext, argTypeQuals)); in GenOpenCLArgMetadata()
1703 llvm::MDNode::get(VMContext, argNames)); in GenOpenCLArgMetadata()
5170 C = llvm::ConstantDataArray::get(VMContext, Arr); in GetAddrOfConstantCFString()
[all …]
H A DCGObjCMac.cpp55 llvm::LLVMContext &VMContext; member in __anon8be0494b0111::ObjCCommonTypesHelper
846 llvm::LLVMContext &VMContext; member in __anon8be0494b0111::CGObjCCommonMac
2903 return getConstantGEP(VMContext, Entry, 0, 0); in getBitmapBlockLayout()
5173 auto Int8Ty = llvm::Type::getInt8Ty(VMContext); in EmitImageInfo()
5197 llvm::MDNode::get(VMContext, Ops)); in EmitImageInfo()
5337 return getConstantGEP(VMContext, Entry, 0, 0); in GetClassName()
5688 return getConstantGEP(VMContext, Entry, 0, 0); in GetMethodVarName()
5703 return getConstantGEP(VMContext, Entry, 0, 0); in GetMethodVarType()
5714 return getConstantGEP(VMContext, Entry, 0, 0); in GetMethodVarType()
5722 return getConstantGEP(VMContext, Entry, 0, 0); in GetPropertyName()
[all …]
H A DCGExprScalar.cpp224 llvm::LLVMContext &VMContext; member in __anon941989f10111::ScalarExprEmitter
229 VMContext(cgf.getLLVMContext()) { in ScalarExprEmitter()
457 return llvm::ConstantFP::get(VMContext, E->getValue()); in VisitFloatingLiteral()
952 Builder.CreateFCmpOGT(Src, llvm::ConstantFP::get(VMContext, MinSrc)); in EmitFloatConversionCheck()
954 Builder.CreateFCmpOLT(Src, llvm::ConstantFP::get(VMContext, MaxSrc)); in EmitFloatConversionCheck()
2655 amt = llvm::ConstantFP::get(VMContext, in EmitScalarPrePostIncDec()
2658 amt = llvm::ConstantFP::get(VMContext, in EmitScalarPrePostIncDec()
2674 amt = llvm::ConstantFP::get(VMContext, F); in EmitScalarPrePostIncDec()
4325 PN->addIncoming(llvm::ConstantInt::getFalse(VMContext), *PI); in VisitBinLAnd()
4442 PN->addIncoming(llvm::ConstantInt::getTrue(VMContext), *PI); in VisitBinLOr()
[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 __anon98551c250111::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.cpp3083 llvm::LLVMContext &VMContext; member in __anon0f6c15480311::ItaniumRTTIBuilder
3123 : CGM(ABI.CGM), VMContext(CGM.getModule().getContext()), CXXABI(ABI) {} in ItaniumRTTIBuilder()
3190 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.cpp6586 llvm::LLVMContext &VMContext) { in isIntegerLikeType() argument
6611 return isIntegerLikeType(CT->getElementType(), Context, VMContext); in isIntegerLikeType()
6643 if (!isIntegerLikeType(FD->getType(), Context, VMContext)) in isIntegerLikeType()
6653 if (!isIntegerLikeType(FD->getType(), Context, VMContext)) in isIntegerLikeType()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCodeGenAction.h51 llvm::LLVMContext *VMContext; variable
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h43 LLVMContext &VMContext; variable
697 VMContext, {dwarf::DW_OP_constu, Val, dwarf::DW_OP_stack_value}); in createConstantValueExpression()