Home
last modified time | relevance | path

Searched refs:KnownRHS (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp338 KnownBits KnownRHS; in computeKnownBitsImpl() local
341 computeKnownBitsImpl(MI.getOperand(2).getReg(), KnownRHS, DemandedElts, in computeKnownBitsImpl()
343 Known = KnownBits::smin(Known, KnownRHS); in computeKnownBitsImpl()
348 KnownBits KnownRHS; in computeKnownBitsImpl() local
353 Known = KnownBits::smax(Known, KnownRHS); in computeKnownBitsImpl()
357 KnownBits KnownRHS; in computeKnownBitsImpl() local
360 computeKnownBitsImpl(MI.getOperand(2).getReg(), KnownRHS, in computeKnownBitsImpl()
362 Known = KnownBits::umin(Known, KnownRHS); in computeKnownBitsImpl()
366 KnownBits KnownRHS; in computeKnownBitsImpl() local
369 computeKnownBitsImpl(MI.getOperand(2).getReg(), KnownRHS, in computeKnownBitsImpl()
[all …]
H A DCombinerHelper.cpp4212 auto KnownRHS = KB->getKnownBits(MI.getOperand(3).getReg()); in matchICmpToTrueFalseKnownBits() local
4218 KnownVal = KnownBits::eq(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits()
4221 KnownVal = KnownBits::ne(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits()
4224 KnownVal = KnownBits::sge(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits()
4227 KnownVal = KnownBits::sgt(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits()
4230 KnownVal = KnownBits::sle(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits()
4233 KnownVal = KnownBits::slt(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits()
4236 KnownVal = KnownBits::uge(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits()
4239 KnownVal = KnownBits::ugt(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits()
4242 KnownVal = KnownBits::ule(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp842 KnownOut = KnownLHS & KnownRHS; in getKnownBitsFromAndXorOr()
854 KnownOut = KnownRHS.blsi(); in getKnownBitsFromAndXorOr()
858 KnownOut = KnownLHS | KnownRHS; in getKnownBitsFromAndXorOr()
861 KnownOut = KnownLHS ^ KnownRHS; in getKnownBitsFromAndXorOr()
4565 KnownFPClass KnownLHS, KnownRHS; in computeKnownFPClass() local
4572 Known = KnownLHS | KnownRHS; in computeKnownFPClass()
4892 KnownFPClass KnownLHS, KnownRHS; in computeKnownFPClass() local
4966 KnownFPClass KnownLHS, KnownRHS; in computeKnownFPClass() local
4969 if (!KnownRHS.isKnownNeverNaN()) in computeKnownFPClass()
5017 KnownFPClass KnownLHS, KnownRHS; in computeKnownFPClass() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp310 KnownBits KnownRHS = computeKnownBits(I->getOperand(1)); in getBestTruncatedType() local
311 unsigned MinBitWidth = KnownRHS.getMaxValue() in getBestTruncatedType()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueTracking.h99 const KnownBits &KnownRHS,
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp10078 KnownBits KnownRHS = DAG.computeKnownBits(RHS); in expandAddSubSat() local
10088 bool RHSIsNonNegative = Opcode == ISD::SADDSAT ? KnownRHS.isNonNegative() in expandAddSubSat()
10089 : KnownRHS.isNegative(); in expandAddSubSat()
10096 bool RHSIsNegative = Opcode == ISD::SADDSAT ? KnownRHS.isNegative() in expandAddSubSat()
10097 : KnownRHS.isNonNegative(); in expandAddSubSat()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp22189 KnownBits KnownRHS = DAG.computeKnownBits(RHS); in LowerVectorAllEqual() local
22190 if (KnownRHS.isConstant() && KnownRHS.getConstant() == Mask) { in LowerVectorAllEqual()
22198 } else if (!UsePTEST && !KnownRHS.isZero()) { in LowerVectorAllEqual()
41735 KnownBits KnownLHS, KnownRHS; in SimplifyDemandedBitsForTargetNode() local
41755 KnownRHS, TLO, Depth + 1)) in SimplifyDemandedBitsForTargetNode()
41759 KnownRHS = KnownRHS.trunc(32); in SimplifyDemandedBitsForTargetNode()
41760 if (Opc == X86ISD::PMULUDQ && KnownRHS.isConstant() && in SimplifyDemandedBitsForTargetNode()
41761 KnownRHS.getConstant().isOne()) { in SimplifyDemandedBitsForTargetNode()
42019 KnownBits KnownLHS, KnownRHS; in SimplifyDemandedBitsForTargetNode() local
42025 KnownRHS, TLO, Depth + 1)) in SimplifyDemandedBitsForTargetNode()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp20084 KnownBits KnownRHS = DAG.computeKnownBits(Op.getOperand(1), Depth+1); in computeKnownBitsForTargetNode() local
20085 Known = Known.intersectWith(KnownRHS); in computeKnownBitsForTargetNode()