Searched refs:ResultOrErr (Results 1 – 10 of 10) sorted by relevance
/external/llvm-project/llvm/include/llvm/Remarks/ |
D | HotnessThresholdParser.h | 51 auto ResultOrErr = parseHotnessThresholdOption(Arg); in parse() local 52 if (!ResultOrErr) in parse() 56 V = *ResultOrErr; in parse()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | StencilTest.cpp | 102 if (auto ResultOrErr = Stencil->eval(StmtMatch->Result)) { in testError() local 103 ADD_FAILURE() << "Expected failure but succeeded: " << *ResultOrErr; in testError() 105 auto Err = llvm::handleErrors(ResultOrErr.takeError(), in testError() 154 auto ResultOrErr = Stencil->eval(StmtMatch->Result); in TEST_F() local 155 EXPECT_TRUE(llvm::errorToBool(ResultOrErr.takeError())) in TEST_F() 156 << "Expected unbound node, got " << *ResultOrErr; in TEST_F()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/RPC/ |
D | RPCUtils.h | 325 Expected<HandlerRetT> ResultOrErr) { in sendResult() argument 326 if (!ResultOrErr && ResultOrErr.template errorIsA<RPCFatalError>()) in sendResult() 327 return ResultOrErr.takeError(); in sendResult() 337 C, std::move(ResultOrErr))) in sendResult() 371 Expected<HandlerRetT> ResultOrErr) { in sendResult() argument 372 if (auto Err = ResultOrErr.takeError()) in sendResult() 382 C, *ResultOrErr)) in sendResult() 412 SequenceNumberT SeqNo, Expected<HandlerRetT> ResultOrErr) { in respond() argument 414 template sendResult<WireRetT>(C, ResponseId, SeqNo, std::move(ResultOrErr)); in respond()
|
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/RPC/ |
D | RPCUtils.h | 323 Expected<HandlerRetT> ResultOrErr) { in sendResult() argument 324 if (!ResultOrErr && ResultOrErr.template errorIsA<RPCFatalError>()) in sendResult() 325 return ResultOrErr.takeError(); in sendResult() 335 C, std::move(ResultOrErr))) in sendResult() 369 Expected<HandlerRetT> ResultOrErr) { in sendResult() argument 370 if (auto Err = ResultOrErr.takeError()) in sendResult() 380 C, *ResultOrErr)) in sendResult() 410 SequenceNumberT SeqNo, Expected<HandlerRetT> ResultOrErr) { in respond() argument 412 template sendResult<WireRetT>(C, ResponseId, SeqNo, std::move(ResultOrErr)); in respond()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
D | LTO.cpp | 1392 auto ResultOrErr = llvm::setupOptimizationRemarks( in setupOptimizationRemarks() local 1394 if (Error E = ResultOrErr.takeError()) in setupOptimizationRemarks() 1397 if (*ResultOrErr) in setupOptimizationRemarks() 1398 (*ResultOrErr)->keep(); in setupOptimizationRemarks() 1400 return ResultOrErr; in setupOptimizationRemarks()
|
/external/llvm-project/llvm/lib/LTO/ |
D | LTO.cpp | 1502 auto ResultOrErr = llvm::setupLLVMOptimizationRemarks( in setupLLVMOptimizationRemarks() local 1505 if (Error E = ResultOrErr.takeError()) in setupLLVMOptimizationRemarks() 1508 if (*ResultOrErr) in setupLLVMOptimizationRemarks() 1509 (*ResultOrErr)->keep(); in setupLLVMOptimizationRemarks() 1511 return ResultOrErr; in setupLLVMOptimizationRemarks()
|
/external/llvm-project/llvm/tools/gold/ |
D | gold-plugin.cpp | 304 auto ResultOrErr = remarks::parseHotnessThresholdOption(opt); in process_plugin_option() local 305 if (!ResultOrErr) in process_plugin_option() 308 RemarksHotnessThreshold = *ResultOrErr; in process_plugin_option()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyld.cpp | 227 if (auto ResultOrErr = Resolver.getResponsibilitySet(Symbols)) in loadObjectImpl() local 228 ResponsibilitySet = std::move(*ResultOrErr); in loadObjectImpl() 230 return ResultOrErr.takeError(); in loadObjectImpl()
|
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyld.cpp | 231 if (auto ResultOrErr = Resolver.getResponsibilitySet(Symbols)) in loadObjectImpl() local 232 ResponsibilitySet = std::move(*ResultOrErr); in loadObjectImpl() 234 return ResultOrErr.takeError(); in loadObjectImpl()
|
/external/llvm-project/clang/lib/Frontend/ |
D | CompilerInvocation.cpp | 1560 auto ResultOrErr = in ParseCodeGenArgs() local 1563 if (!ResultOrErr) { in ParseCodeGenArgs() 1567 Opts.DiagnosticsHotnessThreshold = *ResultOrErr; in ParseCodeGenArgs()
|