LLVM 22.0.0git
|
#include "llvm/TextAPI/SymbolSet.h"
Classes | |
struct | const_symbol_iterator |
Public Types | |
using | const_symbol_range = iterator_range<const_symbol_iterator> |
using | const_filtered_symbol_iterator |
using | const_filtered_symbol_range |
Public Member Functions | |
SymbolSet ()=default | |
LLVM_ABI | ~SymbolSet () |
LLVM_ABI Symbol * | addGlobal (EncodeKind Kind, StringRef Name, SymbolFlags Flags, const Target &Targ) |
size_t | size () const |
template<typename RangeT, typename ElT = std::remove_reference_t< decltype(*std::begin(std::declval<RangeT>()))>> | |
Symbol * | addGlobal (EncodeKind Kind, StringRef Name, SymbolFlags Flags, RangeT &&Targets) |
LLVM_ABI const Symbol * | findSymbol (EncodeKind Kind, StringRef Name, ObjCIFSymbolKind ObjCIF=ObjCIFSymbolKind::None) const |
const_symbol_range | symbols () const |
const_filtered_symbol_range | exports () const |
const_filtered_symbol_range | reexports () const |
const_filtered_symbol_range | undefineds () const |
LLVM_ABI bool | operator== (const SymbolSet &O) const |
bool | operator!= (const SymbolSet &O) const |
void * | allocate (size_t Size, unsigned Align=8) |
Definition at line 77 of file SymbolSet.h.
Definition at line 133 of file SymbolSet.h.
Definition at line 136 of file SymbolSet.h.
Definition at line 131 of file SymbolSet.h.
|
default |
References LLVM_ABI.
Referenced by operator!=(), and operator==().
SymbolSet::~SymbolSet | ( | ) |
Definition at line 14 of file SymbolSet.cpp.
References llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key.
Symbol * SymbolSet::addGlobal | ( | EncodeKind | Kind, |
StringRef | Name, | ||
SymbolFlags | Flags, | ||
const Target & | Targ ) |
Definition at line 29 of file SymbolSet.cpp.
Referenced by addGlobal().
|
inline |
Definition at line 102 of file SymbolSet.h.
References addGlobal(), llvm::Global, llvm::MachO::ObjectiveCClass, and llvm::MachO::ObjectiveCClassEHType.
|
inline |
Definition at line 178 of file SymbolSet.h.
References Size.
|
inline |
Definition at line 145 of file SymbolSet.h.
References llvm::MachO::Symbol::isReexported(), llvm::MachO::Symbol::isUndefined(), llvm::make_filter_range(), and llvm::make_range().
const Symbol * SymbolSet::findSymbol | ( | EncodeKind | Kind, |
StringRef | Name, | ||
ObjCIFSymbolKind | ObjCIF = ObjCIFSymbolKind::None ) const |
Definition at line 36 of file SymbolSet.cpp.
References assert(), llvm::MachO::Class, llvm::MachO::EHType, llvm::MachO::GlobalSymbol, llvm::MachO::MetaClass, llvm::MachO::None, llvm::MachO::ObjC2ClassNamePrefix, llvm::MachO::ObjC2EHTypePrefix, and llvm::MachO::ObjC2MetaClassNamePrefix.
Definition at line 176 of file SymbolSet.h.
References SymbolSet().
References LLVM_ABI, and SymbolSet().
|
inline |
Definition at line 155 of file SymbolSet.h.
References llvm::MachO::Symbol::isReexported(), llvm::make_filter_range(), and llvm::make_range().
|
inline |
Definition at line 98 of file SymbolSet.h.
|
inline |
Definition at line 140 of file SymbolSet.h.
|
inline |
Definition at line 165 of file SymbolSet.h.
References llvm::MachO::Symbol::isUndefined(), llvm::make_filter_range(), and llvm::make_range().