class TargetTransformInfoWrapperPass

Declaration

class TargetTransformInfoWrapperPass : public ImmutablePass { /* full declaration omitted */ };

Description

Wrapper pass for TargetTransformInfo. This pass can be constructed from a TTI object which it stores internally and is queried by passes.

Declared at: llvm/include/llvm/Analysis/TargetTransformInfo.h:2559

Inherits from: ImmutablePass

Member Variables

private llvm::TargetIRAnalysis TIRA
private Optional<llvm::TargetTransformInfo> TTI
public static char ID

Method Overview

Inherited from ImmutablePass:

Inherited from ModulePass:

Inherited from Pass:

Methods

TargetTransformInfoWrapperPass()

Description

We must provide a default constructor for the pass but it should never be used. Use the constructor below or call one of the creation routines.

Declared at: llvm/include/llvm/Analysis/TargetTransformInfo.h:2572

TargetTransformInfoWrapperPass(
    llvm::TargetIRAnalysis TIRA)

Declared at: llvm/include/llvm/Analysis/TargetTransformInfo.h:2574

Parameters

llvm::TargetIRAnalysis TIRA

virtual void anchor()

Declared at: llvm/include/llvm/Analysis/TargetTransformInfo.h:2563

llvm::TargetTransformInfo& getTTI(
    const llvm::Function& F)

Declared at: llvm/include/llvm/Analysis/TargetTransformInfo.h:2576

Parameters

const llvm::Function& F