Searched refs:ShAmtC (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 1955 Constant *ShAmtC; in visitCallInst() local 1956 if (match(II->getArgOperand(2), m_Constant(ShAmtC)) && in visitCallInst() 1957 !isa<ConstantExpr>(ShAmtC) && !ShAmtC->containsConstantExpression()) { in visitCallInst() 1960 Constant *ModuloC = ConstantExpr::getURem(ShAmtC, WidthC); in visitCallInst() 1961 if (ModuloC != ShAmtC) { in visitCallInst() 1965 assert(ConstantExpr::getICmp(ICmpInst::ICMP_UGT, WidthC, ShAmtC) == in visitCallInst() 1974 Constant *LeftShiftC = ConstantExpr::getSub(WidthC, ShAmtC); in visitCallInst() 1985 return BinaryOperator::CreateShl(Op0, ShAmtC); in visitCallInst() 1991 ConstantExpr::getSub(WidthC, ShAmtC)); in visitCallInst() 1994 if (Op0 == Op1 && BitWidth == 16 && match(ShAmtC, m_SpecificInt(8))) { in visitCallInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 2208 auto *ShAmtC = dyn_cast<ConstantSDNode>(Shl.getOperand(1)); in matchAddressRecursively() local 2209 if (!ShAmtC || ShAmtC->getZExtValue() > 3) in matchAddressRecursively() 2215 ShAmtC->getZExtValue()); in matchAddressRecursively() 2226 AM.Scale = 1 << ShAmtC->getZExtValue(); in matchAddressRecursively()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 5267 const APInt *ShAmtC; in simplifyIntrinsic() local 5268 if (match(ShAmtArg, m_APInt(ShAmtC))) { in simplifyIntrinsic() 5270 APInt BitWidth = APInt(ShAmtC->getBitWidth(), ShAmtC->getBitWidth()); in simplifyIntrinsic() 5271 if (ShAmtC->urem(BitWidth).isNullValue()) in simplifyIntrinsic()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 2065 ConstantSDNode *ShAmtC = isConstOrConstSplat(ShAmt); in foldAddSubOfSignBit() local 2066 if (!ShAmtC || ShAmtC->getAPIntValue() != (VT.getScalarSizeInBits() - 1)) in foldAddSubOfSignBit() 3251 ConstantSDNode *ShAmtC = isConstOrConstSplat(ShAmt); in visitSUB() local 3252 if (ShAmtC && in visitSUB() 3253 ShAmtC->getAPIntValue() == (N1.getScalarValueSizeInBits() - 1)) { in visitSUB() 8382 SDValue ShAmtC = DAG.getConstant(X.getScalarValueSizeInBits() - 1, DL, VT); in foldSelectOfConstantsUsingSra() local 8383 SDValue Sra = DAG.getNode(ISD::SRA, DL, VT, X, ShAmtC); in foldSelectOfConstantsUsingSra() 8389 SDValue ShAmtC = DAG.getConstant(X.getScalarValueSizeInBits() - 1, DL, VT); in foldSelectOfConstantsUsingSra() local 8390 SDValue Sra = DAG.getNode(ISD::SRA, DL, VT, X, ShAmtC); in foldSelectOfConstantsUsingSra() 8468 SDValue ShAmtC = DAG.getConstant(C1Val.exactLogBase2(), DL, VT); in foldSelectOfConstants() local [all …]
|
D | TargetLowering.cpp | 1814 auto *ShAmtC = dyn_cast<ConstantSDNode>(ShAmt); in SimplifyDemandedBits() local 1815 if (!ShAmtC || ShAmtC->getAPIntValue().uge(BitWidth)) in SimplifyDemandedBits() 1817 uint64_t ShVal = ShAmtC->getZExtValue(); in SimplifyDemandedBits()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 12392 unsigned ShAmtC = cast<ConstantSDNode>(ShAmt)->getZExtValue(); in PerformORCombineToBFI() local 12394 if (ShAmtC != LSB) in PerformORCombineToBFI()
|