8 #ifndef LLVM_MC_MCSYMBOLWASM_H 9 #define LLVM_MC_MCSYMBOLWASM_H 19 bool IsHidden =
false;
20 bool IsComdat =
false;
21 mutable bool IsUsedInGOT =
false;
31 const MCExpr *SymbolSize =
nullptr;
65 bool isWeak()
const {
return IsWeak; }
116 #endif // LLVM_MC_MCSYMBOLWASM_H
void setImportModule(StringRef Name)
This class represents lattice values for constants.
StringMapEntry - This is used to represent one value that is inserted into a StringMap.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
amdgpu Simplify well known AMD library false FunctionCallee Value const Twine & Name
const StringRef getExportName() const
void setWeak(bool isWeak)
static bool classof(const MCSymbol *S)
void setGlobalType(wasm::WasmGlobalType GT)
void setImportName(StringRef Name)
const wasm::WasmGlobalType & getGlobalType() const
const wasm::WasmEventType & getEventType() const
void setComdat(bool isComdat)
void setSize(const MCExpr *SS)
Base class for the full range of assembler expressions which are needed for parsing.
const unsigned WASM_SYMBOL_NO_STRIP
bool hasImportName() const
const wasm::WasmSignature * getSignature() const
const T & getValue() const LLVM_LVALUE_FUNCTION
void setHidden(bool isHidden)
void setEventType(wasm::WasmEventType ET)
The instances of the Type class are immutable: once they are created, they are never changed...
bool isTemporary() const
isTemporary - Check if this is an assembler temporary symbol.
const MCExpr * getSize() const
void setType(wasm::WasmSymbolType type)
const StringRef getImportModule() const
void setExportName(StringRef Name)
MCSymbolWasm(const StringMapEntry< bool > *Name, bool isTemporary)
bool hasExportName() const
StringRef getName() const
getName - Get the symbol name.
wasm::WasmSymbolType getType() const
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
void setSignature(wasm::WasmSignature *Sig)
void setUsedInGOT() const
StringRef - Represent a constant reference to a string, i.e.
const StringRef getImportName() const
const unsigned WASM_SYMBOL_EXPORTED
void modifyFlags(uint32_t Value, uint32_t Mask) const
Modify the flags via a mask.
uint32_t getFlags() const
Get the (implementation defined) symbol flags.