LLVM API Documentation

Defines | Variables
BasicTargetTransformInfo.cpp File Reference
#include "llvm/CodeGen/Passes.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Target/TargetLowering.h"
#include "llvm/Target/TargetSubtargetInfo.h"
#include <utility>
Include dependency graph for BasicTargetTransformInfo.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "basictti"

Variables

static cl::opt< unsignedPartialUnrollingThreshold ("partial-unrolling-threshold", cl::init(0), cl::desc("Threshold for partial unrolling"), cl::Hidden)

Detailed Description

This file provides the implementation of a basic TargetTransformInfo pass predicated on the target abstractions present in the target independent code generator. It uses these (primarily TargetLowering) to model as much of the TTI query interface as possible. It is included by most targets so that they can specialize only a small subset of the query space.

Definition in file BasicTargetTransformInfo.cpp.


Define Documentation

#define DEBUG_TYPE   "basictti"

Definition at line 31 of file BasicTargetTransformInfo.cpp.


Variable Documentation

cl::opt<unsigned> PartialUnrollingThreshold("partial-unrolling-threshold", cl::init(0), cl::desc("Threshold for partial unrolling"), cl::Hidden) [static]