LLVM API Documentation

Namespaces | Enumerations | Functions
ARMAddressingModes.h File Reference
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/APInt.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include <cassert>
Include dependency graph for ARMAddressingModes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


namespace  llvm::ARM_AM
 

ARM_AM - ARM Addressing Mode Stuff.


Enumerations

enum  llvm::ARM_AM::ShiftOpc {
  llvm::ARM_AM::no_shift = 0, llvm::ARM_AM::asr, llvm::ARM_AM::lsl, llvm::ARM_AM::lsr,
  llvm::ARM_AM::ror, llvm::ARM_AM::rrx
}
enum  llvm::ARM_AM::AddrOpc { llvm::ARM_AM::sub = 0, llvm::ARM_AM::add }
enum  llvm::ARM_AM::AMSubMode {
  llvm::ARM_AM::bad_am_submode = 0, llvm::ARM_AM::ia, llvm::ARM_AM::ib, llvm::ARM_AM::da,
  llvm::ARM_AM::db
}

Functions

static const char * llvm::ARM_AM::getAddrOpcStr (AddrOpc Op)
static const char * llvm::ARM_AM::getShiftOpcStr (ShiftOpc Op)
static unsigned llvm::ARM_AM::getShiftOpcEncoding (ShiftOpc Op)
static const char * llvm::ARM_AM::getAMSubModeStr (AMSubMode Mode)
static unsigned llvm::ARM_AM::rotr32 (unsigned Val, unsigned Amt)
static unsigned llvm::ARM_AM::rotl32 (unsigned Val, unsigned Amt)
static unsigned llvm::ARM_AM::getSORegOpc (ShiftOpc ShOp, unsigned Imm)
static unsigned llvm::ARM_AM::getSORegOffset (unsigned Op)
static ShiftOpc llvm::ARM_AM::getSORegShOp (unsigned Op)
static unsigned llvm::ARM_AM::getSOImmValImm (unsigned Imm)
static unsigned llvm::ARM_AM::getSOImmValRot (unsigned Imm)
static unsigned llvm::ARM_AM::getSOImmValRotate (unsigned Imm)
static int llvm::ARM_AM::getSOImmVal (unsigned Arg)
static bool llvm::ARM_AM::isSOImmTwoPartVal (unsigned V)
static unsigned llvm::ARM_AM::getSOImmTwoPartFirst (unsigned V)
static unsigned llvm::ARM_AM::getSOImmTwoPartSecond (unsigned V)
static unsigned llvm::ARM_AM::getThumbImmValShift (unsigned Imm)
static bool llvm::ARM_AM::isThumbImmShiftedVal (unsigned V)
static unsigned llvm::ARM_AM::getThumbImm16ValShift (unsigned Imm)
static bool llvm::ARM_AM::isThumbImm16ShiftedVal (unsigned V)
static unsigned llvm::ARM_AM::getThumbImmNonShiftedVal (unsigned V)
static int llvm::ARM_AM::getT2SOImmValSplatVal (unsigned V)
static int llvm::ARM_AM::getT2SOImmValRotateVal (unsigned V)
static int llvm::ARM_AM::getT2SOImmVal (unsigned Arg)
static unsigned llvm::ARM_AM::getT2SOImmValRotate (unsigned V)
static bool llvm::ARM_AM::isT2SOImmTwoPartVal (unsigned Imm)
static unsigned llvm::ARM_AM::getT2SOImmTwoPartFirst (unsigned Imm)
static unsigned llvm::ARM_AM::getT2SOImmTwoPartSecond (unsigned Imm)
static unsigned llvm::ARM_AM::getAM2Opc (AddrOpc Opc, unsigned Imm12, ShiftOpc SO, unsigned IdxMode=0)
static unsigned llvm::ARM_AM::getAM2Offset (unsigned AM2Opc)
static AddrOpc llvm::ARM_AM::getAM2Op (unsigned AM2Opc)
static ShiftOpc llvm::ARM_AM::getAM2ShiftOpc (unsigned AM2Opc)
static unsigned llvm::ARM_AM::getAM2IdxMode (unsigned AM2Opc)
static unsigned llvm::ARM_AM::getAM3Opc (AddrOpc Opc, unsigned char Offset, unsigned IdxMode=0)
 getAM3Opc - This function encodes the addrmode3 opc field.
static unsigned char llvm::ARM_AM::getAM3Offset (unsigned AM3Opc)
static AddrOpc llvm::ARM_AM::getAM3Op (unsigned AM3Opc)
static unsigned llvm::ARM_AM::getAM3IdxMode (unsigned AM3Opc)
static AMSubMode llvm::ARM_AM::getAM4SubMode (unsigned Mode)
static unsigned llvm::ARM_AM::getAM4ModeImm (AMSubMode SubMode)
static unsigned llvm::ARM_AM::getAM5Opc (AddrOpc Opc, unsigned char Offset)
 getAM5Opc - This function encodes the addrmode5 opc field.
static unsigned char llvm::ARM_AM::getAM5Offset (unsigned AM5Opc)
static AddrOpc llvm::ARM_AM::getAM5Op (unsigned AM5Opc)
static unsigned llvm::ARM_AM::createNEONModImm (unsigned OpCmode, unsigned Val)
static unsigned llvm::ARM_AM::getNEONModImmOpCmode (unsigned ModImm)
static unsigned llvm::ARM_AM::getNEONModImmVal (unsigned ModImm)
static uint64_t llvm::ARM_AM::decodeNEONModImm (unsigned ModImm, unsigned &EltBits)
AMSubMode llvm::ARM_AM::getLoadStoreMultipleSubMode (int Opcode)
static float llvm::ARM_AM::getFPImmFloat (unsigned Imm)
static int llvm::ARM_AM::getFP32Imm (const APInt &Imm)
static int llvm::ARM_AM::getFP32Imm (const APFloat &FPImm)
static int llvm::ARM_AM::getFP64Imm (const APInt &Imm)
static int llvm::ARM_AM::getFP64Imm (const APFloat &FPImm)