Searched refs:CI2 (Results 1 – 6 of 6) sorted by relevance
| /src/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 733 if (ConstantInt *CI2 = dyn_cast<ConstantInt>(C2)) { in ConstantFoldBinaryInstruction() local 736 if (CI2->isZero()) in ConstantFoldBinaryInstruction() 741 if (CI2->isZero()) in ConstantFoldBinaryInstruction() 742 return PoisonValue::get(CI2->getType()); // X / 0 == poison in ConstantFoldBinaryInstruction() 746 if (CI2->isOne()) in ConstantFoldBinaryInstruction() 747 return Constant::getNullValue(CI2->getType()); // X % 1 == 0 in ConstantFoldBinaryInstruction() 748 if (CI2->isZero()) in ConstantFoldBinaryInstruction() 749 return PoisonValue::get(CI2->getType()); // X % 0 == poison in ConstantFoldBinaryInstruction() 752 if (CI2->isZero()) in ConstantFoldBinaryInstruction() 783 unsigned DstWidth = CI2->getBitWidth(); in ConstantFoldBinaryInstruction() [all …]
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LowerSwitch.cpp | 89 const ConstantInt *CI2 = cast<const ConstantInt>(C2.High); in operator ()() local 90 return CI1->getValue().slt(CI2->getValue()); in operator ()()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 127 const CastInst *CI2) { in isEliminableCastPair() argument 130 Type *DstTy = CI2->getDestTy(); in isEliminableCastPair() 133 Instruction::CastOps secondOp = CI2->getOpcode(); in isEliminableCastPair()
|
| H A D | InstCombineInternal.h | 410 const CastInst *CI2);
|
| H A D | InstCombineCompares.cpp | 1066 ConstantInt *CI2, ConstantInt *CI1, in processUGT_ADDCST_ADD() argument 1080 if (!CI2->getValue().isPowerOf2()) in processUGT_ADDCST_ADD() 1082 unsigned NewWidth = CI2->getValue().countr_zero(); in processUGT_ADDCST_ADD() 1299 ConstantInt *CI, *CI2; // I = icmp ugt (add (add A, B), CI2), CI in foldICmpWithConstant() local 1301 match(Op0, m_Add(m_Add(m_Value(A), m_Value(B)), m_ConstantInt(CI2)))) in foldICmpWithConstant() 1302 if (Instruction *Res = processUGT_ADDCST_ADD(Cmp, A, B, CI2, CI, *this)) in foldICmpWithConstant()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 6549 CallInst *CI2 = dyn_cast<CallInst>(V); in getScalarsVectorizationState() local 6550 if (!CI2 || CI2->getCalledFunction() != F || in getScalarsVectorizationState() 6551 getVectorIntrinsicIDForCall(CI2, TLI) != ID || in getScalarsVectorizationState() 6553 VecFunc != VFDatabase(*CI2).getVectorizedFunction(Shape)) || in getScalarsVectorizationState() 6554 !CI->hasIdenticalOperandBundleSchema(*CI2)) { in getScalarsVectorizationState() 6563 Value *A1J = CI2->getArgOperand(J); in getScalarsVectorizationState() 6576 CI2->op_begin() + CI2->getBundleOperandsStartIndex())) { in getScalarsVectorizationState() 7385 auto *CI2 = cast<CallInst>(V); in buildTree_rec() local 7386 Operands.back().push_back(CI2->getArgOperand(I)); in buildTree_rec() 7408 auto *CI2 = cast<CallInst>(V); in buildTree_rec() local [all …]
|