/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/ |
D | server.cpp | 23 ExitOnError ExitOnErr; variable 41 ExitOnErr.setBanner("jit_server: "); in main() 43 ExitOnErr.setBanner(std::string(argv[0]) + ": "); in main() 107 ExitOnErr(Server.startReceivingFunction(TCPChannel, (uint32_t&)Id)); in main() 110 ExitOnErr(Server.handleTerminateSession()); in main() 113 ExitOnErr(Server.handleKnownFunction(Id)); in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rc/ |
D | llvm-rc.cpp | 73 static ExitOnError ExitOnErr; variable 84 ExitOnErr.setBanner("llvm-rc: "); in main() 116 std::vector<RCToken> Tokens = ExitOnErr(tokenizeRC(FilteredContents)); in main() 182 ExitOnErr(NullResource().visit(Visitor.get())); in main() 185 ExitOnErr(LanguageResource(0x09, 0x01).visit(Visitor.get())); in main() 190 auto Resource = ExitOnErr(Parser.parseSingleResource()); in main() 194 ExitOnErr(Resource->visit(Visitor.get())); in main() 199 ExitOnErr(Visitor->dumpAllStringTables()); in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dis/ |
D | llvm-dis.cpp | 148 static ExitOnError ExitOnErr; variable 153 ExitOnErr.setBanner(std::string(argv[0]) + ": error: "); in main() 161 ExitOnErr(errorOrToExpected(MemoryBuffer::getFileOrSTDIN(InputFilename))); in main() 162 std::unique_ptr<Module> M = ExitOnErr(getLazyBitcodeModule( in main() 165 ExitOnErr(M->materializeMetadata()); in main() 167 ExitOnErr(M->materializeAll()); in main() 169 BitcodeLTOInfo LTOInfo = ExitOnErr(getBitcodeLTOInfo(*MB)); in main() 172 Index = ExitOnErr(getModuleSummaryIndex(*MB)); in main()
|
/external/llvm/tools/lli/ChildTarget/ |
D | ChildTarget.cpp | 20 ExitOnError ExitOnErr; variable 29 ExitOnErr.setBanner(std::string(argv[0]) + ":"); in main() 62 ExitOnErr(Server.startReceivingFunction(Channel, RawId)); in main() 66 ExitOnErr(Server.handleTerminateSession()); in main() 69 ExitOnErr(Server.handleKnownFunction(Id)); in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-modextract/ |
D | llvm-modextract.cpp | 42 ExitOnError ExitOnErr("llvm-modextract: error: "); in main() local 45 ExitOnErr(errorOrToExpected(MemoryBuffer::getFileOrSTDIN(InputFilename))); in main() 46 std::vector<BitcodeModule> Ms = ExitOnErr(getBitcodeModuleList(*MB)); in main() 59 ExitOnErr(errorCodeToError(EC)); in main() 72 std::unique_ptr<Module> M = ExitOnErr(Ms[ModuleIndex].parseModule(Context)); in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/lli/ |
D | lli.cpp | 204 ExitOnError ExitOnErr; variable 350 ExitOnErr.setBanner(std::string(argv[0]) + ": "); in main() 398 ExitOnError ExitOnErr(std::string(*argv) + in main() local 400 ExitOnErr(Mod->materializeAll()); in main() 646 ES.setErrorReporter([&](Error Err) { ExitOnErr(std::move(Err)); }); in main() 648 auto R = ExitOnErr(MyRemote::Create(*C, ES)); in main() 651 auto RemoteMM = ExitOnErr(R->createRemoteMemoryManager()); in main() 662 if (auto Addr = ExitOnErr(R->getSymbolAddress(Name))) in main() 674 Result = ExitOnErr(R->callIntVoid(Entry)); in main() 685 ExitOnErr(R->terminateSession()); in main() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/ |
D | server.cpp | 25 ExitOnError ExitOnErr; variable 42 ExitOnErr.setBanner("jit_server: "); in main() 44 ExitOnErr.setBanner(std::string(argv[0]) + ": "); in main() 108 ExitOnErr(Server.handleOne()); in main()
|
/external/llvm/tools/llvm-pdbdump/ |
D | llvm-pdbdump.cpp | 297 static ExitOnError ExitOnErr; variable 305 ExitOnErr(make_error<GenericError>(generic_error_code::invalid_path, Path)); in yamlToPdb() 314 ExitOnErr(make_error<GenericError>(generic_error_code::unspecified, in yamlToPdb() 320 ExitOnErr(make_error<GenericError>(generic_error_code::invalid_path, in yamlToPdb() 327 ExitOnErr(Builder.setSuperBlock(YamlObj.Headers->SuperBlock)); in yamlToPdb() 340 ExitOnErr(Builder.generateSimpleStreamMap()); in yamlToPdb() 363 ExitOnErr(Pdb.takeError()); in yamlToPdb() 366 ExitOnErr(PdbFile->commit()); in yamlToPdb() 371 ExitOnErr(loadDataForPDB(PDB_ReaderType::Raw, Path, Session)); in pdb2Yaml() 378 ExitOnErr(O->dump()); in pdb2Yaml() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/ |
D | llvm-exegesis.cpp | 88 static llvm::ExitOnError ExitOnErr; variable 158 ExitOnErr(Runner->run(Opcode, NumRepetitions)); in benchmarkMain() 160 ExitOnErr(Result.writeYaml(Context, BenchmarkFile)); in benchmarkMain() 196 ExitOnErr(InstructionBenchmark::readYamls( in analysisMain() 213 const auto Clustering = ExitOnErr(InstructionBenchmarkClustering::create( in analysisMain() 230 exegesis::ExitOnErr.setExitCodeMapper([](const llvm::Error &Err) { in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/lli/ChildTarget/ |
D | ChildTarget.cpp | 20 ExitOnError ExitOnErr; variable 29 ExitOnErr.setBanner(std::string(argv[0]) + ":"); in main() 61 ExitOnErr(Server.handleOne()); in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/ |
D | llvm-pdbutil.cpp | 675 static ExitOnError ExitOnErr; variable 684 ExitOnErr(make_error<GenericError>(generic_error_code::invalid_path, Path)); in yamlToPdb() 698 ExitOnErr(Builder.initialize(BlockSize)); in yamlToPdb() 706 ExitOnErr(Builder.getMsfBuilder().addStream(0)); in yamlToPdb() 741 auto &ModiBuilder = ExitOnErr(DbiBuilder.addModuleInfo(MI.Mod)); in yamlToPdb() 745 ExitOnErr(DbiBuilder.addModuleSourceFile(ModiBuilder, S)); in yamlToPdb() 758 auto CodeViewSubsections = ExitOnErr(CodeViewYAML::toCodeViewSubsectionList( in yamlToPdb() 784 ExitOnErr(Builder.commit(opts::yaml2pdb::YamlPdbOutputFile)); in yamlToPdb() 788 ExitOnErr(loadDataForPDB(PDB_ReaderType::Native, Path, Session)); in loadPDB() 801 ExitOnErr(O->dump()); in pdb2Yaml() [all …]
|
/external/llvm/unittests/Support/ |
D | ErrorTest.cpp | 442 ExitOnError ExitOnErr; in TEST() local 443 ExitOnErr.setBanner("Error in tool:"); in TEST() 444 ExitOnErr.setExitCodeMapper([](const Error &E) { in TEST() 451 ExitOnErr(Error::success()); in TEST() 452 EXPECT_EQ(ExitOnErr(Expected<int>(7)), 7) in TEST() 456 int &B = ExitOnErr(Expected<int&>(A)); in TEST() 460 EXPECT_EXIT(ExitOnErr(make_error<CustomError>(7)), in TEST() 464 EXPECT_EXIT(ExitOnErr(Expected<int>(make_error<CustomSubError>(0, 0))), in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cat/ |
D | llvm-cat.cpp | 49 ExitOnError ExitOnErr("llvm-cat: "); in main() local 56 std::unique_ptr<MemoryBuffer> MB = ExitOnErr( in main() 58 std::vector<BitcodeModule> Mods = ExitOnErr(getBitcodeModuleList(*MB)); in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/tools/llvm-exegesis/ |
D | BenchmarkResultTest.cpp | 58 llvm::ExitOnError ExitOnErr; in TEST() local 86 ExitOnErr(ToDisk.writeYaml(Ctx, Filename)); in TEST() 91 ExitOnErr(InstructionBenchmark::readYaml(Ctx, Filename)); in TEST() 107 ExitOnErr(InstructionBenchmark::readYamls(Ctx, Filename)); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-link/ |
D | llvm-link.cpp | 112 static ExitOnError ExitOnErr; variable 136 ExitOnErr(Result->materializeMetadata()); in loadFile() 216 ExitOnErr(llvm::getModuleSummaryIndexForFile(SummaryIndex)); in importFunctions() 271 ExitOnErr(Importer.importFunctions(DestModule, ImportList)); in importFunctions() 304 ExitOnErr(llvm::getModuleSummaryIndexForFile(SummaryIndex)); in linkFiles() 351 ExitOnErr.setBanner(std::string(argv[0]) + ": "); in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | InitLLVM.cpp | 39 ExitOnError ExitOnErr(Banner); in InitLLVM() local 41 ExitOnErr(errorCodeToError(windows::GetCommandLineArguments(Args, Alloc))); in InitLLVM()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | ErrorTest.cpp | 471 ExitOnError ExitOnErr; in TEST() local 472 ExitOnErr.setBanner("Error in tool:"); in TEST() 473 ExitOnErr.setExitCodeMapper([](const Error &E) { in TEST() 480 ExitOnErr(Error::success()); in TEST() 481 EXPECT_EQ(ExitOnErr(Expected<int>(7)), 7) in TEST() 485 int &B = ExitOnErr(Expected<int&>(A)); in TEST() 489 EXPECT_EXIT(ExitOnErr(make_error<CustomError>(7)), in TEST() 493 EXPECT_EXIT(ExitOnErr(Expected<int>(make_error<CustomSubError>(0, 0))), in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-lto/ |
D | llvm-lto.cpp | 325 ExitOnError ExitOnErr("llvm-lto: error loading file '" + Filename + "': "); in printIndexStats() local 327 ExitOnErr(getModuleSummaryIndexForFile(Filename)); in printIndexStats() 380 ExitOnError ExitOnErr("llvm-lto: error loading file '" + Filename + "': "); in createCombinedModuleSummaryIndex() local 382 ExitOnErr(errorOrToExpected(MemoryBuffer::getFileOrSTDIN(Filename))); in createCombinedModuleSummaryIndex() 383 ExitOnErr(readModuleSummaryIndex(*MB, CombinedIndex, NextModuleId++)); in createCombinedModuleSummaryIndex() 444 ExitOnError ExitOnErr("llvm-lto: error loading file '" + ThinLTOIndex + in loadCombinedIndex() local 446 return ExitOnErr(getModuleSummaryIndexForFile(ThinLTOIndex)); in loadCombinedIndex() 827 ExitOnError ExitOnErr(std::string(*argv) + ": error loading file '" + in main() local 830 ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(Filename))); in main() 832 if (ExitOnErr(isBitcodeContainingObjCCategory(*Buffer))) in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-extract/ |
D | llvm-extract.cpp | 259 ExitOnError ExitOnErr(std::string(*argv) + ": error reading input: "); in main() local 271 ExitOnErr(F->materialize()); in main() 289 auto Materialize = [&](GlobalValue &GV) { ExitOnErr(GV.materialize()); }; in main() 313 ExitOnErr(M->materializeAll()); in main()
|
/external/llvm/tools/lli/ |
D | lli.cpp | 234 ExitOnError ExitOnErr; variable 374 ExitOnErr.setBanner(std::string(argv[0]) + ": "); in main() 656 MyRemote R = ExitOnErr(MyRemote::Create(*C)); in main() 660 ExitOnErr(R.createRemoteMemoryManager(RemoteMM)); in main() 671 if (auto Addr = ExitOnErr(R.getSymbolAddress(Name))) in main() 684 Result = ExitOnErr(R.callIntVoid(Entry)); in main() 695 ExitOnErr(R.terminateSession()); in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cfi-verify/ |
D | llvm-cfi-verify.cpp | 61 ExitOnError ExitOnErr; variable 272 FileAnalysis Analysis = ExitOnErr(FileAnalysis::Create(InputFilename)); in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/ |
D | toy.cpp | 714 static ExitOnError ExitOnErr; variable 1142 ExitOnErr(TheJIT->addFunctionAST(std::move(FnAST))); in HandleDefinition() 1180 ExitOnErr(TheJIT->executeRemoteExpr(cantFail(ExprSymbol.getAddress()))); in HandleTopLevelExpression() 1271 ExitOnErr.setBanner("Kaleidoscope: "); in main() 1283 auto Remote = ExitOnErr(MyRemote::Create(*TCPChannel, ES)); in main() 1306 ExitOnErr(Remote->terminateSession()); in main()
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/ |
D | toy.cpp | 703 static ExitOnError ExitOnErr; variable 1131 ExitOnErr(TheJIT->addFunctionAST(std::move(FnAST))); in HandleDefinition() 1168 ExitOnErr(TheJIT->executeRemoteExpr(ExprSymbol.getAddress())); in HandleTopLevelExpression() 1257 ExitOnErr.setBanner("Kaleidoscope: "); in main() 1268 MyRemote Remote = ExitOnErr(MyRemote::Create(*TCPChannel)); in main() 1291 ExitOnErr(Remote.terminateSession()); in main()
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
D | toy.cpp | 681 static ExitOnError ExitOnErr; variable 1109 ExitOnErr(TheJIT->addFunctionAST(std::move(FnAST))); in HandleDefinition() 1206 ExitOnErr.setBanner("Kaleidoscope: "); in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
D | toy.cpp | 690 static ExitOnError ExitOnErr; variable 1118 ExitOnErr(TheJIT->addFunctionAST(std::move(FnAST))); in HandleDefinition() 1216 ExitOnErr.setBanner("Kaleidoscope: "); in main()
|