Home | History | Annotate | Download | only in NVPTX

Lines Matching refs:NVPTX

1 //===-- NVPTXPeephole.cpp - NVPTX Peephole Optimiztions -------------------===//
10 // In NVPTX, NVPTXFrameLowering will emit following instruction at the beginning
35 #include "NVPTX.h"
44 #define DEBUG_TYPE "nvptx-peephole"
61 return "NVPTX optimize redundant cvta.to.local instruction";
72 INITIALIZE_PASS(NVPTXPeephole, "nvptx-peephole", "NVPTX Peephole", false, false)
78 if (Root.getOpcode() != NVPTX::cvta_to_local_yes_64 &&
79 Root.getOpcode() != NVPTX::cvta_to_local_yes)
91 (GenericAddrDef->getOpcode() != NVPTX::LEA_ADDRi64 &&
92 GenericAddrDef->getOpcode() != NVPTX::LEA_ADDRi)) {
98 if (BaseAddrOp.isReg() && BaseAddrOp.getReg() == NVPTX::VRFrame) {
115 .addReg(NVPTX::VRFrameLocal)
148 if (MRI.use_empty(NVPTX::VRFrame)) {
149 if (auto MI = MRI.getUniqueVRegDef(NVPTX::VRFrame)) {