LLVM 22.0.0git
LoopExtractor.cpp File Reference

Go to the source code of this file.

Classes

struct  false::SingleLoopExtractor
 SingleLoopExtractor - For bugpoint. More...

Namespaces

namespace  false

Macros

#define DEBUG_TYPE   "loop-extract"

Functions

 STATISTIC (NumExtracted, "Number of loops extracted")
 INITIALIZE_PASS_BEGIN (LoopExtractorLegacyPass, "loop-extract", "Extract loops into new functions", false, false) INITIALIZE_PASS_END(LoopExtractorLegacyPass
 INITIALIZE_PASS (SingleLoopExtractor, "loop-extract-single", "Extract at most one loop into a new function", false, false) Pass *llvm

Variables

loop extract
loop Extract loops into new functions
loop Extract loops into new false

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "loop-extract"

Definition at line 31 of file LoopExtractor.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( SingleLoopExtractor ,
"loop-extract-single" ,
"Extract at most one loop into a new function" ,
false ,
false  )

Definition at line 104 of file LoopExtractor.cpp.

References llvm::createLoopExtractorPass().

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( LoopExtractorLegacyPass ,
"loop-extract" ,
"Extract loops into new functions" ,
false ,
false  )

◆ STATISTIC()

STATISTIC ( NumExtracted ,
"Number of loops extracted"  )

Variable Documentation

◆ extract

loop extract

Definition at line 92 of file LoopExtractor.cpp.

Referenced by llvm::mdconst::extract(), and llvm::DWARFDebugAranges::generate().

◆ false

loop Extract loops into new false

Definition at line 93 of file LoopExtractor.cpp.

◆ functions

loop Extract loops into new functions

Definition at line 93 of file LoopExtractor.cpp.