21 return Result.first->second;
26 auto *
Sym = addGlobalImpl(Kind,
Name, Flags);
33 if (
auto result = Symbols.
lookup({Kind, Name}))
38 "expected single ObjCIFSymbolKind enum value");
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
ValueT lookup(const_arg_type_t< KeyT > Val) const
lookup - Return the entry for the specified key, or a default constructed value if no such entry exis...
std::pair< iterator, bool > try_emplace(KeyT &&Key, Ts &&...Args)
Symbol * addGlobal(EncodeKind Kind, StringRef Name, SymbolFlags Flags, const Target &Targ)
const Symbol * findSymbol(EncodeKind Kind, StringRef Name, ObjCIFSymbolKind ObjCIF=ObjCIFSymbolKind::None) const
void addTarget(Target InputTarget)
StringRef - Represent a constant reference to a string, i.e.
constexpr StringLiteral ObjC2ClassNamePrefix
SmallVector< Target, 5 > TargetList
ObjCIFSymbolKind
ObjC Interface symbol mappings.
@ EHType
Is OBJC_EHTYPE* symbol.
@ Class
Is OBJC_CLASS* symbol.
@ MetaClass
Is OBJC_METACLASS* symbol.
EncodeKind
Mapping of entry types in TextStubs.
constexpr StringLiteral ObjC2MetaClassNamePrefix
constexpr StringLiteral ObjC2EHTypePrefix
This is an optimization pass for GlobalISel generic memory operations.