Searched refs:isTrueWhenEqual (Results 1 – 17 of 17) sorted by relevance
1476 inline bool isTrueWhenEqual(CondCode Cond) { return ((int)Cond & 1) != 0; } in isTrueWhenEqual() function
996 bool isTrueWhenEqual() const {997 return isTrueWhenEqual(getPredicate());1021 static bool isTrueWhenEqual(Predicate predicate);
1616 (Pred0 == ICmpInst::ICMP_NE && ICmpInst::isTrueWhenEqual(Pred1)) || in simplifyOrOfICmpsWithSameOperands()2685 return ConstantInt::get(getCompareTy(LHS), !CmpInst::isTrueWhenEqual(Pred)); in computePointerICmp()2752 !CmpInst::isTrueWhenEqual(Pred)); in computePointerICmp()2780 !CmpInst::isTrueWhenEqual(Pred)); in computePointerICmp()3615 return ConstantInt::get(ITy, CmpInst::isTrueWhenEqual(Pred)); in simplifyICmpInst()3933 if (CmpInst::isTrueWhenEqual(Pred)) in simplifyFCmpInst()
1052 ProbList = !FCmp->isTrueWhenEqual() ? in calcFloatingPointHeuristics()
10442 if (ICmpInst::isTrueWhenEqual(Pred)) in SimplifyICmpOperands()10841 return ICmpInst::isTrueWhenEqual(Pred); in isKnownPredicateViaConstantRanges()11352 return CmpInst::isTrueWhenEqual(Pred); in isImpliedCondBalancedTypes()11530 if (ICmpInst::isTrueWhenEqual(Pred)) in isImpliedCondBalancedTypes()11534 if (!ICmpInst::isTrueWhenEqual(FoundPred)) in isImpliedCondBalancedTypes()
6556 if (ICmpInst::isTrueWhenEqual(Pred) && LHS == RHS) in isTruePredicate()
1612 return ConstantInt::get(ResultTy, CmpInst::isTrueWhenEqual(Predicate)); in ConstantFoldCompareInstruction()1792 Result = ICmpInst::isTrueWhenEqual(Predicate); in ConstantFoldCompareInstruction()
4267 bool CmpInst::isTrueWhenEqual(Predicate predicate) { in isTrueWhenEqual() function in CmpInst
429 Not = ICmp->isTrueWhenEqual(); in getRegForI1Value()
2334 (ICmpInst::isTrueWhenEqual(Pred) ? !MaxLHS->isZero() : (MaxLHS != One))) in OptimizeMax()2352 if (ICmpInst::isTrueWhenEqual(Pred)) { in OptimizeMax()
1850 if (CI->isTrueWhenEqual()) in performSymbolicCmpEvaluation()
984 ConstantInt::get(I.getType(), ICmpInst::isTrueWhenEqual(Cond))); in foldGEPICmp()1081 !CmpInst::isTrueWhenEqual(ICI.getPredicate())); in foldAllocaCmp()
2835 if (!Cmp || !Cmp->isTrueWhenEqual() || !Cmp->isEquality()) in updateImpl()
10050 if (LHS == RHS && (Cmp.isTrueWhenEqual() || Cmp.isFalseWhenEqual())) { in handleCmp()10052 ConstantInt::get(Type::getInt1Ty(Ctx), Cmp.isTrueWhenEqual()); in handleCmp()
4879 bool EqTrue = ISD::isTrueWhenEqual(Cond); in SimplifySetCC()
2361 return getBoolConstant(ISD::isTrueWhenEqual(Cond), dl, VT, OpVT); in FoldSetCC()
24538 (FlipSigns || ISD::isTrueWhenEqual(Cond)) && in LowerVSETCC()24590 (Cond != ISD::SETEQ && ISD::isTrueWhenEqual(Cond)); in LowerVSETCC()