OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ShAmtC
(Results
1 - 10
of
10
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineCalls.cpp
1085
Constant *
ShAmtC
;
1086
if (match(II->getArgOperand(2), m_ImmConstant(
ShAmtC
)) &&
1087
!
ShAmtC
->containsConstantExpression()) {
1090
Constant *ModuloC = ConstantExpr::getURem(
ShAmtC
, WidthC);
1091
if (ModuloC !=
ShAmtC
)
1094
assert(ConstantExpr::getICmp(ICmpInst::ICMP_UGT, WidthC,
ShAmtC
) ==
1103
Constant *LeftShiftC = ConstantExpr::getSub(WidthC,
ShAmtC
);
1114
return BinaryOperator::CreateShl(Op0,
ShAmtC
);
1120
ConstantExpr::getSub(WidthC,
ShAmtC
));
1123
if (Op0 == Op1 && BitWidth == 16 && match(
ShAmtC
, m_SpecificInt(8)))
[
all
...]
InstCombineAddSub.cpp
948
// add (xor X, 0x80), 0xF..F80 --> (X <<
ShAmtC
) >>s
ShAmtC
949
// add (xor X, 0xF..F80), 0x80 --> (X <<
ShAmtC
) >>s
ShAmtC
959
Constant *
ShAmtC
= ConstantInt::get(Ty, ShAmt);
960
Value *NewShl = Builder.CreateShl(X,
ShAmtC
, "sext");
961
return BinaryOperator::CreateAShr(NewShl,
ShAmtC
);
InstCombineCompares.cpp
1549
// trunc iN (ShOp >>
ShAmtC
) to i[N -
ShAmtC
] < 0 --> ShOp < 0
1550
// trunc iN (ShOp >>
ShAmtC
) to i[N -
ShAmtC
] > -1 --> ShOp > -1
1552
const APInt *
ShAmtC
;
1555
match(X, m_Shr(m_Value(ShOp), m_APInt(
ShAmtC
))) &&
1556
DstBits == SrcBits -
ShAmtC
->getZExtValue()) {
2222
// icmp slt (ashr X,
ShAmtC
), C --> icmp slt X, (C <<
ShAmtC
)
2223
// icmp sgt (ashr exact X,
ShAmtC
), C --> icmp sgt X, (C << ShAmtC
[
all
...]
InstCombineAndOrXor.cpp
1875
Constant *
ShAmtC
= ConstantInt::get(Ty, ShiftC->zext(Width));
1876
return BinaryOperator::CreateLShr(Sext,
ShAmtC
);
/src/external/apache2/llvm/dist/llvm/lib/Analysis/
InstructionSimplify.cpp
5688
const APInt *
ShAmtC
;
5689
if (match(ShAmtArg, m_APInt(
ShAmtC
))) {
5691
APInt BitWidth = APInt(
ShAmtC
->getBitWidth(),
ShAmtC
->getBitWidth());
5692
if (
ShAmtC
->urem(BitWidth).isNullValue())
/src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86ISelDAGToDAG.cpp
2413
auto *
ShAmtC
= dyn_cast<ConstantSDNode>(Shl.getOperand(1));
2414
if (!
ShAmtC
||
ShAmtC
->getZExtValue() > 3)
2420
ShAmtC
->getZExtValue());
2431
AM.Scale = 1 <<
ShAmtC
->getZExtValue();
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
DAGCombiner.cpp
2230
ConstantSDNode *
ShAmtC
= isConstOrConstSplat(ShAmt);
2231
if (!
ShAmtC
||
ShAmtC
->getAPIntValue() != (VT.getScalarSizeInBits() - 1))
3558
ConstantSDNode *
ShAmtC
= isConstOrConstSplat(ShAmt);
3559
if (
ShAmtC
&&
3560
ShAmtC
->getAPIntValue() == (N1.getScalarValueSizeInBits() - 1)) {
9244
SDValue
ShAmtC
= DAG.getConstant(X.getScalarValueSizeInBits() - 1, DL, VT);
9245
SDValue Sra = DAG.getNode(ISD::SRA, DL, VT, X,
ShAmtC
);
9251
SDValue
ShAmtC
= DAG.getConstant(X.getScalarValueSizeInBits() - 1, DL, VT);
9252
SDValue Sra = DAG.getNode(ISD::SRA, DL, VT, X,
ShAmtC
);
[
all
...]
TargetLowering.cpp
2031
const APInt *
ShAmtC
=
2033
if (!
ShAmtC
||
ShAmtC
->uge(BitWidth))
2035
uint64_t ShVal =
ShAmtC
->getZExtValue();
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
SLPVectorizer.cpp
4196
const APInt *
ShAmtC
;
4200
(match(ZextLoad, m_Shl(m_Value(), m_APInt(
ShAmtC
))) &&
4201
ShAmtC
->urem(8) == 0))) {
/src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMISelLowering.cpp
13583
unsigned
ShAmtC
= cast<ConstantSDNode>(ShAmt)->getZExtValue();
13585
if (
ShAmtC
!= LSB)
Completed in 91 milliseconds
Indexes created Tue Feb 24 08:35:24 UTC 2026