Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h1476 inline bool isTrueWhenEqual(CondCode Cond) { return ((int)Cond & 1) != 0; } in isTrueWhenEqual() function
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstrTypes.h996 bool isTrueWhenEqual() const {
997 return isTrueWhenEqual(getPredicate());
1021 static bool isTrueWhenEqual(Predicate predicate);
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DInstructionSimplify.cpp1616 (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()
H A DBranchProbabilityInfo.cpp1052 ProbList = !FCmp->isTrueWhenEqual() ? in calcFloatingPointHeuristics()
H A DScalarEvolution.cpp10442 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()
H A DValueTracking.cpp6556 if (ICmpInst::isTrueWhenEqual(Pred) && LHS == RHS) in isTruePredicate()
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantFold.cpp1612 return ConstantInt::get(ResultTy, CmpInst::isTrueWhenEqual(Predicate)); in ConstantFoldCompareInstruction()
1792 Result = ICmpInst::isTrueWhenEqual(Predicate); in ConstantFoldCompareInstruction()
H A DInstructions.cpp4267 bool CmpInst::isTrueWhenEqual(Predicate predicate) { in isTrueWhenEqual() function in CmpInst
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp429 Not = ICmp->isTrueWhenEqual(); in getRegForI1Value()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp2334 (ICmpInst::isTrueWhenEqual(Pred) ? !MaxLHS->isZero() : (MaxLHS != One))) in OptimizeMax()
2352 if (ICmpInst::isTrueWhenEqual(Pred)) { in OptimizeMax()
H A DNewGVN.cpp1850 if (CI->isTrueWhenEqual()) in performSymbolicCmpEvaluation()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp984 ConstantInt::get(I.getType(), ICmpInst::isTrueWhenEqual(Cond))); in foldGEPICmp()
1081 !CmpInst::isTrueWhenEqual(ICI.getPredicate())); in foldAllocaCmp()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp2835 if (!Cmp || !Cmp->isTrueWhenEqual() || !Cmp->isEquality()) in updateImpl()
H A DAttributorAttributes.cpp10050 if (LHS == RHS && (Cmp.isTrueWhenEqual() || Cmp.isFalseWhenEqual())) { in handleCmp()
10052 ConstantInt::get(Type::getInt1Ty(Ctx), Cmp.isTrueWhenEqual()); in handleCmp()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp4879 bool EqTrue = ISD::isTrueWhenEqual(Cond); in SimplifySetCC()
H A DSelectionDAG.cpp2361 return getBoolConstant(ISD::isTrueWhenEqual(Cond), dl, VT, OpVT); in FoldSetCC()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp24538 (FlipSigns || ISD::isTrueWhenEqual(Cond)) && in LowerVSETCC()
24590 (Cond != ISD::SETEQ && ISD::isTrueWhenEqual(Cond)); in LowerVSETCC()