reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/SelectionDAG/TargetLowering.cpp
 2091   assert(VT.getVectorNumElements() == NumElts &&
 2094   KnownUndef = KnownZero = APInt::getNullValue(NumElts);
 2125     KnownUndef.setHighBits(NumElts - 1);
 2139     if (NumSrcElts == NumElts)
 2148     if ((NumElts % NumSrcElts) == 0) {
 2149       unsigned Scale = NumElts / NumSrcElts;
 2150       for (unsigned i = 0; i != NumElts; ++i)
 2164         for (unsigned i = 0; i != NumElts; ++i)
 2190     if ((NumSrcElts % NumElts) == 0) {
 2191       unsigned Scale = NumSrcElts / NumElts;
 2192       for (unsigned i = 0; i != NumElts; ++i)
 2202       for (unsigned i = 0; i != NumElts; ++i) {
 2221         for (unsigned i = 0; i != NumElts; ++i) {
 2232     for (unsigned i = 0; i != NumElts; ++i) {
 2267     if (Idx.ugt(NumElts - NumSubElts))
 2297     if (SubIdx && SubIdx->getAPIntValue().ule(NumSrcElts - NumElts)) {
 2305       KnownUndef = SrcUndef.extractBits(NumElts, Idx);
 2306       KnownZero = SrcZero.extractBits(NumElts, Idx);
 2317     if (CIdx && CIdx->getAPIntValue().ult(NumElts)) {
 2377     APInt DemandedLHS(NumElts, 0);
 2378     APInt DemandedRHS(NumElts, 0);
 2379     for (unsigned i = 0; i != NumElts; ++i) {
 2383       assert(0 <= M && M < (int)(2 * NumElts) && "Shuffle index out of range");
 2384       if (M < (int)NumElts)
 2387         DemandedRHS.setBit(M - NumElts);
 2404     for (unsigned i = 0; i != NumElts; ++i) {
 2408       if (!DemandedElts[i] || (M < (int)NumElts && UndefLHS[M]) ||
 2409           (M >= (int)NumElts && UndefRHS[M - NumElts])) {
 2409           (M >= (int)NumElts && UndefRHS[M - NumElts])) {
 2414       IdentityRHS &= (M < 0) || ((M - NumElts) == i);
 2428     for (unsigned i = 0; i != NumElts; ++i) {
 2432       } else if (M < (int)NumElts) {
 2438         if (UndefRHS[M - NumElts])
 2440         if (ZeroRHS[M - NumElts])
 2456     KnownZero = SrcZero.zextOrTrunc(NumElts);
 2457     KnownUndef = SrcUndef.zextOrTrunc(NumElts);