9#ifndef LLVM_AVR_MCEXPR_H
10#define LLVM_AVR_MCEXPR_H
38 void setNegated(
bool negated =
true) { Negated = negated; }
static std::optional< int64_t > evaluateAsInt64(uint16_t specifier, int64_t Value)
Specifies the format of AVR assembly files.
A expression in AVR machine code.
bool evaluateAsConstant(int64_t &Result) const
Evaluates the fixup as a constant value.
void setNegated(bool negated=true)
static const AVRMCExpr * create(Specifier S, const MCExpr *Expr, bool isNegated, MCContext &Ctx)
Specifies the type of an expression.
const char * getName() const
Gets the name of the expression.
static Specifier parseSpecifier(StringRef Name)
AVR::Fixups getFixupKind() const
Gets the fixup which corresponds to the expression.
Context object for machine code objects.
Base class for the full range of assembler expressions which are needed for parsing.
Extension point for target-specific MCExpr subclasses with a relocation specifier,...
StringRef - Represent a constant reference to a string, i.e.
LLVM Value Representation.
Fixups
The set of supported fixups.
This is an optimization pass for GlobalISel generic memory operations.