Searched refs:FileOrErr (Results 1 – 9 of 9) sorted by relevance
/external/llvm/lib/IRReader/ |
D | IRReader.cpp | 53 ErrorOr<std::unique_ptr<MemoryBuffer>> FileOrErr = in getLazyIRFileModule() local 55 if (std::error_code EC = FileOrErr.getError()) { in getLazyIRFileModule() 61 return getLazyIRModule(std::move(FileOrErr.get()), Err, Context); in getLazyIRFileModule() 84 ErrorOr<std::unique_ptr<MemoryBuffer>> FileOrErr = in parseIRFile() local 86 if (std::error_code EC = FileOrErr.getError()) { in parseIRFile() 92 return parseIR(FileOrErr.get()->getMemBufferRef(), Err, Context); in parseIRFile()
|
/external/llvm/lib/AsmParser/ |
D | Parser.cpp | 48 ErrorOr<std::unique_ptr<MemoryBuffer>> FileOrErr = in parseAssemblyFile() local 50 if (std::error_code EC = FileOrErr.getError()) { in parseAssemblyFile() 56 return parseAssembly(FileOrErr.get()->getMemBufferRef(), Err, Context); in parseAssemblyFile()
|
/external/llvm/lib/TableGen/ |
D | Main.cpp | 81 ErrorOr<std::unique_ptr<MemoryBuffer>> FileOrErr = in TableGenMain() local 83 if (std::error_code EC = FileOrErr.getError()) { in TableGenMain() 90 SrcMgr.AddNewSourceBuffer(std::move(*FileOrErr), SMLoc()); in TableGenMain()
|
/external/llvm/lib/Object/ |
D | Binary.cpp | 78 ErrorOr<std::unique_ptr<MemoryBuffer>> FileOrErr = in createBinary() local 80 if (std::error_code EC = FileOrErr.getError()) in createBinary() 82 std::unique_ptr<MemoryBuffer> &Buffer = FileOrErr.get(); in createBinary()
|
D | ObjectFile.cpp | 91 ErrorOr<std::unique_ptr<MemoryBuffer>> FileOrErr = in createObjectFile() local 93 if (std::error_code EC = FileOrErr.getError()) in createObjectFile() 95 std::unique_ptr<MemoryBuffer> Buffer = std::move(FileOrErr.get()); in createObjectFile()
|
/external/llvm/lib/Support/ |
D | SpecialCaseList.cpp | 54 ErrorOr<std::unique_ptr<MemoryBuffer>> FileOrErr = in create() local 56 if (std::error_code EC = FileOrErr.getError()) { in create() 61 if (!SCL->parse(FileOrErr.get().get(), ParseError)) { in create()
|
/external/llvm/utils/FileCheck/ |
D | FileCheck.cpp | 842 ErrorOr<std::unique_ptr<MemoryBuffer>> FileOrErr = in ReadCheckFile() local 844 if (std::error_code EC = FileOrErr.getError()) { in ReadCheckFile() 853 std::move(FileOrErr.get()), NoCanonicalizeWhiteSpace); in ReadCheckFile() 1305 ErrorOr<std::unique_ptr<MemoryBuffer>> FileOrErr = in main() local 1307 if (std::error_code EC = FileOrErr.getError()) { in main() 1312 std::unique_ptr<MemoryBuffer> &File = FileOrErr.get(); in main()
|
/external/clang/lib/Lex/ |
D | PTHLexer.cpp | 437 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> FileOrErr = in Create() local 440 if (!FileOrErr) { in Create() 445 std::unique_ptr<llvm::MemoryBuffer> File = std::move(FileOrErr.get()); in Create()
|
/external/llvm/test/CodeGen/PowerPC/ |
D | toc-load-sched-bug.ll | 176 %FileOrErr = alloca %"class.llvm::ErrorOr", align 8 187 …oryBuffer14getFileOrSTDINENS_9StringRefEl(%"class.llvm::ErrorOr"* sret %FileOrErr, [2 x i64] %.fca… 188 …%HasError.i24 = getelementptr inbounds %"class.llvm::ErrorOr", %"class.llvm::ErrorOr"* %FileOrErr,… 195 %retval.sroa.0.0..sroa_cast.i = bitcast %"class.llvm::ErrorOr"* %FileOrErr to i64* 197 …getelementptr inbounds %"class.llvm::ErrorOr", %"class.llvm::ErrorOr"* %FileOrErr, i64 0, i32 0, i… 406 …%_M_head_impl.i.i.i.i.i = bitcast %"class.llvm::ErrorOr"* %FileOrErr to %"class.llvm::MemoryBuffer… 419 …%_M_head_impl.i.i.i.i.i.i = bitcast %"class.llvm::ErrorOr"* %FileOrErr to %"class.llvm::MemoryBuff…
|