Go to the documentation of this file.
9 #ifndef LLVM_TEXTAPI_SYMBOL_H
10 #define LLVM_TEXTAPI_SYMBOL_H
65 : Name(Name), Targets(
std::
move(Targets)), Kind(Kind), Flags(Flags) {}
107 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
113 return std::tie(Name, Kind, Targets, Flags) ==
114 std::tie(
O.Name,
O.Kind,
O.Targets,
O.Flags);
120 return std::tie(Name, Kind, Targets, Flags) <
121 std::tie(
O.Name,
O.Kind,
O.Targets,
O.Flags);
134 #endif // LLVM_TEXTAPI_SYMBOL_H
constexpr StringLiteral ObjC2EHTypePrefix
This is an optimization pass for GlobalISel generic memory operations.
@ WeakReferenced
Weak referenced symbol.
ArchitectureSet mapToArchitectureSet(ArrayRef< Target > Targets)
SymbolFlags getFlags() const
bool isWeakDefined() const
Specialization of filter_iterator_base for forward iteration only.
@ WeakDefined
Weak defined symbol.
raw_fd_ostream & errs()
This returns a reference to a raw_ostream for standard error.
bool operator!=(const Symbol &O) const
A wrapper around a string literal that serves as a proxy for constructing global tables of StringRefs...
Symbol(SymbolKind Kind, StringRef Name, TargetList Targets, SymbolFlags Flags)
constexpr StringLiteral ObjC2ClassNamePrefix
This class implements an extremely fast bulk output stream that can only output to a stream.
@ ThreadLocalValue
Thread-local value symbol.
TargetList::const_iterator const_target_iterator
@ ObjectiveCInstanceVariable
bool isWeakReferenced() const
constexpr StringLiteral ObjC2MetaClassNamePrefix
typename SuperClass::const_iterator const_iterator
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
constexpr StringLiteral ObjC1ClassNamePrefix
print Print MemDeps of function
bool isReexported() const
@ LLVM_MARK_AS_BITMASK_ENUM
StringRef - Represent a constant reference to a string, i.e.
llvm::filter_iterator< const_target_iterator, std::function< bool(const Target &)> > const_filtered_target_iterator
void addTarget(Target target)
bool operator==(const Symbol &O) const
constexpr StringLiteral ObjC2IVarPrefix
SymbolKind getKind() const
const_target_range targets() const
bool operator<(const Symbol &O) const
A range adaptor for a pair of iterators.
StringRef getName() const
bool isThreadLocalValue() const
ArchitectureSet getArchitectures() const
reference emplace_back(ArgTypes &&... Args)