|
LLVM 22.0.0git
|
#include "llvm/Analysis/AliasAnalysis.h"#include "llvm/IR/PassManager.h"#include "llvm/IR/ValueHandle.h"#include "llvm/InitializePasses.h"#include "llvm/Pass.h"#include "llvm/Transforms/Scalar.h"#include "llvm/Transforms/Scalar/FlattenCFG.h"#include "llvm/Transforms/Utils/Local.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "flatten-cfg" |
Functions | |
| static bool | iterativelyFlattenCFG (Function &F, AliasAnalysis *AA) |
| iterativelyFlattenCFG - Call FlattenCFG on all the blocks in the function, iterating until no more changes are made. | |
| INITIALIZE_PASS_BEGIN (FlattenCFGLegacyPass, "flattencfg", "Flatten the CFG", false, false) INITIALIZE_PASS_END(FlattenCFGLegacyPass | |
Variables | |
| flattencfg | |
| Flatten the | CFG |
| Flatten the | false |
| #define DEBUG_TYPE "flatten-cfg" |
Definition at line 24 of file FlattenCFGPass.cpp.
| INITIALIZE_PASS_BEGIN | ( | FlattenCFGLegacyPass | , |
| "flattencfg" | , | ||
| "Flatten the CFG" | , | ||
| false | , | ||
| false | ) |
References INITIALIZE_PASS_DEPENDENCY.
|
static |
iterativelyFlattenCFG - Call FlattenCFG on all the blocks in the function, iterating until no more changes are made.
Definition at line 46 of file FlattenCFGPass.cpp.
References llvm::cast_or_null(), Changed, F, and llvm::FlattenCFG().
Referenced by llvm::FlattenCFGPass::run().
| Flatten the CFG |
Definition at line 77 of file FlattenCFGPass.cpp.
Referenced by llvm::VPBasicBlock::connectToPredecessors().
| Flatten the false |
Definition at line 78 of file FlattenCFGPass.cpp.
| flattencfg |
Definition at line 77 of file FlattenCFGPass.cpp.