Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp335 KnownBits KnownRHS; in computeKnownBitsImpl() local
338 computeKnownBitsImpl(MI.getOperand(2).getReg(), KnownRHS, DemandedElts, in computeKnownBitsImpl()
340 Known = KnownBits::smin(Known, KnownRHS); in computeKnownBitsImpl()
345 KnownBits KnownRHS; in computeKnownBitsImpl() local
350 Known = KnownBits::smax(Known, KnownRHS); in computeKnownBitsImpl()
354 KnownBits KnownRHS; in computeKnownBitsImpl() local
357 computeKnownBitsImpl(MI.getOperand(2).getReg(), KnownRHS, in computeKnownBitsImpl()
359 Known = KnownBits::umin(Known, KnownRHS); in computeKnownBitsImpl()
363 KnownBits KnownRHS; in computeKnownBitsImpl() local
366 computeKnownBitsImpl(MI.getOperand(2).getReg(), KnownRHS, in computeKnownBitsImpl()
[all …]
H A DCombinerHelper.cpp4148 auto KnownRHS = KB->getKnownBits(MI.getOperand(3).getReg()); in matchICmpToTrueFalseKnownBits() local
4154 KnownVal = KnownBits::eq(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits()
4157 KnownVal = KnownBits::ne(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits()
4160 KnownVal = KnownBits::sge(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits()
4163 KnownVal = KnownBits::sgt(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits()
4166 KnownVal = KnownBits::sle(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits()
4169 KnownVal = KnownBits::slt(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits()
4172 KnownVal = KnownBits::uge(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits()
4175 KnownVal = KnownBits::ugt(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits()
4178 KnownVal = KnownBits::ule(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp310 KnownBits KnownRHS = computeKnownBits(I->getOperand(1)); in getBestTruncatedType() local
311 unsigned MinBitWidth = KnownRHS.getMaxValue() in getBestTruncatedType()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1085 KnownBits KnownRHS = computeKnownBits(RHS, 0, &Zext); in transformZExtICmp() local
1087 if (KnownLHS == KnownRHS) { in transformZExtICmp()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp41889 KnownBits KnownLHS, KnownRHS; in SimplifyDemandedBitsForTargetNode() local
41895 KnownRHS, TLO, Depth + 1)) in SimplifyDemandedBitsForTargetNode()
52276 KnownBits KnownRHS = DAG.computeKnownBits(RHS); in combineMOVMSK() local
52277 if (KnownRHS.isConstant() && KnownRHS.getConstant().isPowerOf2()) { in combineMOVMSK()
52285 unsigned ShiftAmt = KnownRHS.getConstant().countLeadingZeros(); in combineMOVMSK()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp19805 KnownBits KnownRHS = DAG.computeKnownBits(Op.getOperand(1), Depth+1); in computeKnownBitsForTargetNode() local
19806 Known = KnownBits::commonBits(Known, KnownRHS); in computeKnownBitsForTargetNode()