Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVISelDAGToDAG.cpp151 SDValue ShAmtVal = in Select() local
154 ShAmtVal); in Select()
/external/llvm-project/llvm/lib/Target/RISCV/
DRISCVISelDAGToDAG.cpp136 SDValue ShAmtVal = CurDAG->getTargetConstant(ShAmt, DL, XLenVT); in Select() local
138 ShAmtVal); in Select()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2185 unsigned ShAmtVal = ShiftAmt->getLimitedValue(TypeBits); in foldICmpShrConstant() local
2186 if (ShAmtVal >= TypeBits || ShAmtVal == 0) in foldICmpShrConstant()
2200 APInt ShiftedC = C.shl(ShAmtVal); in foldICmpShrConstant()
2201 if (ShiftedC.ashr(ShAmtVal) == C) in foldICmpShrConstant()
2206 APInt ShiftedC = (C + 1).shl(ShAmtVal) - 1; in foldICmpShrConstant()
2207 if (!C.isMaxSignedValue() && !(C + 1).shl(ShAmtVal).isMinSignedValue() && in foldICmpShrConstant()
2208 (ShiftedC + 1).ashr(ShAmtVal) == (C + 1)) in foldICmpShrConstant()
2215 APInt ShiftedC = C.shl(ShAmtVal); in foldICmpShrConstant()
2216 if (ShiftedC.lshr(ShAmtVal) == C) in foldICmpShrConstant()
2221 APInt ShiftedC = (C + 1).shl(ShAmtVal) - 1; in foldICmpShrConstant()
[all …]
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2228 unsigned ShAmtVal = ShiftAmt->getLimitedValue(TypeBits); in foldICmpShrConstant() local
2229 if (ShAmtVal >= TypeBits || ShAmtVal == 0) in foldICmpShrConstant()
2243 APInt ShiftedC = C.shl(ShAmtVal); in foldICmpShrConstant()
2244 if (ShiftedC.ashr(ShAmtVal) == C) in foldICmpShrConstant()
2249 APInt ShiftedC = (C + 1).shl(ShAmtVal) - 1; in foldICmpShrConstant()
2250 if (!C.isMaxSignedValue() && !(C + 1).shl(ShAmtVal).isMinSignedValue() && in foldICmpShrConstant()
2251 (ShiftedC + 1).ashr(ShAmtVal) == (C + 1)) in foldICmpShrConstant()
2258 APInt ShiftedC = C.shl(ShAmtVal); in foldICmpShrConstant()
2259 if (ShiftedC.lshr(ShAmtVal) == C) in foldICmpShrConstant()
2264 APInt ShiftedC = (C + 1).shl(ShAmtVal) - 1; in foldICmpShrConstant()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1350 uint32_t ShAmtVal = (uint32_t)ShAmt->getLimitedValue(TypeBits); in FoldICmpShrCst() local
1351 if (ShAmtVal >= TypeBits || ShAmtVal == 0) in FoldICmpShrCst()
1364 (!Shr->isExact() || ShAmtVal == TypeBits - 1)) in FoldICmpShrCst()
1371 ConstantInt::get(Shr->getType(), APInt::getOneBitSet(TypeBits, ShAmtVal)); in FoldICmpShrCst()
1396 APInt Comp = CmpRHSV << ShAmtVal; in FoldICmpShrCst()
1399 Comp = Comp.lshr(ShAmtVal); in FoldICmpShrCst()
1401 Comp = Comp.ashr(ShAmtVal); in FoldICmpShrCst()
1417 APInt Val(APInt::getHighBitsSet(TypeBits, TypeBits - ShAmtVal)); in FoldICmpShrCst()
2019 uint32_t ShAmtVal = (uint32_t)ShAmt->getLimitedValue(TypeBits); in visitICmpInstWithInstAndIntCst() local
2021 TypeBits - ShAmtVal)); in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp6545 unsigned ShAmtVal = cast<ConstantSDNode>(ShAmt)->getZExtValue(); in visitZERO_EXTEND() local
6552 if (ShAmtVal > KnownZeroBits) in visitZERO_EXTEND()