reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
225 if (!Cmp || !(Cmp->getOpcode() == AMDGPU::V_CMP_NE_U32_e32 || 225 if (!Cmp || !(Cmp->getOpcode() == AMDGPU::V_CMP_NE_U32_e32 || 226 Cmp->getOpcode() == AMDGPU::V_CMP_NE_U32_e64) || 227 Cmp->getParent() != And->getParent()) 230 MachineOperand *Op1 = TII->getNamedOperand(*Cmp, AMDGPU::OpName::src0); 231 MachineOperand *Op2 = TII->getNamedOperand(*Cmp, AMDGPU::OpName::src1); 238 auto *Sel = TRI->findReachingDef(SelReg, Op1->getSubReg(), *Cmp, MRI, LIS); 253 LLVM_DEBUG(dbgs() << "Folding sequence:\n\t" << *Sel << '\t' << *Cmp << '\t' 272 std::none_of(std::next(Cmp->getIterator()), Andn2->getIterator(), 276 LLVM_DEBUG(dbgs() << "Erasing: " << *Cmp << '\n'); 278 LIS->RemoveMachineInstrFromMaps(*Cmp); 279 Cmp->eraseFromParent();