|
LLVM 22.0.0git
|
#include "llvm/Transforms/IPO/LoopExtractor.h"#include "llvm/ADT/Statistic.h"#include "llvm/Analysis/AssumptionCache.h"#include "llvm/Analysis/LoopInfo.h"#include "llvm/IR/Dominators.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/Module.h"#include "llvm/IR/PassManager.h"#include "llvm/InitializePasses.h"#include "llvm/Pass.h"#include "llvm/Transforms/IPO.h"#include "llvm/Transforms/Utils.h"#include "llvm/Transforms/Utils/CodeExtractor.h"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 |
| #define DEBUG_TYPE "loop-extract" |
Definition at line 31 of file LoopExtractor.cpp.
| 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 | ( | LoopExtractorLegacyPass | , |
| "loop-extract" | , | ||
| "Extract loops into new functions" | , | ||
| false | , | ||
| false | ) |
References INITIALIZE_PASS_DEPENDENCY.
| STATISTIC | ( | NumExtracted | , |
| "Number of loops extracted" | ) |
References llvm::PassRegistry::getPassRegistry().
| loop extract |
Definition at line 92 of file LoopExtractor.cpp.
Referenced by llvm::mdconst::extract(), and llvm::DWARFDebugAranges::generate().
| loop Extract loops into new false |
Definition at line 93 of file LoopExtractor.cpp.
| loop Extract loops into new functions |
Definition at line 93 of file LoopExtractor.cpp.