Searched refs:Expected (Results 76 - 100 of 598) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DGlobPattern.h31 static Expected<GlobPattern> create(StringRef Pat);
H A DError.h167 // Expected<T> needs to be able to steal the payload when constructed from an
169 template <typename T> friend class Expected;
322 /// the type system. This allows to catch invalid conversion to Expected<T> at
433 template <class T> class LLVM_NODISCARD Expected { class in namespace:llvm
435 template <class OtherT> friend class Expected;
454 /// Create an Expected<T> error value from the given Error.
455 Expected(Error Err) function in class:llvm::Expected
458 // Expected is unchecked upon construction in Debug builds.
462 assert(Err && "Cannot create Expected<T> from Error success value.");
467 /// Expected<
474 Expected(OtherT &&Val, function in class:llvm::Expected
487 Expected(Expected &&Other) { moveConstruct(std::move(Other)); } function in class:llvm::Expected
492 Expected(Expected<OtherT> &&Other, function in class:llvm::Expected
501 explicit Expected( function in class:llvm::Expected
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DEHFrameSupportImpl.h76 Expected<CIEInformation *> findCIEInfo(JITTargetAddress Address) {
97 Expected<AugmentationInfo>
99 Expected<JITTargetAddress>
101 Expected<Symbol &> getOrCreateSymbol(ParseContext &PC, JITTargetAddress Addr);
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/
H A DHostProcess.h45 llvm::Expected<HostThread>
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DELFConfig.h38 Expected<ELFCopyConfig> parseConfig(const CopyConfig &Config);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DFileCheckImpl.h40 virtual Expected<uint64_t> eval() const = 0;
54 Expected<uint64_t> eval() const override { return Value; }
135 Expected<uint64_t> eval() const override;
165 Expected<uint64_t> eval() const override;
203 virtual Expected<std::string> getResult() const = 0;
214 Expected<std::string> getResult() const override;
232 Expected<std::string> getResult() const override;
280 Expected<StringRef> getPatternVarValue(StringRef VarName);
453 static Expected<VariableProperties> parseVariable(StringRef &Str,
465 static Expected<st
[all...]
H A DGlobPattern.cpp27 static Expected<BitVector> expand(StringRef S, StringRef Original) {
67 static Expected<BitVector> scan(StringRef &S, StringRef Original) {
88 Expected<BitVector> BV = expand(Chars.substr(1), Original);
108 Expected<GlobPattern> GlobPattern::create(StringRef S) {
135 Expected<BitVector> BV = scan(S, Original);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DPDBFile.cpp104 Expected<ArrayRef<uint8_t>> PDBFile::getBlockData(uint32_t BlockIndex,
257 Expected<GlobalsStream &> PDBFile::getPDBGlobalsStream() {
275 Expected<InfoStream &> PDBFile::getPDBInfoStream() {
288 Expected<DbiStream &> PDBFile::getPDBDbiStream() {
301 Expected<TpiStream &> PDBFile::getPDBTpiStream() {
314 Expected<TpiStream &> PDBFile::getPDBIpiStream() {
330 Expected<PublicsStream &> PDBFile::getPDBPublicsStream() {
348 Expected<SymbolStream &> PDBFile::getPDBSymbolStream() {
367 Expected<PDBStringTable &> PDBFile::getStringTable() {
384 Expected<InjectedSourceStrea
[all...]
H A DTpiHashing.cpp43 static Expected<uint32_t> getHashForUdt(const CVType &Rec) {
52 static Expected<TagRecordHash> getTagRecordHashForUdt(const CVType &Rec) {
78 static Expected<uint32_t> getSourceLineHash(const CVType &Rec) {
88 Expected<TagRecordHash> llvm::pdb::hashTagRecord(const codeview::CVType &Type) {
105 Expected<uint32_t> llvm::pdb::hashTypeRecord(const CVType &Rec) {
/freebsd-11-stable/contrib/llvm-project/llvm/tools/bugpoint/
H A DMiscompilation.cpp52 Expected<TestResult> doTest(std::vector<std::string> &Prefix,
60 Expected<ReduceMiscompilingPasses::TestResult>
82 Expected<bool> Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "",
188 Expected<bool> (*TestFn)(BugDriver &, std::unique_ptr<Module>,
193 Expected<bool> (*F)(BugDriver &,
198 Expected<TestResult> doTest(std::vector<Function *> &Prefix,
201 Expected<bool> Ret = TestFuncs(Suffix);
208 Expected<bool> Ret = TestFuncs(Prefix);
217 Expected<bool> TestFuncs(const std::vector<Function *> &Prefix);
227 static Expected<st
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/CodeGen/
H A DBackendUtil.h18 template <typename T> class Expected;
49 llvm::Expected<llvm::BitcodeModule>
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DTpiHashing.h18 Expected<uint32_t> hashTypeRecord(const llvm::codeview::CVType &Type);
66 Expected<TagRecordHash> hashTagRecord(const codeview::CVType &Type);
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DBuffer.cpp24 Expected<sys::fs::TempFile> Temp =
38 Expected<std::unique_ptr<FileOutputBuffer>> BufferOrErr =
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DLLJIT.h39 static Expected<std::unique_ptr<LLJIT>> Create(LLJITBuilderState &S);
91 Expected<JITEvaluatedSymbol> lookupLinkerMangled(JITDylib &JD,
97 Expected<JITEvaluatedSymbol> lookupLinkerMangled(StringRef Name) {
102 Expected<JITEvaluatedSymbol> lookup(JITDylib &JD, StringRef UnmangledName) {
107 Expected<JITEvaluatedSymbol> lookup(StringRef UnmangledName) {
127 static Expected<std::unique_ptr<IRCompileLayer::IRCompiler>>
195 std::function<Expected<std::unique_ptr<IRCompileLayer::IRCompiler>>(
262 Expected<std::unique_ptr<JITType>> create() {
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.h84 virtual Expected<std::unique_ptr<Allocation>>
91 Expected<std::unique_ptr<Allocation>>
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DRenamingAction.cpp45 Expected<SymbolOccurrences>
65 Expected<RenameOccurrences>
79 Expected<AtomicChanges>
81 Expected<SymbolOccurrences> Occurrences = findSymbolOccurrences(ND, Context);
90 Expected<QualifiedRenameRule>
136 Expected<AtomicChanges>
144 Expected<std::vector<AtomicChange>>
222 Expected<std::vector<AtomicChange>> Change =
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkSerializer.cpp20 Expected<std::unique_ptr<RemarkSerializer>>
37 Expected<std::unique_ptr<RemarkSerializer>>
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DLegacy.cpp27 Expected<SymbolMap> InternedResult) mutable {
51 Expected<JITSymbolResolverAdapter::LookupSet>
H A DJITTargetMachineBuilder.cpp23 Expected<JITTargetMachineBuilder> JITTargetMachineBuilder::detectHost() {
41 Expected<std::unique_ptr<TargetMachine>>
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/
H A DTapiUniversal.cpp40 Expected<std::unique_ptr<TapiFile>>
47 Expected<std::unique_ptr<TapiUniversal>>
H A DObjectFile.cpp48 Expected<section_iterator> SymSec = S.getSection();
67 Expected<StringRef> Name = getSymbolName(Symb);
77 Expected<StringRef> NameOrErr = getSectionName(Sec);
94 Expected<section_iterator>
124 Expected<std::unique_ptr<ObjectFile>>
174 Expected<OwningBinary<ObjectFile>>
182 Expected<std::unique_ptr<ObjectFile>> ObjOrErr =
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DRemarkSerializer.h76 Expected<std::unique_ptr<RemarkSerializer>>
81 Expected<std::unique_ptr<RemarkSerializer>>
/freebsd-11-stable/contrib/llvm-project/lld/COFF/
H A DDebugTypes.cpp45 static Expected<TypeServerSource *> getInstance(MemoryBufferRef m);
48 static Expected<TypeServerSource *>
170 Expected<TypeServerSource *>
207 Expected<llvm::pdb::NativeSession *> findTypeServerSource(const ObjFile *f) {
208 Expected<TypeServerSource *> ts = TypeServerSource::findFromFile(f);
238 Expected<TypeServerSource *> ts = TypeServerSource::getInstance(m);
245 Expected<TypeServerSource *> TypeServerSource::getInstance(MemoryBufferRef m) {
256 Expected<pdb::InfoStream &> info = pdbFile.getPDBInfoStream();
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/XRay/
H A DProfile.h37 Expected<Profile> loadProfile(StringRef Filename);
48 Expected<Profile> profileFromTrace(const Trace &T);
71 Expected<std::vector<FuncID>> expandPath(PathID P) const;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/
H A DExecution.cpp57 llvm::Expected<std::unique_ptr<ToolExecutor>>
73 llvm::Expected<std::unique_ptr<ToolExecutor>> Executor =
89 llvm::Expected<std::unique_ptr<ToolExecutor>>

Completed in 358 milliseconds

1234567891011>>