LLVM API Documentation

Classes | Namespaces | Defines | Typedefs | Functions
BypassSlowDivision.cpp File Reference
#include "llvm/Transforms/Utils/BypassSlowDivision.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Instructions.h"
Include dependency graph for BypassSlowDivision.cpp:

Go to the source code of this file.

Classes

struct  llvm::DenseMapInfo< DivOpInfo >

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Defines

#define DEBUG_TYPE   "bypass-slow-division"

Typedefs

typedef DenseMap< DivOpInfo,
DivPhiNodes > 
llvm::DivCacheTy

Functions

static bool insertFastDiv (Function &F, Function::iterator &I, BasicBlock::iterator &J, IntegerType *BypassType, bool UseDivOp, bool UseSignedOp, DivCacheTy &PerBBDivCache)
static bool reuseOrInsertFastDiv (Function &F, Function::iterator &I, BasicBlock::iterator &J, IntegerType *BypassType, bool UseDivOp, bool UseSignedOp, DivCacheTy &PerBBDivCache)

Define Documentation

#define DEBUG_TYPE   "bypass-slow-division"

Definition at line 26 of file BypassSlowDivision.cpp.


Function Documentation

static bool insertFastDiv ( Function F,
Function::iterator I,
BasicBlock::iterator J,
IntegerType BypassType,
bool  UseDivOp,
bool  UseSignedOp,
DivCacheTy PerBBDivCache 
) [static]
static bool reuseOrInsertFastDiv ( Function F,
Function::iterator I,
BasicBlock::iterator J,
IntegerType BypassType,
bool  UseDivOp,
bool  UseSignedOp,
DivCacheTy PerBBDivCache 
) [static]