HomeSort by relevance Sort by last modified time
    Searched refs:ValOrErr (Results 1 - 6 of 6) sorted by null

  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
Error.h 705 /// Report a fatal error if ValOrErr is a failure value, otherwise unwraps and
719 T cantFail(Expected<T> ValOrErr, const char *Msg = nullptr) {
720 if (ValOrErr)
721 return std::move(*ValOrErr);
729 /// Report a fatal error if ValOrErr is a failure value, otherwise unwraps and
743 T& cantFail(Expected<T&> ValOrErr, const char *Msg = nullptr) {
744 if (ValOrErr)
745 return *ValOrErr;
933 Expected<T> handleExpected(Expected<T> ValOrErr, RecoveryFtor &&RecoveryPath,
935 if (ValOrErr)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
ErrorTest.cpp 636 auto ValOrErr =
639 EXPECT_TRUE(!!ValOrErr)
641 EXPECT_EQ(*ValOrErr, 42)
657 auto ValOrErr =
662 EXPECT_FALSE(!!ValOrErr)
664 auto Err = ValOrErr.takeError();
675 auto ValOrErr =
681 EXPECT_TRUE(!!ValOrErr)
683 EXPECT_EQ(*ValOrErr, 42)
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
RPCUtilsTest.cpp 689 [&](Expected<uint32_t> ValOrErr) {
690 EXPECT_TRUE(!!ValOrErr)
692 EXPECT_EQ(*ValOrErr, 42ULL)
721 [&](Expected<uint32_t> ValOrErr) {
722 EXPECT_FALSE(!!ValOrErr)
724 auto Err = ValOrErr.takeError();
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
RPCSerialization.h 522 static Error serialize(ChannelT &C, Expected<T2> &&ValOrErr) {
523 if (ValOrErr) {
526 return SerializationTraits<ChannelT, T1, T2>::serialize(C, *ValOrErr);
530 return serializeSeq(C, ValOrErr.takeError());
533 static Error deserialize(ChannelT &C, Expected<T2> &ValOrErr) {
534 ExpectedAsOutParameter<T2> EAO(&ValOrErr);
539 return SerializationTraits<ChannelT, T1, T2>::deserialize(C, *ValOrErr);
543 ValOrErr = std::move(Err);
  /external/llvm/lib/Bitcode/Reader/
BitcodeReader.cpp     [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
BitcodeReader.cpp     [all...]

Completed in 1012 milliseconds