Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp800 if (ConstantInt *CI2 = dyn_cast<ConstantInt>(C2)) { in ConstantFoldBinaryInstruction() local
803 if (CI2->isZero()) in ConstantFoldBinaryInstruction()
808 if (CI2->isZero()) in ConstantFoldBinaryInstruction()
813 if (CI2->isOne()) in ConstantFoldBinaryInstruction()
815 if (CI2->isZero()) in ConstantFoldBinaryInstruction()
819 if (CI2->isZero()) in ConstantFoldBinaryInstruction()
850 unsigned DstWidth = CI2->getBitWidth(); in ConstantFoldBinaryInstruction()
855 if ((CI2->getValue() & BitsNotSet) == CI2->getValue()) in ConstantFoldBinaryInstruction()
862 if (CI2->isMinusOne()) in ConstantFoldBinaryInstruction()
873 assert(CI2->isOne()); in ConstantFoldBinaryInstruction()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp89 const ConstantInt *CI2 = cast<const ConstantInt>(C2.High); in operator ()() local
90 return CI1->getValue().slt(CI2->getValue()); in operator ()()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp127 const CastInst *CI2) { in isEliminableCastPair() argument
130 Type *DstTy = CI2->getDestTy(); in isEliminableCastPair()
133 Instruction::CastOps secondOp = CI2->getOpcode(); in isEliminableCastPair()
H A DInstCombineInternal.h399 const CastInst *CI2);
H A DInstCombineCompares.cpp1065 ConstantInt *CI2, ConstantInt *CI1, in processUGT_ADDCST_ADD() argument
1079 if (!CI2->getValue().isPowerOf2()) in processUGT_ADDCST_ADD()
1081 unsigned NewWidth = CI2->getValue().countr_zero(); in processUGT_ADDCST_ADD()
1298 ConstantInt *CI, *CI2; // I = icmp ugt (add (add A, B), CI2), CI in foldICmpWithConstant() local
1300 match(Op0, m_Add(m_Add(m_Value(A), m_Value(B)), m_ConstantInt(CI2)))) in foldICmpWithConstant()
1301 if (Instruction *Res = processUGT_ADDCST_ADD(Cmp, A, B, CI2, CI, *this)) in foldICmpWithConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp5489 CallInst *CI2 = dyn_cast<CallInst>(V); in getScalarsVectorizationState() local
5490 if (!CI2 || CI2->getCalledFunction() != F || in getScalarsVectorizationState()
5494 !CI->hasIdenticalOperandBundleSchema(*CI2)) { in getScalarsVectorizationState()
5503 Value *A1J = CI2->getArgOperand(J); in getScalarsVectorizationState()
5516 CI2->op_begin() + CI2->getBundleOperandsStartIndex())) { in getScalarsVectorizationState()
6249 auto *CI2 = cast<CallInst>(V); in buildTree_rec() local
6250 Operands.push_back(CI2->getArgOperand(I)); in buildTree_rec()
15779 auto *CI2 = cast<CmpInst>(V2); in compareCmp() local
15781 CI2->getOperand(0)->getType()->getTypeID()) in compareCmp()
15784 CI2->getOperand(0)->getType()->getTypeID()) in compareCmp()
[all …]