29 ELF_IsSignature_Shift = 11,
32 ELF_Weakref_Shift = 12,
35 ELF_BindingSet_Shift = 13,
38 ELF_IsMemoryTagged_Shift = 14,
62 setFlags(OtherFlags | (Val << ELF_STB_Shift));
119 setFlags(OtherFlags | (Val << ELF_STT_Shift));
149 setFlags(OtherFlags | (Visibility << ELF_STV_Shift));
153 unsigned Visibility = (
Flags >> ELF_STV_Shift) & 3;
166 unsigned Other = (
Flags >> ELF_STO_Shift) & 0xf;
172 setFlags(OtherFlags | (1 << ELF_Weakref_Shift));
176 return getFlags() & (0x1 << ELF_Weakref_Shift);
181 setFlags(OtherFlags | (1 << ELF_IsSignature_Shift));
185 return getFlags() & (0x1 << ELF_IsSignature_Shift);
188void MCSymbolELF::setIsBindingSet()
const {
190 setFlags(OtherFlags | (1 << ELF_BindingSet_Shift));
194 return getFlags() & (0x1 << ELF_BindingSet_Shift);
198 return getFlags() & (0x1 << ELF_IsMemoryTagged_Shift);
204 setFlags(OtherFlags | (1 << ELF_IsMemoryTagged_Shift));
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
DXIL Resource Implicit Binding
LLVM_ABI bool isMemtag() const
LLVM_ABI void setIsWeakref() const
LLVM_ABI unsigned getOther() const
LLVM_ABI unsigned getType() const
LLVM_ABI void setVisibility(unsigned Visibility)
LLVM_ABI void setMemtag(bool Tagged)
LLVM_ABI bool isBindingSet() const
LLVM_ABI void setIsSignature() const
LLVM_ABI void setBinding(unsigned Binding) const
LLVM_ABI bool isSignature() const
LLVM_ABI unsigned getVisibility() const
LLVM_ABI unsigned getBinding() const
LLVM_ABI void setType(unsigned Type) const
LLVM_ABI void setOther(unsigned Other)
LLVM_ABI bool isWeakref() const
bool isDefined() const
isDefined - Check if this symbol is defined (i.e., it has an address).
void setFlags(uint32_t Value) const
Set the (implementation defined) symbol flags.
uint32_t getFlags() const
Get the (implementation defined) symbol flags.
bool isUsedInReloc() const
The instances of the Type class are immutable: once they are created, they are never changed.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
This is an optimization pass for GlobalISel generic memory operations.