Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp3724 const auto *IIOp1 = dyn_cast<IntrinsicInst>(Op1); in foldICmpIntrinsicWithIntrinsic() local
3725 if (!IIOp0 || !IIOp1 || IIOp0->getIntrinsicID() != IIOp1->getIntrinsicID()) in foldICmpIntrinsicWithIntrinsic()
3733 return new ICmpInst(Pred, IIOp0->getOperand(0), IIOp1->getOperand(0)); in foldICmpIntrinsicWithIntrinsic()
3740 if (IIOp1->getOperand(0) != IIOp1->getOperand(1)) in foldICmpIntrinsicWithIntrinsic()
3742 if (IIOp0->getOperand(2) == IIOp1->getOperand(2)) in foldICmpIntrinsicWithIntrinsic()
3743 return new ICmpInst(Pred, IIOp0->getOperand(0), IIOp1->getOperand(0)); in foldICmpIntrinsicWithIntrinsic()
3749 unsigned OneUses = IIOp0->hasOneUse() + IIOp1->hasOneUse(); in foldICmpIntrinsicWithIntrinsic()
3752 match(IIOp1->getOperand(2), m_ImmConstant()))) { in foldICmpIntrinsicWithIntrinsic()
3754 Builder.CreateSub(IIOp0->getOperand(2), IIOp1->getOperand(2)); in foldICmpIntrinsicWithIntrinsic()
3758 return new ICmpInst(Pred, IIOp1->getOperand(0), CombinedRotate); in foldICmpIntrinsicWithIntrinsic()