LLVM  12.0.0git
Macros | Functions | Variables
UnifyLoopExits.cpp File Reference
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/IR/Dominators.h"
#include "llvm/InitializePasses.h"
#include "llvm/Transforms/Utils.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
Include dependency graph for UnifyLoopExits.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "unify-loop-exits"
 

Functions

 INITIALIZE_PASS_BEGIN (UnifyLoopExits, "unify-loop-exits", "Fixup each natural loop to have a single exit block", false, false) INITIALIZE_PASS_END(UnifyLoopExits
 
unify loop Fixup each natural loop to have a single exit static false void restoreSSA (const DominatorTree &DT, const Loop *L, const SetVector< BasicBlock *> &Incoming, BasicBlock *LoopExitBlock)
 
static bool unifyLoopExits (DominatorTree &DT, LoopInfo &LI, Loop *L)
 

Variables

unify loop exits
 
unify loop Fixup each natural loop to have a single exit block
 
unify loop Fixup each natural loop to have a single exit false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "unify-loop-exits"

Definition at line 25 of file UnifyLoopExits.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( UnifyLoopExits  ,
"unify-loop-exits ,
"Fixup each natural loop to have a single exit block ,
false  ,
false   
)

◆ restoreSSA()

unify loop Fixup each natural loop to have a single exit static false void restoreSSA ( const DominatorTree DT,
const Loop L,
const SetVector< BasicBlock *> &  Incoming,
BasicBlock LoopExitBlock 
)
static

◆ unifyLoopExits()

static bool unifyLoopExits ( DominatorTree DT,
LoopInfo LI,
Loop L 
)
static

Variable Documentation

◆ block

unify loop Fixup each natural loop to have a single exit block

Definition at line 59 of file UnifyLoopExits.cpp.

Referenced by llvm::FileInfo::print().

◆ exits

unify loop exits

Definition at line 59 of file UnifyLoopExits.cpp.

◆ false

unify loop Fixup each natural loop to have a single exit false

Definition at line 59 of file UnifyLoopExits.cpp.