| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | DIBuilder.cpp | 32 : M(m), VMContext(M.getContext()), CUNode(CU), DeclareFn(nullptr), in DIBuilder() 88 VMContext, SmallVector<Metadata *, 16>(AllEnumTypes.begin(), in finalize() 102 CUNode->replaceRetainedTypes(MDTuple::get(VMContext, RetainValues)); in finalize() 104 DISubprogramArray SPs = MDTuple::get(VMContext, AllSubprograms); in finalize() 112 CUNode->replaceGlobalVariables(MDTuple::get(VMContext, AllGVs)); in finalize() 116 VMContext, SmallVector<Metadata *, 16>(AllImportedModules.begin(), in finalize() 122 CUNode->replaceMacros(MDTuple::get(VMContext, I.second.getArrayRef())); in finalize() 127 auto *MF = DIMacroFile::get(VMContext, dwarf::DW_MACINFO_start_file, in finalize() 165 VMContext, Lang, File, Producer, isOptimized, Flags, RunTimeVer, in createCompileUnit() 198 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module, in createImportedModule() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerOperations.cpp | 54 std::unique_ptr<llvm::LLVMContext> VMContext; member in __anon622f1b6e0111::PCHContainerGenerator 174 VMContext.reset(new llvm::LLVMContext()); in Initialize() 175 M.reset(new llvm::Module(MainFileName, *VMContext)); in Initialize() 245 assert(M && VMContext && Builder); in HandleTranslationUnit() 247 std::unique_ptr<llvm::LLVMContext> VMContext = std::move(this->VMContext); in HandleTranslationUnit() local 290 llvm::MDString::get(*VMContext, "__clangast"), in HandleTranslationUnit() 291 llvm::MDString::get(*VMContext, in HandleTranslationUnit() 293 auto *NameAndContent = llvm::MDTuple::get(*VMContext, Ops); in HandleTranslationUnit() 296 auto Int8Ty = llvm::Type::getInt8Ty(*VMContext); in HandleTranslationUnit() 299 *VMContext, StringRef(SerializedAST.data(), Size), in HandleTranslationUnit()
|
| H A D | CodeGenAction.cpp | 984 : Act(_Act), VMContext(_VMContext ? _VMContext : new LLVMContext), in CodeGenAction() 990 delete VMContext; in ~CodeGenAction() 1010 return VMContext; in takeLLVMContext() 1047 VMContext->setOpaquePointers(CI.getCodeGenOpts().OpaquePointers); in CreateASTConsumer() 1062 getOwningLazyBitcodeModule(std::move(*BCBuf), *VMContext); in CreateASTConsumer() 1085 std::move(LinkModules), std::move(OS), *VMContext, CoverageInfo)); in CreateASTConsumer() 1106 VMContext->setOpaquePointers(CI.getCodeGenOpts().OpaquePointers); in loadModule() 1112 VMContext->enableDebugTypeODRUniquing(); in loadModule() 1132 auto M = std::make_unique<llvm::Module>("empty", *VMContext); in loadModule() 1137 Bm->parseModule(*VMContext); in loadModule() [all …]
|
| H A D | CodeGenTypes.cpp | 310 static llvm::Type *getTypeForFormat(llvm::LLVMContext &VMContext, in getTypeForFormat() argument 315 return llvm::Type::getHalfTy(VMContext); in getTypeForFormat() 317 return llvm::Type::getInt16Ty(VMContext); in getTypeForFormat() 320 return llvm::Type::getBFloatTy(VMContext); in getTypeForFormat() 322 return llvm::Type::getFloatTy(VMContext); in getTypeForFormat() 324 return llvm::Type::getDoubleTy(VMContext); in getTypeForFormat() 326 return llvm::Type::getFP128Ty(VMContext); in getTypeForFormat() 328 return llvm::Type::getPPC_FP128Ty(VMContext); in getTypeForFormat() 330 return llvm::Type::getX86_FP80Ty(VMContext); in getTypeForFormat()
|
| H A D | CGObjCGNU.cpp | 216 llvm::Constant *value = llvm::ConstantDataArray::getString(VMContext,Str); in ExportUniqueString() 331 llvm::LLVMContext &VMContext; member in __anon2d629be70111::CGObjCGNU 827 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() 831 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() 840 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() 848 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() 1068 auto *C = llvm::ConstantDataArray::get(VMContext, Arr); in GenerateConstantString() 1453 llvm::Constant *Init = llvm::ConstantDataArray::getString(VMContext, in GetTypeString() 1503 emptyStruct = llvm::StructType::create(VMContext, ".objc_section_sentinel"); in GetSectionBounds() 1538 llvm::FunctionType::get(llvm::Type::getVoidTy(VMContext), false), in ModuleInitFunction() [all …]
|
| H A D | CodeGenModule.cpp | 113 ABI(createCXXABI(*this)), VMContext(M.getContext()), Types(*this), in CodeGenModule() 554 PGOReader->getSummary(/* UseCS */ false).getMD(VMContext), in Release() 704 llvm::MDString::get(VMContext, "StrictVTablePointers"), in Release() 706 llvm::Type::getInt32Ty(VMContext), 1))}; in Release() 710 llvm::MDNode::get(VMContext, Ops)); in Release() 1824 argNames.push_back(llvm::MDString::get(VMContext, parm->getName())); in GenKernelArgMetadata() 1838 accessQuals.push_back(llvm::MDString::get(VMContext, "write_only")); in GenKernelArgMetadata() 1840 accessQuals.push_back(llvm::MDString::get(VMContext, "read_write")); in GenKernelArgMetadata() 1842 accessQuals.push_back(llvm::MDString::get(VMContext, "read_only")); in GenKernelArgMetadata() 1844 accessQuals.push_back(llvm::MDString::get(VMContext, "none")); in GenKernelArgMetadata() [all …]
|
| H A D | CGObjCMac.cpp | 55 llvm::LLVMContext &VMContext; member in __anon288f636e0111::ObjCCommonTypesHelper 107 llvm::Type *longDoubleType = llvm::Type::getX86_FP80Ty(VMContext); in getMessageSendFp2retFn() 850 llvm::LLVMContext &VMContext; member in __anon288f636e0111::CGObjCCommonMac 1088 : CGObjCRuntime(cgm), VMContext(cgm.getLLVMContext()) {} in CGObjCCommonMac() 1829 static llvm::Constant *getConstantGEP(llvm::LLVMContext &VMContext, in getConstantGEP() argument 1833 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx0), in getConstantGEP() 1834 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx1) in getConstantGEP() 2014 llvm::ConstantDataArray::getString(VMContext, Entry.first()); in GenerateConstantNSString() 2844 return getConstantGEP(VMContext, Entry, 0, 0); in getBitmapBlockLayout() 4187 llvm::ConstantDataArray::getString(VMContext, Name, NullTerminate); in CreateCStringLiteral() [all …]
|
| H A D | CGExprScalar.cpp | 220 llvm::LLVMContext &VMContext; member in __anonb4bd95340111::ScalarExprEmitter 225 VMContext(cgf.getLLVMContext()) { in ScalarExprEmitter() 458 return llvm::ConstantFP::get(VMContext, E->getValue()); in VisitFloatingLiteral() 983 Builder.CreateFCmpOGT(Src, llvm::ConstantFP::get(VMContext, MinSrc)); in EmitFloatConversionCheck() 985 Builder.CreateFCmpOLT(Src, llvm::ConstantFP::get(VMContext, MaxSrc)); in EmitFloatConversionCheck() 2738 amt = llvm::ConstantFP::get(VMContext, in EmitScalarPrePostIncDec() 2741 amt = llvm::ConstantFP::get(VMContext, in EmitScalarPrePostIncDec() 2760 amt = llvm::ConstantFP::get(VMContext, F); in EmitScalarPrePostIncDec() 4555 llvm::PHINode *PN = llvm::PHINode::Create(llvm::Type::getInt1Ty(VMContext), 2, in VisitBinLAnd() 4559 PN->addIncoming(llvm::ConstantInt::getFalse(VMContext), *PI); in VisitBinLAnd() [all …]
|
| H A D | CGExprConstant.cpp | 1019 llvm::LLVMContext &VMContext; member in __anon722904280111::ConstExprEmitter 1022 : CGM(emitter.CGM), Emitter(emitter), VMContext(CGM.getLLVMContext()) { in ConstExprEmitter() 1100 llvm::StructType *STy = llvm::StructType::get(VMContext, Types, false); in VisitCastExpr() 1347 return llvm::ConstantDataArray::getString(VMContext, Str, false); in VisitObjCEncodeExpr()
|
| H A D | CodeGenModule.h | 313 llvm::LLVMContext &VMContext; variable 750 llvm::LLVMContext &getLLVMContext() { return VMContext; } in getLLVMContext()
|
| H A D | ItaniumCXXABI.cpp | 3072 llvm::LLVMContext &VMContext; member in __anon449188eb0311::ItaniumRTTIBuilder 3112 : CGM(ABI.CGM), VMContext(CGM.getModule().getContext()), CXXABI(ABI) {} in ItaniumRTTIBuilder() 3179 llvm::Constant *Init = llvm::ConstantDataArray::getString(VMContext, in GetAddrOfTypeName()
|
| H A D | MicrosoftCXXABI.cpp | 3691 VMContext(CGM.getLLVMContext()), Module(CGM.getModule()), RD(RD), in MSRTTIBuilder() 3703 llvm::LLVMContext &VMContext; member
|
| H A D | TargetInfo.cpp | 6741 llvm::LLVMContext &VMContext) { in isIntegerLikeType() argument 6766 return isIntegerLikeType(CT->getElementType(), Context, VMContext); in isIntegerLikeType() 6798 if (!isIntegerLikeType(FD->getType(), Context, VMContext)) in isIntegerLikeType() 6808 if (!isIntegerLikeType(FD->getType(), Context, VMContext)) in isIntegerLikeType()
|
| /openbsd-src/gnu/llvm/clang/include/clang/CodeGen/ |
| H A D | CodeGenAction.h | 51 llvm::LLVMContext *VMContext; variable
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | DIBuilder.h | 44 LLVMContext &VMContext; variable 740 VMContext, {dwarf::DW_OP_constu, Val, dwarf::DW_OP_stack_value}); in createConstantValueExpression()
|