| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | Archive.h | 62 virtual Expected<bool> isThin() const = 0; 66 Expected<unsigned> getUID() const; 67 Expected<unsigned> getGID() const; 116 Expected<bool> isThin() const override; 171 Expected<bool> isThinMember() const; 221 Expected<Child> getNext() const; 223 Expected<StringRef> getName() const; 243 Expected<uint64_t> getSize() const; 245 Expected<uint64_t> getRawSize() const; 253 Expected<std::unique_ptr<Binary>> [all …]
|
| H A D | ELF.h | 254 Expected<StringRef> 446 Expected<StringRef> 492 inline Expected<uint32_t> 510 Expected<uint32_t> 566 Expected<ArrayRef<T>> 716 Expected<StringRef> 1168 Expected<StringRef> 1232 Expected<StringRef> 1241 Expected<StringRef> 1256 Expected<StringRef> [all …]
|
| H A D | ObjectFile.h | 97 Expected<StringRef> getName() const; 101 Expected<StringRef> getContents() const; 187 Expected<StringRef> getName() const; 190 Expected<uint64_t> getAddress() const; 194 Expected<uint64_t> getValue() const; 199 Expected<SymbolRef::Type> getType() const; 257 virtual Expected<section_iterator> 268 virtual Expected<ArrayRef<uint8_t>> 368 static Expected<OwningBinary<ObjectFile>> 371 static Expected<std::unique_ptr<ObjectFile>> [all …]
|
| H A D | Minidump.h | 50 Expected<ArrayRef<uint8_t>> 57 Expected<std::string> getString(size_t Offset) const; 63 Expected<const minidump::SystemInfo &> getSystemInfo() const { in getSystemInfo() 72 Expected<ArrayRef<minidump::Module>> getModuleList() const { in getModuleList() 81 Expected<ArrayRef<minidump::Thread>> getThreadList() const { in getThreadList() 89 Expected<const minidump::ExceptionStream &> getExceptionStream() const { in getExceptionStream() 101 Expected<ArrayRef<minidump::MemoryDescriptor>> getMemoryList() const { in getMemoryList() 142 Expected<iterator_range<MemoryInfoIterator>> getMemoryInfoList() const; 162 static Expected<ArrayRef<T>> getDataSliceAs(ArrayRef<uint8_t> Data, 178 Expected<const T &> getStream(minidump::StreamType Stream) const; [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/ |
| H A D | Symbolize.h | 83 Expected<DIInliningInfo> 86 Expected<DIInliningInfo> 89 Expected<DIInliningInfo> 99 Expected<std::vector<DILocal>> 101 Expected<std::vector<DILocal>> 104 Expected<std::vector<DILocal>> 134 Expected<SymbolizableModule *> 143 Expected<DILineInfo> 147 Expected<DIInliningInfo> 154 Expected<std::vector<DILocal>> [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Remarks/ |
| H A D | YAMLRemarkParser.cpp | 62 static Expected<bool> parseMagic(StringRef &Buf) { in parseMagic() 72 static Expected<uint64_t> parseVersion(StringRef &Buf) { in parseVersion() 107 return Expected<ParsedStringTable>(std::move(Result)); in parseStrTab() 114 Expected<bool> isMeta = parseMagic(Buf); in createYAMLParserFromMeta() 120 Expected<uint64_t> Version = parseVersion(Buf); in createYAMLParserFromMeta() 188 Expected<std::unique_ptr<Remark>> 208 Expected<Type> T = parseType(*Root); in parseRemark() 322 Expected<RemarkLocation> 333 Expected<StringRef> MaybeKey = parseKey(DLNode); in parseDebugLoc() 375 Expected<StringRef> MaybeKey = parseKey(ArgEntry); in parseArg() [all …]
|
| H A D | YAMLRemarkParser.h | 66 Expected<std::unique_ptr<Remark>> next() override; 81 Expected<std::unique_ptr<Remark>> parseRemark(yaml::Document &Remark); 83 Expected<Type> parseType(yaml::MappingNode &Node); 85 Expected<StringRef> parseKey(yaml::KeyValueNode &Node); 87 virtual Expected<StringRef> parseStr(yaml::KeyValueNode &Node); 89 Expected<unsigned> parseUnsigned(yaml::KeyValueNode &Node); 91 Expected<RemarkLocation> parseDebugLoc(yaml::KeyValueNode &Node); 93 Expected<Argument> parseArg(yaml::Node &Node); 107 Expected<StringRef> parseStr(yaml::KeyValueNode &Node) override; 110 Expected<std::unique_ptr<YAMLRemarkParser>> createYAMLParserFromMeta(
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Bitstream/Reader/ |
| H A D | BitstreamReader.cpp | 87 if (Expected<unsigned> Res = Cursor.Read(6)) in readAbbreviatedField() 99 Expected<uint32_t> MaybeCode = ReadVBR(6); in skipRecord() 103 Expected<uint32_t> MaybeVBR = ReadVBR(6); in skipRecord() 151 Expected<uint32_t> MaybeNum = ReadVBR(6); in skipRecord() 175 if (Expected<uint64_t> Res = in skipRecord() 191 Expected<uint32_t> MaybeNum = ReadVBR(6); in skipRecord() 218 Expected<uint32_t> MaybeCode = ReadVBR(6); in readRecord() 311 if (Expected<uint64_t> MaybeVal = in readRecord() 382 Expected<word_t> MaybeEncoding = Read(3); in ReadAbbrevRecord() 421 Expected<std::optional<BitstreamBlockInfo>> [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTImporter.h | 267 virtual Expected<Decl *> ImportImpl(Decl *From); 316 llvm::Expected<ExprWithCleanups::CleanupObject> 329 llvm::Expected<QualType> Import(QualType FromT); 343 llvm::Expected<Attr *> Import(const Attr *FromAttr); 350 llvm::Expected<Decl *> Import(Decl *FromD); 355 llvm::Expected<InheritedConstructor> 393 llvm::Expected<Expr *> Import(Expr *FromE); 400 llvm::Expected<Stmt *> Import(Stmt *FromS); 414 llvm::Expected<NestedNameSpecifierLoc> 454 llvm::Expected<Selector> Import(Selector FromSel); [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Bitcode/ |
| H A D | BitcodeReader.h | 121 friend Expected<BitcodeFileContents> 124 Expected<std::unique_ptr<Module>> 142 Expected<std::unique_ptr<Module>> 147 Expected<std::unique_ptr<Module>> 152 Expected<BitcodeLTOInfo> getLTOInfo(); 155 Expected<std::unique_ptr<ModuleSummaryIndex>> getSummary(); 177 Expected<std::vector<BitcodeModule>> 184 Expected<std::unique_ptr<Module>> 214 Expected<std::unique_ptr<Module>> 222 Expected<std::unique_ptr<ModuleSummaryIndex>> [all …]
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/ |
| H A D | error_test.cpp | 175 Expected<int> A = 7; in TEST() 184 Expected<int &> B = A; in TEST() 195 EXPECT_DEATH({ Expected<int> A = 7; }, in TEST() 206 Expected<int> A = 7; in TEST() 219 Expected<int> A = 7; in TEST() 259 Expected<B *> A1(Expected<D *>(nullptr)); in TEST() 262 A1 = Expected<D *>(nullptr); in TEST() 266 Expected<std::unique_ptr<B>> A2(Expected<std::unique_ptr<D>>(nullptr)); in TEST() 269 A2 = Expected<std::unique_ptr<D>>(nullptr); in TEST() 278 int X = cantFail(Expected<int>(42)); in TEST() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | MSVCErrorWorkarounds.h | 43 template <typename T> class MSVCPExpected : public Expected<T> { 46 : Expected<T>(make_error<StringError>("", inconvertibleErrorCode())) { in MSVCPExpected() 50 MSVCPExpected(MSVCPExpected &&Other) : Expected<T>(std::move(Other)) {} in MSVCPExpected() 53 Expected<T>::operator=(std::move(Other)); 57 MSVCPExpected(Error Err) : Expected<T>(std::move(Err)) {} in MSVCPExpected() 63 : Expected<T>(std::move(Val)) {} 67 Expected<OtherT> &&Other, 69 : Expected<T>(std::move(Other)) {} 73 Expected<OtherT> &&Other, 75 : Expected<T>(std::move(Other)) {}
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Interpreter/ |
| H A D | Interpreter.h | 52 llvm::Expected<std::unique_ptr<CompilerInstance>> CreateCpp(); 60 llvm::Expected<std::unique_ptr<CompilerInstance>> CreateCudaHost(); 61 llvm::Expected<std::unique_ptr<CompilerInstance>> CreateCudaDevice(); 64 static llvm::Expected<std::unique_ptr<CompilerInstance>> 67 llvm::Expected<std::unique_ptr<CompilerInstance>> createCuda(bool device); 96 static llvm::Expected<std::unique_ptr<Interpreter>> 98 static llvm::Expected<std::unique_ptr<Interpreter>> 105 llvm::Expected<llvm::orc::LLJIT &> getExecutionEngine(); 107 llvm::Expected<PartialTranslationUnit &> Parse(llvm::StringRef Code); 124 llvm::Expected<llvm::orc::ExecutorAddr> [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Object/ |
| H A D | Archive.cpp | 180 Expected<uint64_t> 198 Expected<uint64_t> 386 Expected<uint64_t> AccessModeOrErr = in getAccessMode() 428 Expected<bool> isThinOrErr = isThin(); in getNextChildLoc() 556 Expected<bool> isThin = isThinMember(); in getFullName() 560 Expected<StringRef> NameOrErr = getName(); in getFullName() 579 Expected<uint64_t> Size = getSize(); in getBuffer() 638 Expected<StringRef> NameOrErr = in getName() 647 Expected<StringRef> NameOrErr = getName(); in getMemoryBufferRef() 651 Expected<StringRef> Buf = getBuffer(); in getMemoryBufferRef() [all …]
|
| H A D | IRObjectFile.cpp | 49 Expected<uint32_t> IRObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags() 72 Expected<MemoryBufferRef> 76 Expected<StringRef> Contents = Sec.getContents(); in findBitcodeInObject() 88 Expected<MemoryBufferRef> 98 Expected<std::unique_ptr<ObjectFile>> ObjFile = in findBitcodeInMemBuffer() 109 Expected<std::unique_ptr<IRObjectFile>> 111 Expected<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); in create() 115 Expected<std::vector<BitcodeModule>> BMsOrErr = in create() 122 Expected<std::unique_ptr<Module>> MOrErr = in create() 135 Expected<IRSymtabFile> object::readIRSymtab(MemoryBufferRef MBRef) { in readIRSymtab() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Debuginfod/ |
| H A D | Debuginfod.h | 58 Expected<std::string> getDefaultDebuginfodCacheDirectory(); 71 Expected<std::string> getCachedOrDownloadSource(object::BuildIDRef ID, 79 Expected<std::string> getCachedOrDownloadExecutable(object::BuildIDRef ID); 86 Expected<std::string> getCachedOrDownloadDebuginfo(object::BuildIDRef ID); 90 Expected<std::string> getCachedOrDownloadArtifact(StringRef UniqueKey, 96 Expected<std::string> getCachedOrDownloadArtifact( 131 Expected<std::optional<std::string>> getDebugBinaryPath(object::BuildIDRef); 132 Expected<std::optional<std::string>> getBinaryPath(object::BuildIDRef); 136 Expected<bool> updateIfStale(); 151 Expected<std::string> findDebugBinaryPath(object::BuildIDRef); [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ |
| H A D | PythonDataObjects.h | 346 llvm::Expected<PythonObject> GetType() const { 355 llvm::Expected<bool> IsTrue() { 364 llvm::Expected<long long> AsLongLong() const; 386 template <typename T> llvm::Expected<T> As(llvm::Expected<PythonObject> &&obj) { 395 template <> llvm::Expected<bool> As<bool>(llvm::Expected<PythonObject> &&obj); 398 llvm::Expected<long long> As<long long>(llvm::Expected<PythonObject> &&obj); 401 llvm::Expected<unsigned long long> 405 llvm::Expected<std::string> As<std::string>(llvm::Expected<PythonObject> &&obj); 470 llvm::Expected<llvm::StringRef> AsUTF8() const; 627 llvm::Expected<ArgInfo> GetArgInfo() const; [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | PDBFile.h | 87 Expected<std::unique_ptr<msf::MappedBlockStream>> 89 Expected<std::unique_ptr<msf::MappedBlockStream>> 98 Expected<InfoStream &> getPDBInfoStream(); 99 Expected<DbiStream &> getPDBDbiStream(); 100 Expected<GlobalsStream &> getPDBGlobalsStream(); 101 Expected<TpiStream &> getPDBTpiStream(); 102 Expected<TpiStream &> getPDBIpiStream(); 103 Expected<PublicsStream &> getPDBPublicsStream(); 104 Expected<SymbolStream &> getPDBSymbolStream(); 105 Expected<PDBStringTable &> getStringTable(); [all …]
|
| /freebsd-14.2/contrib/googletest/googletest/test/ |
| H A D | googletest-output-test-golden-lin.txt | 6 Expected: true 98 Expected: true 613 Expected failure 645 Expected failure 659 Expected failure 673 Expected failure 687 Expected failure 895 Expected: true 963 Expected: true 1001 Expected failure [all …]
|
| /freebsd-14.2/contrib/googletest/googlemock/test/ |
| H A D | gmock_output_test_golden.txt | 39 Expected arg #0: is equal to 0 41 Expected: to be called once 53 Expected arg #0: is equal to 0 105 Expected arg #0: is equal to 0 107 Expected arg #1: is equal to 0 122 Expected arg #0: is equal to 0 144 Expected arg #0: is equal to 0 189 Expected arg #2: is >= 0 219 Expected arg #0: is >= 2 237 Expected arg #0: is equal to 2 [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | TraceIntelPTBundleSaver.cpp | 70 static Expected<FileSpec> 97 static llvm::Expected<std::vector<JSONThread>> 137 static Expected<std::optional<FileSpec>> 215 if (Expected<FileSpec> ipt_trace_path = in BuildCpusSection() 246 static llvm::Expected<std::vector<JSONModule>> 304 static llvm::Expected<JSONProcess> 306 Expected<std::vector<JSONThread>> json_threads = in BuildProcessSection() 311 Expected<std::vector<JSONModule>> json_modules = in BuildProcessSection() 323 static llvm::Expected<std::vector<JSONProcess>> 327 if (llvm::Expected<JSONProcess> json_process = in BuildProcessesSection() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | MsgPackReader.h | 128 Expected<bool> read(Object &Obj); 141 template <class T> Expected<bool> readRaw(Object &Obj); 142 template <class T> Expected<bool> readInt(Object &Obj); 143 template <class T> Expected<bool> readUInt(Object &Obj); 144 template <class T> Expected<bool> readLength(Object &Obj); 145 template <class T> Expected<bool> readExt(Object &Obj); 146 Expected<bool> createRaw(Object &Obj, uint32_t Size); 147 Expected<bool> createExt(Object &Obj, uint32_t Size);
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | RangeSelector.cpp | 108 Expected<CharSourceRange> SelectedRange = Selector(Result); in before() 117 Expected<CharSourceRange> SelectedRange = Selector(Result); in after() 143 Expected<DynTypedNode> Node = getNode(Result.Nodes, ID); in node() 156 Expected<DynTypedNode> Node = getNode(Result.Nodes, ID); in statement() 166 Expected<CharSourceRange> BeginRange = Begin(Result); in enclose() 169 Expected<CharSourceRange> EndRange = End(Result); in enclose() 190 Expected<DynTypedNode> Node = getNode(Result.Nodes, ID); in member() 202 Expected<DynTypedNode> N = getNode(Result.Nodes, ID); in name() 261 Expected<CharSourceRange> operator()(const MatchResult &Result) { in operator ()() 262 Expected<DynTypedNode> N = getNode(Result.Nodes, ID); in operator ()() [all …]
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/orc/ |
| H A D | error.h | 39 template <typename T> friend class Expected; variable 209 Expected(OtherT &&Val, 216 Expected(Expected &&Other) { moveConstruct(std::move(Other)); } in Expected() function 221 Expected( 222 Expected<OtherT> &&Other, 230 explicit Expected( 231 Expected<OtherT> &&Other, 237 Expected &operator=(Expected &&Other) { 243 ~Expected() { in ~Expected() 329 this->~Expected(); in moveAssign() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/FileCheck/ |
| H A D | FileCheckImpl.h | 91 Expected<std::string> getWildcardRegex() const; 139 virtual Expected<APInt> eval() const = 0; 145 virtual Expected<ExpressionFormat> 289 Expected<APInt> eval() const override; 292 Expected<ExpressionFormat> 326 Expected<APInt> eval() const override; 332 Expected<ExpressionFormat> 769 static Expected<std::unique_ptr<ExpressionAST>> 782 static Expected<std::unique_ptr<ExpressionAST>> 794 static Expected<std::unique_ptr<ExpressionAST>> [all …]
|