LLVM 22.0.0git
LanaiAluCode.h File Reference

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::LPAC

Enumerations

enum  llvm::LPAC::AluCode {
  llvm::LPAC::ADD = 0x00 , llvm::LPAC::ADDC = 0x01 , llvm::LPAC::SUB = 0x02 , llvm::LPAC::SUBB = 0x03 ,
  llvm::LPAC::AND = 0x04 , llvm::LPAC::OR = 0x05 , llvm::LPAC::XOR = 0x06 , llvm::LPAC::SPECIAL = 0x07 ,
  llvm::LPAC::SHL = 0x17 , llvm::LPAC::SRL = 0x27 , llvm::LPAC::SRA = 0x37 , llvm::LPAC::UNKNOWN = 0xFF
}

Functions

static unsigned llvm::LPAC::encodeLanaiAluCode (unsigned AluOp)
static unsigned llvm::LPAC::getAluOp (unsigned AluOp)
static bool llvm::LPAC::isPreOp (unsigned AluOp)
static bool llvm::LPAC::isPostOp (unsigned AluOp)
static unsigned llvm::LPAC::makePreOp (unsigned AluOp)
static unsigned llvm::LPAC::makePostOp (unsigned AluOp)
static bool llvm::LPAC::modifiesOp (unsigned AluOp)
static const charllvm::LPAC::lanaiAluCodeToString (unsigned AluOp)
static AluCode llvm::LPAC::stringToLanaiAluCode (StringRef S)

Variables

const int llvm::LPAC::Lanai_PRE_OP = 0x40
const int llvm::LPAC::Lanai_POST_OP = 0x80