LLVM  mainline
Classes | Namespaces | Functions
TargetTransformInfo.h File Reference
#include "llvm/ADT/Optional.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/Pass.h"
#include "llvm/Support/DataTypes.h"
#include <functional>
Include dependency graph for TargetTransformInfo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  llvm::MemIntrinsicInfo
 Information about a load/store intrinsic defined by the target. More...
class  llvm::TargetTransformInfo
 This pass provides access to the codegen interfaces that are needed for IR-level transformations. More...
struct  llvm::TargetTransformInfo::UnrollingPreferences
 Parameters that control the generic loop unrolling transformation. More...
class  llvm::TargetTransformInfo::Concept
class  llvm::final< T >
 Concrete instance of DWARFUnitSection, specialized for one Unit type. More...
class  llvm::TargetIRAnalysis
 Analysis pass providing the TargetTransformInfo. More...
class  llvm::TargetTransformInfoWrapperPass
 Wrapper pass for TargetTransformInfo. More...

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Functions

ImmutablePassllvm::createTargetTransformInfoWrapperPass (TargetIRAnalysis TIRA)
 Create an analysis pass wrapper around a TTI object.

Detailed Description

This pass exposes codegen information to IR-level passes. Every transformation that uses codegen information is broken into three parts: 1. The IR-level analysis pass. 2. The IR-level transformation interface which provides the needed information. 3. Codegen-level implementation which uses target-specific hooks.

This file defines #2, which is the interface that IR-level transformations use for querying the codegen.

Definition in file TargetTransformInfo.h.