reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/InstrTypes.h
  839   static Predicate getInversePredicate(Predicate pred);

References

include/llvm/Analysis/ValueLattice.h
  311             CmpInst::getInversePredicate(Pred), OtherCR)
include/llvm/IR/InstrTypes.h
  832     return getInversePredicate(getPredicate());
lib/Analysis/InstructionSimplify.cpp
 1498   if ((Pred0 == ICmpInst::getInversePredicate(Pred1)) ||
 1524   if ((Pred0 == ICmpInst::getInversePredicate(Pred1)) ||
 3037       CmpInst::Predicate InvEqP = CmpInst::getInversePredicate(EqP);
 3111       CmpInst::Predicate InvEqP = CmpInst::getInversePredicate(EqP);
 3237                 CmpInst::getInversePredicate(Pred), RHS_CR);
lib/Analysis/LazyValueInfo.cpp
 1240             isTrueDest ? Predicate : CmpInst::getInversePredicate(Predicate);
lib/Analysis/ScalarEvolution.cpp
 9311   auto P = Increasing ? Pred : ICmpInst::getInversePredicate(Pred);
lib/Analysis/ValueTracking.cpp
 4495     Pred = CmpInst::getInversePredicate(Pred);
lib/CodeGen/GlobalISel/CombinerHelper.cpp
  788   CmpInst::Predicate InversePred = CmpInst::getInversePredicate(
lib/IR/ConstantFold.cpp
 1200           pred = CmpInst::getInversePredicate(pred);
lib/IR/ConstantRange.cpp
  133   return makeAllowedICmpRegion(CmpInst::getInversePredicate(Pred), CR)
lib/IR/Instructions.cpp
 3789   return isImpliedTrueByMatchingCmp(Pred1, getInversePredicate(Pred2));
lib/Target/AArch64/AArch64FastISel.cpp
 2322     Predicate = CmpInst::getInversePredicate(Predicate);
 2453         Predicate = CmpInst::getInversePredicate(Predicate);
lib/Target/AArch64/AArch64InstructionSelector.cpp
 3369       CmpInst::getInversePredicate((CmpInst::Predicate)Pred));
lib/Target/ARM/ARMFastISel.cpp
 1253         Predicate = CmpInst::getInversePredicate(Predicate);
lib/Target/X86/X86FastISel.cpp
 1663         Predicate = CmpInst::getInversePredicate(Predicate);
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  798     NewPred = ICmpInst::getInversePredicate(NewPred);
 3093     cast<CmpInst>(Op0)->setPredicate(CmpInst::getInversePredicate(Pred));
lib/Transforms/InstCombine/InstCombineCalls.cpp
 3747         SrcPred = CmpInst::getInversePredicate(SrcPred);
lib/Transforms/InstCombine/InstCombineCompares.cpp
 1159       Pred = CmpInst::getInversePredicate(Pred);
 1218       Pred = CmpInst::getInversePredicate(Pred);
 1500                                 CmpInst::getInversePredicate(DomPred), *DomC);
 5004           auto NewPred = ICmpInst::getInversePredicate(Pred);
 5023         auto NewPred = ICmpInst::getInversePredicate(Pred);
lib/Transforms/InstCombine/InstCombineSelect.cpp
  690     Pred = ICmpInst::getInversePredicate(Pred);
 2231     Cond->setPredicate(CmpInst::getInversePredicate(Pred));
lib/Transforms/InstCombine/InstructionCombining.cpp
 2583     Cond->setPredicate(CmpInst::getInversePredicate(Pred));
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
 1565   ICmp->setPredicate(CmpInst::getInversePredicate(ICmp->getPredicate()));
lib/Transforms/Scalar/EarlyCSE.cpp
  223     if (CmpInst::getInversePredicate(Pred) < Pred) {
  224       Pred = CmpInst::getInversePredicate(Pred);
  346           CmpInst::getInversePredicate(PredL) == PredR)
lib/Transforms/Scalar/GuardWidening.cpp
  546         Pred1 = ICmpInst::getInversePredicate(Pred1);
lib/Transforms/Scalar/IndVarSimplify.cpp
 1840             TrueDest ? Pred : CmpInst::getInversePredicate(Pred);
lib/Transforms/Scalar/LoopPredication.cpp
  400     if (SE->isLoopEntryGuardedByCond(L, ICmpInst::getInversePredicate(Pred),
  865     Result->Pred = ICmpInst::getInversePredicate(Result->Pred);
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 2338     Pred = CmpInst::getInversePredicate(Pred);
lib/Transforms/Scalar/NewGVN.cpp
 1940                      CmpInst::getInversePredicate(OurPredicate)) {
lib/Transforms/Utils/FlattenCFG.cpp
  262         CI->setPredicate(ICmpInst::getInversePredicate(Predicate));
lib/Transforms/Utils/LoopUnrollPeel.cpp
  198         SE.isKnownPredicate(ICmpInst::getInversePredicate(Pred), LeftSCEV,
  238       Pred = ICmpInst::getInversePredicate(Pred);
  250         SE.isKnownPredicate(ICmpInst::getInversePredicate(Pred), IterVal,
lib/Transforms/Utils/SimplifyIndVar.cpp
  268   } else if (SE->isKnownPredicate(ICmpInst::getInversePredicate(Pred), S, X)) {