LLVM 20.0.0git
|
#include "NVPTX.h"
#include "NVPTXRegisterInfo.h"
#include "NVPTXSubtarget.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 | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
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 45 of file NVPTXPeephole.cpp.
|
static |
Definition at line 109 of file NVPTXPeephole.cpp.
References llvm::MachineInstrBuilder::add(), llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), llvm::MachineInstr::eraseFromParent(), llvm::MachineInstr::getDebugLoc(), llvm::NVPTXRegisterInfo::getFrameLocalRegister(), llvm::MachineInstr::getOperand(), llvm::MachineBasicBlock::getParent(), llvm::MachineInstr::getParent(), llvm::MachineOperand::getReg(), llvm::MachineBasicBlock::insert(), MBB, MRI, and TII.
|
static |
Definition at line 75 of file NVPTXPeephole.cpp.
References llvm::NVPTXRegisterInfo::getFrameRegister(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineBasicBlock::getParent(), llvm::MachineInstr::getParent(), MBB, and MRI.