OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Op1C
(Results
1 - 12
of
12
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineNegator.cpp
241
if (auto *
Op1C
= dyn_cast<Constant>(I->getOperand(1))) {
242
if (!
Op1C
->containsUndefOrPoisonElement() &&
243
Op1C
->isNotMinSignedValue() &&
Op1C
->isNotOneValue()) {
245
Builder.CreateSDiv(I->getOperand(0), ConstantExpr::getNeg(
Op1C
),
356
auto *
Op1C
= dyn_cast<Constant>(I->getOperand(1));
357
if (!
Op1C
) // Early return.
361
ConstantExpr::getShl(Constant::getAllOnesValue(
Op1C
->getType()),
Op1C
),
InstCombineAddSub.cpp
828
Constant *
Op1C
;
829
if (!match(Op1, m_Constant(
Op1C
)))
849
Constant *NewC = ConstantExpr::getAdd(WideC,
Op1C
);
856
Constant *NewC = ConstantExpr::getAdd(WideC,
Op1C
);
866
Constant *
Op1C
;
867
if (!match(Op1, m_ImmConstant(
Op1C
)))
878
return BinaryOperator::CreateSub(ConstantExpr::getAdd(Op00C,
Op1C
), X);
890
return SelectInst::Create(X, InstCombiner::AddOne(
Op1C
), Op1);
894
return SelectInst::Create(X, InstCombiner::SubOne(
Op1C
), Op1);
898
return BinaryOperator::CreateSub(InstCombiner::SubOne(
Op1C
), X)
[
all
...]
InstCombineShifts.cpp
666
const APInt *
Op1C
;
667
if (!match(Op1, m_APInt(
Op1C
)))
673
canEvaluateShifted(Op0,
Op1C
->getZExtValue(), isLeftShift, *this, &I)) {
680
I, getShiftedValue(Op0,
Op1C
->getZExtValue(), isLeftShift, *this, DL));
687
assert(!
Op1C
->uge(TypeBits) &&
752
unsigned Op1Val =
Op1C
->getLimitedValue(TypeBits);
784
unsigned Op1Val =
Op1C
->getLimitedValue(TypeBits);
InstCombineMulDivRem.cpp
247
Constant *
Op1C
;
248
if (match(Op0, m_Neg(m_Value(X))) && match(Op1, m_Constant(
Op1C
)))
249
return BinaryOperator::CreateMul(X, ConstantExpr::getNeg(
Op1C
));
1136
const APInt *
Op1C
;
1137
if (match(Op1, m_APInt(
Op1C
))) {
1143
Op0Src->getType()->getScalarSizeInBits() >=
Op1C
->getMinSignedBits()) {
1158
if (!
Op1C
->isMinSignedValue() &&
1160
Constant *NegC = ConstantInt::get(Ty, -(*
Op1C
));
InstCombineCalls.cpp
2140
ConstantInt *
Op1C
=
2144
if ((Op0C && Op0C->isNullValue()) || (
Op1C
&&
Op1C
->isNullValue()))
2157
if (
Op1C
)
2160
Call.getContext(),
Op1C
->getZExtValue()));
2172
} else if (isReallocLikeFn(&Call, TLI) &&
Op1C
) {
2175
Call.getContext(),
Op1C
->getZExtValue()));
2176
} else if (isCallocLikeFn(&Call, TLI) && Op0C &&
Op1C
) {
2179
APInt Size = N.umul_ov(
Op1C
->getValue(), Overflow);
2193
else if (NumArgs == 2 &&
Op1C
)
[
all
...]
InstCombineCasts.cpp
978
// If
Op1C
some other power of two, convert:
1343
if (ConstantInt *
Op1C
= dyn_cast<ConstantInt>(Op1)) {
1348
ICI->isEquality() && (
Op1C
->isZero() ||
Op1C
->getValue().isPowerOf2())){
1356
if (!
Op1C
->isZero() &&
Op1C
->getValue() != KnownZeroMask) {
1363
if (!
Op1C
->isZero() == (Pred == ICmpInst::ICMP_NE)) {
InstCombineCompares.cpp
5338
auto *
Op1C
= dyn_cast<Constant>(Op1);
5339
if (!
Op1C
)
5343
InstCombiner::getFlippedStrictnessPredicateAndConstant(Pred,
Op1C
);
/src/external/apache2/llvm/dist/llvm/lib/Analysis/
ConstantFolding.cpp
3121
ConstantFP *
Op1C
= dyn_cast<ConstantFP>(Call->getArgOperand(1));
3122
if (Op0C &&
Op1C
) {
3124
const APFloat &Op1 =
Op1C
->getValueAPF();
3134
if (Ty ==
Op1C
->getType())
ValueTracking.cpp
3233
if (Constant *
Op1C
= dyn_cast<Constant>(Op1))
3235
if (
Op1C
->getType()->getPrimitiveSizeInBits().getFixedSize() <
3237
Op1C
= ConstantExpr::getZExt(
Op1C
, MulC->getType());
3238
if (
Op1C
->getType()->getPrimitiveSizeInBits().getFixedSize() >
3240
MulC = ConstantExpr::getZExt(MulC,
Op1C
->getType());
3243
Multiple = ConstantExpr::getMul(MulC,
Op1C
);
InstructionSimplify.cpp
943
auto *
Op1C
= dyn_cast<Constant>(Op1);
945
if (
Op1C
&& VTy) {
948
Constant *Elt =
Op1C
->getAggregateElement(i);
/src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86FastISel.cpp
1424
if (const ConstantInt *
Op1C
= dyn_cast<ConstantInt>(Op1)) {
1425
if (unsigned CompareImmOpc = X86ChooseCmpImmediateOpcode(VT,
Op1C
)) {
1428
.addImm(
Op1C
->getSExtValue());
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
TargetLowering.cpp
521
auto *
Op1C
= dyn_cast<ConstantSDNode>(Op.getOperand(1));
522
if (!
Op1C
)
526
const APInt &C =
Op1C
->getAPIntValue();
Completed in 103 milliseconds
Indexes created Wed Sep 23 00:26:21 UTC 2026