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

References

lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
 2536     auto *GuardDecl = L.getHeader()->getParent()->getParent()->getFunction(
 2542   for (auto *BB : L.blocks()) {
 2543     if (LI.getLoopFor(BB) != &L)
 2551           if (!isa<Constant>(Cond) && L.isLoopInvariant(Cond))
 2559           L.isLoopInvariant(SI->getCondition()) && !BB->getUniqueSuccessor())
 2569     if (L.isLoopInvariant(BI->getCondition())) {
 2580         collectHomogenousInstGraphLoopInvariants(L, CondI, LI);
 2597   LoopBlocksRPO RPOT(&L);
 2603   L.getUniqueExitBlocks(ExitBlocks);
 2625   CodeMetrics::collectEphemeralValues(&L, &AC, EphValues);
 2634   for (auto *BB : L.blocks()) {
 2740           calculateUnswitchCostMultiplier(TI, L, LI, DT, UnswitchCandidates);
 2769     BestUnswitchTI = turnGuardIntoBranch(cast<IntrinsicInst>(BestUnswitchTI), L,
 2775   unswitchNontrivialInvariants(L, *BestUnswitchTI, BestUnswitchInvariants,