LLVM API Documentation
MCBinaryExpr - Binary assembler expressions. More...
#include <MCExpr.h>
MCBinaryExpr - Binary assembler expressions.
static bool llvm::MCBinaryExpr::classof | ( | const MCExpr * | E | ) | [inline, static] |
Definition at line 518 of file MCExpr.h.
References llvm::MCExpr::Binary, and llvm::MCExpr::getKind().
const MCBinaryExpr * MCBinaryExpr::Create | ( | Opcode | Op, |
const MCExpr * | LHS, | ||
const MCExpr * | RHS, | ||
MCContext & | Ctx | ||
) | [static] |
Definition at line 137 of file MCExpr.cpp.
Referenced by buildSymbolDiff(), CreateAdd(), CreateAnd(), CreateDiv(), CreateEQ(), CreateGT(), CreateGTE(), CreateLAnd(), CreateLOr(), CreateLT(), CreateLTE(), CreateMod(), CreateMul(), CreateNE(), CreateOr(), CreateShl(), CreateShr(), CreateSub(), CreateXor(), llvm::EmitLabelDiff(), llvm::MCObjectStreamer::EmitValueToOffset(), and MakeStartMinusEndExpr().
static const MCBinaryExpr* llvm::MCBinaryExpr::CreateAdd | ( | const MCExpr * | LHS, |
const MCExpr * | RHS, | ||
MCContext & | Ctx | ||
) | [inline, static] |
Definition at line 432 of file MCExpr.h.
Referenced by createPCXRelExprOp(), llvm::ARMAsmPrinter::EmitInstruction(), llvm::ARMAsmPrinter::EmitJumpTable(), llvm::EmitSymbolRefWithOfs(), GetSymbolRef(), lowerConstant(), llvm::MSP430MCInstLower::LowerSymbolOperand(), llvm::AArch64MCInstLower::lowerSymbolOperandDarwin(), and llvm::AArch64MCInstLower::lowerSymbolOperandELF().
static const MCBinaryExpr* llvm::MCBinaryExpr::CreateAnd | ( | const MCExpr * | LHS, |
const MCExpr * | RHS, | ||
MCContext & | Ctx | ||
) | [inline, static] |
Definition at line 436 of file MCExpr.h.
Referenced by nvptx::LowerConstant(), and lowerConstant().
static const MCBinaryExpr* llvm::MCBinaryExpr::CreateDiv | ( | const MCExpr * | LHS, |
const MCExpr * | RHS, | ||
MCContext & | Ctx | ||
) | [inline, static] |
Definition at line 440 of file MCExpr.h.
Referenced by llvm::ARMAsmPrinter::EmitJump2Table(), nvptx::LowerConstant(), and lowerConstant().
static const MCBinaryExpr* llvm::MCBinaryExpr::CreateEQ | ( | const MCExpr * | LHS, |
const MCExpr * | RHS, | ||
MCContext & | Ctx | ||
) | [inline, static] |
static const MCBinaryExpr* llvm::MCBinaryExpr::CreateGT | ( | const MCExpr * | LHS, |
const MCExpr * | RHS, | ||
MCContext & | Ctx | ||
) | [inline, static] |
static const MCBinaryExpr* llvm::MCBinaryExpr::CreateGTE | ( | const MCExpr * | LHS, |
const MCExpr * | RHS, | ||
MCContext & | Ctx | ||
) | [inline, static] |
static const MCBinaryExpr* llvm::MCBinaryExpr::CreateLAnd | ( | const MCExpr * | LHS, |
const MCExpr * | RHS, | ||
MCContext & | Ctx | ||
) | [inline, static] |
static const MCBinaryExpr* llvm::MCBinaryExpr::CreateLOr | ( | const MCExpr * | LHS, |
const MCExpr * | RHS, | ||
MCContext & | Ctx | ||
) | [inline, static] |
static const MCBinaryExpr* llvm::MCBinaryExpr::CreateLT | ( | const MCExpr * | LHS, |
const MCExpr * | RHS, | ||
MCContext & | Ctx | ||
) | [inline, static] |
static const MCBinaryExpr* llvm::MCBinaryExpr::CreateLTE | ( | const MCExpr * | LHS, |
const MCExpr * | RHS, | ||
MCContext & | Ctx | ||
) | [inline, static] |
static const MCBinaryExpr* llvm::MCBinaryExpr::CreateMod | ( | const MCExpr * | LHS, |
const MCExpr * | RHS, | ||
MCContext & | Ctx | ||
) | [inline, static] |
Definition at line 472 of file MCExpr.h.
Referenced by nvptx::LowerConstant(), and lowerConstant().
static const MCBinaryExpr* llvm::MCBinaryExpr::CreateMul | ( | const MCExpr * | LHS, |
const MCExpr * | RHS, | ||
MCContext & | Ctx | ||
) | [inline, static] |
Definition at line 476 of file MCExpr.h.
Referenced by lowerConstant().
static const MCBinaryExpr* llvm::MCBinaryExpr::CreateNE | ( | const MCExpr * | LHS, |
const MCExpr * | RHS, | ||
MCContext & | Ctx | ||
) | [inline, static] |
static const MCBinaryExpr* llvm::MCBinaryExpr::CreateOr | ( | const MCExpr * | LHS, |
const MCExpr * | RHS, | ||
MCContext & | Ctx | ||
) | [inline, static] |
Definition at line 484 of file MCExpr.h.
Referenced by nvptx::LowerConstant(), and lowerConstant().
static const MCBinaryExpr* llvm::MCBinaryExpr::CreateShl | ( | const MCExpr * | LHS, |
const MCExpr * | RHS, | ||
MCContext & | Ctx | ||
) | [inline, static] |
Definition at line 488 of file MCExpr.h.
Referenced by nvptx::LowerConstant(), and lowerConstant().
static const MCBinaryExpr* llvm::MCBinaryExpr::CreateShr | ( | const MCExpr * | LHS, |
const MCExpr * | RHS, | ||
MCContext & | Ctx | ||
) | [inline, static] |
static const MCBinaryExpr* llvm::MCBinaryExpr::CreateSub | ( | const MCExpr * | LHS, |
const MCExpr * | RHS, | ||
MCContext & | Ctx | ||
) | [inline, static] |
Definition at line 496 of file MCExpr.h.
Referenced by addNegOperand(), createPCXRelExprOp(), llvm::EmitAbsDifference(), llvm::AsmPrinter::EmitFunctionBody(), llvm::ARMAsmPrinter::EmitInstruction(), llvm::X86AsmPrinter::EmitInstruction(), llvm::ARMAsmPrinter::EmitJump2Table(), llvm::ARMAsmPrinter::EmitJumpTable(), llvm::AsmPrinter::EmitJumpTableInfo(), llvm::AsmPrinter::EmitLabelDifference(), llvm::AsmPrinter::EmitLabelOffsetDifference(), llvm::ARMAsmPrinter::EmitMachineConstantPoolValue(), llvm::EmitSymbolRefWithOfs(), llvm::MCAsmInfo::getExprForFDESymbol(), llvm::AArch64MCAsmInfoDarwin::getExprForPersonalitySymbol(), GetSymbolRef(), llvm::AArch64_MachoTargetObjectFile::getTTypeGlobalReference(), llvm::TargetLoweringObjectFile::getTTypeReference(), nvptx::LowerConstant(), lowerConstant(), llvm::AArch64ExternalSymbolizer::tryAddingSymbolicOperand(), and llvm::MCExternalSymbolizer::tryAddingSymbolicOperand().
static const MCBinaryExpr* llvm::MCBinaryExpr::CreateXor | ( | const MCExpr * | LHS, |
const MCExpr * | RHS, | ||
MCContext & | Ctx | ||
) | [inline, static] |
Definition at line 500 of file MCExpr.h.
Referenced by nvptx::LowerConstant(), and lowerConstant().
const MCExpr* llvm::MCBinaryExpr::getLHS | ( | ) | const [inline] |
getLHS - Get the left-hand side expression of the binary operator.
Definition at line 511 of file MCExpr.h.
Referenced by llvm::MCExpr::EvaluateAsRelocatableImpl(), llvm::MCExpr::FindAssociatedSection(), fixELFSymbolsInTLSFixupsImpl(), hasGOTReference(), llvm::MipsMCExpr::isSupportedBinaryExpr(), isUsedIn(), llvm::MCExpr::print(), StartsWithGlobalOffsetTable(), and llvm::MCStreamer::visitUsedExpr().
Opcode llvm::MCBinaryExpr::getOpcode | ( | ) | const [inline] |
getOpcode - Get the kind of this binary expression.
Definition at line 508 of file MCExpr.h.
Referenced by llvm::MCExpr::EvaluateAsRelocatableImpl(), and llvm::MCExpr::print().
const MCExpr* llvm::MCBinaryExpr::getRHS | ( | ) | const [inline] |
getRHS - Get the right-hand side expression of the binary operator.
Definition at line 514 of file MCExpr.h.
Referenced by llvm::MCExpr::EvaluateAsRelocatableImpl(), llvm::MCExpr::FindAssociatedSection(), fixELFSymbolsInTLSFixupsImpl(), hasGOTReference(), llvm::MipsMCExpr::isSupportedBinaryExpr(), isUsedIn(), llvm::MCExpr::print(), StartsWithGlobalOffsetTable(), and llvm::MCStreamer::visitUsedExpr().