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

/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp1173 if (ConstantInt *CI2 = dyn_cast<ConstantInt>(C2)) {
1176 if (CI2->isZero()) return C1; // X + 0 == X
1179 if (CI2->isZero()) return C1; // X - 0 == X
1182 if (CI2->isZero()) return C2; // X * 0 == 0
1183 if (CI2->isOne())
1188 if (CI2->isOne())
1190 if (CI2->isZero())
1191 return UndefValue::get(CI2->getType()); // X / 0 == undef
1195 if (CI2->isOne())
1196 return Constant::getNullValue(CI2
[all...]
/freebsd-13-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-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp3049 CallInst *CI2 = dyn_cast<CallInst>(V);
3050 if (!CI2 || CI2->getCalledFunction() != F ||
3051 getVectorIntrinsicIDForCall(CI2, TLI) != ID ||
3053 VecFunc != VFDatabase(*CI2).getVectorizedFunction(Shape)) ||
3054 !CI->hasIdenticalOperandBundleSchema(*CI2)) {
3066 Value *A1J = CI2->getArgOperand(j);
3082 CI2->op_begin() + CI2->getBundleOperandsStartIndex())) {
3099 auto *CI2
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
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
1449 ConstantInt *CI, *CI2; // I = icmp ugt (add (add A, B), CI2), CI local
1451 match(Op0, m_Add(m_Add(m_Value(A), m_Value(B)), m_ConstantInt(CI2))))
1452 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...]
H A DInstCombineInternal.h619 /// \param CI2 The second of a pair of casts.
623 /// CI1->getSrcTy() to CI2->getDstTy().
627 const CastInst *CI2);
H A DInstCombineCasts.cpp233 const CastInst *CI2) {
236 Type *DstTy = CI2->getDestTy();
239 Instruction::CastOps secondOp = CI2->getOpcode();
232 isEliminableCastPair(const CastInst *CI1, const CastInst *CI2) argument

Completed in 199 milliseconds