LLVM API Documentation

Defines | Functions
LowerSwitch.cpp File Reference
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/CFG.h"
#include "llvm/Pass.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Transforms/Utils/UnifyFunctionExitNodes.h"
#include <algorithm>
Include dependency graph for LowerSwitch.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "lower-switch"

Functions

static raw_ostreamoperator<< (raw_ostream &O, const LowerSwitch::CaseVector &C) LLVM_ATTRIBUTE_USED
static void fixPhis (BasicBlock *Succ, BasicBlock *OrigBlock, BasicBlock *NewNode)

Define Documentation

#define DEBUG_TYPE   "lower-switch"

Definition at line 32 of file LowerSwitch.cpp.


Function Documentation

static void fixPhis ( BasicBlock Succ,
BasicBlock OrigBlock,
BasicBlock NewNode 
) [static]
static raw_ostream & operator<< ( raw_ostream O,
const LowerSwitch::CaseVector &  C 
) [static]

Definition at line 121 of file LowerSwitch.cpp.