Lines Matching refs:UseMI

2606 bool ARMBaseInstrInfo::FoldImmediate(MachineInstr *UseMI,  in FoldImmediate()  argument
2630 const MCInstrDesc &UseMCID = UseMI->getDesc(); in FoldImmediate()
2633 if (UseMI->getOperand(NumOps-1).getReg() == ARM::CPSR) in FoldImmediate()
2639 unsigned UseOpc = UseMI->getOpcode(); in FoldImmediate()
2654 Commute = UseMI->getOperand(2).getReg() != Reg; in FoldImmediate()
2706 unsigned Reg1 = UseMI->getOperand(OpIdx).getReg(); in FoldImmediate()
2707 bool isKill = UseMI->getOperand(OpIdx).isKill(); in FoldImmediate()
2709 AddDefaultCC(AddDefaultPred(BuildMI(*UseMI->getParent(), in FoldImmediate()
2710 UseMI, UseMI->getDebugLoc(), in FoldImmediate()
2714 UseMI->setDesc(get(NewUseOpc)); in FoldImmediate()
2715 UseMI->getOperand(1).setReg(NewReg); in FoldImmediate()
2716 UseMI->getOperand(1).setIsKill(); in FoldImmediate()
2717 UseMI->getOperand(2).ChangeToImmediate(SOImmValV2); in FoldImmediate()
3615 const MachineInstr *UseMI, in getOperandLatency() argument
3624 const MCInstrDesc *UseMCID = &UseMI->getDesc(); in getOperandLatency()
3637 if (UseMI->isBundle()) { in getOperandLatency()
3639 const MachineInstr *NewUseMI = getBundledUseMI(&getRegisterInfo(), UseMI, in getOperandLatency()
3644 UseMI = NewUseMI; in getOperandLatency()
3646 UseMCID = &UseMI->getDesc(); in getOperandLatency()
3656 if (UseMI->isBranch()) in getOperandLatency()
3674 if (DefMO.isImplicit() || UseMI->getOperand(UseIdx).isImplicit()) in getOperandLatency()
3679 unsigned UseAlign = UseMI->hasOneMemOperand() in getOperandLatency()
3680 ? (*UseMI->memoperands_begin())->getAlignment() : 0; in getOperandLatency()
4008 const MachineInstr *UseMI, unsigned UseIdx) const { in hasHighOperandLatency() argument
4010 unsigned UDomain = UseMI->getDesc().TSFlags & ARMII::DomainMask; in hasHighOperandLatency()
4017 int Latency = computeOperandLatency(ItinData, DefMI, DefIdx, UseMI, UseIdx); in hasHighOperandLatency()