LLVM 24.0.0git
DFAJumpThreading.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "dfa-jump-threading"

Typedefs

typedef std::deque< BasicBlock * > PathType
typedef std::vector< PathType > PathsType
typedef SmallPtrSet< const BasicBlock *, 8 > VisitedBlocks
typedef std::vector< ClonedBlock > CloneList
typedef DenseMap< BasicBlock *, CloneList > DuplicateBlockMap
typedef MapVector< Instruction *, std::vector< Instruction * > > DefMap

Functions

 STATISTIC (NumTransforms, "Number of transformations done")
 STATISTIC (NumCloned, "Number of blocks cloned")
 STATISTIC (NumPaths, "Number of individual paths threaded")
raw_ostream & operator<< (raw_ostream &OS, const PathType &Path)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "dfa-jump-threading"

Definition at line 89 of file DFAJumpThreading.cpp.

Typedef Documentation

◆ CloneList

typedef std::vector<ClonedBlock> CloneList

Definition at line 342 of file DFAJumpThreading.cpp.

◆ DefMap

typedef MapVector<Instruction *, std::vector<Instruction *> > DefMap

Definition at line 351 of file DFAJumpThreading.cpp.

◆ DuplicateBlockMap

Definition at line 347 of file DFAJumpThreading.cpp.

◆ PathsType

typedef std::vector<PathType> PathsType

Definition at line 340 of file DFAJumpThreading.cpp.

◆ PathType

typedef std::deque<BasicBlock *> PathType

Definition at line 339 of file DFAJumpThreading.cpp.

◆ VisitedBlocks

Definition at line 341 of file DFAJumpThreading.cpp.

Function Documentation

◆ operator<<()

raw_ostream & operator<< ( raw_ostream & OS,
const PathType & Path )
inline

◆ STATISTIC() [1/3]

STATISTIC ( NumCloned ,
"Number of blocks cloned"  )

◆ STATISTIC() [2/3]

STATISTIC ( NumPaths ,
"Number of individual paths threaded"  )

◆ STATISTIC() [3/3]

STATISTIC ( NumTransforms ,
"Number of transformations done"  )