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