LLVM 22.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.
Macros | |
#define | DEBUG_TYPE "nvptx-peephole" |
Functions | |
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 103 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::MachineInstr::getParent(), llvm::MachineOperand::getReg(), MBB, MRI, and TII.
|
static |
Definition at line 69 of file NVPTXPeephole.cpp.
References llvm::NVPTXSubtarget::getRegisterInfo(), if(), isCVTAToLocalCombinationCandidate(), MBB, and MRI.
Referenced by isCVTAToLocalCombinationCandidate().