Searched refs:Optional (Results 1 - 25 of 1461) sorted by relevance

1234567891011>>

/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Remarks/
H A DBitstreamRemarkParser.h18 #include "llvm/ADT/Optional.h"
36 Optional<uint64_t> ContainerVersion;
37 Optional<uint8_t> ContainerType;
38 Optional<StringRef> StrTabBuf;
39 Optional<StringRef> ExternalFilePath;
40 Optional<uint64_t> RemarkVersion;
58 Optional<uint8_t> Type;
59 Optional<uint64_t> RemarkNameIdx;
60 Optional<uint64_t> PassNameIdx;
61 Optional<uint64_
[all...]
H A DRemarkStreamer.h33 #include "llvm/ADT/Optional.h"
44 Optional<Regex> PassFilter;
48 const Optional<std::string> Filename;
52 Optional<StringRef> Filename = None);
55 Optional<StringRef> getFilename() const {
56 return Filename ? Optional<StringRef>(*Filename) : None;
H A DHotnessThresholdParser.h18 #include "llvm/ADT/Optional.h"
29 // Return None Optional if 'auto' is specified, indicating the value will
31 inline Expected<Optional<uint64_t>> parseHotnessThresholdOption(StringRef Arg) {
45 class HotnessThresholdParser : public cl::parser<Optional<uint64_t>> {
47 HotnessThresholdParser(cl::Option &O) : cl::parser<Optional<uint64_t>>(O) {}
50 Optional<uint64_t> &V) {
H A DBitstreamRemarkSerializer.h107 Optional<uint64_t> RemarkVersion,
108 Optional<const StringTable *> StrTab = None,
109 Optional<StringRef> Filename = None);
150 Optional<StringRef> ExternalFilename = None) override;
163 Optional<BitstreamRemarkSerializerHelper> TmpHelper;
168 Optional<const StringTable *> StrTab;
169 Optional<StringRef> ExternalFilename;
174 Optional<const StringTable *> StrTab = None,
175 Optional<StringRef> ExternalFilename = None)
185 Optional<cons
[all...]
H A DYAMLRemarkSerializer.h38 Optional<StringTable> StrTab = None);
43 Optional<StringRef> ExternalFilename = None) override;
52 Optional<StringTable> StrTab = None);
56 Optional<StringRef> ExternalFilename;
58 YAMLMetaSerializer(raw_ostream &OS, Optional<StringRef> ExternalFilename)
86 Optional<StringRef> ExternalFilename = None) override;
98 Optional<StringRef> ExternalFilename,
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DFPEnv.h19 #include "llvm/ADT/Optional.h"
42 Optional<RoundingMode> StrToRoundingMode(StringRef);
46 Optional<StringRef> RoundingModeToStr(RoundingMode);
50 Optional<fp::ExceptionBehavior> StrToExceptionBehavior(StringRef);
54 Optional<StringRef> ExceptionBehaviorToStr(fp::ExceptionBehavior);
/netbsd-current/external/gpl3/gcc/dist/gcc/d/dmd/root/
H A Doptional.h4 * Optional implementation.
14 /// Optional type that is either `empty` or contains a value of type `T`
16 struct Optional final
26 /** Creates an `Optional` with the given value **/
27 Optional(T);
29 /** Creates an `Optional` with the given value **/
30 static Optional<T> create(T);
32 /** Checks whether this `Optional` contains a value **/
35 /** Checks whether this `Optional` does not contain a value **/
H A Doptional.d2 * Implementation of an 'Optional' type
20 Optional!int opt;
33 opt = Optional!int(1);
41 /// Optional type that is either `empty` or contains a value of type `T`
42 extern (C++) struct Optional(T)
52 /// Creates an `Optional` with the given value
61 static Optional!T create(T val)
63 return Optional!T(val);
66 /// Returns: Whether this `Optional` contains a value
72 /// Returns: Whether this `Optional` doe
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Target/
H A DCGPassBuilderOption.h17 #include "llvm/ADT/Optional.h"
31 Optional<bool> OptimizeRegAlloc;
32 Optional<bool> EnableIPRA;
53 Optional<GlobalISelAbortMode> EnableGlobalISelAbort;
55 Optional<bool> VerifyMachineCode;
56 Optional<bool> EnableFastISelOption;
57 Optional<bool> EnableGlobalISelOption;
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h14 #include "llvm/ADT/Optional.h"
111 Optional<uint64_t> getAsReference() const;
116 Optional<UnitOffset> getAsRelativeReference() const;
117 Optional<uint64_t> getAsUnsignedConstant() const;
118 Optional<int64_t> getAsSignedConstant() const;
119 Optional<const char *> getAsCString() const;
120 Optional<uint64_t> getAsAddress() const;
121 Optional<object::SectionedAddress> getAsSectionedAddress() const;
122 Optional<uint64_t> getAsSectionOffset() const;
123 Optional<ArrayRe
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/IR/
H A DFPEnv.cpp20 Optional<RoundingMode> StrToRoundingMode(StringRef RoundingArg) {
23 return StringSwitch<Optional<RoundingMode>>(RoundingArg)
33 Optional<StringRef> RoundingModeToStr(RoundingMode UseRounding) {
34 Optional<StringRef> RoundingStr = None;
60 Optional<fp::ExceptionBehavior> StrToExceptionBehavior(StringRef ExceptionArg) {
61 return StringSwitch<Optional<fp::ExceptionBehavior>>(ExceptionArg)
68 Optional<StringRef> ExceptionBehaviorToStr(fp::ExceptionBehavior UseExcept) {
69 Optional<StringRef> ExceptStr = None;
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Tooling/Transformer/
H A DSourceCodeBuilders.h53 llvm::Optional<std::string> buildParens(const Expr &E,
58 llvm::Optional<std::string> buildDereference(const Expr &E,
63 llvm::Optional<std::string> buildAddressOf(const Expr &E,
72 llvm::Optional<std::string> buildDot(const Expr &E, const ASTContext &Context);
80 llvm::Optional<std::string> buildArrow(const Expr &E,
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.h31 llvm::Optional<const clang::CXXRecordDecl *>
36 llvm::Optional<bool> isRefCountable(const clang::CXXRecordDecl *Class);
43 llvm::Optional<bool> isUncounted(const clang::CXXRecordDecl *Class);
47 llvm::Optional<bool> isUncountedPtr(const clang::Type *T);
54 llvm::Optional<bool> isGetterOfRefCounted(const clang::CXXMethodDecl *Method);
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Bitcode/
H A DBitcodeAnalyzer.h17 #include "llvm/ADT/Optional.h"
53 Optional<BitstreamCursor> BlockInfoStream;
85 BitcodeAnalyzer(StringRef Buffer, Optional<StringRef> BlockInfoBuffer = None);
87 Error analyze(Optional<BCDumpOptions> O = None,
88 Optional<StringRef> CheckHash = None);
90 void printStats(BCDumpOptions O, Optional<StringRef> Filename = None);
95 Optional<BCDumpOptions> O = None,
96 Optional<StringRef> CheckHash = None);
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DGlobPattern.h18 #include "llvm/ADT/Optional.h"
51 Optional<StringRef> Exact;
52 Optional<StringRef> Prefix;
53 Optional<StringRef> Suffix;
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSemaLambda.h33 Optional<unsigned> getStackIndexOfNearestEnclosingCaptureCapableLambda(
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
H A DTargetExecutionUtils.h17 #include "llvm/ADT/Optional.h"
33 Optional<StringRef> ProgramName = None);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/Sparc/
H A DSparcTargetMachine.h30 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
51 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
62 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
72 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DOptional.h1 //===- Optional.h - Simple variant for passing optional values --*- C++ -*-===//
9 // This file provides Optional, a template class modeled in the spirit of
238 template <typename T> class Optional { class in namespace:llvm
244 constexpr Optional() {} function in class:llvm::Optional
245 constexpr Optional(NoneType) {} function in class:llvm::Optional
247 constexpr Optional(const T &y) : Storage(in_place, y) {} function in class:llvm::Optional
248 constexpr Optional(const Optional &O) = default;
250 constexpr Optional(T &&y) : Storage(in_place, std::move(y)) {} function in class:llvm::Optional
251 constexpr Optional(Optiona
254 constexpr Optional(in_place_t, ArgTypes &&...Args) function in class:llvm::Optional
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A DPdbYaml.h14 #include "llvm/ADT/Optional.h"
74 Optional<PdbModiStream> Modi;
101 Optional<MSFHeaders> Headers;
102 Optional<std::vector<uint32_t>> StreamSizes;
103 Optional<std::vector<StreamBlockList>> StreamMap;
104 Optional<PdbInfoStream> PdbStream;
105 Optional<PdbDbiStream> DbiStream;
106 Optional<PdbTpiStream> TpiStream;
107 Optional<PdbTpiStream> IpiStream;
108 Optional<PdbPublicsStrea
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h118 Optional<ELF_EM> Machine;
122 Optional<llvm::yaml::Hex64> EPhOff;
123 Optional<llvm::yaml::Hex16> EPhEntSize;
124 Optional<llvm::yaml::Hex16> EPhNum;
125 Optional<llvm::yaml::Hex16> EShEntSize;
126 Optional<llvm::yaml::Hex64> EShOff;
127 Optional<llvm::yaml::Hex16> EShNum;
128 Optional<llvm::yaml::Hex16> EShStrNdx;
138 Optional<StringRef> Section;
139 Optional<ELF_SH
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeCollection.h24 virtual Optional<TypeIndex> getFirst() = 0;
25 virtual Optional<TypeIndex> getNext(TypeIndex Prev) = 0;
35 Optional<TypeIndex> Next = getFirst();
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DProfileList.h20 #include "llvm/ADT/Optional.h"
45 llvm::Optional<bool>
48 llvm::Optional<bool>
51 llvm::Optional<bool>
/netbsd-current/external/mpl/bind/dist/bin/tests/system/isctest/
H A Dquery.py13 from typing import Optional namespace
23 message: dns.message.Message, ip: str, port: Optional[int] = None
31 message: dns.message.Message, ip: str, port: Optional[int] = None
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMTargetMachine.h17 #include "llvm/ADT/Optional.h"
44 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
89 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
99 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,

Completed in 376 milliseconds

1234567891011>>