Home
last modified time | relevance | path

Searched refs:isConditional (Results 1 – 25 of 79) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDomConditionCache.cpp20 assert(BI->isConditional() && "Must be conditional branch"); in registerBranch()
H A DGuardUtils.cpp73 if (!BI || !BI->isConditional()) in parseWidenableBranch()
153 if (!BI || !BI->isConditional())
H A DFunctionPropertiesAnalysis.cpp53 if (BI->isConditional()) in getNrBlocksFromCond()
127 if (!BI->isConditional()) in updateForBB()
H A DBranchProbabilityInfo.cpp517 if (!BI || !BI->isConditional()) in calcPointerHeuristics()
567 if (!BI || !BI->isConditional()) in computeUnlikelySuccessors()
966 if (!BI || !BI->isConditional()) in calcZeroHeuristics()
1032 if (!BI || !BI->isConditional()) in calcFloatingPointHeuristics()
H A DLoopNestAnalysis.cpp58 assert(BI && BI->isConditional() && in getOuterLoopLatchCmp()
H A DLoopInfo.cpp178 if (BI->isConditional()) in getLatchCmpInst()
238 assert(BI && BI->isConditional() && "Expecting conditional latch branch"); in getCanonicalPredicate()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanHCFGBuilder.cpp297 if (Br->isConditional()) { in createVPInstructionsForVPBB()
415 assert(BI->isConditional() && NumSuccs == 2 && BI->isConditional() && in buildPlainCFG()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVMergeRegionExitTargets.cpp56 if (BI->isConditional()) in gatherSuccessors()
88 BI->isConditional() ? BI->getSuccessor(1) : nullptr; in createExitVariable()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAdjustOpt.cpp223 if (!BI || !BI->isConditional()) in serializeICMPCrossBB()
233 if (!BI || !BI->isConditional()) in serializeICMPCrossBB()
/freebsd/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp457 if (LI->isConditional() != RI->isConditional()) { in diff()
462 if (LI->isConditional()) { in diff()
914 if (cast<BranchInst>(LTerm)->isConditional()) return; in runBlockDiff()
928 if (cast<BranchInst>(RTerm)->isConditional()) return; in runBlockDiff()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DStructurizeCFG.cpp455 if (Term->isConditional()) { in buildCondition()
487 if (Term->isConditional()) { in gatherPredicates()
565 assert(Term->isConditional()); in insertConditions()
1074 if (!Br || !Br->isConditional()) in hasOnlyUniformBranches()
1097 if (!Br || !Br->isConditional()) in hasOnlyUniformBranches()
H A DMergedLoadStoreMotion.cpp140 if (!BI || !BI->isConditional()) in isDiamondHead()
H A DLowerExpectIntrinsic.cpp199 if (BI && BI->isConditional()) in handlePhiDef()
H A DSimpleLoopUnswitch.cpp512 assert(BI.isConditional() && "Can only unswitch a conditional branch!"); in unswitchTrivialBranch()
1100 if (!BI || BI->isConditional()) in unswitchAllTrivialConditions()
1115 if (!BI->isConditional() || in unswitchAllTrivialConditions()
1130 if (BI->isConditional()) in unswitchAllTrivialConditions()
2191 assert((SI || (BI && BI->isConditional())) && in unswitchNontrivialInvariants()
2959 if (!BI || !BI->isConditional() || in collectUnswitchCandidates()
H A DCallSiteSplitting.cpp132 if (!BI || !BI->isConditional()) in recordCondition()
H A DJumpThreading.cpp174 if (PredBr && PredBr->isConditional()) in updatePredecessorProfileMetadata()
1148 if (!BI || !BI->isConditional()) in processImpliedCondition()
1171 if (!PBI || !PBI->isConditional()) in processImpliedCondition()
2859 if (!CondBr || !CondBr->isConditional() || !CondLHS || in tryToUnfoldSelect()
3053 assert(BI->isConditional() && "Unconditional branch has 2 successors?"); in threadGuard()
H A DIndVarSimplify.cpp254 assert(TheBr->isConditional() && "Can't use fcmp if not conditional"); in handleFloatingPointIV()
1443 assert(BI->isConditional() && "exit branch must be conditional"); in canonicalizeExitCondition()
1489 assert(BI->isConditional() && "exit branch must be conditional"); in canonicalizeExitCondition()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopRotationUtils.cpp216 assert(BI && BI->isConditional() && "need header with conditional exit"); in profitableToRotateLoopExitingLatch()
243 if (!BI || !BI->isConditional()) in canRotateDeoptimizingLatchExit()
845 assert(PHBI->isConditional() && "Should be clone of BI condbr!"); in rotateLoop()
H A DLoopSimplify.cpp525 if (BI->isConditional()) { in simplifyOneLoop()
636 if (!BI || !BI->isConditional()) continue; in simplifyOneLoop()
H A DFlattenCFG.cpp172 assert(PBI->isConditional()); in FlattenParallelAndOr()
H A DBasicBlockUtils.cpp1834 if (Pred2Br->isConditional()) { in GetIfCondition()
1839 if (Pred1Br->isConditional()) in GetIfCondition()
1846 if (Pred1Br->isConditional()) { in GetIfCondition()
1883 assert(BI->isConditional() && "Two successors but not conditional?"); in GetIfCondition()
1951 auto Condition = Branch->isConditional() ? Branch->getCondition() : nullptr; in redirectToHub()
H A DSimplifyCFG.cpp442 if (!BI || BI->isConditional() || BI->getSuccessor(0) != BB) in dominatesMergePoint()
762 if (BI->isConditional()) in EraseTerminatorAndDCECond()
783 if (BI->isConditional() && BI->getCondition()->hasOneUse()) in isValueEqualityComparison()
3293 if (BI && BI->isConditional() && BI->getCondition() == V && in getKnownValueOnEdge()
3718 assert(BI && PBI && BI->isConditional() && PBI->isConditional() && in shouldFoldCondBranchesToCommonDestination()
3884 if (!BI->isConditional()) in FoldBranchToCommonDest()
4393 assert(PBI->isConditional() && BI->isConditional()); in SimplifyCondBranchToCondBranch()
5359 assert(BI->isConditional() && "Can't get here with an uncond branch."); in simplifyUnreachable()
7398 if (!SuccBI || !SuccBI->isConditional()) in mergeNestedCondBranch()
7552 if (PBI != BI && PBI->isConditional()) in simplifyCondBranch()
[all …]
H A DCloneFunction.cpp576 if (BI->isConditional()) { in CloneBlock()
903 if (!BI || BI->isConditional()) { in CloneAndPruneIntoFromInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp634 if (!BI->isConditional()) in checkBiasedBranch()
763 CHR_DEBUG(dbgs() << "BI.isConditional " << BI->isConditional() << "\n"); in findScope()
766 if (BI && BI->isConditional()) { in findScope()
1513 if (isa<BranchInst>(U) && cast<BranchInst>(U)->isConditional()) in negateICmpIfUsedByBranchOrSelectOnly()
1523 assert(BI->isConditional() && "Must be conditional"); in negateICmpIfUsedByBranchOrSelectOnly()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCFGPrinter.h235 if (BI->isConditional())

1234