9 #ifndef LLVM_MC_MCSYMBOLWASM_H 10 #define LLVM_MC_MCSYMBOLWASM_H 20 bool IsHidden =
false;
21 bool IsComdat =
false;
22 std::string ModuleName;
26 bool ParamsSet =
false;
27 bool ReturnsSet =
false;
28 bool GlobalTypeSet =
false;
32 const MCExpr *SymbolSize =
nullptr;
52 bool isWeak()
const {
return IsWeak; }
71 Returns = std::move(Rets);
81 Params = std::move(Pars);
97 #endif // LLVM_MC_MCSYMBOLWASM_H
void setModuleName(StringRef Name)
Compute iterated dominance frontiers using a linear time algorithm.
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 ...
void setWeak(bool isWeak)
static bool classof(const MCSymbol *S)
void setGlobalType(wasm::WasmGlobalType GT)
const StringRef getModuleName() const
void setParams(SmallVectorImpl< wasm::ValType > &&Pars)
const wasm::WasmGlobalType & getGlobalType() const
void setComdat(bool isComdat)
void setSize(const MCExpr *SS)
Base class for the full range of assembler expressions which are needed for parsing.
void setHidden(bool isHidden)
The instances of the Type class are immutable: once they are created, they are never changed...
void setReturns(SmallVectorImpl< wasm::ValType > &&Rets)
bool isTemporary() const
isTemporary - Check if this is an assembler temporary symbol.
const SmallVector< wasm::ValType, 1 > & getReturns() const
const MCExpr * getSize() const
void setType(wasm::WasmSymbolType type)
MCSymbolWasm(const StringMapEntry< bool > *Name, bool isTemporary)
const SmallVector< wasm::ValType, 4 > & getParams() const
wasm::WasmSymbolType getType() const
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
StringRef - Represent a constant reference to a string, i.e.