reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2361 if (isInlineConstant(UseMI, *Src0, *ImmOp)) 2373 if (Src0->isReg() && Src0->getReg() == Reg) { 2373 if (Src0->isReg() && Src0->getReg() == Reg) { 2401 Src0->setReg(Src1Reg); 2402 Src0->setSubReg(Src1SubReg); 2403 Src0->setIsKill(Src1->isKill()); 2429 if (Src0->isReg()) { 2433 MachineInstr *Def = MRI->getUniqueVRegDef(Src0->getReg()); 2436 MRI->hasOneUse(Src0->getReg())) { 2437 Src0->ChangeToImmediate(Def->getOperand(1).getImm()); 2439 } else if ((Register::isPhysicalRegister(Src0->getReg()) && 2441 RI.isSGPRClass(RI.getPhysRegClass(Src0->getReg())))) || 2442 (Register::isVirtualRegister(Src0->getReg()) && 2444 RI.isSGPRClass(MRI->getRegClass(Src0->getReg()))))) 2456 Src0->ChangeToImmediate(Def->getOperand(1).getImm());