Searched refs:Optional (Results 201 - 225 of 1145) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/lldb/source/Core/
H A DHighlighter.cpp30 llvm::Optional<size_t> cursor_pos,
75 llvm::Optional<size_t> cursor_pos,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/ASTDiff/
H A DASTDiff.h47 llvm::Optional<StringRef> getIdentifier() const;
48 llvm::Optional<std::string> getQualifiedIdentifier() const;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DMachineIRBuilder.h210 Optional<unsigned> Flags;
215 Optional<unsigned> getFlags() const { return Flags; }
438 Optional<MachineInstrBuilder> materializePtrAdd(Register &Res, Register Op0,
523 Optional<unsigned> Flags = None) {
879 Optional<unsigned> FLags = None);
923 Optional<unsigned> Flags = None);
937 Optional<unsigned> Flags = None);
1228 Optional<unsigned> Flags = None) {
1245 Optional<unsigned> Flags = None) {
1261 Optional<unsigne
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
H A DObjectFileBreakpad.cpp23 static llvm::Optional<Header> parse(llvm::StringRef text);
27 llvm::Optional<Header> Header::parse(llvm::StringRef text) {
72 llvm::Optional<Header> header = Header::parse(text);
99 llvm::Optional<Header> header = Header::parse(text);
132 llvm::Optional<Record::Kind> current_section;
153 llvm::Optional<Record::Kind> next_section = Record::classify(line);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DHeaderMap.cpp148 Optional<StringRef> HeaderMapImpl::getString(unsigned StrTabIdx) const {
180 if (Optional<StringRef> S = getString(Id))
199 Optional<FileEntryRef> HeaderMap::LookupFile(StringRef Filename,
224 Optional<StringRef> Key = getString(B.Key);
232 Optional<StringRef> Prefix = getString(B.Prefix);
233 Optional<StringRef> Suffix = getString(B.Suffix);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetMachine.cpp110 Optional<Reloc::Model> RM,
111 Optional<CodeModel::Model> CM,
137 Optional<Reloc::Model> RM,
138 Optional<CodeModel::Model> CM,
147 Optional<Reloc::Model> RM,
148 Optional<CodeModel::Model> CM,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDie.cpp11 #include "llvm/ADT/Optional.h"
116 Optional<uint64_t> Bound;
119 Optional<uint64_t> LB;
120 Optional<uint64_t> Count;
121 Optional<uint64_t> UB;
122 Optional<unsigned> DefaultLB;
123 if (Optional<DWARFFormValue> L = C.find(DW_AT_lower_bound))
125 if (Optional<DWARFFormValue> CountV = C.find(DW_AT_count))
127 if (Optional<DWARFFormValue> UpperV = C.find(DW_AT_upper_bound))
129 if (Optional<DWARFFormValu
[all...]
H A DDWARFAcceleratorTable.cpp147 Optional<uint64_t> AppleAcceleratorTable::HeaderData::extractOffset(
148 Optional<DWARFFormValue> Value) const {
189 if (Optional<uint64_t> Val = Atom.getAsUnsignedConstant()) {
276 Optional<DWARFFormValue>
287 Optional<uint64_t> AppleAcceleratorTable::Entry::getDIESectionOffset() const {
291 Optional<uint64_t> AppleAcceleratorTable::Entry::getCUOffset() const {
295 Optional<dwarf::Tag> AppleAcceleratorTable::Entry::getTag() const {
296 Optional<DWARFFormValue> Tag = lookup(dwarf::DW_ATOM_die_tag);
299 if (Optional<uint64_t> Value = Tag->getAsUnsignedConstant())
531 Optional<DWARFFormValu
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DProgram.cpp87 llvm::Optional<unsigned> Program::getGlobal(const ValueDecl *VD) {
93 llvm::Optional<unsigned> Index;
111 llvm::Optional<unsigned> Program::getOrCreateGlobal(const ValueDecl *VD) {
122 llvm::Optional<unsigned> Program::getOrCreateDummy(const ParmVarDecl *PD) {
141 llvm::Optional<unsigned> Program::createGlobal(const ValueDecl *VD) {
158 llvm::Optional<unsigned> Program::createGlobal(const Expr *E) {
162 llvm::Optional<unsigned> Program::createGlobal(const DeclTy &D, QualType Ty,
277 if (llvm::Optional<PrimType> T = Ctx.classify(FT)) {
311 if (llvm::Optional<PrimType> T = Ctx.classify(ElemTy)) {
337 if (llvm::Optional<PrimTyp
[all...]
H A DByteCodeExprGen.h24 #include "llvm/ADT/Optional.h"
102 llvm::Optional<PrimType> classify(const Expr *E) const {
105 llvm::Optional<PrimType> classify(QualType Ty) const {
156 llvm::Optional<unsigned> allocateLocal(DeclTy &&Decl,
208 llvm::Optional<unsigned> getGlobalIdx(const VarDecl *VD);
227 llvm::Optional<uint64_t> ArrayIndex;
233 llvm::Optional<InitFnRef> InitFn = {};
304 Optional<unsigned> Idx;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Remarks/
H A DYAMLRemarkSerializer.cpp24 Optional<RemarkLocation> RL, T FunctionName,
25 Optional<uint64_t> Hotness,
162 Optional<StringTable> StrTabIn)
167 Optional<StringTable> StrTabIn)
182 Optional<StringRef> ExternalFilename) {
201 raw_ostream &OS, Optional<StringRef> ExternalFilename) {
221 static void emitStrTab(raw_ostream &OS, Optional<const StringTable *> StrTab) {
H A DYAMLRemarkParser.cpp113 Optional<ParsedStringTable> StrTab,
114 Optional<StringRef> ExternalFilePrependPath) {
174 Optional<ParsedStringTable> StrTab)
326 Optional<StringRef> File;
327 Optional<unsigned> Line;
328 Optional<unsigned> Column;
368 Optional<StringRef> KeyStr;
369 Optional<StringRef> ValueStr;
370 Optional<RemarkLocation> Loc;
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Utility/
H A DReproducer.h315 llvm::Optional<FileSpec> root);
333 llvm::Error SetCapture(llvm::Optional<FileSpec> root);
334 llvm::Error SetReplay(llvm::Optional<FileSpec> root);
337 static llvm::Optional<Reproducer> &InstanceImpl();
339 llvm::Optional<Generator> m_generator;
340 llvm::Optional<Loader> m_loader;
377 llvm::Optional<std::string> GetNextFile() {
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DOSLog.cpp23 Optional<OSLogBufferItem::Kind> Kind;
24 Optional<unsigned> Size;
25 Optional<const Expr *> Count;
26 Optional<const Expr *> Precision;
27 Optional<const Expr *> FieldWidth;
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/Breakpad/
H A DSymbolFileBreakpad.h93 llvm::Optional<ArrayInfo> GetDynamicArrayInfoForUID(
203 llvm::Optional<FileSpecList> support_files;
227 llvm::Optional<std::vector<FileSpec>> m_files;
228 llvm::Optional<CompUnitMap> m_cu_data;
235 llvm::Optional<UnwindData> m_unwind_data;
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DSelectHelper.cpp23 #include "llvm/ADT/Optional.h"
85 static void updateMaxFd(llvm::Optional<lldb::socket_t> &vold,
103 llvm::Optional<lldb::socket_t> max_read_fd;
104 llvm::Optional<lldb::socket_t> max_write_fd;
105 llvm::Optional<lldb::socket_t> max_error_fd;
106 llvm::Optional<lldb::socket_t> max_fd;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfExpression.h19 #include "llvm/ADT/Optional.h"
55 Optional<DIExpression::ExprOperand> take() {
65 Optional<DIExpression::ExprOperand> peek() const {
72 Optional<DIExpression::ExprOperand> peekNext() const {
90 Optional<DIExpression::FragmentInfo> getFragmentInfo() const {
164 Optional<uint8_t> TagOffset;
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCodeCoverage.cpp144 Optional<std::pair<std::string, std::string>> PathRemapping;
480 Optional<StringRef> Redirects[] = {InputPath.str(), OutputPath.str(), {""}};
551 "dump-collected-paths", cl::Optional, cl::Hidden,
562 cl::opt<bool> DebugDump("dump", cl::Optional,
576 "path-equivalence", cl::Optional,
583 "name", cl::Optional,
588 "name-whitelist", cl::Optional,
594 "name-regex", cl::Optional,
600 "ignore-filename-regex", cl::Optional,
606 "region-coverage-lt", cl::Optional,
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DDbiStreamBuilder.h12 #include "llvm/ADT/Optional.h"
112 Optional<PdbRaw_DbiVer> VerHeader;
127 Optional<codeview::DebugFrameDataSubsection> NewFpoData;
137 std::array<Optional<DebugStream>, (int)DbgHeaderType::Max> DbgStreams;
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DLinePrinter.h106 inline Optional<PrintScope> withLabelWidth(const Optional<PrintScope> &Scope,
118 explicit AutoIndent(const Optional<PrintScope> &Scope) {
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaConcept.h22 #include "llvm/ADT/Optional.h"
32 Optional<MutableArrayRef<TemplateArgumentLoc>> ParameterMapping;
148 static Optional<NormalizedConstraint>
150 static Optional<NormalizedConstraint>
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DAbstractBasicReader.h18 inline T makeNullableFromOptional(const Optional<T> &value) {
23 inline T *makePointerFromOptional(Optional<T *> value) {
52 // Optional<ValueType> writeOptional();
160 llvm::Optional<T> readOptional(Args &&...args) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/
H A DMinidump.cpp17 Optional<ArrayRef<uint8_t>>
58 Optional<ArrayRef<uint8_t>> Stream = getRawStream(StreamType::MemoryInfoList);
76 Optional<ArrayRef<uint8_t>> Stream = getRawStream(Type);
/freebsd-11-stable/contrib/llvm-project/lld/ELF/
H A DDWARF.cpp82 Optional<RelocAddrEntry>
114 val, Optional<object::RelocationRef>(),
119 Optional<RelocAddrEntry> LLDDwarfObj<ELFT>::find(const llvm::DWARFSection &s,
/freebsd-11-stable/contrib/llvm-project/lld/COFF/
H A DDriver.h16 #include "llvm/ADT/Optional.h"
37 using llvm::Optional;
89 Optional<StringRef> findFile(StringRef filename);
90 Optional<StringRef> findLib(StringRef filename);

Completed in 164 milliseconds

1234567891011>>