Lines Matching refs:Ops
380 ArrayRef<unsigned> Ops) const { in canFoldMemoryOperand()
381 return MI->isCopy() && Ops.size() == 1 && canFoldCopy(MI, Ops[0]); in canFoldMemoryOperand()
385 ArrayRef<unsigned> Ops, int FrameIndex, in foldPatchpoint() argument
404 for (unsigned Op : Ops) { in foldPatchpoint()
419 if (std::find(Ops.begin(), Ops.end(), i) != Ops.end()) { in foldPatchpoint()
447 ArrayRef<unsigned> Ops, in foldMemoryOperand() argument
450 for (unsigned i = 0, e = Ops.size(); i != e; ++i) in foldMemoryOperand()
451 if (MI->getOperand(Ops[i]).isDef()) in foldMemoryOperand()
465 NewMI = foldPatchpoint(MF, MI, Ops, FI, *this); in foldMemoryOperand()
468 NewMI =foldMemoryOperandImpl(MF, MI, Ops, FI); in foldMemoryOperand()
493 if (!MI->isCopy() || Ops.size() != 1) in foldMemoryOperand()
496 const TargetRegisterClass *RC = canFoldCopy(MI, Ops[0]); in foldMemoryOperand()
500 const MachineOperand &MO = MI->getOperand(1-Ops[0]); in foldMemoryOperand()
515 ArrayRef<unsigned> Ops, in foldMemoryOperand() argument
519 for (unsigned i = 0, e = Ops.size(); i != e; ++i) in foldMemoryOperand()
520 assert(MI->getOperand(Ops[i]).isUse() && "Folding load into def!"); in foldMemoryOperand()
533 NewMI = foldPatchpoint(MF, MI, Ops, FrameIndex, *this); in foldMemoryOperand()
536 NewMI = foldMemoryOperandImpl(MF, MI, Ops, LoadMI); in foldMemoryOperand()