Return the cost of Intrinsic instructions. Analyses the real arguments.

Synopsis

Declared in <llvm/Analysis/TargetTransformInfo.h>

InstructionCost
getIntrinsicInstrCost(
    IntrinsicCostAttributes const& ICA,
    TTI::TargetCostKind CostKind) const;

Description

Three cases are handled: 1. scalar instruction 2. vector instruction 3. scalar instruction which is to be vectorized.

Return Value

The cost of Intrinsic instructions. Analyses the real arguments.

Parameters

Name

Description

ICA

Attributes describing the intrinsic.

CostKind

Kind of cost model to apply.

Created with MrDocs