Searched refs:LLVMCtx (Results 1 – 8 of 8) sorted by relevance
106 LLVMContext &LLVMCtx = MMI->getModule()->getContext(); in EmitInlineAsm() local108 if (LLVMCtx.getInlineAsmDiagnosticHandler() != nullptr) { in EmitInlineAsm()112 DiagInfo.DiagHandler = LLVMCtx.getInlineAsmDiagnosticHandler(); in EmitInlineAsm()113 DiagInfo.DiagContext = LLVMCtx.getInlineAsmDiagnosticContext(); in EmitInlineAsm()
229 llvm::LLVMContext &LLVMCtx) { in BuildCodeGen() argument233 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), LLVMCtx)); in BuildCodeGen()316 auto LLVMCtx = std::make_unique<llvm::LLVMContext>(); in Parse() local318 init_convenience::BuildCodeGen(CI.getCompilerInstance(), *LLVMCtx)); in Parse()
37 static LLVMContext LLVMCtx; variable122 Expected<Slice> ArchiveOrSlice = Slice::create(A, &LLVMCtx); in createSliceFromArchive()323 createBinary(IF.FileName, &LLVMCtx); in readInputBinaries()396 O.getAsIRObject(LLVMCtx); in printBinaryArchs()484 UO->getIRObjectForArch(ArchType, LLVMCtx); in thinSlice()573 O.getAsIRObject(LLVMCtx); in buildSlices()
81 LLVMContext &LLVMCtx = MMI->getModule()->getContext(); in addInlineAsmDiagBuffer() local82 if (LLVMCtx.getInlineAsmDiagnosticHandler()) { in addInlineAsmDiagBuffer()83 DiagInfo->DiagHandler = LLVMCtx.getInlineAsmDiagnosticHandler(); in addInlineAsmDiagBuffer()84 DiagInfo->DiagContext = LLVMCtx.getInlineAsmDiagnosticContext(); in addInlineAsmDiagBuffer()
80 LLVMContext &LLVMCtx = MMI->getModule()->getContext(); in addInlineAsmDiagBuffer() local81 if (LLVMCtx.getInlineAsmDiagnosticHandler()) { in addInlineAsmDiagBuffer()82 DiagInfo->DiagHandler = LLVMCtx.getInlineAsmDiagnosticHandler(); in addInlineAsmDiagBuffer()83 DiagInfo->DiagContext = LLVMCtx.getInlineAsmDiagnosticContext(); in addInlineAsmDiagBuffer()
31 static LLVMContext LLVMCtx; variable263 object::IRObjectFile::create(MBRef, LLVMCtx); in verifyAndAddIRObject()365 O.getAsIRObject(LLVMCtx); in addUniversalMembers()446 Expected<Slice> ArchiveSlice = Slice::create(A, &LLVMCtx); in buildSlices()
53 LLVMContext *LLVMCtx = nullptr);
113 Expected<Slice> Slice::create(const Archive &A, LLVMContext *LLVMCtx) { in create() argument118 Expected<std::unique_ptr<Binary>> ChildOrErr = Child.getAsBinary(LLVMCtx); in create()