Searched refs:ShAmtC (Results 1 - 6 of 6) sorted by relevance
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 1955 Constant *ShAmtC; local 1956 if (match(II->getArgOperand(2), m_Constant(ShAmtC)) && 1957 !isa<ConstantExpr>(ShAmtC) && !ShAmtC->containsConstantExpression()) { 1960 Constant *ModuloC = ConstantExpr::getURem(ShAmtC, WidthC); 1961 if (ModuloC != ShAmtC) { 1965 assert(ConstantExpr::getICmp(ICmpInst::ICMP_UGT, WidthC, ShAmtC) == 1974 Constant *LeftShiftC = ConstantExpr::getSub(WidthC, ShAmtC); 1985 return BinaryOperator::CreateShl(Op0, ShAmtC); 1991 ConstantExpr::getSub(WidthC, ShAmtC)); [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 5267 const APInt *ShAmtC; local 5268 if (match(ShAmtArg, m_APInt(ShAmtC))) { 5270 APInt BitWidth = APInt(ShAmtC->getBitWidth(), ShAmtC->getBitWidth()); 5271 if (ShAmtC->urem(BitWidth).isNullValue())
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelDAGToDAG.cpp | 2208 auto *ShAmtC = dyn_cast<ConstantSDNode>(Shl.getOperand(1)); local 2209 if (!ShAmtC || ShAmtC->getZExtValue() > 3) 2215 ShAmtC->getZExtValue()); 2226 AM.Scale = 1 << ShAmtC->getZExtValue();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 2072 ConstantSDNode *ShAmtC = isConstOrConstSplat(ShAmt); local 2073 if (!ShAmtC || ShAmtC->getAPIntValue() != (VT.getScalarSizeInBits() - 1)) 3258 ConstantSDNode *ShAmtC = isConstOrConstSplat(ShAmt); local 3259 if (ShAmtC && 3260 ShAmtC->getAPIntValue() == (N1.getScalarValueSizeInBits() - 1)) { 8389 SDValue ShAmtC = DAG.getConstant(X.getScalarValueSizeInBits() - 1, DL, VT); local 8390 SDValue Sra = DAG.getNode(ISD::SRA, DL, VT, X, ShAmtC); 8396 SDValue ShAmtC = DAG.getConstant(X.getScalarValueSizeInBits() - 1, DL, VT); local 8397 SDValue Sra = DAG.getNode(ISD::SRA, DL, VT, X, ShAmtC); 8475 SDValue ShAmtC = DAG.getConstant(C1Val.exactLogBase2(), DL, VT); local 8860 SDValue ShAmtC = DAG.getConstant(Pow2C.exactLogBase2(), DL, VT); local [all...] |
H A D | TargetLowering.cpp | 1814 auto *ShAmtC = dyn_cast<ConstantSDNode>(ShAmt); local 1815 if (!ShAmtC || ShAmtC->getAPIntValue().uge(BitWidth)) 1817 uint64_t ShVal = ShAmtC->getZExtValue();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 12395 unsigned ShAmtC = cast<ConstantSDNode>(ShAmt)->getZExtValue(); local 12397 if (ShAmtC != LSB)
|
Completed in 260 milliseconds