Lines Matching full:uses
93 // If \p Uses is not null, fill it with instructions after \p Ldst which use
96 SmallVectorImpl<MachineInstr *> *Uses);
98 // Returns true if all instruction in \p Uses array can be adjusted
100 bool canFixPastUses(const ArrayRef<MachineInstr *> &Uses,
103 // Update all instructions in \p Uses to accomodate increment
105 void fixPastUses(ArrayRef<MachineInstr *> Uses, unsigned BaseReg,
149 // Return true if \p MI dominates of uses of virtual register \p VReg
237 SmallVector<MachineInstr *, 8> Uses; in tryToCombine() local
238 MachineInstr *MoveTo = canJoinInstructions(&Ldst, &Add, &Uses); in tryToCombine()
243 if (!canFixPastUses(Uses, Add.getOperand(2), B)) in tryToCombine()
261 fixPastUses(Uses, B, Incr); in tryToCombine()
276 SmallVectorImpl<MachineInstr *> *Uses) { in canJoinInstructions() argument
308 LLVM_DEBUG(dbgs() << "[canJoinInstructions] Store uses result of Add\n"); in canJoinInstructions()
347 if (Result && Uses) in canJoinInstructions()
348 *Uses = (Result == Ldst) ? UsesAfterLdst : UsesAfterAdd; in canJoinInstructions()
352 bool ARCOptAddrMode::canFixPastUses(const ArrayRef<MachineInstr *> &Uses, in canFixPastUses() argument
357 for (MachineInstr *MI : Uses) { in canFixPastUses()
373 void ARCOptAddrMode::fixPastUses(ArrayRef<MachineInstr *> Uses, in fixPastUses() argument
376 for (MachineInstr *MI : Uses) { in fixPastUses()