LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

LowerSwitch.cpp File Reference

#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 dependency graph for LowerSwitch.cpp:

Go to the source code of this file.

Functions

FunctionPassllvm::createLowerSwitchPass ()
std::ostream & operator<< (std::ostream &O, const std::vector< LowerSwitch::Case > &C)


Function Documentation

std::ostream& operator<< std::ostream &  O,
const std::vector< LowerSwitch::Case > &  C
 

Definition at line 84 of file LowerSwitch.cpp.

References B, and E.


Variable Documentation

Statistic NumLowered("lowerswitch","Number of SwitchInst's replaced") [static]
 

RegisterOpt<LowerSwitch> X("lowerswitch","Lower SwitchInst's to branches") [static]