Lines Matching defs:Reg
38 /// Target machine description which we query for reg. names, data
72 unsigned Reg);
216 unsigned Reg = MO.getReg();
219 //check whether Reg is defined or used before delay slot.
220 if (IsRegInSet(RegDefs, Reg) || IsRegInSet(RegUses, Reg))
224 //check whether Reg is defined before delay slot.
225 if (IsRegInSet(RegDefs, Reg))
243 const MachineOperand &Reg = MI->getOperand(0);
244 assert(Reg.isReg() && "JMPL first operand is not a register.");
245 assert(Reg.isUse() && "JMPL first operand is not a use.");
246 RegUses.insert(Reg.getReg());
268 unsigned Reg = MO.getReg();
269 if (Reg == 0)
272 RegDefs.insert(Reg);
274 RegUses.insert(Reg);
279 //returns true if the Reg or its alias is in the RegSet.
280 bool Filler::IsRegInSet(SmallSet<unsigned, 32>& RegSet, unsigned Reg)
282 if (RegSet.count(Reg))
285 for (const unsigned *Alias = TM.getRegisterInfo()->getAliasSet(Reg);