Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelValueTracking.cpp376 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 DCombinerHelper.cpp4512 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 DValueTracking.cpp979 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 DTruncInstCombine.cpp309 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 DInstCombineSimplifyDemanded.cpp2054 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 DValueTracking.h108 const KnownBits &KnownRHS,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2881 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 DX86ISelLowering.cpp23101 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 DARMISelLowering.cpp20041 KnownBits KnownRHS = DAG.computeKnownBits(Op.getOperand(1), Depth+1); in computeKnownBitsForTargetNode() local
20042 Known = Known.intersectWith(KnownRHS); in computeKnownBitsForTargetNode()