Searched refs:Op1C (Results 1 - 11 of 11) sorted by relevance
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 279 Constant *Op1C; local 280 if (match(Op0, m_Neg(m_Value(X))) && match(Op1, m_Constant(Op1C))) 281 return BinaryOperator::CreateMul(X, ConstantExpr::getNeg(Op1C)); 1072 const APInt *Op1C; local 1073 if (match(Op1, m_APInt(Op1C))) { 1075 if (I.isExact() && Op1C->isNonNegative() && Op1C->isPowerOf2()) { 1076 Value *ShAmt = ConstantInt::get(Op1->getType(), Op1C->exactLogBase2()); 1085 Op0Src->getType()->getScalarSizeInBits() >= Op1C->getMinSignedBits()) { 1100 if (!Op1C [all...] |
H A D | InstCombineShifts.cpp | 686 const APInt *Op1C; local 687 if (!match(Op1, m_APInt(Op1C))) 693 canEvaluateShifted(Op0, Op1C->getZExtValue(), isLeftShift, *this, &I)) { 700 I, getShiftedValue(Op0, Op1C->getZExtValue(), isLeftShift, *this, DL)); 707 assert(!Op1C->uge(TypeBits) && 742 MaskV <<= Op1C->getZExtValue(); 745 MaskV.lshrInPlace(Op1C->getZExtValue()); 779 unsigned Op1Val = Op1C->getLimitedValue(TypeBits); 814 unsigned Op1Val = Op1C->getLimitedValue(TypeBits);
|
H A D | InstCombineAddSub.cpp | 830 Constant *Op1C; local 831 if (!match(Op1, m_Constant(Op1C))) 851 Constant *NewC = ConstantExpr::getAdd(WideC, Op1C); 858 Constant *NewC = ConstantExpr::getAdd(WideC, Op1C); 868 Constant *Op1C; local 869 if (!match(Op1, m_Constant(Op1C))) 880 return BinaryOperator::CreateSub(ConstantExpr::getAdd(Op00C, Op1C), X); 892 return SelectInst::Create(X, AddOne(Op1C), Op1); 896 return SelectInst::Create(X, SubOne(Op1C), Op1); 900 return BinaryOperator::CreateSub(SubOne(Op1C), [all...] |
H A D | InstCombineCasts.cpp | 887 // If Op1C some other power of two, convert: 1250 if (ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) { 1255 ICI->isEquality() && (Op1C->isZero() || Op1C->getValue().isPowerOf2())){ 1263 if (!Op1C->isZero() && Op1C->getValue() != KnownZeroMask) { 1270 if (!Op1C->isZero() == (Pred == ICmpInst::ICMP_NE)) {
|
H A D | InstCombineCalls.cpp | 4354 ConstantInt *Op1C = local 4357 if ((Op0C && Op0C->isNullValue()) || (Op1C && Op1C->isNullValue())) 4369 } else if (isReallocLikeFn(&Call, TLI) && Op1C) { 4372 Call.getContext(), Op1C->getZExtValue())); 4373 } else if (isCallocLikeFn(&Call, TLI) && Op0C && Op1C) { 4376 APInt Size = N.umul_ov(Op1C->getValue(), Overflow); 4390 else if (NumArgs == 2 && Op1C) 4394 Call.getContext(), std::min(Len, Op1C->getZExtValue() + 1)));
|
H A D | InstCombineCompares.cpp | 5262 auto *Op1C = dyn_cast<Constant>(Op1); local 5263 if (!Op1C) 5266 auto FlippedStrictness = getFlippedStrictnessPredicateAndConstant(Pred, Op1C);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 2604 ConstantFP *Op1C = dyn_cast<ConstantFP>(Call->getArgOperand(1)); local 2605 if (Op0C && Op1C) { 2607 const APFloat &Op1 = Op1C->getValueAPF(); 2617 if (Ty == Op1C->getType()) { 2619 double Op1V = getValueAsDouble(Op1C);
|
H A D | ValueTracking.cpp | 2828 if (Constant *Op1C = dyn_cast<Constant>(Op1)) 2830 if (Op1C->getType()->getPrimitiveSizeInBits() < 2832 Op1C = ConstantExpr::getZExt(Op1C, MulC->getType()); 2833 if (Op1C->getType()->getPrimitiveSizeInBits() > 2835 MulC = ConstantExpr::getZExt(MulC, Op1C->getType()); 2838 Multiple = ConstantExpr::getMul(MulC, Op1C);
|
H A D | InstructionSimplify.cpp | 948 auto *Op1C = dyn_cast<Constant>(Op1); 949 if (Op1C && Ty->isVectorTy()) { 952 Constant *Elt = Op1C->getAggregateElement(i);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86FastISel.cpp | 1405 if (const ConstantInt *Op1C = dyn_cast<ConstantInt>(Op1)) { 1406 if (unsigned CompareImmOpc = X86ChooseCmpImmediateOpcode(VT, Op1C)) { 1409 .addImm(Op1C->getSExtValue());
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 510 auto *Op1C = dyn_cast<ConstantSDNode>(Op.getOperand(1)); local 511 if (!Op1C) 515 const APInt &C = Op1C->getAPIntValue();
|
Completed in 312 milliseconds