LLVM  3.7.0
Namespaces | Macros | Functions | Variables
PPCLoopPreIncPrep.cpp File Reference
#include "PPC.h"
#include "PPCTargetMachine.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/CodeMetrics.h"
#include "llvm/Analysis/InstructionSimplify.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/ScalarEvolution.h"
#include "llvm/Analysis/ScalarEvolutionExpander.h"
#include "llvm/Analysis/ScalarEvolutionExpressions.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/IR/CFG.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Transforms/Utils/LoopUtils.h"
#include "llvm/Transforms/Utils/ValueMapper.h"
Include dependency graph for PPCLoopPreIncPrep.cpp:

Go to the source code of this file.

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Macros

#define DEBUG_TYPE   "ppc-loop-preinc-prep"
 

Functions

void llvm::initializePPCLoopPreIncPrepPass (PassRegistry &)
 
static bool IsPtrInBounds (Value *BasePtr)
 
static ValueGetPointerOperand (Value *MemI)
 

Variables

static cl::opt< unsignedMaxVars ("ppc-preinc-prep-max-vars", cl::Hidden, cl::init(16), cl::desc("Potential PHI threshold for PPC preinc loop prep"))
 
static const char * name = "Prepare loop for pre-inc. addressing modes"
 

Macro Definition Documentation

#define DEBUG_TYPE   "ppc-loop-preinc-prep"

Definition at line 22 of file PPCLoopPreIncPrep.cpp.

Function Documentation

static Value* GetPointerOperand ( Value MemI)
static

Definition at line 128 of file PPCLoopPreIncPrep.cpp.

References prefetch.

static bool IsPtrInBounds ( Value BasePtr)
static

Definition at line 118 of file PPCLoopPreIncPrep.cpp.

References GEP.

Variable Documentation

cl::opt<unsigned> MaxVars("ppc-preinc-prep-max-vars", cl::Hidden, cl::init(16), cl::desc("Potential PHI threshold for PPC preinc loop prep"))
static
const char* name = "Prepare loop for pre-inc. addressing modes"
static