/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 153 KnownBits LHSKnown(BitWidth), RHSKnown(BitWidth); in SimplifyDemandedUseBits() local 168 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) || in SimplifyDemandedUseBits() 169 SimplifyDemandedBits(I, 0, DemandedMask & ~RHSKnown.Zero, LHSKnown, in SimplifyDemandedUseBits() 172 assert(!RHSKnown.hasConflict() && "Bits known to be one AND zero?"); in SimplifyDemandedUseBits() 176 APInt IKnownZero = RHSKnown.Zero | LHSKnown.Zero; in SimplifyDemandedUseBits() 178 APInt IKnownOne = RHSKnown.One & LHSKnown.One; in SimplifyDemandedUseBits() 187 if (DemandedMask.isSubsetOf(LHSKnown.Zero | RHSKnown.One)) in SimplifyDemandedUseBits() 189 if (DemandedMask.isSubsetOf(RHSKnown.Zero | LHSKnown.One)) in SimplifyDemandedUseBits() 202 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) || in SimplifyDemandedUseBits() 203 SimplifyDemandedBits(I, 0, DemandedMask & ~RHSKnown.One, LHSKnown, in SimplifyDemandedUseBits() [all …]
|
D | InstCombineAddSub.cpp | 1703 KnownBits RHSKnown = computeKnownBits(Op1, 0, &I); in visitSub() local 1704 if ((*Op0C | RHSKnown.Zero).isAllOnesValue()) in visitSub()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 203 KnownBits RHSKnown(IT->getBitWidth()); in haveNoCommonBitsSet() local 205 computeKnownBits(RHS, RHSKnown, DL, 0, AC, CxtI, DT); in haveNoCommonBitsSet() 206 return (LHSKnown.Zero | RHSKnown.Zero).isAllOnesValue(); in haveNoCommonBitsSet() 621 KnownBits RHSKnown(BitWidth); in computeKnownBitsFromAssume() local 622 computeKnownBits(A, RHSKnown, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume() 623 Known.Zero |= RHSKnown.Zero; in computeKnownBitsFromAssume() 624 Known.One |= RHSKnown.One; in computeKnownBitsFromAssume() 630 KnownBits RHSKnown(BitWidth); in computeKnownBitsFromAssume() local 631 computeKnownBits(A, RHSKnown, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume() 637 Known.Zero |= RHSKnown.Zero & MaskKnown.One; in computeKnownBitsFromAssume() [all …]
|
D | InstructionSimplify.cpp | 2755 KnownBits RHSKnown = computeKnownBits(RHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithBinOp() local 2757 if (RHSKnown.isNonNegative() && YKnown.isNegative()) in simplifyICmpWithBinOp() 2759 if (RHSKnown.isNegative() || YKnown.isNonNegative()) in simplifyICmpWithBinOp()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 4213 KnownBits LHSKnown, RHSKnown; in computeKnownBitsForTargetNode() local 4215 DAG.computeKnownBits(Op.getOperand(1), RHSKnown, Depth + 1); in computeKnownBitsForTargetNode() 4218 RHSKnown.countMinTrailingZeros(); in computeKnownBitsForTargetNode() 4222 unsigned RHSValBits = 32 - std::max(RHSKnown.countMinSignBits(), 8u); in computeKnownBitsForTargetNode() 4230 bool RHSNegative = !!(RHSKnown.One & (1 << 23)); in computeKnownBitsForTargetNode() 4231 bool RHSPositive = !!(RHSKnown.Zero & (1 << 23)); in computeKnownBitsForTargetNode() 4247 KnownBits LHSKnown, RHSKnown; in computeKnownBitsForTargetNode() local 4249 DAG.computeKnownBits(Op.getOperand(1), RHSKnown, Depth + 1); in computeKnownBitsForTargetNode() 4256 Known.One |= ((RHSKnown.One.getZExtValue() >> SelBits) & 0xff) << I; in computeKnownBitsForTargetNode() 4257 Known.Zero |= ((RHSKnown.Zero.getZExtValue() >> SelBits) & 0xff) << I; in computeKnownBitsForTargetNode()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 288 APInt RHSKnown = KnownZero2 | KnownOne2; in computeKnownBitsAddSub() local 290 APInt Known = LHSKnown & RHSKnown & CarryKnown; in computeKnownBitsAddSub()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 5795 KnownBits LHSKnown(SrcBitWidth), RHSKnown(SrcBitWidth); in computeKnownBitsBinOp() local 5797 DAG.computeKnownBits(Op.getOperand(OpNo + 1), RHSKnown, Src1DemE, Depth + 1); in computeKnownBitsBinOp() 5798 Known.Zero = LHSKnown.Zero & RHSKnown.Zero; in computeKnownBitsBinOp() 5799 Known.One = LHSKnown.One & RHSKnown.One; in computeKnownBitsBinOp()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 2217 KnownBits LHSKnown, RHSKnown; in SelectAddressRegReg() local 2221 DAG.computeKnownBits(N.getOperand(1), RHSKnown); in SelectAddressRegReg() 2224 if (~(LHSKnown.Zero | RHSKnown.Zero) == 0) { in SelectAddressRegReg()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 39615 KnownBits RHSKnown; in combinePMULDQ() local 39616 if (TLI.SimplifyDemandedBits(RHS, DemandedMask, RHSKnown, TLO)) { in combinePMULDQ()
|