Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:Demanded

26 /// are any bits set in the constant that are not demanded.  If so, shrink the
29 APInt Demanded) {
37 // If there are no bits set that aren't demanded, nothing to do.
38 Demanded = Demanded.zextOrTrunc(OpC->getValue().getBitWidth());
39 if ((~Demanded & OpC->getValue()) == 0)
42 // This instruction is producing bits that are not demanded. Shrink the RHS.
43 Demanded &= OpC->getValue();
44 I->setOperand(OpNo, ConstantInt::get(OpC->getType(), Demanded));
81 /// value based on the demanded bits. When this function is called, it is known
98 /// operands based on the information about what bits are demanded. This returns
100 /// in the context where the specified bits are demanded, but not for all users.
152 // only reflects the bits demanded by *one* of the users.
163 // If all of the demanded bits are known 1 on one side, return the other.
173 // If all of the demanded bits in the inputs are known zeros, return zero.
179 // only bits from X or Y are demanded.
185 // If all of the demanded bits are known zero on one side, return the
205 // only bits from X or Y are demanded.
210 // If all of the demanded bits are known zero on one side, return the
244 // If all of the demanded bits are known 1 on one side, return the other.
253 // If all of the demanded bits in the inputs are known zeros, return zero.
276 // If all of the demanded bits are known zero on one side, return the other.
312 // If all of the demanded bits are known zero on one side, return the other.
319 // If all of the demanded bits are known to be zero on one side or the
329 // If all of the demanded bits on one side are known, and all of the set
458 // If any of the sign extended bits are demanded, we know that the sign
459 // bit is demanded.
477 // If the input sign bit is known zero, or if the NewBits are not demanded
490 // are not demanded, then the add doesn't demand them from its input
502 // If the top bit of the output is demanded, demand everything from the
551 // If the high-bits of this ADD are not demanded, then it does not demand
567 // If the high-bits of this SUB are not demanded, then it does not demand
667 // If the sign bit is the only bit demanded by this ashr, then there is no
677 // If any of the "high bits" are demanded, we should set the sign bit as
678 // demanded.
702 // are demanded, turn this into an unsigned shift right.
723 if (DemandedMask.ult(RA)) // srem won't affect demanded bits
780 // If the only bits demanded come from one byte of the bswap result,
909 /// If the information about demanded elements can be used to simplify the
925 if (DemandedElts == 0) { // If nothing is demanded, provide undef.
944 if (!DemandedElts[i]) { // If not demanded, set to undef.
1007 // If this is inserting an element that isn't demanded, remove this
1016 // input demanded set is simpler than the output set.
1125 // elements as are demanded of us.
1230 // If only the low elt is demanded and this is a scalarizable intrinsic,