Go to the documentation of this file.
13 #ifndef LLVM_MC_MCVALUE_H
14 #define LLVM_MC_MCVALUE_H
61 int64_t Val = 0,
uint32_t RefKind = 0) {
This is an optimization pass for GlobalISel generic memory operations.
void print(raw_ostream &OS) const
Print the value to the stream OS.
MCSymbolRefExpr::VariantKind getAccessVariant() const
bool isAbsolute() const
Is this an absolute (as opposed to relocatable) value.
void dump() const
Print the value to stderr.
This class implements an extremely fast bulk output stream that can only output to a stream.
int64_t getConstant() const
const MCSymbolRefExpr * getSymA() const
static MCValue get(const MCSymbolRefExpr *SymA, const MCSymbolRefExpr *SymB=nullptr, int64_t Val=0, uint32_t RefKind=0)
Represent a reference to a symbol from inside an expression.
uint32_t getRefKind() const
This represents an "assembler immediate".
const MCSymbolRefExpr * getSymB() const
static MCValue get(int64_t Val)