/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 154 KnownBits LHSKnown(BitWidth), RHSKnown(BitWidth); in SimplifyDemandedUseBits() local 169 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) || in SimplifyDemandedUseBits() 170 SimplifyDemandedBits(I, 0, DemandedMask & ~RHSKnown.Zero, LHSKnown, in SimplifyDemandedUseBits() 173 assert(!RHSKnown.hasConflict() && "Bits known to be one AND zero?"); in SimplifyDemandedUseBits() 177 APInt IKnownZero = RHSKnown.Zero | LHSKnown.Zero; in SimplifyDemandedUseBits() 179 APInt IKnownOne = RHSKnown.One & LHSKnown.One; in SimplifyDemandedUseBits() 188 if (DemandedMask.isSubsetOf(LHSKnown.Zero | RHSKnown.One)) in SimplifyDemandedUseBits() 190 if (DemandedMask.isSubsetOf(RHSKnown.Zero | LHSKnown.One)) in SimplifyDemandedUseBits() 203 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) || in SimplifyDemandedUseBits() 204 SimplifyDemandedBits(I, 0, DemandedMask & ~RHSKnown.One, LHSKnown, in SimplifyDemandedUseBits() [all …]
|
D | InstCombineAddSub.cpp | 1832 KnownBits RHSKnown = computeKnownBits(Op1, 0, &I); in visitSub() local 1833 if ((*Op0C | RHSKnown.Zero).isAllOnesValue()) in visitSub()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 209 KnownBits RHSKnown(IT->getBitWidth()); in haveNoCommonBitsSet() local 211 computeKnownBits(RHS, RHSKnown, DL, 0, AC, CxtI, DT, nullptr, UseInstrInfo); in haveNoCommonBitsSet() 212 return (LHSKnown.Zero | RHSKnown.Zero).isAllOnesValue(); in haveNoCommonBitsSet() 708 KnownBits RHSKnown(BitWidth); in computeKnownBitsFromAssume() local 709 computeKnownBits(A, RHSKnown, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume() 710 Known.Zero |= RHSKnown.Zero; in computeKnownBitsFromAssume() 711 Known.One |= RHSKnown.One; in computeKnownBitsFromAssume() 716 KnownBits RHSKnown(BitWidth); in computeKnownBitsFromAssume() local 717 computeKnownBits(A, RHSKnown, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume() 723 Known.Zero |= RHSKnown.Zero & MaskKnown.One; in computeKnownBitsFromAssume() [all …]
|
D | InstructionSimplify.cpp | 2790 KnownBits RHSKnown = computeKnownBits(RHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithBinOp() local 2792 if (RHSKnown.isNonNegative() && YKnown.isNegative()) in simplifyICmpWithBinOp() 2794 if (RHSKnown.isNegative() || YKnown.isNonNegative()) in simplifyICmpWithBinOp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | GISelKnownBits.cpp | 311 KnownBits RHSKnown; in computeKnownBitsImpl() local 312 computeKnownBitsImpl(MI.getOperand(2).getReg(), RHSKnown, DemandedElts, in computeKnownBitsImpl() 314 if (!RHSKnown.isConstant()) { in computeKnownBitsImpl() 320 uint64_t Shift = RHSKnown.getConstant().getZExtValue(); in computeKnownBitsImpl()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 4465 KnownBits RHSKnown = DAG.computeKnownBits(Op.getOperand(1), Depth + 1); in computeKnownBitsForTargetNode() local 4467 RHSKnown.countMinTrailingZeros(); in computeKnownBitsForTargetNode() 4475 RHSKnown = RHSKnown.trunc(24); in computeKnownBitsForTargetNode() 4479 unsigned RHSValBits = 24 - RHSKnown.countMinSignBits(); in computeKnownBitsForTargetNode() 4486 bool RHSNegative = RHSKnown.isNegative(); in computeKnownBitsForTargetNode() 4487 bool RHSNonNegative = RHSKnown.isNonNegative(); in computeKnownBitsForTargetNode() 4488 bool RHSPositive = RHSKnown.isStrictlyPositive(); in computeKnownBitsForTargetNode() 4496 unsigned RHSValBits = 24 - RHSKnown.countMinLeadingZeros(); in computeKnownBitsForTargetNode() 4510 KnownBits RHSKnown = DAG.computeKnownBits(Op.getOperand(1), Depth + 1); in computeKnownBitsForTargetNode() local 4517 Known.One |= ((RHSKnown.One.getZExtValue() >> SelBits) & 0xff) << I; in computeKnownBitsForTargetNode() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 626 KnownBits LHSKnown, RHSKnown; in SimplifyMultipleUseDemandedBits() local 686 RHSKnown = DAG.computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in SimplifyMultipleUseDemandedBits() 691 if (DemandedBits.isSubsetOf(LHSKnown.Zero | RHSKnown.One)) in SimplifyMultipleUseDemandedBits() 693 if (DemandedBits.isSubsetOf(RHSKnown.Zero | LHSKnown.One)) in SimplifyMultipleUseDemandedBits() 699 RHSKnown = DAG.computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in SimplifyMultipleUseDemandedBits() 704 if (DemandedBits.isSubsetOf(LHSKnown.One | RHSKnown.Zero)) in SimplifyMultipleUseDemandedBits() 706 if (DemandedBits.isSubsetOf(RHSKnown.One | LHSKnown.Zero)) in SimplifyMultipleUseDemandedBits() 712 RHSKnown = DAG.computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in SimplifyMultipleUseDemandedBits() 716 if (DemandedBits.isSubsetOf(RHSKnown.Zero)) in SimplifyMultipleUseDemandedBits()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 6514 KnownBits RHSKnown = in computeKnownBitsBinOp() local 6516 Known.Zero = LHSKnown.Zero & RHSKnown.Zero; in computeKnownBitsBinOp() 6517 Known.One = LHSKnown.One & RHSKnown.One; in computeKnownBitsBinOp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 2352 KnownBits RHSKnown = DAG.computeKnownBits(N.getOperand(1)); in SelectAddressRegReg() local 2355 if (~(LHSKnown.Zero | RHSKnown.Zero) == 0) { in SelectAddressRegReg()
|