| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelValueTracking.cpp | 376 KnownBits KnownRHS; in computeKnownBitsImpl() local 379 computeKnownBitsImpl(MI.getOperand(2).getReg(), KnownRHS, DemandedElts, in computeKnownBitsImpl() 381 Known = KnownBits::smin(Known, KnownRHS); in computeKnownBitsImpl() 386 KnownBits KnownRHS; in computeKnownBitsImpl() local 389 computeKnownBitsImpl(MI.getOperand(2).getReg(), KnownRHS, DemandedElts, in computeKnownBitsImpl() 391 Known = KnownBits::smax(Known, KnownRHS); in computeKnownBitsImpl() 395 KnownBits KnownRHS; in computeKnownBitsImpl() local 398 computeKnownBitsImpl(MI.getOperand(2).getReg(), KnownRHS, DemandedElts, in computeKnownBitsImpl() 400 Known = KnownBits::umin(Known, KnownRHS); in computeKnownBitsImpl() 404 KnownBits KnownRHS; in computeKnownBitsImpl() local [all …]
|
| H A D | CombinerHelper.cpp | 4512 auto KnownRHS = VT->getKnownBits(MI.getOperand(3).getReg()); in matchICmpToTrueFalseKnownBits() local 4513 if (KnownRHS.isUnknown()) in matchICmpToTrueFalseKnownBits() 4517 if (KnownRHS.isZero()) { in matchICmpToTrueFalseKnownBits() 4528 KnownVal = ICmpInst::compare(KnownLHS, KnownRHS, Pred); in matchICmpToTrueFalseKnownBits()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 979 const KnownBits &KnownLHS, const KnownBits &KnownRHS, in getKnownBitsFromAndXorOr() argument 984 bool HasKnownOne = !KnownLHS.One.isZero() || !KnownRHS.One.isZero(); in getKnownBitsFromAndXorOr() 989 KnownOut = KnownLHS & KnownRHS; in getKnownBitsFromAndXorOr() 998 if (KnownLHS.countMaxTrailingZeros() <= KnownRHS.countMaxTrailingZeros()) in getKnownBitsFromAndXorOr() 1001 KnownOut = KnownRHS.blsi(); in getKnownBitsFromAndXorOr() 1005 KnownOut = KnownLHS | KnownRHS; in getKnownBitsFromAndXorOr() 1008 KnownOut = KnownLHS ^ KnownRHS; in getKnownBitsFromAndXorOr() 1018 const KnownBits &XBits = I->getOperand(0) == X ? KnownLHS : KnownRHS; in getKnownBitsFromAndXorOr() 1077 const KnownBits &KnownRHS, in analyzeKnownBitsFromAndXorOr() argument 1084 return getKnownBitsFromAndXorOr(I, DemandedElts, KnownLHS, KnownRHS, SQ, in analyzeKnownBitsFromAndXorOr() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | TruncInstCombine.cpp | 309 KnownBits KnownRHS = computeKnownBits(I->getOperand(1)); in getBestTruncatedType() local 310 unsigned MinBitWidth = KnownRHS.getMaxValue() in getBestTruncatedType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 2054 KnownFPClass KnownLHS, KnownRHS; in SimplifyDemandedUseFPClass() local 2055 if (SimplifyDemandedFPClass(I, 2, DemandedMask, KnownRHS, Depth + 1) || in SimplifyDemandedUseFPClass() 2061 if (KnownRHS.isKnownNever(DemandedMask)) in SimplifyDemandedUseFPClass() 2065 Known = KnownLHS | KnownRHS; in SimplifyDemandedUseFPClass()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ValueTracking.h | 108 const KnownBits &KnownRHS,
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 2881 const KnownBits &KnownRHS) { in SimplifyDemandedBits() argument 2883 Demanded.clearHighBits(KnownRHS.countMinTrailingZeros()); in SimplifyDemandedBits() 10898 KnownBits KnownRHS = DAG.computeKnownBits(RHS); in expandAddSubSat() local 10908 bool RHSIsNonNegative = Opcode == ISD::SADDSAT ? KnownRHS.isNonNegative() in expandAddSubSat() 10909 : KnownRHS.isNegative(); in expandAddSubSat() 10916 bool RHSIsNegative = Opcode == ISD::SADDSAT ? KnownRHS.isNegative() in expandAddSubSat() 10917 : KnownRHS.isNonNegative(); in expandAddSubSat()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 23101 KnownBits KnownRHS = DAG.computeKnownBits(RHS); in LowerVectorAllEqual() local 23102 if (KnownRHS.isConstant() && KnownRHS.getConstant() == Mask) { in LowerVectorAllEqual() 23110 } else if (!UsePTEST && !KnownRHS.isZero()) { in LowerVectorAllEqual() 38942 [Opc](const KnownBits &KnownLHS, const KnownBits &KnownRHS) { in computeKnownBitsForTargetNode() argument 38945 KnownLHS, KnownRHS); in computeKnownBitsForTargetNode() 44398 KnownBits KnownLHS, KnownRHS; in SimplifyDemandedBitsForTargetNode() local 44418 KnownRHS, TLO, Depth + 1)) in SimplifyDemandedBitsForTargetNode() 44422 KnownRHS = KnownRHS.trunc(32); in SimplifyDemandedBitsForTargetNode() 44423 if (Opc == X86ISD::PMULUDQ && KnownRHS.isConstant() && in SimplifyDemandedBitsForTargetNode() 44424 KnownRHS.getConstant().isOne()) { in SimplifyDemandedBitsForTargetNode() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 20041 KnownBits KnownRHS = DAG.computeKnownBits(Op.getOperand(1), Depth+1); in computeKnownBitsForTargetNode() local 20042 Known = Known.intersectWith(KnownRHS); in computeKnownBitsForTargetNode()
|