Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/FuzzMutate/
H A DIRMutator.cpp229 Modifications.push_back([CI]() { CI->setPredicate(CmpInst::ICMP_EQ); }); in mutate()
230 Modifications.push_back([CI]() { CI->setPredicate(CmpInst::ICMP_NE); }); in mutate()
231 Modifications.push_back([CI]() { CI->setPredicate(CmpInst::ICMP_UGT); }); in mutate()
232 Modifications.push_back([CI]() { CI->setPredicate(CmpInst::ICMP_UGE); }); in mutate()
233 Modifications.push_back([CI]() { CI->setPredicate(CmpInst::ICMP_ULT); }); in mutate()
234 Modifications.push_back([CI]() { CI->setPredicate(CmpInst::ICMP_ULE); }); in mutate()
235 Modifications.push_back([CI]() { CI->setPredicate(CmpInst::ICMP_SGT); }); in mutate()
236 Modifications.push_back([CI]() { CI->setPredicate(CmpInst::ICMP_SGE); }); in mutate()
237 Modifications.push_back([CI]() { CI->setPredicate(CmpInst::ICMP_SLT); }); in mutate()
238 Modifications.push_back([CI]() { CI->setPredicate(CmpInst::ICMP_SLE); }); in mutate()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DFlattenCFG.cpp262 CI->setPredicate(ICmpInst::getInversePredicate(Predicate)); in FlattenParallelAndOr()
495 Cmp2->setPredicate(Cmp2->getInversePredicate()); in MergeIfRegion()
H A DSimplifyIndVar.cpp258 ICmp->setPredicate(InvariantPredicate); in makeIVComparisonInvariant()
306 ICmp->setPredicate(ICmpInst::getUnsignedPredicate(OriginalPred)); in eliminateIVComparison()
H A DSimplifyCFG.cpp3441 CI->setPredicate(CI->getInversePredicate()); in performBranchToCommonDestFolding()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DConstraintElimination.cpp796 CI->setPredicate(CI->getInversePredicate()); in eliminateConstraints()
800 CI->setPredicate(CI->getInversePredicate()); in eliminateConstraints()
H A DStructurizeCFG.cpp598 InvertedCmp->setPredicate(InvertedCmp->getInversePredicate()); in simplifyConditions()
H A DCorrelatedValuePropagation.cpp332 Cmp->setPredicate(UnsignedPred); in processICmp()
H A DLoopIdiomRecognize.cpp2121 LbCond->setPredicate(Pred); in transformLoopToCountable()
2228 LbCond->setPredicate(Pred); in transformLoopToPopcount()
H A DIndVarSimplify.cpp1478 ICmp->setPredicate(ICmp->getUnsignedPredicate()); in canonicalizeExitCondition()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp639 MI.getOperand(1).setPredicate(MatchInfo.second); in applyAdjustICmpImmAndPred()
845 MI.getOperand(1).setPredicate(CmpInst::getSwappedPredicate(Pred)); in applySwapICmpOperands()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineOperand.h717 void setPredicate(unsigned Predicate) { in setPredicate() function
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp3263 Y->setPredicate(Y->getInversePredicate()); in foldXorOfICmps()
3549 cast<CmpInst>(NotOp)->setPredicate(CmpInst::getInversePredicate(Pred)); in foldNot()
3593 CmpT->setPredicate(CmpT->getInversePredicate()); in foldNot()
3597 CmpF->setPredicate(CmpF->getInversePredicate()); in foldNot()
H A DInstCombineCompares.cpp5850 I.setPredicate(CmpInst::getInversePredicate(Pred)); in canonicalizeICmpPredicate()
6674 I->setPredicate(P); in foldFabsWithFcmpZero()
6776 I.setPredicate(FCmpInst::FCMP_UNO); in visitFCmpInst()
6785 I.setPredicate(FCmpInst::FCMP_ORD); in visitFCmpInst()
H A DInstCombineSelect.cpp1077 Cmp.setPredicate(Pred); in adjustMinMax()
H A DInstructionCombining.cpp3191 Cond->setPredicate(CmpInst::getInversePredicate(Pred)); in visitBranchInst()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstrTypes.h812 void setPredicate(Predicate P) { setSubclassData<PredicateField>(P); }
H A DInstructions.h1335 setPredicate(getSwappedPredicate());
1447 setPredicate(getSwappedPredicate());
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp1540 ICmp->setPredicate(CmpInst::getInversePredicate(ICmp->getPredicate())); in negateICmpIfUsedByBranchOrSelectOnly()
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstructions.cpp3837 setPredicate((Predicate)predicate); in CmpInst()
3851 setPredicate((Predicate)predicate); in CmpInst()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp3001 PredOp.setPredicate(NewP); in applyNotCmp()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp1730 Cmp->setPredicate(CmpInst::getSwappedPredicate(DomPred)); in foldICmpWithDominatingICmp()