LLVM
8.0.1
|
#include "NVPTX.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
Go to the source code of this file.
Namespaces | |
llvm | |
This class represents lattice values for constants. | |
Macros | |
#define | DEBUG_TYPE "nvptx-peephole" |
Functions | |
void | llvm::initializeNVPTXPeepholePass (PassRegistry &) |
static bool | isCVTAToLocalCombinationCandidate (MachineInstr &Root) |
static void | CombineCVTAToLocal (MachineInstr &Root) |
#define DEBUG_TYPE "nvptx-peephole" |
Definition at line 44 of file NVPTXPeephole.cpp.
|
static |
Definition at line 105 of file NVPTXPeephole.cpp.
References llvm::MachineInstrBuilder::add(), llvm::BuildMI(), llvm::MCInstrInfo::get(), llvm::MachineInstr::getDebugLoc(), llvm::MachineFunction::getFunction(), llvm::MachineInstr::getOperand(), llvm::MachineBasicBlock::getParent(), llvm::MachineInstr::getParent(), llvm::MachineOperand::getReg(), isCVTAToLocalCombinationCandidate(), MI, MRI, and TII.
|
static |
Definition at line 74 of file NVPTXPeephole.cpp.
References llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineInstr::getParent(), llvm::TargetRegisterInfo::isVirtualRegister(), and MRI.
Referenced by CombineCVTAToLocal().