|
LLVM
3.7.0
|
#include "llvm/Transforms/Scalar.h"#include "llvm/ADT/STLExtras.h"#include "llvm/IR/CFG.h"#include "llvm/IR/Constants.h"#include "llvm/IR/Function.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/LLVMContext.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/BasicBlockUtils.h"#include "llvm/Transforms/Utils/UnifyFunctionExitNodes.h"#include <algorithm>Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "lower-switch" |
Functions | |
| static raw_ostream & | operator<< (raw_ostream &O, const LowerSwitch::CaseVector &C) LLVM_ATTRIBUTE_USED |
| static void | fixPhis (BasicBlock *SuccBB, BasicBlock *OrigBB, BasicBlock *NewBB, unsigned NumMergedCases) |
| #define DEBUG_TYPE "lower-switch" |
Definition at line 32 of file LowerSwitch.cpp.
|
static |
Definition at line 160 of file LowerSwitch.cpp.
References llvm::BasicBlock::begin(), llvm::BasicBlock::getFirstNonPHI(), llvm::PHINode::getIncomingBlock(), llvm::PHINode::getNumIncomingValues(), I, llvm::ARM_PROC::IE, llvm::SmallVectorTemplateBase< T, isPodLike >::push_back(), llvm::SmallVectorTemplateCommon< T, typename >::rbegin(), llvm::PHINode::removeIncomingValue(), llvm::SmallVectorTemplateCommon< T, typename >::rend(), and llvm::PHINode::setIncomingBlock().
|
static |
Definition at line 137 of file LowerSwitch.cpp.
1.8.6