/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | GISelKnownBits.cpp | 340 KnownBits KnownRHS; in computeKnownBitsImpl() local 343 computeKnownBitsImpl(MI.getOperand(2).getReg(), KnownRHS, DemandedElts, in computeKnownBitsImpl() 345 Known = KnownBits::smin(Known, KnownRHS); in computeKnownBitsImpl() 350 KnownBits KnownRHS; in computeKnownBitsImpl() local 353 computeKnownBitsImpl(MI.getOperand(2).getReg(), KnownRHS, DemandedElts, in computeKnownBitsImpl() 355 Known = KnownBits::smax(Known, KnownRHS); in computeKnownBitsImpl() 359 KnownBits KnownRHS; in computeKnownBitsImpl() local 362 computeKnownBitsImpl(MI.getOperand(2).getReg(), KnownRHS, in computeKnownBitsImpl() 364 Known = KnownBits::umin(Known, KnownRHS); in computeKnownBitsImpl() 368 KnownBits KnownRHS; in computeKnownBitsImpl() local [all …]
|
H A D | CombinerHelper.cpp | 4356 auto KnownRHS = KB->getKnownBits(MI.getOperand(3).getReg()); in matchICmpToTrueFalseKnownBits() local 4357 if (KnownRHS.isUnknown()) in matchICmpToTrueFalseKnownBits() 4361 if (KnownRHS.isZero()) { in matchICmpToTrueFalseKnownBits() 4376 KnownVal = KnownBits::eq(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4379 KnownVal = KnownBits::ne(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4382 KnownVal = KnownBits::sge(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4385 KnownVal = KnownBits::sgt(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4388 KnownVal = KnownBits::sle(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4391 KnownVal = KnownBits::slt(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4394 KnownVal = KnownBits::uge(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 899 const KnownBits &KnownLHS, const KnownBits &KnownRHS, in getKnownBitsFromAndXorOr() argument 904 bool HasKnownOne = !KnownLHS.One.isZero() || !KnownRHS.One.isZero(); in getKnownBitsFromAndXorOr() 909 KnownOut = KnownLHS & KnownRHS; in getKnownBitsFromAndXorOr() 918 if (KnownLHS.countMaxTrailingZeros() <= KnownRHS.countMaxTrailingZeros()) in getKnownBitsFromAndXorOr() 921 KnownOut = KnownRHS.blsi(); in getKnownBitsFromAndXorOr() 925 KnownOut = KnownLHS | KnownRHS; in getKnownBitsFromAndXorOr() 928 KnownOut = KnownLHS ^ KnownRHS; in getKnownBitsFromAndXorOr() 938 const KnownBits &XBits = I->getOperand(0) == X ? KnownLHS : KnownRHS; in getKnownBitsFromAndXorOr() 997 const KnownBits &KnownRHS, in analyzeKnownBitsFromAndXorOr() argument 1004 return getKnownBitsFromAndXorOr(I, DemandedElts, KnownLHS, KnownRHS, Depth, in analyzeKnownBitsFromAndXorOr() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | TruncInstCombine.cpp | 310 KnownBits KnownRHS = computeKnownBits(I->getOperand(1)); in getBestTruncatedType() local 311 unsigned MinBitWidth = KnownRHS.getMaxValue() in getBestTruncatedType()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 2037 KnownFPClass KnownLHS, KnownRHS; in SimplifyDemandedUseFPClass() local 2038 if (SimplifyDemandedFPClass(I, 2, DemandedMask, KnownRHS, Depth + 1) || in SimplifyDemandedUseFPClass() 2044 if (KnownRHS.isKnownNever(DemandedMask)) in SimplifyDemandedUseFPClass() 2048 Known = KnownLHS | KnownRHS; in SimplifyDemandedUseFPClass()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ValueTracking.h | 100 const KnownBits &KnownRHS,
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 2813 const KnownBits &KnownRHS) { in SimplifyDemandedBits() argument 2815 Demanded.clearHighBits(KnownRHS.countMinTrailingZeros()); in SimplifyDemandedBits() 10406 KnownBits KnownRHS = DAG.computeKnownBits(RHS); in expandAddSubSat() local 10416 bool RHSIsNonNegative = Opcode == ISD::SADDSAT ? KnownRHS.isNonNegative() in expandAddSubSat() 10417 : KnownRHS.isNegative(); in expandAddSubSat() 10424 bool RHSIsNegative = Opcode == ISD::SADDSAT ? KnownRHS.isNegative() in expandAddSubSat() 10425 : KnownRHS.isNonNegative(); in expandAddSubSat()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 22365 KnownBits KnownRHS = DAG.computeKnownBits(RHS); in LowerVectorAllEqual() local 22366 if (KnownRHS.isConstant() && KnownRHS.getConstant() == Mask) { in LowerVectorAllEqual() 22374 } else if (!UsePTEST && !KnownRHS.isZero()) { in LowerVectorAllEqual() 37530 [Opc](const KnownBits &KnownLHS, const KnownBits &KnownRHS) { in computeKnownBitsForTargetNode() argument 37533 KnownLHS, KnownRHS); in computeKnownBitsForTargetNode() 42672 KnownBits KnownLHS, KnownRHS; in SimplifyDemandedBitsForTargetNode() local 42692 KnownRHS, TLO, Depth + 1)) in SimplifyDemandedBitsForTargetNode() 42696 KnownRHS = KnownRHS.trunc(32); in SimplifyDemandedBitsForTargetNode() 42697 if (Opc == X86ISD::PMULUDQ && KnownRHS.isConstant() && in SimplifyDemandedBitsForTargetNode() 42698 KnownRHS.getConstant().isOne()) { in SimplifyDemandedBitsForTargetNode() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 20106 KnownBits KnownRHS = DAG.computeKnownBits(Op.getOperand(1), Depth+1); in computeKnownBitsForTargetNode() local 20107 Known = Known.intersectWith(KnownRHS); in computeKnownBitsForTargetNode()
|