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:

Methods

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)

Description

@ {

Declared at: llvm/include/llvm/MC/MCExpr.h:146

Parameters

int64_t Value
llvm::MCContext& Ctx
bool PrintInHex = false

int64_t getValue() const

Description

@ } @ {

Declared at: llvm/include/llvm/MC/MCExpr.h:153

bool useHexFormat() const

Declared at: llvm/include/llvm/MC/MCExpr.h:155