LLVM  5.0.0
Macros | Functions | Variables
AMDGPUTargetTransformInfo.cpp File Reference
#include "AMDGPUTargetTransformInfo.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/CodeGen/BasicTTIImpl.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/Debug.h"
#include "llvm/Target/CostTable.h"
#include "llvm/Target/TargetLowering.h"
Include dependency graph for AMDGPUTargetTransformInfo.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "AMDGPUtti"
 

Functions

static bool dependsOnLocalPhi (const Loop *L, const Value *Cond, unsigned Depth=0)
 
static bool isIntrinsicSourceOfDivergence (const IntrinsicInst *I)
 
static bool isArgPassedInSGPR (const Argument *A)
 

Variables

static cl::opt< unsigned > UnrollThresholdPrivate ("amdgpu-unroll-threshold-private", cl::desc("Unroll threshold for AMDGPU if private memory used in a loop"), cl::init(2500), cl::Hidden)
 
static cl::opt< unsigned > UnrollThresholdLocal ("amdgpu-unroll-threshold-local", cl::desc("Unroll threshold for AMDGPU if local memory used in a loop"), cl::init(1000), cl::Hidden)
 
static cl::opt< unsigned > UnrollThresholdIf ("amdgpu-unroll-threshold-if", cl::desc("Unroll threshold increment for AMDGPU for each if statement inside loop"), cl::init(150), cl::Hidden)
 

Macro Definition Documentation

#define DEBUG_TYPE   "AMDGPUtti"

Definition at line 30 of file AMDGPUTargetTransformInfo.cpp.

Function Documentation

static bool dependsOnLocalPhi ( const Loop *  L,
const Value *  Cond,
unsigned  Depth = 0 
)
static
static bool isArgPassedInSGPR ( const Argument *  A)
static
static bool isIntrinsicSourceOfDivergence ( const IntrinsicInst *  I)
static

Variable Documentation

cl::opt<unsigned> UnrollThresholdIf("amdgpu-unroll-threshold-if", cl::desc("Unroll threshold increment for AMDGPU for each if statement inside loop"), cl::init(150), cl::Hidden)
static
cl::opt<unsigned> UnrollThresholdLocal("amdgpu-unroll-threshold-local", cl::desc("Unroll threshold for AMDGPU if local memory used in a loop"), cl::init(1000), cl::Hidden)
static
cl::opt<unsigned> UnrollThresholdPrivate("amdgpu-unroll-threshold-private", cl::desc("Unroll threshold for AMDGPU if private memory used in a loop"), cl::init(2500), cl::Hidden)
static