|
LLVM
4.0.0
|
#include "SystemZInstrInfo.h"#include "SystemZInstrBuilder.h"#include "SystemZTargetMachine.h"#include "llvm/CodeGen/LiveVariables.h"#include "llvm/CodeGen/LiveIntervalAnalysis.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "SystemZGenInstrInfo.inc"Go to the source code of this file.
Macros | |
| #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 MachineInstr * | getDef (unsigned Reg, const MachineRegisterInfo *MRI) |
| static bool | isShift (MachineInstr *MI, unsigned 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 bool | isSimpleBD12Move (const MachineInstr *MI, unsigned Flag) |
| static LogicOp | interpretAndImmediate (unsigned Opcode) |
| static void | transferDeadCC (MachineInstr *OldMI, MachineInstr *NewMI) |
| static MachineInstr * | finishConvertToThreeAddress (MachineInstr *OldMI, MachineInstr *NewMI, LiveVariables *LV) |
| static bool | isStringOfOnes (uint64_t Mask, unsigned &LSB, unsigned &Length) |
| #define GET_INSTRINFO_CTOR_DTOR |
Definition at line 23 of file SystemZInstrInfo.cpp.
| #define GET_INSTRMAP_INFO |
Definition at line 24 of file SystemZInstrInfo.cpp.
|
static |
Definition at line 28 of file SystemZInstrInfo.cpp.
Referenced by llvm::SystemZInstrInfo::convertToThreeAddress(), llvm::SystemZInstrInfo::isRxSBGMask(), and llvm::APInt::magicu().
|
static |
Definition at line 531 of file SystemZInstrInfo.cpp.
References llvm::MachineInstr::eraseFromParent(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), and llvm::MachineRegisterInfo::use_nodbg_empty().
Referenced by removeIPMBasedCompare().
|
static |
Definition at line 927 of file SystemZInstrInfo.cpp.
References llvm::MachineInstr::getNumOperands(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), I, llvm::MachineOperand::isKill(), llvm::MachineOperand::isReg(), llvm::LiveVariables::replaceKillInstruction(), and transferDeadCC().
Referenced by llvm::SystemZInstrInfo::convertToThreeAddress().
|
static |
Definition at line 516 of file SystemZInstrInfo.cpp.
References llvm::MachineRegisterInfo::getUniqueVRegDef(), and llvm::TargetRegisterInfo::isPhysicalRegister().
Referenced by llvm::UnOpInit::Fold(), and removeIPMBasedCompare().
|
static |
Definition at line 902 of file SystemZInstrInfo.cpp.
Referenced by llvm::SystemZInstrInfo::convertToThreeAddress().
Definition at line 34 of file SystemZInstrInfo.cpp.
References assert(), and contains().
Referenced by llvm::SystemZInstrInfo::expandPostRAPseudo().
|
static |
Definition at line 524 of file SystemZInstrInfo.cpp.
References llvm::MachineOperand::getImm(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), and llvm::MachineOperand::getReg().
Referenced by removeIPMBasedCompare().
|
static |
Definition at line 883 of file SystemZInstrInfo.cpp.
References llvm::MachineInstr::getDesc(), llvm::MachineOperand::getImm(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), and llvm::MCInstrDesc::TSFlags.
Referenced by llvm::SystemZInstrInfo::foldMemoryOperandImpl().
|
static |
Definition at line 291 of file SystemZInstrInfo.cpp.
References llvm::MachineInstr::getDesc(), llvm::MachineOperand::getImm(), llvm::MachineOperand::getIndex(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::MachineOperand::isFI(), and llvm::MCInstrDesc::TSFlags.
Referenced by llvm::SystemZInstrInfo::isLoadFromStackSlot(), and llvm::SystemZInstrInfo::isStoreToStackSlot().
Definition at line 1526 of file SystemZInstrInfo.cpp.
References llvm::findFirstSet().
Referenced by llvm::SystemZInstrInfo::isRxSBGMask().
|
static |
Definition at line 540 of file SystemZInstrInfo.cpp.
References llvm::MachineInstr::eraseFromParent(), eraseIfDead(), getDef(), llvm::ilist_node_impl< OptionsT >::getIterator(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineInstr::getParent(), llvm::MachineOperand::getReg(), llvm::SystemZISD::IPM, llvm::SystemZ::IPM_CC, isShift(), llvm::MachineInstr::modifiesRegister(), MRI, and llvm::ISD::SRL.
Referenced by llvm::SystemZInstrInfo::optimizeCompareInstr().
|
static |
Definition at line 917 of file SystemZInstrInfo.cpp.
References llvm::MachineInstr::findRegisterDefOperand(), llvm::MachineInstr::registerDefIsDead(), and llvm::MachineOperand::setIsDead().
Referenced by finishConvertToThreeAddress(), and llvm::SystemZInstrInfo::foldMemoryOperandImpl().
1.8.6