Searched refs:ShAmtC (Results 1 - 7 of 7) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2033 Constant *ShAmtC; local
2034 if (match(II->getArgOperand(2), m_Constant(ShAmtC)) &&
2035 !isa<ConstantExpr>(ShAmtC) && !ShAmtC->containsConstantExpression()) {
2038 Constant *ModuloC = ConstantExpr::getURem(ShAmtC, WidthC);
2039 if (ModuloC != ShAmtC)
2042 assert(ConstantExpr::getICmp(ICmpInst::ICMP_UGT, WidthC, ShAmtC) ==
2051 Constant *LeftShiftC = ConstantExpr::getSub(WidthC, ShAmtC);
2062 return BinaryOperator::CreateShl(Op0, ShAmtC);
2068 ConstantExpr::getSub(WidthC, ShAmtC));
[all...]
H A DInstCombineAndOrXor.cpp1859 Constant *ShAmtC = ConstantInt::get(I.getType(), ShiftC->zext(Width)); local
1860 return BinaryOperator::CreateLShr(Sext, ShAmtC);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp5424 const APInt *ShAmtC; local
5425 if (match(ShAmtArg, m_APInt(ShAmtC))) {
5427 APInt BitWidth = APInt(ShAmtC->getBitWidth(), ShAmtC->getBitWidth());
5428 if (ShAmtC->urem(BitWidth).isNullValue())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp2322 auto *ShAmtC = dyn_cast<ConstantSDNode>(Shl.getOperand(1)); local
2323 if (!ShAmtC || ShAmtC->getZExtValue() > 3)
2329 ShAmtC->getZExtValue());
2340 AM.Scale = 1 << ShAmtC->getZExtValue();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp2145 ConstantSDNode *ShAmtC = isConstOrConstSplat(ShAmt); local
2146 if (!ShAmtC || ShAmtC->getAPIntValue() != (VT.getScalarSizeInBits() - 1))
3353 ConstantSDNode *ShAmtC = isConstOrConstSplat(ShAmt); local
3354 if (ShAmtC &&
3355 ShAmtC->getAPIntValue() == (N1.getScalarValueSizeInBits() - 1)) {
8793 SDValue ShAmtC = DAG.getConstant(X.getScalarValueSizeInBits() - 1, DL, VT); local
8794 SDValue Sra = DAG.getNode(ISD::SRA, DL, VT, X, ShAmtC);
8800 SDValue ShAmtC = DAG.getConstant(X.getScalarValueSizeInBits() - 1, DL, VT); local
8801 SDValue Sra = DAG.getNode(ISD::SRA, DL, VT, X, ShAmtC);
8879 SDValue ShAmtC = DAG.getConstant(C1Val.exactLogBase2(), DL, VT); local
9266 SDValue ShAmtC = DAG.getConstant(Pow2C.exactLogBase2(), DL, VT); local
[all...]
H A DTargetLowering.cpp1972 auto *ShAmtC = dyn_cast<ConstantSDNode>(ShAmt); local
1973 if (!ShAmtC || ShAmtC->getAPIntValue().uge(BitWidth))
1975 uint64_t ShVal = ShAmtC->getZExtValue();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp13004 unsigned ShAmtC = cast<ConstantSDNode>(ShAmt)->getZExtValue(); local
13006 if (ShAmtC != LSB)

Completed in 346 milliseconds