LLVM  6.0.0svn
Macros | Variables
CostModel.cpp File Reference
#include "llvm/ADT/STLExtras.h"
#include "llvm/Analysis/Passes.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for CostModel.cpp:

Go to the source code of this file.

Macros

#define CM_NAME   "cost-model"
 
#define DEBUG_TYPE   CM_NAME
 

Variables

static cl::opt< TargetTransformInfo::TargetCostKindCostKind ("cost-kind", cl::desc("Target cost kind"), cl::init(TargetTransformInfo::TCK_RecipThroughput), cl::values(clEnumValN(TargetTransformInfo::TCK_RecipThroughput, "throughput", "Reciprocal throughput"), clEnumValN(TargetTransformInfo::TCK_Latency, "latency", "Instruction latency"), clEnumValN(TargetTransformInfo::TCK_CodeSize, "code-size", "Code size")))
 
static const char cm_name [] = "Cost Model Analysis"
 

Macro Definition Documentation

◆ CM_NAME

#define CM_NAME   "cost-model"

Definition at line 41 of file CostModel.cpp.

◆ DEBUG_TYPE

#define DEBUG_TYPE   CM_NAME

Definition at line 42 of file CostModel.cpp.

Variable Documentation

◆ cm_name

const char cm_name[] = "Cost Model Analysis"
static

Definition at line 76 of file CostModel.cpp.

◆ CostKind

cl::opt<TargetTransformInfo::TargetCostKind> CostKind("cost-kind", cl::desc("Target cost kind"), cl::init(TargetTransformInfo::TCK_RecipThroughput), cl::values(clEnumValN(TargetTransformInfo::TCK_RecipThroughput, "throughput", "Reciprocal throughput"), clEnumValN(TargetTransformInfo::TCK_Latency, "latency", "Instruction latency"), clEnumValN(TargetTransformInfo::TCK_CodeSize, "code-size", "Code size")))
static