reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

examples/Kaleidoscope/BuildingAJIT/Chapter1/KaleidoscopeJIT.h
   50         cantFail(DynamicLibrarySearchGenerator::GetForCurrentProcess(
examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h
   57         cantFail(DynamicLibrarySearchGenerator::GetForCurrentProcess(
examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h
   79         CompileCallbackManager(cantFail(orc::createLocalCompileCallbackManager(
examples/Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp
 1153       double (*FP)() = (double (*)())(intptr_t)cantFail(ExprSymbol.getAddress());
examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h
  119         CompileCallbackMgr(cantFail(orc::createLocalCompileCallbackManager(
  162       JITTargetAddress SymAddr = cantFail(Sym.getAddress());
  175     auto CCAddr = cantFail(
examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp
 1156       double (*FP)() = (double (*)())(intptr_t)cantFail(ExprSymbol.getAddress());
examples/Kaleidoscope/BuildingAJIT/Chapter5/KaleidoscopeJIT.h
  108               if (auto Addr = cantFail(this->Remote.getSymbolAddress(Name)))
  119                           cantFail(this->Remote.createRemoteMemoryManager()),
  136     IndirectStubsMgr = cantFail(Remote.createIndirectStubsManager());
  175       JITTargetAddress SymAddr = cantFail(Sym.getAddress());
  188     auto CCAddr = cantFail(
examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp
 1180       ExitOnErr(TheJIT->executeRemoteExpr(cantFail(ExprSymbol.getAddress())));
examples/Kaleidoscope/Chapter4/toy.cpp
  615       double (*FP)() = (double (*)())(intptr_t)cantFail(ExprSymbol.getAddress());
examples/Kaleidoscope/Chapter5/toy.cpp
  889       double (*FP)() = (double (*)())(intptr_t)cantFail(ExprSymbol.getAddress());
examples/Kaleidoscope/Chapter6/toy.cpp
 1008       double (*FP)() = (double (*)())(intptr_t)cantFail(ExprSymbol.getAddress());
examples/Kaleidoscope/Chapter7/toy.cpp
 1178       double (*FP)() = (double (*)())(intptr_t)cantFail(ExprSymbol.getAddress());
include/llvm/MC/MCDwarf.h
  294     return cantFail(Header.tryGetFile(Directory, FileName, Checksum, Source,
  322     return cantFail(tryGetFile(Directory, FileName, Checksum, Source,
include/llvm/MC/MCStreamer.h
  809     return cantFail(
lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
  260         cantFail(SymbolDeserializer::deserializeAs<PublicSym32>(Sym)));
lib/DebugInfo/PDB/Native/NativeEnumInjectedSources.cpp
   49     StringRef Ret = cantFail(Strings.getStringForID(Entry.FileNI),
   55     StringRef Ret = cantFail(Strings.getStringForID(Entry.ObjNI),
   61     StringRef Ret = cantFail(Strings.getStringForID(Entry.VFileNI),
   71         cantFail(Strings.getStringForID(Entry.VFileNI),
lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
  229   uint32_t SN = cantFail(getNamedStreamIndex("/src/headerblock"));
  253     uint32_t SN = cantFail(getNamedStreamIndex(IS.StreamName));
lib/DebugInfo/PDB/Native/SymbolCache.cpp
  268     UDTSym US = cantFail(SymbolDeserializer::deserializeAs<UDTSym>(CVS));
lib/ExecutionEngine/Orc/CompileUtils.cpp
   80   auto TM = cantFail(JTMB.createTargetMachine());
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
  326     return cantFail(findSymbol(Name).getAddress());
lib/ExecutionEngine/Orc/ThreadSafeModule.cpp
   56     auto ClonedModule = cantFail(
lib/Remarks/RemarkParser.cpp
  117       : TheParser(cantFail(
lib/XRay/Profile.cpp
   32       B.PathData.push_back({internPath(cantFail(O.expandPath(PathData.first))),
  210             Merged.internPath(cantFail(P.get().expandPath(PathID)));
  243             Merged.internPath(cantFail(P.get().expandPath(PathId)));
tools/clang/lib/Tooling/Tooling.cpp
  241   return llvm::cantFail(getAbsolutePath(*llvm::vfs::getRealFileSystem(), File));
tools/clang/tools/extra/clangd/Format.cpp
  258   std::string CodeToFormat = cantFail(
  342         cantFail(tooling::applyAllReplacements(FinalCode, *Pass.second));
tools/clang/tools/extra/clangd/unittests/ClangdTests.cpp
  537   EXPECT_THAT(cantFail(runCodeComplete(Server, FooCpp, Position(),
  714       cantFail(runCodeComplete(Server, FilePaths[FileIndex], Pos,
  877   auto Completions = cantFail(runCodeComplete(Server, SourcePath, Code.point(),
  885   Completions = cantFail(runCodeComplete(Server, SourcePath, Code.point(),
  953   auto Completions = cantFail(runCodeComplete(Server, SourcePath, Code.point(),
 1006   auto Res = cantFail(runCodeComplete(Server, FooCpp, Code.point(), Opts));
 1018       cantFail(runCodeComplete(Server, FooCpp, Code.point(), Opts)).Completions,
 1025       cantFail(runCodeComplete(Server, FooCpp, Code.point(), Opts)).Completions,
 1076   auto Res = cantFail(runCodeComplete(Server, FooCpp, Code.point(), Opts));
 1081   EXPECT_THAT(cantFail(runCodeComplete(Server, FooCpp, Code.point(),
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp
  113       llvm::cantFail(runCodeComplete(Server, File, Point, Opts));
  132       llvm::cantFail(runCodeComplete(Server, File, Test.point(), Opts));
  755   auto WithIndex = cantFail(runCodeComplete(Server, File, Test.point(), Opts));
  759       cantFail(runCodeComplete(Server, File, Test.point("2"), Opts));
  764       cantFail(runCodeComplete(Server, File, Test.point(), Opts));
  840   auto Results = cantFail(runCodeComplete(Server, File, Test.point(), {}));
 1021   return llvm::cantFail(runSignatureHelp(Server, File, Point));
 1486       cantFail(runCodeComplete(Server, FooCpp, Source.point(), Opts));
 1542   CodeCompleteResult Completions = cantFail(runCodeComplete(
 1986       llvm::cantFail(runSignatureHelp(Server, File, FileContent.point()))
 2115     auto Offset = cantFail(positionToOffset(F.code(), F.point()));
 2117       return F.code().slice(cantFail(positionToOffset(F.code(), R.start)),
 2118                             cantFail(positionToOffset(F.code(), R.end)));
 2153     cantFail(runCodeComplete(Server, File, Test.point(P), Opts));
tools/clang/tools/extra/clangd/unittests/FormatTests.cpp
   26   unsigned Cursor = llvm::cantFail(positionToOffset(Code.code(), Code.point()));
tools/clang/tools/extra/clangd/unittests/HeaderSourceSwitchTests.cpp
  274             *llvm::cantFail(runSwitchHeaderSource(Server, CppPath)));
tools/clang/tools/extra/clangd/unittests/SelectionTests.cpp
   27                          cantFail(positionToOffset(Test.code(), Test.point())));
   31         cantFail(positionToOffset(Test.code(), Test.points()[0])),
   32         cantFail(positionToOffset(Test.code(), Test.points()[1])));
tools/clang/tools/extra/clangd/unittests/SemanticHighlightingTests.cpp
   86     unsigned StartOffset = llvm::cantFail(positionToOffset(Input, T.R.start));
   87     unsigned EndOffset = llvm::cantFail(positionToOffset(Input, T.R.end));
tools/clang/tools/extra/clangd/unittests/SemanticSelectionTests.cpp
  144     EXPECT_THAT(llvm::cantFail(getSemanticRanges(AST, T.point())),
tools/clang/tools/extra/clangd/unittests/SerializationTests.cpp
   96 MATCHER_P(ID, I, "") { return arg.ID == cantFail(SymbolID::fromStr(I)); }
  118       cantFail(SymbolID::fromStr("057557CEBF6E6B2D")));
  120       cantFail(SymbolID::fromStr("057557CEBF6E6B2E")));
  146       UnorderedElementsAre(Pair(cantFail(SymbolID::fromStr("057557CEBF6E6B2D")),
  152   SymbolID Base = cantFail(SymbolID::fromStr("6481EE7AF2841756"));
  153   SymbolID Derived = cantFail(SymbolID::fromStr("6512AEC512EA3A2D"));
tools/clang/tools/extra/clangd/unittests/SourceCodeTests.cpp
  310     size_t Offset = llvm::cantFail(positionToOffset(Source.code(), P));
tools/clang/tools/extra/clangd/unittests/TUSchedulerTests.cpp
  539             cantFail(std::move(Preamble)).Preamble->Preamble.getBounds().Size,
  554             cantFail(std::move(Preamble)).Preamble->Preamble.getBounds().Size,
  583           Preambles[I] = cantFail(std::move(IP)).Preamble;
  661     cantFail(std::move(IA));
tools/clang/tools/extra/clangd/unittests/TweakTesting.cpp
   62   return {cantFail(positionToOffset(A.code(), SelectionRng.start)),
   63           cantFail(positionToOffset(A.code(), SelectionRng.end))};
  143     size_t Offset = llvm::cantFail(positionToOffset(Code, Point));
  147     size_t Begin = llvm::cantFail(positionToOffset(Code, Range.start));
  148     size_t End = llvm::cantFail(positionToOffset(Code, Range.end));
tools/clang/tools/extra/clangd/unittests/XRefsTests.cpp
 1949       cantFail(runLocateSymbolAt(Server, FooCpp, FooWithHeader.point())),
 1957       cantFail(runLocateSymbolAt(Server, FooCpp, FooWithoutHeader.point())),
 1966       cantFail(runLocateSymbolAt(Server, FooCpp, FooWithoutHeader.point())),
 2272     SourceLocation SL = llvm::cantFail(
tools/lld/COFF/InputFiles.cpp
  724             cantFail(SymbolDeserializer::deserializeAs<Compile3Sym>(sym.get()));
  729         auto objName = cantFail(SymbolDeserializer::deserializeAs<ObjNameSym>(
  776     TypeServer2Record ts = cantFail(
  783     PrecompRecord precomp = cantFail(
tools/lldb/source/Host/common/NativeProcessProtocol.cpp
  563     return cantFail(GetSoftwareBreakpointTrapOpcode(0)).size();
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
  412     std::string name = cantFail(m_minidump_parser->GetMinidumpFile().getString(
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
  875   UDTSym udt = llvm::cantFail(SymbolDeserializer::deserializeAs<UDTSym>(sym));
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.cpp
  558   out_program = cantFail(strings.getStringForID(frame_data_it->FrameFunc));
  822   return llvm::cantFail(tpi.findFullDeclForForwardRef(id.index));
  852     index = llvm::cantFail(tpi.findFullDeclForForwardRef(index));
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
 1305     UDTSym udt = llvm::cantFail(SymbolDeserializer::deserializeAs<UDTSym>(sym));
 1378   UDTSym udt = llvm::cantFail(SymbolDeserializer::deserializeAs<UDTSym>(sym));
tools/lldb/unittests/Host/NativeProcessProtocolTest.cpp
   24   auto Trap = cantFail(Process.GetSoftwareBreakpointTrapOpcode(1));
   49   auto Trap = cantFail(Process.GetSoftwareBreakpointTrapOpcode(1));
   64   auto Trap = cantFail(Process.GetSoftwareBreakpointTrapOpcode(1));
tools/llvm-exegesis/lib/Assembler.cpp
  255       cantFail(object::ObjectFile::createObjectFile(Buffer->getMemBufferRef()));
  262   return cantFail(object::ObjectFile::createObjectFile(Filename));
tools/llvm-pdbutil/DumpOutputStyle.cpp
  792     UDTSym UDT = cantFail(SymbolDeserializer::deserializeAs<UDTSym>(Sym));
tools/llvm-pdbutil/LinePrinter.cpp
  257         cantFail(File.getBlockData(Blocks.front(), File.getBlockSize()));
tools/llvm-pdbutil/TypeReferenceTracker.cpp
  155                       cantFail(Tpi->findFullDeclForForwardRef(RefTI)));
unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
   83     cantFail(std::move(Result));
  184         cantFail(std::move(Result));
  188   cantFail(JD2.legacyLookup(Q, cantFail(JD.legacyLookup(Q, {Foo}))));
  188   cantFail(JD2.legacyLookup(Q, cantFail(JD.legacyLookup(Q, {Foo}))));
  203   auto Result = cantFail(
  231   auto SymbolFlags = cantFail(JD.lookupFlags(Names));
  306   auto Result = cantFail(ES.lookup(JITDylibSearchList({{&JD2, false}}), Bar));
  332   auto Result = cantFail(ES.lookup(JITDylibSearchList({{&JD2, false}}), Baz));
  349   auto Flags = cantFail(JD.lookupFlags({Foo, Bar, Baz}));
  353   auto Result = cantFail(ES.lookup(JITDylibSearchList({{&JD, false}}), Foo));
  369     cantFail(std::move(Result));
  422     cantFail(std::move(Result));
  427     cantFail(std::move(Result));
  442     cantFail(std::move(Result));
  447     cantFail(std::move(Result));
  461     cantFail(std::move(Result));
  466     cantFail(std::move(Result));
  909     cantFail(std::move(Result));
  941   cantFail(ES.lookup(JITDylibSearchList({{&JD, false}}), Foo));
  947   auto BarResult = cantFail(ES.lookup(JITDylibSearchList({{&JD, false}}), Bar));
  980       cantFail(ES.lookup(JITDylibSearchList({{&JD, false}}), {Foo, Bar}));
 1039               cantFail(std::move(Result));
 1091       cantFail(ES.lookup(JITDylibSearchList({{&JD, false}}), Foo));
 1112       cantFail(ES.lookup(JITDylibSearchList({{&JD, false}}), Foo));
 1161       cantFail(ES.lookup(JITDylibSearchList({{&JD, false}}), Foo));
 1169       cantFail(ES.lookup(JITDylibSearchList({{&JD, false}}), Bar));
 1216     cantFail(std::move(Result));
unittests/ExecutionEngine/Orc/GlobalMappingLayerTest.cpp
   36   int H = cantFail(L.addModule(nullptr, nullptr));
   45   EXPECT_EQ(cantFail(BarSym.getAddress()),
   52   EXPECT_EQ(cantFail(FooSym2.getAddress()),
unittests/ExecutionEngine/Orc/JITTargetMachineBuilderTest.cpp
   25   auto JTMB = cantFail(JITTargetMachineBuilder::detectHost());
unittests/ExecutionEngine/Orc/LazyCallThroughAndReexportsTest.cpp
   61   auto CallThroughTrampoline = cantFail((*LCTM)->getCallThroughTrampoline(
unittests/ExecutionEngine/Orc/LegacyAPIInteropTest.cpp
   27         auto FlagsMap = cantFail(JD.lookupFlags(Symbols));
   35         return cantFail(JD.legacyLookup(std::move(Q), Symbols));
unittests/ExecutionEngine/Orc/LegacyRTDyldObjectLinkingLayerTest.cpp
  194         return cantFail(
unittests/ExecutionEngine/Orc/ObjectTransformLayerTest.cpp
   92     EXPECT_EQ(cantFail(MockSymbol.getAddress()),
   93               cantFail(Returned.getAddress()))
  115     EXPECT_EQ(cantFail(MockSymbol.getAddress()),
  116               cantFail(Returned.getAddress()))
unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
   61     cantFail(std::move(R));
  164       [](Expected<SymbolMap> R) { cantFail(std::move(R)); },
  229       [](Expected<SymbolMap> R) { cantFail(std::move(R)); },
unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp
  162   cantFail(Client.addObject(std::move(TestObject),
  261   auto H = cantFail(Client.addObject(std::move(TestObject),
  312   auto H = cantFail(Client.addObject(std::move(TestObject),
  376   cantFail(Client.addObject(std::move(TestObject),
  382   EXPECT_EQ(cantFail(Sym1.getAddress()), 0x12348765ULL)
  465   auto H = cantFail(Client.addObject(std::move(TestObject),
  471   EXPECT_EQ(cantFail(Sym1.getAddress()), 0x12348765ULL)
  524   auto H = cantFail(Client.addObject(std::move(TestObject),
  574   auto H = cantFail(Client.addObject(std::move(TestObject),
unittests/Support/ErrorTest.cpp
  504   int X = cantFail(Expected<int>(42));
  525         int X = cantFail(Expected<int>(make_error<StringError>("foo", IEC)));