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;
238 MachineInstr *MoveTo = canJoinInstructions(&Ldst, &Add, &Uses);
243 if (!canFixPastUses(Uses, Add.getOperand(2), B))
261 fixPastUses(Uses, B, Incr);
276 SmallVectorImpl<MachineInstr *> *Uses) {
308 LLVM_DEBUG(dbgs() << "[canJoinInstructions] Store uses result of Add\n");
347 if (Result && Uses)
348 *Uses = (Result == Ldst) ? UsesAfterLdst : UsesAfterAdd;
352 bool ARCOptAddrMode::canFixPastUses(const ArrayRef<MachineInstr *> &Uses,
357 for (MachineInstr *MI : Uses) {
373 void ARCOptAddrMode::fixPastUses(ArrayRef<MachineInstr *> Uses,
376 for (MachineInstr *MI : Uses) {