Lines Matching refs:RLAmt

1546     unsigned RLAmt;  member
1560 : V(V), RLAmt(R), StartIdx(S), EndIdx(E), Repl32(false), Repl32CR(false), in BitGroup()
1571 unsigned RLAmt = std::numeric_limits<unsigned>::max(); member
1592 else if (RLAmt == 0 && Other.RLAmt != 0) in operator <()
1594 else if (RLAmt != 0 && Other.RLAmt == 0) in operator <()
1852 RLAmt.resize(Bits.size()); in computeRotationAmounts()
1857 RLAmt[i] = i - VBI; in computeRotationAmounts()
1859 RLAmt[i] = Bits.size() - (VBI - i); in computeRotationAmounts()
1862 RLAmt[i] = UINT32_MAX; in computeRotationAmounts()
1874 unsigned LastRLAmt = RLAmt[0]; in collectBitGroups()
1879 unsigned ThisRLAmt = RLAmt[i]; in collectBitGroups()
1928 BitGroups[0].RLAmt == BitGroups[BitGroups.size()-1].RLAmt) { in collectBitGroups()
1945 unsigned RLAmtKey = BG.RLAmt + (BG.Repl32 ? 64 : 0); in collectValueRotInfo()
1948 VRI.RLAmt = BG.RLAmt; in collectValueRotInfo()
2012 if (BG.RLAmt == 0) { in assignRepl32BitGroups()
2016 (BG2.RLAmt == 0 || BG2.RLAmt == 32)) in assignRepl32BitGroups()
2025 if (BG.RLAmt >= 32) { in assignRepl32BitGroups()
2026 BG.RLAmt -= 32; in assignRepl32BitGroups()
2033 << BG.V.getNode() << " RLAmt = " << BG.RLAmt << " [" in assignRepl32BitGroups()
2045 if (I->Repl32 && IP->Repl32 && I->V == IP->V && I->RLAmt == IP->RLAmt && in assignRepl32BitGroups()
2049 << I->V.getNode() << " RLAmt = " << I->RLAmt << " [" in assignRepl32BitGroups()
2072 (I->RLAmt % 32) == IP->RLAmt && (I->RLAmt % 32) == IN->RLAmt && in assignRepl32BitGroups()
2077 << " RLAmt = " << I->RLAmt << " [" << I->StartIdx in assignRepl32BitGroups()
2089 IP->Repl32CR = IP->Repl32CR || I->RLAmt >= 32; in assignRepl32BitGroups()
2097 IP->Repl32CR = IP->Repl32CR || IN->Repl32CR || I->RLAmt >= 32; in assignRepl32BitGroups()
2170 if (RLAmt[i] != VRI.RLAmt) in SelectAndParts32()
2179 bool NeedsRotate = VRI.RLAmt != 0; in SelectAndParts32()
2202 << " RL: " << VRI.RLAmt << ":" in SelectAndParts32()
2214 if (VRI.RLAmt) { in SelectAndParts32()
2216 { TruncateToInt32(VRI.V, dl), getI32Imm(VRI.RLAmt, dl), in SelectAndParts32()
2253 return BG.V == VRI.V && BG.RLAmt == VRI.RLAmt; in SelectAndParts32()
2273 if (VRI.RLAmt) { in Select32()
2276 { TruncateToInt32(VRI.V, dl), getI32Imm(VRI.RLAmt, dl), in Select32()
2286 return BG.V == VRI.V && BG.RLAmt == VRI.RLAmt; in Select32()
2296 { TruncateToInt32(BG.V, dl), getI32Imm(BG.RLAmt, dl), in Select32()
2302 { Res, TruncateToInt32(BG.V, dl), getI32Imm(BG.RLAmt, dl), in Select32()
2343 unsigned SelectRotMask64Count(unsigned RLAmt, bool Repl32, in SelectRotMask64Count() argument
2355 InstMaskEnd == 63 - RLAmt) in SelectRotMask64Count()
2363 SDValue SelectRotMask64(SDValue V, const SDLoc &dl, unsigned RLAmt, in SelectRotMask64() argument
2380 { ExtendToInt64(V, dl), getI32Imm(RLAmt, dl), in SelectRotMask64()
2388 { ExtendToInt64(V, dl), getI32Imm(RLAmt, dl), in SelectRotMask64()
2395 { ExtendToInt64(V, dl), getI32Imm(RLAmt, dl), in SelectRotMask64()
2400 if (InstMaskEnd == 63 - RLAmt) { in SelectRotMask64()
2402 { ExtendToInt64(V, dl), getI32Imm(RLAmt, dl), in SelectRotMask64()
2419 unsigned RLAmt1 = (64 + RLAmt - RLAmt2) % 64; in SelectRotMask64()
2428 unsigned RLAmt, bool Repl32, unsigned MaskStart, in SelectRotMaskIns64() argument
2444 { ExtendToInt64(Base, dl), ExtendToInt64(V, dl), getI32Imm(RLAmt, dl), in SelectRotMaskIns64()
2450 if (InstMaskEnd == 63 - RLAmt) { in SelectRotMaskIns64()
2452 { ExtendToInt64(Base, dl), ExtendToInt64(V, dl), getI32Imm(RLAmt, dl), in SelectRotMaskIns64()
2469 unsigned RLAmt1 = (64 + RLAmt - RLAmt2) % 64; in SelectRotMaskIns64()
2500 unsigned EffRLAmt = BG.RLAmt; in SelectAndParts64()
2513 return VRI.RLAmt == EffRLAmt; in SelectAndParts64()
2539 bool NeedsRotate = VRI.RLAmt || (VRI.Repl32 && !isUInt<32>(Mask)); in SelectAndParts64()
2561 SelectRotMask64Count(BG.RLAmt, BG.Repl32, BG.StartIdx, BG.EndIdx, in SelectAndParts64()
2567 << " RL: " << VRI.RLAmt << (VRI.Repl32 ? " (32):" : ":") in SelectAndParts64()
2592 if (VRI.RLAmt || (VRI.Repl32 && !isUInt<32>(Mask))) in SelectAndParts64()
2593 VRot = SelectRotMask64(VRI.V, dl, VRI.RLAmt, VRI.Repl32, in SelectAndParts64()
2673 if (VRI.RLAmt) { in Select64()
2677 if (BG.V != VRI.V || BG.RLAmt != VRI.RLAmt || in Select64()
2692 Res = SelectRotMask64(VRI.V, dl, VRI.RLAmt, VRI.Repl32, in Select64()
2701 return BG.V == VRI.V && BG.RLAmt == VRI.RLAmt && in Select64()
2710 if (SelectRotMask64Count(I->RLAmt, I->Repl32, I->StartIdx, I->EndIdx, in Select64()
2712 SelectRotMask64Count(I->RLAmt, I->Repl32, I->StartIdx, I->EndIdx, in Select64()
2727 Res = SelectRotMask64(BG.V, dl, BG.RLAmt, BG.Repl32, BG.StartIdx, in Select64()
2730 Res = SelectRotMaskIns64(Res, BG.V, dl, BG.RLAmt, BG.Repl32, in Select64()
2818 SmallVector<unsigned, 64> RLAmt; member in __anon010aa3800711::BitPermutationSelector