class MCConstantExpr
Declaration
class MCConstantExpr : public MCExpr { /* full declaration omitted */ };
Description
/ Represent a constant integer expression.
Declared at: llvm/include/llvm/MC/MCExpr.h:131
Inherits from: MCExpr
Method Overview
- public static bool classof(const llvm::MCExpr * E)
- public static const llvm::MCConstantExpr * create(int64_t Value, llvm::MCContext & Ctx, bool PrintInHex = false)
- public int64_t getValue() const
- public bool useHexFormat() const
Inherited from MCExpr:
- public dump
- public evaluateAsAbsolute
- public evaluateAsAbsolute
- public evaluateAsAbsolute
- public evaluateAsAbsolute
- public evaluateAsAbsolute
- public evaluateAsRelocatable
- protected evaluateAsRelocatableImpl
- public evaluateAsValue
- public evaluateKnownAbsolute
- public findAssociatedFragment
- public getKind
- public getLoc
- public print
Methods
¶static bool classof(const llvm::MCExpr* E)
static bool classof(const llvm::MCExpr* E)
Description
@ }
Declared at: llvm/include/llvm/MC/MCExpr.h:159
Parameters
- const llvm::MCExpr* E
¶static const llvm::MCConstantExpr* create(
int64_t Value,
llvm::MCContext& Ctx,
bool PrintInHex = false)
static const llvm::MCConstantExpr* create(
int64_t Value,
llvm::MCContext& Ctx,
bool PrintInHex = false)
Description
@ {
Declared at: llvm/include/llvm/MC/MCExpr.h:146
Parameters
- int64_t Value
- llvm::MCContext& Ctx
- bool PrintInHex = false
¶int64_t getValue() const
int64_t getValue() const
Description
@ } @ {
Declared at: llvm/include/llvm/MC/MCExpr.h:153
¶bool useHexFormat() const
bool useHexFormat() const
Declared at: llvm/include/llvm/MC/MCExpr.h:155