Searched refs:CI2 (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp1125 if (ConstantInt *CI2 = dyn_cast<ConstantInt>(C2)) {
1128 if (CI2->isZero()) return C1; // X + 0 == X
1131 if (CI2->isZero()) return C1; // X - 0 == X
1134 if (CI2->isZero()) return C2; // X * 0 == 0
1135 if (CI2->isOne())
1140 if (CI2->isOne())
1142 if (CI2->isZero())
1143 return UndefValue::get(CI2->getType()); // X / 0 == undef
1147 if (CI2->isOne())
1148 return Constant::getNullValue(CI2
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp123 const ConstantInt* CI2 = cast<const ConstantInt>(C2.High); local
124 return CI1->getValue().slt(CI2->getValue());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp3015 CallInst *CI2 = dyn_cast<CallInst>(V);
3016 if (!CI2 || CI2->getCalledFunction() != Int ||
3017 getVectorIntrinsicIDForCall(CI2, TLI) != ID ||
3018 !CI->hasIdenticalOperandBundleSchema(*CI2)) {
3030 Value *A1J = CI2->getArgOperand(j);
3046 CI2->op_begin() + CI2->getBundleOperandsStartIndex())) {
3063 auto *CI2 = cast<CallInst>(V);
3064 Operands.push_back(CI2
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp234 const CastInst *CI2) {
237 Type *DstTy = CI2->getDestTy();
240 Instruction::CastOps secondOp = CI2->getOpcode();
233 isEliminableCastPair(const CastInst *CI1, const CastInst *CI2) argument
H A DInstCombineInternal.h614 /// \param CI2 The second of a pair of casts.
618 /// CI1->getSrcTy() to CI2->getDstTy().
622 const CastInst *CI2);
H A DInstCombineCompares.cpp1249 /// I = icmp ugt (add (add A, B), CI2), CI1
1256 ConstantInt *CI2, ConstantInt *CI1,
1269 // If CI2 is 2^7, 2^15, 2^31, then it might be an sadd.with.overflow.
1270 if (!CI2->getValue().isPowerOf2())
1272 unsigned NewWidth = CI2->getValue().countTrailingZeros();
1285 // sign-extended; check for that condition. For example, if CI2 is 2^31 and
1448 ConstantInt *CI, *CI2; // I = icmp ugt (add (add A, B), CI2), CI local
1450 match(Op0, m_Add(m_Add(m_Value(A), m_Value(B)), m_ConstantInt(CI2))))
1451 if (Instruction *Res = processUGT_ADDCST_ADD(Cmp, A, B, CI2, C
1255 processUGT_ADDCST_ADD(ICmpInst &I, Value *A, Value *B, ConstantInt *CI2, ConstantInt *CI1, InstCombiner &IC) argument
[all...]

Completed in 238 milliseconds