LLVM API Documentation
#include "llvm/Transforms/Scalar.h"#include "llvm/Transforms/Utils/Local.h"#include "llvm/Constants.h"#include "llvm/Instructions.h"#include "llvm/Module.h"#include "llvm/Support/CFG.h"#include "llvm/Pass.h"#include "llvm/ADT/Statistic.h"#include <set>Include dependency graph for Scalar/SimplifyCFG.cpp:

Go to the source code of this file.
Functions | |
| FunctionPass * | llvm::createCFGSimplificationPass () |
| static bool | MarkAliveBlocks (BasicBlock *BB, std::set< BasicBlock * > &Reachable) |
Variables | |
| Statistic | NumSimpl ("cfgsimplify","Number of blocks simplified") |
| RegisterOpt< CFGSimplifyPass > | X ("simplifycfg","Simplify the CFG") |
| static bool MarkAliveBlocks | ( | BasicBlock * | BB, | |
| std::set< BasicBlock * > & | Reachable | |||
| ) | [static] |
Definition at line 46 of file Scalar/SimplifyCFG.cpp.
References BB, Changed, llvm::ConstantFoldTerminator(), E, SE, llvm::succ_begin(), and llvm::succ_end().
RegisterOpt<CFGSimplifyPass> X("simplifycfg","Simplify the CFG") [static] |