Lines Matching defs:BaseReg
830 Value *BaseReg;
832 ExtAddrMode() : BaseReg(0), ScaledReg(0) {}
837 return (BaseReg == O.BaseReg) && (ScaledReg == O.ScaledReg) &&
861 if (BaseReg) {
864 WriteAsOperand(OS, BaseReg, /*PrintType=*/false);
1148 AddrMode.BaseReg = AddrInst->getOperand(0);
1161 AddrMode.BaseReg = AddrInst->getOperand(0);
1229 AddrMode.BaseReg = Addr;
1234 AddrMode.BaseReg = 0;
1382 // BaseReg and ScaleReg (global addresses are always available, as are any
1384 Value *BaseReg = AMAfter.BaseReg, *ScaledReg = AMAfter.ScaledReg;
1386 // If the BaseReg or ScaledReg was referenced by the previous addrmode, their
1388 if (ValueAlreadyLiveAtInst(BaseReg, AMBefore.BaseReg, AMBefore.ScaledReg))
1389 BaseReg = 0;
1390 if (ValueAlreadyLiveAtInst(ScaledReg, AMBefore.BaseReg, AMBefore.ScaledReg))
1395 if (BaseReg == 0 && ScaledReg == 0)
1586 if (AddrMode.BaseReg) {
1587 Value *V = AddrMode.BaseReg;