LLVM API Documentation
#include "llvm/Transforms/Scalar.h"
#include "llvm/Constants.h"
#include "llvm/Function.h"
#include "llvm/Instructions.h"
#include "llvm/Pass.h"
#include "llvm/Support/Debug.h"
#include "llvm/ADT/Statistic.h"
#include <algorithm>
#include <iostream>
Include dependency graph for LowerSwitch.cpp:
Go to the source code of this file.
Typedefs | |
typedef std::pair< Constant *, BasicBlock * > | Case |
typedef std::vector< Case >::iterator | CaseItr |
Functions | |
FunctionPass * | llvm::createLowerSwitchPass () |
std::ostream & | operator<< (std::ostream &O, const std::vector< LowerSwitch::Case > &C) |
Variables | |
Statistic | NumLowered ("lowerswitch","Number of SwitchInst's replaced") |
RegisterOpt< LowerSwitch > | X ("lowerswitch","Lower SwitchInst's to branches") |
typedef std::pair<Constant*, BasicBlock*> Case |
Definition at line 36 of file LowerSwitch.cpp.
Definition at line 37 of file LowerSwitch.cpp.
std::ostream& operator<< | ( | std::ostream & | O, | |
const std::vector< LowerSwitch::Case > & | C | |||
) |
Statistic NumLowered("lowerswitch","Number of SwitchInst's replaced") [static] |
RegisterOpt<LowerSwitch> X("lowerswitch","Lower SwitchInst's to branches") [static] |