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/LLVMContext.h"
#include "llvm/Pass.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>

Include dependency graph for LowerSwitch.cpp:

Go to the source code of this file.

Functions

FunctionPass * llvm::createLowerSwitchPass ()
static raw_ostream & operator<< (raw_ostream &O, const LowerSwitch::CaseVector &C) ATTRIBUTE_USED

Variables

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


Function Documentation

static raw_ostream & operator<< ( raw_ostream &  O,
const LowerSwitch::CaseVector &  C 
) [static]

Definition at line 114 of file LowerSwitch.cpp.

References E.


Variable Documentation

Definition at line 52 of file LowerSwitch.cpp.

Definition at line 51 of file LowerSwitch.cpp.

Referenced by llvm::SelectionDAGLowering::visitSwitchCase().

char ID [static]

Definition at line 36 of file LowerSwitch.cpp.

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