Lines Matching refs:getTrue

122 static Constant *getTrue(Type *Ty) {  in getTrue()  function
123 return ConstantInt::getTrue(Ty); in getTrue()
167 getTrue(Cond->getType())); in simplifyCmpSelTrueCase()
1431 return ConstantInt::getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck()
1512 return getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck()
1563 return getTrue(Op0->getType()); in simplifyOrOfICmpsWithSameOperands()
1593 return getTrue(Cmp0->getType()); in simplifyAndOrOfICmpsWithConstants()
1805 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
1807 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
1811 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
1813 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
1819 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
1822 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
2610 return getTrue(ITy); in simplifyICmpOfBools()
2627 return getTrue(ITy); in simplifyICmpOfBools()
2638 return getTrue(ITy); in simplifyICmpOfBools()
2649 return getTrue(ITy); in simplifyICmpOfBools()
2653 return getTrue(ITy); in simplifyICmpOfBools()
2673 return getTrue(ITy); in simplifyICmpWithZero()
2682 return getTrue(ITy); in simplifyICmpWithZero()
2687 return getTrue(ITy); in simplifyICmpWithZero()
2695 return getTrue(ITy); in simplifyICmpWithZero()
2706 return getTrue(ITy); in simplifyICmpWithZero()
2715 return getTrue(ITy); in simplifyICmpWithZero()
2736 return ConstantInt::getTrue(ITy); in simplifyICmpWithConstant()
2748 return ConstantInt::getTrue(ITy); in simplifyICmpWithConstant()
2753 return ConstantInt::getTrue(ITy); in simplifyICmpWithConstant()
2782 return getTrue(ITy); in simplifyICmpWithBinOpOnLHS()
2788 return Pred == ICmpInst::ICMP_SLT ? getTrue(ITy) : getFalse(ITy); in simplifyICmpWithBinOpOnLHS()
2790 return Pred == ICmpInst::ICMP_SLT ? getFalse(ITy) : getTrue(ITy); in simplifyICmpWithBinOpOnLHS()
2799 return getTrue(ITy); in simplifyICmpWithBinOpOnLHS()
2828 return getTrue(ITy); in simplifyICmpWithBinOpOnLHS()
2835 return getTrue(ITy); in simplifyICmpWithBinOpOnLHS()
2848 return getTrue(ITy); in simplifyICmpWithBinOpOnLHS()
2982 return ConstantInt::getTrue(GetCompareTy(RHS)); in simplifyICmpWithBinOp()
2988 return ConstantInt::getTrue(GetCompareTy(RHS)); in simplifyICmpWithBinOp()
3015 return ConstantInt::getTrue(GetCompareTy(RHS)); in simplifyICmpWithBinOp()
3026 return ConstantInt::getTrue(GetCompareTy(RHS)); in simplifyICmpWithBinOp()
3151 return getTrue(ITy); in simplifyICmpWithMinMax()
3224 return getTrue(ITy); in simplifyICmpWithMinMax()
3244 return getTrue(ITy); in simplifyICmpWithMinMax()
3253 return getTrue(ITy); in simplifyICmpWithMinMax()
3340 return ConstantInt::getTrue(RHS->getContext()); in SimplifyICmpInst()
3390 return ConstantInt::getTrue(ITy); in SimplifyICmpInst()
3424 return ConstantInt::getTrue(CI->getContext()); in SimplifyICmpInst()
3431 ConstantInt::getTrue(CI->getContext()) : in SimplifyICmpInst()
3438 ConstantInt::getTrue(CI->getContext()); in SimplifyICmpInst()
3458 return ConstantInt::getTrue(ITy); in SimplifyICmpInst()
3485 return ConstantInt::getTrue(CI->getContext()); in SimplifyICmpInst()
3492 ConstantInt::getTrue(CI->getContext()) : in SimplifyICmpInst()
3498 ConstantInt::getTrue(CI->getContext()); in SimplifyICmpInst()
3529 return Pred == ICmpInst::ICMP_NE ? getTrue(ITy) : getFalse(ITy); in SimplifyICmpInst()
3624 return getTrue(RetTy); in SimplifyFCmpInst()
3649 return getTrue(RetTy); in SimplifyFCmpInst()
3668 return getTrue(RetTy); in SimplifyFCmpInst()
3679 return getTrue(RetTy); in SimplifyFCmpInst()
3690 return getTrue(RetTy); in SimplifyFCmpInst()
3698 return getTrue(RetTy); in SimplifyFCmpInst()
3710 return getTrue(RetTy); in SimplifyFCmpInst()
3742 return getTrue(RetTy); in SimplifyFCmpInst()
3772 return Pred == FCmpInst::FCMP_OGE ? getTrue(RetTy) : getFalse(RetTy); in SimplifyFCmpInst()
3779 return Pred == FCmpInst::FCMP_UGE ? getTrue(RetTy) : getFalse(RetTy); in SimplifyFCmpInst()