Attributes describing an intrinsic for cost modeling.

Synopsis

Declared in <llvm/Analysis/TargetTransformInfo.h>

class IntrinsicCostAttributes;

Member Functions

Name

Description

IntrinsicCostAttributes [constructor]

Constructors

getArgTypes

Return the argument types.

getArgs

Return the argument values.

getFlags

Return the fast‐math flags.

getID

Return the intrinsic ID.

getInst

Return the optional intrinsic instruction.

getReturnType

Return the return type.

getScalarizationCost

Return the precomputed scalarization cost, if any.

getVectorInstrContext

Return the vector‐instruction context hint.

isTypeBasedOnly

Return true if cost modeling should use types only, not values.

skipScalarizationCost

Return true if a valid scalarization cost was provided.

Created with MrDocs