LLVM API Documentation

LowerSwitch.cpp File Reference

#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/UnifyFunctionExitNodes.h"
#include "llvm/Constants.h"
#include "llvm/Function.h"
#include "llvm/Instructions.h"
#include "llvm/Pass.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Visibility.h"
#include "llvm/ADT/Statistic.h"
#include <algorithm>
#include <iostream>

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)

Variables

Statistic NumLowered ("lowerswitch","Number of SwitchInst's replaced")
RegisterOpt< LowerSwitch > X ("lowerswitch","Lower SwitchInst's to branches")


Function Documentation

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

Definition at line 99 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]