Lines Matching refs:LocalAccum
3909 [&](Register &LocalAccum, const Carry &CarryIn) -> Register { in buildMultiply() argument
3916 if (!LocalAccum) { in buildMultiply()
3917 LocalAccum = B.buildZExt(S32, CarryIn[0]).getReg(0); in buildMultiply()
3930 if (!LocalAccum) { in buildMultiply()
3931 LocalAccum = getZero32(); in buildMultiply()
3937 B.buildUAdde(S32, S1, CarryAccum, LocalAccum, CarryIn.back()); in buildMultiply()
3938 LocalAccum = Add.getReg(0); in buildMultiply()
3953 [&](MutableArrayRef<Register> LocalAccum, unsigned DstIndex, Carry &CarryIn) in buildMultiply()
3955 assert((DstIndex + 1 < Accum.size() && LocalAccum.size() == 2) || in buildMultiply()
3956 (DstIndex + 1 >= Accum.size() && LocalAccum.size() == 1)); in buildMultiply()
3963 if (LocalAccum.size() == 1 && in buildMultiply()
3973 if (!LocalAccum[0] || KB.getKnownBits(LocalAccum[0]).isZero()) { in buildMultiply()
3974 LocalAccum[0] = Mul.getReg(0); in buildMultiply()
3977 LocalAccum[0] = B.buildAdd(S32, LocalAccum[0], Mul).getReg(0); in buildMultiply()
3979 LocalAccum[0] = in buildMultiply()
3980 B.buildUAdde(S32, S1, LocalAccum[0], Mul, CarryIn.back()) in buildMultiply()
3994 if (LocalAccum[0]) { in buildMultiply()
3995 if (LocalAccum.size() == 1) { in buildMultiply()
3996 Tmp = B.buildAnyExt(S64, LocalAccum[0]).getReg(0); in buildMultiply()
3998 } else if (LocalAccum[1]) { in buildMultiply()
3999 Tmp = B.buildMergeLikeInstr(S64, LocalAccum).getReg(0); in buildMultiply()
4002 Tmp = B.buildZExt(S64, LocalAccum[0]).getReg(0); in buildMultiply()
4006 assert(LocalAccum.size() == 1 || !LocalAccum[1]); in buildMultiply()
4028 LocalAccum[0] = Unmerge.getReg(0); in buildMultiply()
4029 if (LocalAccum.size() > 1) in buildMultiply()
4030 LocalAccum[1] = Unmerge.getReg(1); in buildMultiply()
4065 auto LocalAccum = Accum.drop_front(2 * i).take_front(2); in buildMultiply() local
4066 EvenCarry = buildMadChain(LocalAccum, 2 * i, EvenCarryIn); in buildMultiply()
4072 auto LocalAccum = Accum.drop_front(2 * i - 1).take_front(2); in buildMultiply() local
4073 OddCarry = buildMadChain(LocalAccum, 2 * i - 1, OddCarryIn); in buildMultiply()
4077 auto LocalAccum = MutableArrayRef(SeparateOddOut) in buildMultiply() local
4079 OddCarry = buildMadChain(LocalAccum, 2 * i - 1, OddCarryIn); in buildMultiply()