LLVM  12.0.0git
Public Member Functions | List of all members
llvm::IntrinsicCostAttributes Class Reference

#include "llvm/Analysis/TargetTransformInfo.h"

Public Member Functions

 IntrinsicCostAttributes (const IntrinsicInst &I)
 
 IntrinsicCostAttributes (Intrinsic::ID Id, const CallBase &CI)
 
 IntrinsicCostAttributes (Intrinsic::ID Id, const CallBase &CI, unsigned Factor)
 
 IntrinsicCostAttributes (Intrinsic::ID Id, const CallBase &CI, unsigned Factor, unsigned ScalarCost)
 
 IntrinsicCostAttributes (Intrinsic::ID Id, Type *RTy, ArrayRef< Type *> Tys, FastMathFlags Flags)
 
 IntrinsicCostAttributes (Intrinsic::ID Id, Type *RTy, ArrayRef< Type *> Tys, FastMathFlags Flags, unsigned ScalarCost)
 
 IntrinsicCostAttributes (Intrinsic::ID Id, Type *RTy, ArrayRef< Type *> Tys, FastMathFlags Flags, unsigned ScalarCost, const IntrinsicInst *I)
 
 IntrinsicCostAttributes (Intrinsic::ID Id, Type *RTy, ArrayRef< Type *> Tys)
 
 IntrinsicCostAttributes (Intrinsic::ID Id, Type *RTy, ArrayRef< const Value *> Args)
 
Intrinsic::ID getID () const
 
const IntrinsicInstgetInst () const
 
TypegetReturnType () const
 
unsigned getVectorFactor () const
 
FastMathFlags getFlags () const
 
unsigned getScalarizationCost () const
 
const SmallVectorImpl< const Value * > & getArgs () const
 
const SmallVectorImpl< Type * > & getArgTypes () const
 
bool isTypeBasedOnly () const
 
bool skipScalarizationCost () const
 

Detailed Description

Definition at line 110 of file TargetTransformInfo.h.

Constructor & Destructor Documentation

◆ IntrinsicCostAttributes() [1/9]

IntrinsicCostAttributes::IntrinsicCostAttributes ( const IntrinsicInst I)

◆ IntrinsicCostAttributes() [2/9]

IntrinsicCostAttributes::IntrinsicCostAttributes ( Intrinsic::ID  Id,
const CallBase CI 
)

◆ IntrinsicCostAttributes() [3/9]

IntrinsicCostAttributes::IntrinsicCostAttributes ( Intrinsic::ID  Id,
const CallBase CI,
unsigned  Factor 
)

◆ IntrinsicCostAttributes() [4/9]

IntrinsicCostAttributes::IntrinsicCostAttributes ( Intrinsic::ID  Id,
const CallBase CI,
unsigned  Factor,
unsigned  ScalarCost 
)

◆ IntrinsicCostAttributes() [5/9]

IntrinsicCostAttributes::IntrinsicCostAttributes ( Intrinsic::ID  Id,
Type RTy,
ArrayRef< Type *>  Tys,
FastMathFlags  Flags 
)

◆ IntrinsicCostAttributes() [6/9]

IntrinsicCostAttributes::IntrinsicCostAttributes ( Intrinsic::ID  Id,
Type RTy,
ArrayRef< Type *>  Tys,
FastMathFlags  Flags,
unsigned  ScalarCost 
)

◆ IntrinsicCostAttributes() [7/9]

IntrinsicCostAttributes::IntrinsicCostAttributes ( Intrinsic::ID  Id,
Type RTy,
ArrayRef< Type *>  Tys,
FastMathFlags  Flags,
unsigned  ScalarCost,
const IntrinsicInst I 
)

◆ IntrinsicCostAttributes() [8/9]

IntrinsicCostAttributes::IntrinsicCostAttributes ( Intrinsic::ID  Id,
Type RTy,
ArrayRef< Type *>  Tys 
)

◆ IntrinsicCostAttributes() [9/9]

IntrinsicCostAttributes::IntrinsicCostAttributes ( Intrinsic::ID  Id,
Type RTy,
ArrayRef< const Value *>  Args 
)

Member Function Documentation

◆ getArgs()

const SmallVectorImpl<const Value *>& llvm::IntrinsicCostAttributes::getArgs ( ) const
inline

◆ getArgTypes()

const SmallVectorImpl<Type *>& llvm::IntrinsicCostAttributes::getArgTypes ( ) const
inline

◆ getFlags()

FastMathFlags llvm::IntrinsicCostAttributes::getFlags ( ) const
inline

◆ getID()

Intrinsic::ID llvm::IntrinsicCostAttributes::getID ( ) const
inline

◆ getInst()

const IntrinsicInst* llvm::IntrinsicCostAttributes::getInst ( ) const
inline

◆ getReturnType()

Type* llvm::IntrinsicCostAttributes::getReturnType ( ) const
inline

◆ getScalarizationCost()

unsigned llvm::IntrinsicCostAttributes::getScalarizationCost ( ) const
inline

◆ getVectorFactor()

unsigned llvm::IntrinsicCostAttributes::getVectorFactor ( ) const
inline

◆ isTypeBasedOnly()

bool llvm::IntrinsicCostAttributes::isTypeBasedOnly ( ) const
inline

◆ skipScalarizationCost()

bool llvm::IntrinsicCostAttributes::skipScalarizationCost ( ) const
inline

The documentation for this class was generated from the following files: