LLVM API Documentation
MCUnaryExpr - Unary assembler expressions. More...
#include <MCExpr.h>
Public Types | |
enum | Opcode { LNot, Minus, Not, Plus } |
Public Member Functions | |
Opcode | getOpcode () const |
getOpcode - Get the kind of this unary expression. | |
const MCExpr * | getSubExpr () const |
getSubExpr - Get the child of this unary expression. | |
Static Public Member Functions | |
static bool | classof (const MCExpr *E) |
Construction | |
static const MCUnaryExpr * | Create (Opcode Op, const MCExpr *Expr, MCContext &Ctx) |
static const MCUnaryExpr * | CreateLNot (const MCExpr *Expr, MCContext &Ctx) |
static const MCUnaryExpr * | CreateMinus (const MCExpr *Expr, MCContext &Ctx) |
static const MCUnaryExpr * | CreateNot (const MCExpr *Expr, MCContext &Ctx) |
static const MCUnaryExpr * | CreatePlus (const MCExpr *Expr, MCContext &Ctx) |
MCUnaryExpr - Unary assembler expressions.
static bool llvm::MCUnaryExpr::classof | ( | const MCExpr * | E | ) | [inline, static] |
Definition at line 384 of file MCExpr.h.
References llvm::MCExpr::getKind(), and llvm::MCExpr::Unary.
const MCUnaryExpr * MCUnaryExpr::Create | ( | Opcode | Op, |
const MCExpr * | Expr, | ||
MCContext & | Ctx | ||
) | [static] |
Definition at line 142 of file MCExpr.cpp.
Referenced by CreateLNot(), CreateMinus(), CreateNot(), and CreatePlus().
static const MCUnaryExpr* llvm::MCUnaryExpr::CreateLNot | ( | const MCExpr * | Expr, |
MCContext & | Ctx | ||
) | [inline, static] |
static const MCUnaryExpr* llvm::MCUnaryExpr::CreateMinus | ( | const MCExpr * | Expr, |
MCContext & | Ctx | ||
) | [inline, static] |
Definition at line 364 of file MCExpr.h.
References Create(), and Minus.
Referenced by addNegOperand(), llvm::AArch64ExternalSymbolizer::tryAddingSymbolicOperand(), and llvm::MCExternalSymbolizer::tryAddingSymbolicOperand().
static const MCUnaryExpr* llvm::MCUnaryExpr::CreateNot | ( | const MCExpr * | Expr, |
MCContext & | Ctx | ||
) | [inline, static] |
static const MCUnaryExpr* llvm::MCUnaryExpr::CreatePlus | ( | const MCExpr * | Expr, |
MCContext & | Ctx | ||
) | [inline, static] |
Opcode llvm::MCUnaryExpr::getOpcode | ( | ) | const [inline] |
getOpcode - Get the kind of this unary expression.
Definition at line 377 of file MCExpr.h.
Referenced by llvm::MCExpr::EvaluateAsRelocatableImpl(), and llvm::MCExpr::print().
const MCExpr* llvm::MCUnaryExpr::getSubExpr | ( | ) | const [inline] |
getSubExpr - Get the child of this unary expression.
Definition at line 380 of file MCExpr.h.
Referenced by llvm::MCExpr::EvaluateAsRelocatableImpl(), and llvm::MCExpr::print().