LLVM API Documentation

Defines | Functions
SystemZInstrInfo.cpp File Reference
#include "SystemZInstrInfo.h"
#include "SystemZInstrBuilder.h"
#include "SystemZTargetMachine.h"
#include "llvm/CodeGen/LiveVariables.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "SystemZGenInstrInfo.inc"
Include dependency graph for SystemZInstrInfo.cpp:

Go to the source code of this file.

Defines

#define GET_INSTRINFO_CTOR_DTOR
#define GET_INSTRMAP_INFO

Functions

static uint64_t allOnes (unsigned int Count)
static bool isHighReg (unsigned int Reg)
static int isSimpleMove (const MachineInstr *MI, int &FrameIndex, unsigned Flag)
static MachineInstrgetDef (unsigned Reg, const MachineRegisterInfo *MRI)
static bool isShift (MachineInstr *MI, int Opcode, int64_t Imm)
static void eraseIfDead (MachineInstr *MI, const MachineRegisterInfo *MRI)
static bool removeIPMBasedCompare (MachineInstr *Compare, unsigned SrcReg, const MachineRegisterInfo *MRI, const TargetRegisterInfo *TRI)
static unsigned getConditionalMove (unsigned Opcode)
static bool isSimpleBD12Move (const MachineInstr *MI, unsigned Flag)
static LogicOp interpretAndImmediate (unsigned Opcode)
static MachineInstrfinishConvertToThreeAddress (MachineInstr *OldMI, MachineInstr *NewMI, LiveVariables *LV)
static bool isStringOfOnes (uint64_t Mask, unsigned &LSB, unsigned &Length)

Define Documentation

Definition at line 22 of file SystemZInstrInfo.cpp.

Definition at line 23 of file SystemZInstrInfo.cpp.


Function Documentation

static uint64_t allOnes ( unsigned int  Count) [static]
static void eraseIfDead ( MachineInstr MI,
const MachineRegisterInfo MRI 
) [static]
static MachineInstr* finishConvertToThreeAddress ( MachineInstr OldMI,
MachineInstr NewMI,
LiveVariables LV 
) [static]
static unsigned getConditionalMove ( unsigned  Opcode) [static]
static MachineInstr* getDef ( unsigned  Reg,
const MachineRegisterInfo MRI 
) [static]
static LogicOp interpretAndImmediate ( unsigned  Opcode) [static]

Definition at line 642 of file SystemZInstrInfo.cpp.

Referenced by llvm::SystemZInstrInfo::convertToThreeAddress().

static bool isHighReg ( unsigned int  Reg) [static]

Definition at line 33 of file SystemZInstrInfo.cpp.

References contains().

Referenced by llvm::SystemZInstrInfo::expandPostRAPseudo().

static bool isShift ( MachineInstr MI,
int  Opcode,
int64_t  Imm 
) [static]
static bool isSimpleBD12Move ( const MachineInstr MI,
unsigned  Flag 
) [static]
static int isSimpleMove ( const MachineInstr MI,
int FrameIndex,
unsigned  Flag 
) [static]
static bool isStringOfOnes ( uint64_t  Mask,
unsigned LSB,
unsigned Length 
) [static]

Definition at line 1167 of file SystemZInstrInfo.cpp.

References llvm::findFirstSet().

Referenced by llvm::SystemZInstrInfo::isRxSBGMask().

static bool removeIPMBasedCompare ( MachineInstr Compare,
unsigned  SrcReg,
const MachineRegisterInfo MRI,
const TargetRegisterInfo TRI 
) [static]