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

References

gen/tools/lldb/scripts/LLDBWrapPython.cpp
79692     if (argc.get().max_positional_args < 3)
80013     if (arg_info.get().max_positional_args < 1)
80033     if (arg_info.get().max_positional_args < 1)
80217     if (argc.get().max_positional_args < 5u)
include/llvm/Bitstream/BitstreamReader.h
  236     uint32_t Piece = MaybeRead.get();
  253       Piece = MaybeRead.get();
  263     uint32_t Piece = MaybeRead.get();
  280       Piece = MaybeRead.get();
  407       unsigned Code = MaybeCode.get();
  418           return BitstreamEntry::getSubBlock(MaybeSubBlock.get());
  444       BitstreamEntry Entry = MaybeEntry.get();
  477     size_t NumFourBytes = MaybeNum.get();
include/llvm/Object/ELFObjectFile.h
  379         auto Contents = ErrorOrContents.get();
lib/Bitcode/Reader/BitReader.cpp
   54   *OutModule = wrap(ModuleOrErr.get().release());
  100   *OutM = wrap(ModuleOrErr.get().release());
lib/Bitcode/Reader/BitcodeAnalyzer.cpp
  410       Dest = MaybeWord.get();
  526     uint32_t Size = MaybeSize.get();
  569       if (MaybeCode.get() != bitc::ENTER_SUBBLOCK)
  575       if (MaybeBlockID.get() == bitc::BLOCKINFO_BLOCK_ID) {
  581             std::move(MaybeNewBlockInfo.get());
  598     if (MaybeCode.get() != bitc::ENTER_SUBBLOCK)
  605     if (Error E = parseBlock(MaybeBlockID.get(), 0, O, CheckHash))
  745         std::move(MaybeNewBlockInfo.get());
  794     BitstreamEntry Entry = MaybeEntry.get();
  844     unsigned Code = MaybeCode.get();
lib/Bitcode/Reader/BitcodeReader.cpp
  114       if (Res.get() != C)
  121       if (Res.get() != C)
  185       Entry = Res.get();
  205     switch (MaybeBitCode.get()) {
  232       Entry = std::move(Res.get());
  269     BitstreamEntry Entry = MaybeEntry.get();
  286     switch (MaybeRecord.get()) {
  311       Entry = std::move(Res.get());
  352     BitstreamEntry Entry = MaybeEntry.get();
  369     switch (MaybeRecord.get()) {
  391     BitstreamEntry Entry = MaybeEntry.get();
 1364     BitstreamEntry Entry = MaybeEntry.get();
 1382     switch (MaybeRecord.get()) {
 1577     BitstreamEntry Entry = MaybeEntry.get();
 1595     switch (MaybeRecord.get()) {
 1691     BitstreamEntry Entry = MaybeEntry.get();
 1712     switch (MaybeRecord.get()) {
 1934     BitstreamEntry Entry = MaybeEntry.get();
 1952     if (MaybeRecord.get() != bitc::OPERAND_BUNDLE_TAG)
 1975     BitstreamEntry Entry = MaybeEntry.get();
 1996     if (MaybeRecord.get() != bitc::SYNC_SCOPE_NAME)
 2047   assert(MaybeEntry.get().Kind == BitstreamEntry::SubBlock);
 2048   assert(MaybeEntry.get().ID == bitc::VALUE_SYMTAB_BLOCK_ID);
 2081     BitstreamEntry Entry = MaybeEntry.get();
 2097     switch (MaybeRecord.get()) {
 2117     CurrentBit = MaybeCurrentBit.get();
 2158     BitstreamEntry Entry = MaybeEntry.get();
 2179     switch (MaybeRecord.get()) {
 2186       ValOrErr.get();
 2194       Value *V = ValOrErr.get();
 2338     BitstreamEntry Entry = MaybeEntry.get();
 2364     switch (unsigned BitCode = MaybeBitCode.get()) {
 2840     BitstreamEntry Entry = MaybeEntry.get();
 2859     switch (MaybeRecord.get()) {
 3022     llvm::BitstreamEntry Entry = MaybeEntry.get();
 3047       std::move(MaybeNewBlockInfo.get());
 3417     llvm::BitstreamEntry Entry = MaybeEntry.get();
 3563     switch (unsigned BitCode = MaybeBitCode.get()) {
 3737     llvm::BitstreamEntry Entry = MaybeEntry.get();
 3789     switch (unsigned BitCode = MaybeBitCode.get()) {
 5407   uint64_t CurrentBit = MaybeCurrentBit.get();
 5421     BitstreamEntry Entry = MaybeEntry.get();
 5442     switch (MaybeRecord.get()) {
 5502     llvm::BitstreamEntry Entry = MaybeEntry.get();
 5562         switch (MaybeBitCode.get()) {
 5755     BitstreamEntry Entry = MaybeEntry.get();
 5762     if (MaybeRecord.get() != bitc::FS_VERSION)
 5790     BitstreamEntry Entry = MaybeEntry.get();
 5814     switch (unsigned BitCode = MaybeBitCode.get()) {
 6193     BitstreamEntry Entry = MaybeEntry.get();
 6210     switch (MaybeRecord.get()) {
 6284     llvm::BitstreamEntry Entry = MaybeEntry.get();
 6305       if (MaybeRecord.get() == RecordID)
 6344     llvm::BitstreamEntry Entry = MaybeEntry.get();
 6362           Entry = MaybeEntry.get();
 6532     BitstreamEntry Entry = MaybeEntry.get();
 6552     switch (MaybeBitCode.get()) {
 6580     llvm::BitstreamEntry Entry = MaybeEntry.get();
lib/Bitcode/Reader/MetadataLoader.cpp
  693     BitstreamEntry Entry = MaybeEntry.get();
  709       unsigned Code = MaybeCode.get();
  753         Entry = MaybeEntry.get();
  760           assert(MaybeCode.get() == bitc::METADATA_INDEX &&
  787           Code = MaybeCode.get();
  795           Code = MaybeCode.get();
  804           assert(MaybeNextBitCode.get() == bitc::METADATA_NAMED_NODE);
  913     if (SuccessOrErr.get()) {
  946     BitstreamEntry Entry = MaybeEntry.get();
  967       if (Error Err = parseOneMetadata(Record, MaybeCode.get(), Placeholders,
 1005   BitstreamEntry Entry = MaybeEntry.get();
 1010             parseOneMetadata(Record, MaybeCode.get(), Placeholders, Blob, ID))
 1114     Code = MaybeCode.get();
 1118       if (MaybeNextBitCode.get() != bitc::METADATA_NAMED_NODE)
 1950     uint32_t Size = MaybeSize.get();
 1989     BitstreamEntry Entry = MaybeEntry.get();
 2009     switch (MaybeRecord.get()) {
 2093     BitstreamEntry Entry = MaybeEntry.get();
 2112     switch (MaybeCode.get()) {
lib/Bitstream/Reader/BitstreamReader.cpp
   39   CurCodeSize = MaybeVBR.get();
   51   word_t NumWords = MaybeNum.get();
   84       return BitCodeAbbrevOp::DecodeChar6(Res.get());
  129     unsigned Code = MaybeCode.get();
  132       return MaybeVBR.get();
  133     unsigned NumElts = MaybeVBR.get();
  156     Code = MaybeCode.get();
  176       unsigned NumElts = MaybeNum.get();
  215     unsigned NumElts = MaybeNum.get();
  242     uint32_t Code = MaybeCode.get();
  246     uint32_t NumElts = MaybeNumElts.get();
  250         Vals.push_back(MaybeVal.get());
  269       Code = MaybeCode.get();
  284         Vals.push_back(MaybeVal.get());
  295       uint32_t NumElts = MaybeNumElts.get();
  313             Vals.push_back(MaybeVal.get());
  321             Vals.push_back(MaybeVal.get());
  328             Vals.push_back(BitCodeAbbrevOp::DecodeChar6(MaybeVal.get()));
  340     uint32_t NumElts = MaybeNumElts.get();
  380   unsigned NumOpInfo = MaybeNumOpInfo.get();
  385     bool IsLiteral = MaybeIsLiteral.get();
  390       Abbv->Add(BitCodeAbbrevOp(MaybeOp.get()));
  398         (BitCodeAbbrevOp::Encoding)MaybeEncoding.get();
  403       uint64_t Data = MaybeData.get();
  447     BitstreamEntry Entry = MaybeEntry.get();
  478     switch (MaybeBlockInfo.get()) {
lib/CodeGen/ParallelCG.cpp
   86                 std::unique_ptr<Module> MPartInCtx = std::move(MOrErr.get());
lib/DebugInfo/DWARF/DWARFContext.cpp
 1266   S->File = std::move(Obj.get());
lib/DebugInfo/DWARF/DWARFDie.cpp
  348       dumpRanges(Obj, OS, RangesOrError.get(), U->getAddressByteSize(),
  496       Ranges.insert(Ranges.end(), DIERangesOrError.get().begin(),
  497                     DIERangesOrError.get().end());
  513   for (const auto &R : RangesOrError.get())
lib/DebugInfo/DWARF/DWARFUnit.cpp
  481       RngListTable = TableOrError.get();
  532       DWO->RngListTable = TableOrError.get();
  567       return RangeListOrError.get().getAbsoluteRanges(getBaseAddress(), *this);
  606       for (const auto &R : DIERangesOrError.get()) {
lib/DebugInfo/DWARF/DWARFVerifier.cpp
  369   DWARFAddressRangesVector Ranges = RangesOrError.get();
lib/DebugInfo/GSYM/FunctionInfo.cpp
   73           FI.OptLineTable = std::move(LT.get());
   80           FI.Inline = std::move(II.get());
lib/DebugInfo/GSYM/GsymCreator.cpp
  140         AddrInfoOffsets.push_back(OffsetOrErr.get());
lib/DebugInfo/GSYM/GsymReader.cpp
   93       Swap->Hdr = ExpectedHdr.get();
lib/DebugInfo/GSYM/InlineInfo.cpp
  108       if (Child.get().Ranges.empty())
lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp
   26     return &DbiS.get();
lib/DebugInfo/PDB/Native/NativeSession.cpp
   46     return &DbiS.get();
lib/DebugInfo/Symbolize/Symbolize.cpp
   92     Info = InfoOrErr.get();
  122     Info = InfoOrErr.get();
  148     Info = InfoOrErr.get();
  306     ObjectFile *DbgObj = DbgObjOrErr.get();
  335   return DbgObjOrErr.get();
  352   ObjectFile *Obj = ObjOrErr.get();
  378     Pair.first->second = std::move(BinOrErr.get());
  399                                    std::move(ObjOrErr.get()));
  448   ObjectPair Objects = ObjectsOrErr.get();
lib/ExecutionEngine/MCJIT/MCJIT.cpp
  223     Dyld.loadObject(*LoadedObject.get());
  228   notifyObjectLoaded(*LoadedObject.get(), *L);
  357       std::unique_ptr<object::Binary> &ChildBin = ChildBinOrErr.get();
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
  408         std::unique_ptr<object::Binary> &ChildBin = ChildBinOrErr.get();
lib/FuzzMutate/FuzzerCLI.cpp
  186   return std::move(M.get());
lib/IRReader/IRReader.cpp
   46     return std::move(ModuleOrErr.get());
   87       ModuleOrErr.get()->setDataLayout(DataLayoutString);
   88     return std::move(ModuleOrErr.get());
lib/LTO/LTO.cpp
  930   std::unique_ptr<ToolOutputFile> StatsFile = std::move(StatsFileOrErr.get());
lib/LTO/LTOBackend.cpp
  382               std::unique_ptr<Module> MPartInCtx = std::move(MOrErr.get());
lib/LTO/LTOCodeGenerator.cpp
  543   StatsFile = std::move(StatsFileOrErr.get());
lib/LTO/ThinLTOCodeGenerator.cpp
  200     verifyLoadedModule(*ModuleOrErr.get());
lib/MC/MCAsmStreamer.cpp
 1253   FileNo = FileNoOrErr.get();
lib/Object/Archive.cpp
   72         *Err = malformedError(Msg + "for " + NameOrErr.get());
   92         *Err = malformedError(Msg + "for " + NameOrErr.get());
  145   StringRef Name = NameOrErr.get();
  356   bool isThin = isThinOrErr.get();
  363     Size += MemberSize.get();
  375   StringRef Name = NameOrErr.get();
  399     return Size.get();
  412   StringRef Name = NameOrErr.get();
  420   assert(isThin.get());
  438   bool isThin = isThinOrErr.get();
  443     return StringRef(Data.data() + StartOfFile, Size.get());
  478       return malformedError(Msg + NameOrErr.get());
  499   uint64_t RawSize = RawSizeOrErr.get();
  503   StringRef Name = NameOrErr.get();
  511   StringRef Name = NameOrErr.get();
  524   auto BinaryOrErr = createBinary(BuffOrErr.get(), Context);
  591   StringRef Name = NameOrErr.get();
  624     SymbolTable = BufOrErr.get();
  641     Name = NameOrErr.get();
  650       SymbolTable = BufOrErr.get();
  663       SymbolTable = BufOrErr.get();
  685     SymbolTable = BufOrErr.get();
  700     Name = NameOrErr.get();
  712     StringTable = BufOrErr.get();
  740   SymbolTable = BufOrErr.get();
  756   Name = NameOrErr.get();
  766     StringTable = BufOrErr.get();
lib/Object/ArchiveWriter.cpp
   59     M.ModTime = ModTimeOrErr.get();
   63     M.UID = UIDOrErr.get();
   67     M.GID = GIDOrErr.get();
   71     M.Perms = AccessModeOrErr.get();
lib/Object/Binary.cpp
  108   std::unique_ptr<Binary> &Bin = BinOrErr.get();
lib/Object/MachOObjectFile.cpp
  283     Segment S = SegOrErr.get();
  297       Section s = SectionOrErr.get();
  410   MachO::symtab_command Symtab = SymtabOrErr.get();
  469   MachO::dysymtab_command Dysymtab = DysymtabOrErr.get();
  603   MachO::linkedit_data_command LinkData = LinkDataOrError.get();
  641   MachO::dyld_info_command DyldInfo = DyldInfoOrErr.get();
  734   MachO::dylib_command D = CommandOrErr.get();
  783   MachO::dylinker_command D = CommandOrErr.get();
  831   MachO::note_command Nt = NoteCmdOrErr.get();
  858   MachO::build_version_command BVC = BVCOrErr.get();
  882   MachO::rpath_command R = ROrErr.get();
  939   MachO::linker_option_command L = LinkOptionOrErr.get();
 1007   MachO::thread_command T = ThreadCommandOrErr.get();
 1201   MachO::twolevel_hints_command Hints = HintsOrErr.get();
 2444       MachO::dylib_command D = CommandOrErr.get();
 4539   MachO::dyld_info_command DyldInfo = DyldInfoOrErr.get();
 4553   MachO::dyld_info_command DyldInfo = DyldInfoOrErr.get();
 4567   MachO::dyld_info_command DyldInfo = DyldInfoOrErr.get();
 4581   MachO::dyld_info_command DyldInfo = DyldInfoOrErr.get();
 4595   MachO::dyld_info_command DyldInfo = DyldInfoOrErr.get();
lib/Object/Minidump.cpp
   65   const minidump::MemoryInfoListHeader &H = ExpectedHeader.get()[0];
   83   size_t ListSize = ExpectedSize.get()[0];
lib/Object/Object.cpp
   75   return wrap(ObjOrErr.get().release());
  146   return wrap(ObjOrErr.get().release());
  189   auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf));
lib/Object/ObjectFile.cpp
  179   std::unique_ptr<ObjectFile> Obj = std::move(ObjOrErr.get());
lib/Object/TapiUniversal.cpp
   31   ParsedFile = std::move(Result.get());
lib/Object/WindowsResource.cpp
  347   ResourceEntryRef Entry = EntryOrErr.get();
lib/Object/XCOFFObjectFile.cpp
  213   return section_iterator(SectionRef(ExpSec.get(), this));
  431           getSectionNameInternal(SecRef.get()));
  583   uint32_t NumRelocEntries = NumRelocEntriesOrErr.get();
  591   const XCOFFRelocation32 *StartReloc = RelocationOrErr.get();
  617   const char *StringTablePtr = StringTableOrErr.get();
  639   Obj->FileHeader = FileHeaderOrErr.get();
  653     Obj->SectionHeaderTable = SecHeadersOrErr.get();
  672   Obj->SymbolTblPtr = SymTableOrErr.get();
  680   Obj->StringTable = StringTableOrErr.get();
  762   return (OwningObjectPtr->getSectionFlags(SI.get()) & XCOFF::STYP_TEXT);
lib/ProfileData/Coverage/CoverageMapping.cpp
  312   auto ProfileReader = std::move(ProfileReaderOrErr.get());
  332     for (auto &Reader : CoverageReadersOrErr.get())
lib/ProfileData/Coverage/CoverageMappingReader.cpp
  577   auto Reader = std::move(ReaderExpected.get());
  582     Buf = NextHeaderOrErr.get();
  688     OF = std::move(ObjectFileOrErr.get());
  728       CoverageMappingOrErr.get(), std::move(ProfileNames), BytesInAddress,
  743     Readers.push_back(std::move(ReaderOrErr.get()));
  750   std::unique_ptr<Binary> Bin = std::move(BinOrErr.get());
  769           ArchiveOrErr.get()->getMemoryBufferRef(), Arch, ObjectFileBuffers);
  782           ChildBufOrErr.get(), Arch, ObjectFileBuffers);
  785       for (auto &Reader : ChildReadersOrErr.get())
  804   Readers.push_back(std::move(ReaderOrErr.get()));
lib/ProfileData/InstrProf.cpp
 1176     auto Reader = std::move(ReaderOrErr.get());
lib/ProfileData/InstrProfReader.cpp
   59   return InstrProfReader::create(std::move(BufferOrError.get()));
  105     RemappingBuffer = std::move(RemappingBufferOrError.get());
  108   return IndexedInstrProfReader::create(std::move(BufferOrError.get()),
  465   VDataPtrOrErr.get()->deserializeTo(Record, Symtab.get());
  466   CurValueDataSize = VDataPtrOrErr.get()->getSize();
  521   VDataPtrOrErr.get()->deserializeTo(DataBuffer.back(), nullptr);
  522   D += VDataPtrOrErr.get()->TotalSize;
  891   Counts = Record.get().Counts;
lib/ToolDrivers/llvm-lib/LibDriver.cpp
  139     StringRef Name = NameOrErr.get();
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
 1178   ProfileRecord = std::move(Result.get());
 1537       std::move(ReaderOrErr.get());
lib/XRay/FDRRecordProducer.cpp
  101         R = std::move(MetadataRecordOrErr.get());
  130     R = std::move(BufferExtentsOrError.get());
  168     R = std::move(MetadataRecordOrErr.get());
lib/XRay/Profile.cpp
  294     const auto &Header = HeaderOrError.get();
  300     const auto &Path = PathOrError.get();
  306     auto &Data = DataOrError.get();
lib/XRay/Trace.cpp
   54   FileHeader = std::move(FileHeaderOrError.get());
  279   FileHeader = std::move(FileHeaderOrError.get());
  291       if (auto E = C.consume(std::move(R.get())))
tools/clang/lib/AST/ASTImporter.cpp
 2218         Name = NameOrErr.get();
 2342         Name = NameOrErr.get();
 2420         Name = NameOrErr.get();
 2535         Name = NameOrErr.get();
 2671         Name = NameOrErr.get();
 2841         Name = NameOrErr.get();
 3076         Name = NameOrErr.get();
 3734         Name = NameOrErr.get();
 5083         Name = NameOrErr.get();
 5368       Name = NameOrErr.get();
tools/clang/lib/CodeGen/CodeGenAction.cpp
  922       LinkModules.push_back({std::move(ModuleOrErr.get()), F.PropagateAttrs,
tools/clang/lib/CodeGen/CodeGenModule.cpp
  167       PGOReader = std::move(ReaderOrErr.get());
tools/clang/lib/CodeGen/CodeGenPGO.cpp
  983       std::make_unique<llvm::InstrProfRecord>(std::move(RecordExpected.get()));
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
  333     auto &OF = OFOrErr.get();
tools/clang/lib/Frontend/CompilerInvocation.cpp
  657     std::move(ReaderOrErr.get());
tools/clang/lib/Frontend/SerializedDiagnosticReader.cpp
   46       if (Res.get() == C)
   58       if (Res.get() != llvm::bitc::ENTER_SUBBLOCK)
   74     switch (MaybeSubBlockID.get()) {
   83       BlockInfo = std::move(MaybeBlockInfo.get());
  123       Code = Res.get();
  135         BlockOrRecordID = Res.get();
  198     unsigned RecordID = MaybeRecordID.get();
  257     unsigned RecID = MaybeRecID.get();
tools/clang/lib/Frontend/TestModuleFileExtension.cpp
   55     llvm::BitstreamEntry Entry = MaybeEntry.get();
   74     switch (MaybeRecCode.get()) {
tools/clang/lib/Serialization/ASTReader.cpp
 1163   unsigned Code = MaybeCode.get();
 1170   unsigned RecCode = MaybeRecCode.get();
 1213   unsigned Code = MaybeCode.get();
 1220   unsigned RecCode = MaybeRecCode.get();
 1343     llvm::BitstreamEntry E = MaybeE.get();
 1366     switch (MaybeRecord.get()) {
 1435     unsigned Code = MaybeCode.get();
 1443     unsigned RecCode = MaybeRecCode.get();
 1482   llvm::BitstreamEntry Entry = MaybeEntry.get();
 1497   switch (MaybeSLOC.get()) {
 1640     unsigned Code = MaybeCode.get();
 1699     llvm::BitstreamEntry Entry = MaybeEntry.get();
 1717       RecType = (PreprocessorRecordTypes)MaybeRecType.get();
 1961       llvm::BitstreamEntry E = MaybeE.get();
 1978         switch (MaybeRecord.get()) {
 2120     llvm::BitstreamEntry Entry = MaybeEntry.get();
 2133     switch ((PreprocessorRecordTypes)MaybePP.get()) {
 2229   unsigned Code = MaybeCode.get();
 2234     assert(static_cast<InputFileRecordTypes>(Maybe.get()) == INPUT_FILE &&
 2254   llvm::BitstreamEntry Entry = MaybeEntry.get();
 2260     assert(static_cast<InputFileRecordTypes>(Maybe.get()) == INPUT_FILE_HASH &&
 2491     llvm::BitstreamEntry Entry = MaybeEntry.get();
 2514     switch ((OptionsRecordTypes)MaybeRecordType.get()) {
 2599     llvm::BitstreamEntry Entry = MaybeEntry.get();
 2730     switch ((ControlRecordTypes)MaybeRecordType.get()) {
 2939     llvm::BitstreamEntry Entry = MaybeEntry.get();
 3062     ASTRecordTypes RecordType = (ASTRecordTypes)MaybeRecordType.get();
 4123     llvm::BitstreamEntry Entry = MaybeEntry.get();
 4407       if (Res.get() != C)
 4514     llvm::BitstreamEntry Entry = MaybeEntry.get();
 4666     llvm::BitstreamEntry Entry = MaybeEntry.get();
 4688     switch ((UnhashedControlBlockRecordTypes)MaybeRecordType.get()) {
 4745     llvm::BitstreamEntry Entry = MaybeEntry.get();
 4773     switch (MaybeRecCode.get()) {
 4964     llvm::BitstreamEntry Entry = MaybeEntry.get();
 4977     if (SIGNATURE == MaybeRecord.get())
 5022     llvm::BitstreamEntry Entry = MaybeEntry.get();
 5040     if (ORIGINAL_FILE == MaybeRecord.get())
 5138     llvm::BitstreamEntry Entry = MaybeEntry.get();
 5197     switch ((ControlRecordTypes)MaybeRecCode.get()) {
 5244         unsigned Code = MaybeCode.get();
 5255         switch ((InputFileRecordTypes)MaybeRecordType.get()) {
 5305         llvm::BitstreamEntry Entry = MaybeEntry.get();
 5335        switch (MaybeRecCode.get()) {
 5393     llvm::BitstreamEntry Entry = MaybeEntry.get();
 5415     unsigned Kind = MaybeKind.get();
 5904   llvm::BitstreamEntry Entry = MaybeEntry.get();
 5921   switch ((PreprocessorDetailRecordTypes)MaybeRecType.get()) {
 6341   unsigned Code = MaybeCode.get();
 6348   switch ((TypeCode)MaybeTypeCode.get()) {
 7671   unsigned Code = MaybeCode.get();
 7678   if (MaybeRecCode.get() != DECL_CXX_CTOR_INITIALIZERS) {
 7706   unsigned Code = MaybeCode.get();
 7713   unsigned RecCode = MaybeRecCode.get();
 9762       llvm::BitstreamEntry Entry = MaybeEntry.get();
 9783       switch ((CommentRecordTypes)MaybeComment.get()) {
tools/clang/lib/Serialization/ASTReaderDecl.cpp
 3635   unsigned Code = MaybeCode.get();
 3644   switch ((DeclCode)MaybeDeclCode.get()) {
 3996       unsigned Code = MaybeCode.get();
 3999         assert(MaybeRecCode.get() == DECL_UPDATES &&
 4079   unsigned Code = MaybeCode.get();
 4081     assert(MaybeRecCode.get() == LOCAL_REDECLARATIONS &&
tools/clang/lib/Serialization/ASTReaderStmt.cpp
 2459     llvm::BitstreamEntry Entry = MaybeEntry.get();
 2482     switch ((StmtCode)MaybeStmtCode.get()) {
tools/clang/lib/Serialization/GlobalModuleIndex.cpp
  144       Entry = Res.get();
  185         static_cast<IndexRecordTypes>(MaybeIndexRecord.get());
  271       if (Res.get() != C)
  544       if (Res.get() != C)
  561     llvm::BitstreamEntry Entry = MaybeEntry.get();
  624     unsigned Code = MaybeCode.get();
tools/clang/tools/extra/clang-doc/BitcodeReader.cpp
  531   return parseRecord(R, MaybeRecID.get(), Blob, I);
  541   return parseRecord(R, MaybeRecID.get(), Blob, I, CurrentReferenceField);
  584     if (auto Err = readBlock(ID, Comment.get()))
  659     unsigned Code = MaybeCode.get();
  667         BlockOrRecordID = MaybeID.get();
  702     else if (MaybeRead.get() != BitCodeConstants::Signature[Idx])
  715     BlockInfo = MaybeBlockInfo.get();
  761     if (MaybeCode.get() != llvm::bitc::ENTER_SUBBLOCK)
  767     unsigned ID = MaybeID.get();
  784       Infos.emplace_back(std::move(InfoOrErr.get()));
tools/clang/tools/extra/clang-doc/tool/ClangDocMain.cpp
  296       doc::Info *I = Reduced.get().get();
  305       llvm::raw_fd_ostream InfoOS(InfoPath.get(), FileErr,
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp
  221         if (!tooling::applyAllReplacements(Replacements.get(), Rewrite)) {
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp
  821     Reply(replacementsToEdits(*Code, ReplacementsOrError.get()));
  838     Reply(replacementsToEdits(*Code, ReplacementsOrError.get()));
tools/clang/tools/extra/unittests/clang-doc/BitcodeTest.cpp
   51   EXPECT_EQ(Infos.get().size(), NumInfos);
   52   return std::move(Infos.get());
tools/clang/tools/extra/unittests/clang-doc/HTMLGeneratorTest.cpp
   26   return std::move(G.get());
tools/clang/tools/extra/unittests/clang-doc/MDGeneratorTest.cpp
   21   return std::move(G.get());
tools/clang/tools/extra/unittests/clang-doc/MergeTest.cpp
   75                      InfoAsNamespace(Actual.get().get()));
  150                   InfoAsRecord(Actual.get().get()));
  225                     InfoAsFunction(Actual.get().get()));
  265   CheckEnumInfo(InfoAsEnum(Expected.get()), InfoAsEnum(Actual.get().get()));
tools/clang/tools/extra/unittests/clang-doc/YAMLGeneratorTest.cpp
   22   return std::move(G.get());
tools/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp
  167   llvm::StringMap<std::string> ParsedIndex = IndexOrErr.get();
  192   llvm::StringMap<std::string> ParsedIndex = IndexOrErr.get();
tools/dsymutil/BinaryHolder.cpp
  177               Timestamp != ModTimeOrErr.get()) {
tools/dsymutil/dsymutil.cpp
  362   Binary &Binary = *BinOrErr.get().getBinary();
tools/gold/gold-plugin.cpp
  713   std::unique_ptr<InputFile> Input = std::move(ObjOrErr.get());
tools/lld/COFF/DebugTypes.cpp
  214   return ts.get()->session.get();
tools/lld/COFF/Driver.cpp
  293     MemoryBufferRef mb = mbOrErr.get();
tools/lld/COFF/InputFiles.cpp
  724             cantFail(SymbolDeserializer::deserializeAs<Compile3Sym>(sym.get()));
  730             sym.get()));
tools/lld/COFF/PDB.cpp
  424   pdb::PDBFile &pdbFile = pdbSession.get()->getPDBFile();
tools/lld/lib/Core/Resolver.cpp
   67       undefAdded |= undefAddedOrError.get();
  259       undefAdded = undefAddedOrError.get();
  273       undefAdded = undefAddedOrError.get();
tools/lld/lib/ReaderWriter/FileArchive.cpp
  143     llvm::MemoryBufferRef mb = mbOrErr.get();
  177       Archive::Child member = memberOrErr.get();
tools/lldb/include/lldb/Host/File.h
  324     return GetStreamOpenModeFromOptions(opts.get());
tools/lldb/source/API/SBFile.cpp
   39       std::make_shared<NativeFile>(fd, options.get(), transfer_owndership);
tools/lldb/source/API/SBStream.cpp
  100   m_opaque_up = std::make_unique<StreamFile>(std::move(file.get()));
tools/lldb/source/Commands/CommandObjectMemory.cpp
  785             std::make_unique<StreamFile>(std::move(outfile.get()));
tools/lldb/source/Core/StreamFile.cpp
   40     m_file_sp = std::move(file.get());
   54     m_file_sp = std::move(file.get());
tools/lldb/source/DataFormatters/VectorType.cpp
  232         type_system = &type_system_or_err.get();
tools/lldb/source/Expression/REPL.cpp
  410               file.get()->Write(code.c_str(), bytes_written);
  411               file.get()->Close();
tools/lldb/source/Host/common/File.cpp
  292                                                mode.get());
tools/lldb/source/Host/common/FileCache.cpp
   38   lldb::user_id_t fd = file.get()->GetDescriptor();
   39   m_cache[fd] = std::move(file.get());
tools/lldb/source/Interpreter/CommandInterpreter.cpp
 2352   FileSP input_file_sp = FileSP(std::move(input_file_up.get()));
tools/lldb/source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp
  940   return exp_extractor.get().GetValue();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
   84                      &type_system_or_err.get())) {
tools/lldb/source/Plugins/Language/CPlusPlus/BlockPointer.cpp
   53         llvm::dyn_cast<ClangASTContext>(&type_system_or_err.get());
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
 2692   Status err = file.get()->Write(&head, num_bytes);
 2717   err = file.get()->Write(element_header_buffer.get(), num_bytes);
 2729   err = file.get()->Write(buffer.get(), num_bytes);
 4592             std::make_unique<StreamFile>(std::move(file.get()));
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
 6254               core_file.get()->Write(buffer.GetString().data(), bytes_written);
 6258               if (core_file.get()->SeekFromStart(segment.fileoff) == -1) {
 6283                   error = core_file.get()->Write(bytes, bytes_written);
 6291                   error = core_file.get()->Write(bytes, bytes_written);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
  526           descriptor = file.get()->GetDescriptor();
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  107   StreamFile stream(std::move(file.get()));
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
   42   return obj.get().IsTrue();
   49   return obj.get().AsLongLong();
   56   PyObject *str_obj = PyObject_Str(obj.get().get());
   63   return utf8.get();
  370   return s.get();
  413     *this = std::move(s.get());
  680   return std::move(item.get());
  811   return arginfo.get();
  820   return init.get().GetArgInfo();
  922   return arginfo.get();
 1074   return std::move(backtrace.get());
 1128     return !closed.get();
 1388   if (options.get() & File::eOpenOptionWrite) {
 1400     file_sp = std::make_shared<NativeFile>(fd, options.get(), false);
 1403         std::make_shared<SimplePythonFile>(*this, borrowed, fd, options.get()));
 1497     mode = m.get();
 1535   function = std::move(f.get());
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
  391   if (!T::Check(obj.get().get()))
  394   return T(PyRefType::Borrowed, std::move(obj.get().get()));
  604     return std::move(mod.get());
  716     return expected.get();
  729     return std::move(expected.get());
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
  666   sys_module_dict.SetItemForKey(PythonString(py_name), new_file.get());
  939       input_file_sp = std::move(nullin.get());
  940       error_file_sp = output_file_sp = std::make_shared<StreamFile>(std::move(nullout.get()));
 1102   PythonObject py_return = std::move(maybe_py_return.get());
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
   93                                              unit_sp.get()->GetID());
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
 1995   if (decl_ctx_type_system == &type_system_or_err.get())
 2872           type_system = &type_system_or_err.get();
 3815       llvm::dyn_cast_or_null<ClangASTContext>(&ts_or_err.get());
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
  333     auto *clang = llvm::cast_or_null<ClangASTContext>(&ts_or_err.get());
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
  312     llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
  566       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
  603       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
  625       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
  655       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
  685       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
  714       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
 1455       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
 1667       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
 1689       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
 1997   if (decl_ctx_type_system == &type_system_or_err.get())
tools/lldb/source/Target/ModuleCache.cpp
  165     m_file_up = std::move(file.get());
tools/lldb/source/Target/Platform.cpp
 1234   uint32_t permissions = source_file.get()->GetPermissions(error);
 1252     error = source_file.get()->Read(buffer_sp->GetBytes(), bytes_read);
 1265       source_file.get()->SeekFromStart(offset);
tools/lldb/source/Target/Target.cpp
 2165       scratch_type_systems.emplace_back(&type_system_or_err.get());
 2267   return llvm::dyn_cast<ClangASTContext>(&type_system_or_err.get());
tools/lldb/tools/lldb-test/lldb-test.cpp
  601       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
  631       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
tools/lldb/unittests/Expression/DWARFExpressionTest.cpp
  154       m_dwarf_unit = dwarf_unit.get();
tools/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
  587   auto py_file = PythonFile::FromFile(*file.get(), "r");
  589   EXPECT_TRUE(PythonFile::Check(py_file.get().get()));
  643     EXPECT_EQ(arginfo.get().count, 1);
  644     EXPECT_EQ(arginfo.get().max_positional_args, 1u);
  645     EXPECT_EQ(arginfo.get().has_varargs, false);
  655     EXPECT_EQ(arginfo.get().count, 2);
  656     EXPECT_EQ(arginfo.get().max_positional_args, 2u);
  657     EXPECT_EQ(arginfo.get().has_varargs, false);
  667     EXPECT_EQ(arginfo.get().count, 2);
  668     EXPECT_EQ(arginfo.get().max_positional_args, 2u);
  669     EXPECT_EQ(arginfo.get().has_varargs, false);
  679     EXPECT_EQ(arginfo.get().count, 2);
  680     EXPECT_EQ(arginfo.get().max_positional_args,
  682     EXPECT_EQ(arginfo.get().has_varargs, true);
  692     EXPECT_EQ(arginfo.get().count, 2);
  693     EXPECT_EQ(arginfo.get().max_positional_args,
  695     EXPECT_EQ(arginfo.get().has_varargs, true);
  724     auto arginfo = bar_bound.get().GetArgInfo();
  726     EXPECT_EQ(arginfo.get().count, 2); // FIXME, wrong
  727     EXPECT_EQ(arginfo.get().max_positional_args, 1u);
  728     EXPECT_EQ(arginfo.get().has_varargs, false);
  732     arginfo = bar_unbound.get().GetArgInfo();
  734     EXPECT_EQ(arginfo.get().count, 2);
  735     EXPECT_EQ(arginfo.get().max_positional_args, 2u);
  736     EXPECT_EQ(arginfo.get().has_varargs, false);
  740     arginfo = bar_class.get().GetArgInfo();
  742     EXPECT_EQ(arginfo.get().max_positional_args, 1u);
  743     EXPECT_EQ(arginfo.get().has_varargs, false);
  747     arginfo = bar_static.get().GetArgInfo();
  749     EXPECT_EQ(arginfo.get().max_positional_args, 1u);
  750     EXPECT_EQ(arginfo.get().has_varargs, false);
  754     arginfo = obj.get().GetArgInfo();
  756     EXPECT_EQ(arginfo.get().max_positional_args, 1u);
  757     EXPECT_EQ(arginfo.get().has_varargs, false);
  840   EXPECT_EQ(x.get(), 42l);
  846   EXPECT_EQ(y.get(), 42l);
tools/lli/lli.cpp
  489     object::OwningBinary<object::ObjectFile> &O = Obj.get();
  510     std::unique_ptr<object::Archive> &Ar = ArOrErr.get();
tools/llvm-ar/llvm-ar.cpp
  465     sys::fs::perms Mode = ModeOrErr.get();
  471     outs() << ' ' << UIDOrErr.get();
  474     outs() << '/' << GIDOrErr.get();
  477     outs() << ' ' << format("%6llu", Size.get());
  483     sys::TimePoint<> ModTimeInNs = ModTimeOrErr.get();
  531   sys::fs::perms Mode = ModeOrErr.get();
  545     StringRef Data = BufOrErr.get();
  557         sys::fs::setLastAccessAndModificationTime(FD, ModTimeOrErr.get()));
  594       StringRef Name = NameOrErr.get();
  757     if (Status.getLastModificationTime() < ModTimeOrErr.get()) {
  785       std::string Name = NameOrErr.get();
tools/llvm-cfi-verify/lib/FileAnalysis.cpp
   81   object::OwningBinary<object::Binary> Binary = std::move(BinaryOrErr.get());
tools/llvm-cov/CodeCoverage.cpp
  361   auto Coverage = std::move(CoverageOrErr.get());
  530   auto OS = std::move(OSOrErr.get());
  918       auto OS = std::move(OSOrErr.get());
tools/llvm-cov/SourceCoverageViewHTML.cpp
  289   OwnedStream OS = std::move(OSOrErr.get());
  397   OwnedStream CSS = std::move(CSSOrErr.get());
  404   auto OS = std::move(OSOrErr.get());
tools/llvm-cov/SourceCoverageViewText.cpp
   36   auto OS = std::move(OSOrErr.get());
tools/llvm-cov/TestingSupport.cpp
   41   ObjectFile *OF = ObjErr.get().getBinary();
tools/llvm-cvtres/llvm-cvtres.cpp
  102   return std::move(EC.get());
  169     Binary &Binary = *BinaryOrErr.get().getBinary();
  212     Binary &Binary = *BinaryOrErr.get().getBinary();
tools/llvm-cxxdump/llvm-cxxdump.cpp
  516     if (ObjectFile *Obj = dyn_cast<ObjectFile>(&*ChildOrErr.get()))
  533   Binary &Binary = *BinaryOrErr.get().getBinary();
tools/llvm-dwarfdump/Statistics.cpp
  141     Ranges = RangesOrError.get();
  385     auto Ranges = RangesOrError.get();
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
  477     std::string Name = (Filename + "(" + NameOrErr.get() + ")").str();
  478     Result &= handleBuffer(Name, BuffOrErr.get(), HandleObj, OS);
  512         Result &= handleArchive(ObjName, *ArchiveOrErr.get(), HandleObj, OS);
tools/llvm-dwp/llvm-dwp.cpp
  482   const ObjectFile &Obj = *ErrOrObj.get().getBinary();
tools/llvm-elfabi/ELFObjHandler.cpp
  192         reinterpret_cast<const Elf_GnuHash *>(TablePtr.get());
  200     const Elf_Hash *Table = reinterpret_cast<const Elf_Hash *>(TablePtr.get());
  321   StringRef DynStr(reinterpret_cast<const char *>(DynStrPtr.get()),
tools/llvm-elfabi/llvm-elfabi.cpp
  128   std::unique_ptr<ELFStub> TargetStub = std::move(StubOrErr.get());
tools/llvm-exegesis/lib/BenchmarkResult.cpp
  338     yaml::Input Yin(*ExpectedMemoryBuffer.get());
  355     yaml::Input Yin(*ExpectedMemoryBuffer.get());
tools/llvm-exegesis/lib/SnippetGenerator.cpp
   69     for (CodeTemplate &CT : E.get()) {
tools/llvm-ifs/llvm-ifs.cpp
  247   PlatformKind Plat = PlatformKindOrError.get();
  415     std::unique_ptr<IFSStub> TargetStub = std::move(StubOrErr.get());
tools/llvm-lipo/llvm-lipo.cpp
  182       Binary *Bin = ChildOrErr.get().get();
  204         ChildOrErr.get().release();
  580             OutFileOrError.get()->getBufferStart());
  581   if (Error E = OutFileOrError.get()->commit())
  637         ExtractedObjects.push_back(std::move(BinaryOrError.get()));
  699   std::unique_ptr<FileOutputBuffer> OutFile = std::move(OutFileOrError.get());
tools/llvm-mca/llvm-mca.cpp
  488       LoweredSequence.emplace_back(std::move(Inst.get()));
tools/llvm-nm/llvm-nm.cpp
  253     errs() << "(" << NameOrErr.get() << ")";
 1790   Binary &Bin = *BinaryOrErr.get();
 1810           outs() << SymName << " in " << FileNameOrErr.get() << "\n";
 1826         if (SymbolicFile *O = dyn_cast<SymbolicFile>(&*ChildOrErr.get())) {
 1869               ObjectFile &Obj = *ObjOrErr.get();
 1901                         dyn_cast<SymbolicFile>(&*ChildOrErr.get())) {
 1950             ObjectFile &Obj = *ObjOrErr.get();
 1970                       dyn_cast<SymbolicFile>(&*ChildOrErr.get())) {
 2003         ObjectFile &Obj = *ObjOrErr.get();
 2035           if (SymbolicFile *F = dyn_cast<SymbolicFile>(&*ChildOrErr.get())) {
tools/llvm-objcopy/llvm-objcopy.cpp
  193     MemBuffer MB(ChildNameOrErr.get());
  291     if (Archive *Ar = dyn_cast<Archive>(BinaryOrErr.get().getBinary())) {
  297                                            *BinaryOrErr.get().getBinary(), FB))
tools/llvm-objdump/ELFDump.cpp
  177         const char *Data = StrTabOrErr.get().data();
tools/llvm-objdump/MachODump.cpp
 2277       StringRef Name = NameOrErr.get();
 2334   Binary &Bin = *BinaryOrErr.get().getBinary();
 2351       if (MachOObjectFile *O = dyn_cast<MachOObjectFile>(&*ChildOrErr.get())) {
 2405             ObjectFile &O = *ObjOrErr.get();
 2435                       dyn_cast<MachOObjectFile>(&*ChildOrErr.get()))
 2470           ObjectFile &O = *ObjOrErr.get();
 2495                     dyn_cast<MachOObjectFile>(&*ChildOrErr.get()))
 2521       ObjectFile &Obj = *ObjOrErr.get();
 2548                 dyn_cast<MachOObjectFile>(&*ChildOrErr.get())) {
 7377       DSYMBinary = std::move(BinaryOrErr.get());
 7412         DbgObj = &*MachDSYM.get();
tools/llvm-objdump/llvm-objdump.cpp
  400     return NameOrErr.get();
 2050   sys::fs::perms Mode = ModeOrErr.get();
 2086     Name = NameOrErr.get();
 2221     if (ObjectFile *O = dyn_cast<ObjectFile>(&*ChildOrErr.get()))
 2223     else if (COFFImportFile *I = dyn_cast<COFFImportFile>(&*ChildOrErr.get()))
tools/llvm-pdbutil/YAMLOutputStyle.cpp
  115   const auto &ST = ExpectedST.get();
  160   auto &InfoS = IS.get();
  206   auto &DS = DbiS.get();
  290   auto &TS = TpiS.get();
  317   auto &IS = IpiS.get();
tools/llvm-profdata/llvm-profdata.cpp
  213   auto Reader = std::move(ReaderOrErr.get());
  242   auto Reader = std::move(ReaderOrErr.get());
  829   auto Reader = std::move(ReaderOrErr.get());
tools/llvm-readobj/DwarfCFIEHPrinter.h
  189   auto Contents = Result.get();
tools/llvm-readobj/ELFDumper.cpp
 1704     return MappedAddrOrError.get();
tools/llvm-readobj/llvm-readobj.cpp
  561     if (ObjectFile *Obj = dyn_cast<ObjectFile>(&*ChildOrErr.get()))
  563     else if (COFFImportFile *Imp = dyn_cast<COFFImportFile>(&*ChildOrErr.get()))
  579       dumpObject(&*ObjOrErr.get(), Writer);
  583       dumpArchive(&*AOrErr.get(), Writer);
  602   Binary &Binary = *BinaryOrErr.get().getBinary();
tools/llvm-rtdyld/llvm-rtdyld.cpp
  465           Address.SectionIndex = SecOrErr.get()->getIndex();
tools/llvm-size/llvm-size.cpp
  131     errs() << "(" << NameOrErr.get() << ")";
  547   Binary &Bin = *BinaryOrErr.get().getBinary();
  559       if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) {
  593               if (ObjectFile *o = dyn_cast<ObjectFile>(&*UO.get())) {
  631                 if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) {
  684             if (ObjectFile *o = dyn_cast<ObjectFile>(&*UO.get())) {
  718               if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) {
  759         if (ObjectFile *o = dyn_cast<ObjectFile>(&*UO.get())) {
  795           if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) {
tools/llvm-symbolizer/llvm-symbolizer.cpp
  239     Printer << (error(ResOrErr) ? DIGlobal() : ResOrErr.get());
  252     Printer << (error(ResOrErr) ? DIInliningInfo() : ResOrErr.get());
  262     Printer << (error(ResOrErr) ? DILineInfo() : ResOrErr.get().getFrame(0));
  266     Printer << (error(ResOrErr) ? DILineInfo() : ResOrErr.get());
tools/llvm-xray/xray-fdr-dump.cpp
   59   auto &H = FileHeaderOrError.get();
   70       if (auto E = C.consume(std::move(R.get())))
   88     if (auto E = C.consume(std::move(R.get())))
tools/obj2yaml/elf2yaml.cpp
  389   S.Name = SymbolNameOrErr.get();
  406   S.Section = NameOrErr.get();
  440   R.Symbol = NameOrErr.get();
  461   S.Name = NameOrErr.get();
  474     S.Link = NameOrErr.get();
  505   S.RelocatableSec = NameOrErr.get();
  955       ContentOrErr.get().data());
  977   std::unique_ptr<ELFYAML::Object> YAML(YAMLOrErr.get());
tools/obj2yaml/macho2yaml.cpp
  506   YAMLFile.MachO = std::move(YAML.get());
  534     MachODumper Dumper(*SliceObj.get());
  538     YAML.Slices.push_back(*YAMLObj.get());
tools/obj2yaml/obj2yaml.cpp
   41   Binary &Binary = *BinaryOrErr.get().getBinary();
tools/obj2yaml/xcoff2yaml.cpp
   65     Sym.SymbolName = SymNameRefOrErr.get();
   74     Sym.SectionName = SectionNameRefOrErr.get();
tools/polly/lib/Exchange/JSONExporter.cpp
  719   json::Object &jscop = *ParseResult.get().getAsObject();
tools/sancov/sancov.cpp
  629               if (isCoveragePointSymbol(Name.get())) {
  652     uint64_t Address = AddressOrErr.get();
  656     StringRef Name = NameOrErr.get();
  783     if (auto *O = dyn_cast<object::ObjectFile>(&*ChildOrErr.get()))
  799   object::Binary &Binary = *BinaryOrErr.get().getBinary();
tools/verify-uselistorder/verify-uselistorder.cpp
  167   return std::move(ModuleOr.get());
unittests/Bitcode/BitReaderTest.cpp
   57   return std::move(ModuleOrErr.get());
unittests/Bitstream/BitstreamReaderTest.cpp
  124     ASSERT_EQ(Magic, MaybeRead.get());
  130     BitstreamEntry Entry = MaybeEntry.get();
  138     Entry = MaybeEntry.get();
  148     ASSERT_EQ(RecordID, MaybeRecord.get());
  160     EXPECT_EQ(8ull, MaybeRead.get());
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
   77   dwarfgen::Generator *DG = ExpectedDG.get().get();
  468   dwarfgen::Generator *DG = ExpectedDG.get().get();
  595   dwarfgen::Generator *DG = ExpectedDG.get().get();
  847   dwarfgen::Generator *DG = ExpectedDG.get().get();
 1019   dwarfgen::Generator *DG = ExpectedDG.get().get();
 1082   dwarfgen::Generator *DG = ExpectedDG.get().get();
 1112   dwarfgen::Generator *DG = ExpectedDG.get().get();
 1299   dwarfgen::Generator *DG = ExpectedDG.get().get();
 1413   dwarfgen::Generator *DG = ExpectedDG.get().get();
 1473   dwarfgen::Generator *DG = ExpectedDG.get().get();
 1689   dwarfgen::Generator *DG = ExpectedDG.get().get();
 1750   dwarfgen::Generator *DG = ExpectedDG.get().get();
 2516   dwarfgen::Generator *DG = ExpectedDG.get().get();
unittests/DebugInfo/GSYM/GSYMTest.cpp
  248   ASSERT_EQ(ExpectedOffset.get(), 0ULL);
  257   EXPECT_EQ(FI, Decoded.get());
  332   EXPECT_EQ(Inline, Decoded.get());
  813   EXPECT_EQ(LT, Decoded.get());
 1042   EXPECT_EQ(H, Decoded.get());
 1143   Compare(GC, GR.get());
 1254   ASSERT_EQ(FI, ExpFI.get());
 1285     const GsymReader &GR = ExpectedGR.get();
unittests/ExecutionEngine/Orc/JITTargetMachineBuilderTest.cpp
   45     EXPECT_NE(TM.get(), nullptr)
unittests/Object/MinidumpTest.cpp
  353     const Module &M = ExpectedModule.get()[0];
  453     const Thread &T = ExpectedThread.get()[0];
  508     const MemoryDescriptor &MD = ExpectedRanges.get()[0];
  593     const MemoryInfo &Info = *ExpectedInfo.get().begin();
  622   EXPECT_THAT_EXPECTED(File.get()->getMemoryInfoList(), Failed<BinaryError>());
  642   EXPECT_THAT_EXPECTED(File.get()->getMemoryInfoList(), Failed<BinaryError>());
  667   EXPECT_THAT_EXPECTED(File.get()->getMemoryInfoList(), Failed<BinaryError>());
  704   auto ExpectedInfo = File.get()->getMemoryInfoList();
unittests/ProfileData/CoverageMappingTest.cpp
  228     ProfileReader = std::move(ReaderOrErr.get());
  253     LoadedCoverage = std::move(CoverageOrErr.get());
unittests/ProfileData/InstrProfTest.cpp
   49     Reader = std::move(ReaderOrErr.get());
  302   annotateValueSite(*M, *Inst, R.get(), IPVK_IndirectCallTarget, 0);
  332   annotateValueSite(*M, *Inst, R.get(), IPVK_IndirectCallTarget, 0, 5);
unittests/TextAPI/ELFYAMLTest.cpp
   46   std::unique_ptr<ELFStub> Stub = std::move(StubOrErr.get());
   71   std::unique_ptr<ELFStub> Stub = std::move(StubOrErr.get());
  130   std::unique_ptr<ELFStub> Stub = std::move(StubOrErr.get());
unittests/TextAPI/TextStubV1Tests.cpp
   87   auto File = std::move(Result.get());
  140   auto File = std::move(Result.get());
  226   auto File = std::move(Result.get());
  243   auto File = std::move(Result.get());
  260   auto File = std::move(Result.get());
  277   auto File = std::move(Result.get());
  294   auto File = std::move(Result.get());
  311   auto File = std::move(Result.get());
  327   auto File = std::move(Result.get());
  343   auto File = std::move(Result.get());
  359   auto File = std::move(Result.get());
  391   auto File = std::move(Result.get());
  407   auto File = std::move(Result.get());
unittests/TextAPI/TextStubV2Tests.cpp
   89   auto File = std::move(Result.get());
  160   auto File = std::move(Result.get());
  246   auto File = std::move(Result.get());
  264   auto File = std::move(Result.get());
  281   auto File = std::move(Result.get());
  298   auto File = std::move(Result.get());
  315   auto File = std::move(Result.get());
  332   auto File = std::move(Result.get());
  348   auto File = std::move(Result.get());
  364   auto File = std::move(Result.get());
  380   auto File = std::move(Result.get());
  412   auto File = std::move(Result.get());
  428   auto File = std::move(Result.get());
unittests/TextAPI/TextStubV3Tests.cpp
   93   auto File = std::move(Result.get());
  203   auto File = std::move(Result.get());
  220   auto File = std::move(Result.get());
  237   auto File = std::move(Result.get());
  253   auto File = std::move(Result.get());
  271   auto File = std::move(Result.get());
  288   auto File = std::move(Result.get());
  303   auto File = std::move(Result.get());
  325   auto File = std::move(Result.get());
  341   auto File = std::move(Result.get());
  357   auto File = std::move(Result.get());
  373   auto File = std::move(Result.get());
  405   auto File = std::move(Result.get());
  421   auto File = std::move(Result.get());
unittests/TextAPI/TextStubV4Tests.cpp
  110   auto File = std::move(Result.get());
  252   auto File = std::move(Result.get());
  274   auto File = std::move(Result.get());
  293   auto File = std::move(Result.get());
  311   auto File = std::move(Result.get());
  328   auto File = std::move(Result.get());
  345   auto File = std::move(Result.get());
  361   auto File = std::move(Result.get());
  378   auto File = std::move(Result.get());
  396   auto File = std::move(Result.get());
  414   auto File = std::move(Result.get());
  431   auto File = std::move(Result.get());
  446   auto File = std::move(Result.get());
  461   auto File = std::move(Result.get());
  476   auto File = std::move(Result.get());
unittests/XRay/FDRProducerConsumerTest.cpp
  139   FileBasedRecordProducer P(HeaderOrErr.get(), DE, OffsetPtr);
  146     if (auto E = C.consume(std::move(R.get())))
  180   FileBasedRecordProducer P(HeaderOrErr.get(), DE, OffsetPtr);
  187     if (auto E = C.consume(std::move(R.get())))
unittests/XRay/FDRTraceWriterTest.cpp
   62   auto &Trace = TraceOrErr.get();
  107   auto &Trace = TraceOrErr.get();
  166   auto &Trace = TraceOrErr.get();
unittests/XRay/ProfileTest.cpp
   43   EXPECT_THAT(PathOrError.get(), ElementsAre(3, 2, 1));
unittests/tools/llvm-exegesis/ClusteringTest.cpp
   52   EXPECT_THAT(Clustering.get().getValidClusters(),
   54   EXPECT_THAT(Clustering.get().getCluster(
   57   EXPECT_THAT(Clustering.get().getCluster(
   61   EXPECT_EQ(Clustering.get().getClusterIdForPoint(2),
   63   EXPECT_EQ(Clustering.get().getClusterIdForPoint(5),
   65   EXPECT_EQ(Clustering.get().getClusterIdForPoint(0),
   66             Clustering.get().getClusterIdForPoint(3));
   67   EXPECT_EQ(Clustering.get().getClusterIdForPoint(1),
   68             Clustering.get().getClusterIdForPoint(4));
  123   EXPECT_THAT(Clustering.get().getValidClusters(),
  140   EXPECT_THAT(Clustering.get().getValidClusters(),
unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
   56     return std::move(CodeTemplateOrError.get());
utils/TableGen/GlobalISelEmitter.cpp
 4001       return InsertPtOrError.get();
 4081   action_iterator InsertPt = InsertPtOrError.get();
 4116       *static_cast<BuildMIAction *>(InsertPtOrError.get()->get());
 4122       importExplicitUseRenderers(InsertPtOrError.get(), M, DstMIBuilder, Dst);
 4149     return InsertPtOrError.get();
 4176     return InsertPtOrError.get();
 4195     return InsertPtOrError.get();
 4200   return InsertPtOrError.get();
 4297         InsertPt = InsertPtOrError.get();
 4336     InsertPt = InsertPtOrError.get();
 4577   InstructionMatcher &InsnMatcher = InsnMatcherOrError.get();
 4695   BuildMIAction &DstMIBuilder = DstMIBuilderOrError.get();
 5049     Rules.push_back(std::move(MatcherOrErr.get()));