llvm::BasicTTIImplBase::getInterleavedMemoryOpCost

getInterleavedMemoryOpCost overloads

Synopses

Declared in <llvm/Analysis/TargetTransformInfoImpl.h>

Estimate the cost of an interleaved memory operation.

virtual
InstructionCost
getInterleavedMemoryOpCost(
    unsigned int Opcode,
    Type* VecTy,
    unsigned int Factor,
    ArrayRef<unsigned int> Indices,
    Align Alignment,
    unsigned int AddressSpace,
    TTI::TargetCostKind CostKind,
    bool UseMaskForCond,
    bool UseMaskForGaps) const;
» more...

Return the cost of an interleaved memory operation.

InstructionCost
getInterleavedMemoryOpCost(
    unsigned int Opcode,
    Type* VecTy,
    unsigned int Factor,
    ArrayRef<unsigned int> Indices,
    Align Alignment,
    unsigned int AddressSpace,
    TTI::TargetCostKind CostKind,
    bool UseMaskForCond = false,
    bool UseMaskForGaps = false) const override;
» more...

Return Value

The cost of an interleaved memory operation.

Parameters

NameDescription
OpcodeInstruction opcode.
VecTyVector type involved in the query.
FactorInterleave factor.
IndicesInterleaved access indices.
AlignmentRequired alignment of the access.
AddressSpaceAddress space of the memory operation.
CostKindKind of cost to compute.
UseMaskForCondWhether a mask is used for the condition.
UseMaskForGapsWhether a mask is used for gaps.