struct VFShape

Declaration

struct VFShape { /* full declaration omitted */ };

Description

Contains the information about the kind of vectorization available. This object in independent on the paradigm used to represent vector functions. in particular, it is not attached to any target-specific ABI.

Declared at: llvm/include/llvm/Analysis/VectorUtils.h:82

Member Variables

public llvm::ElementCount VF
public SmallVector<llvm::VFParameter, 8> Parameters

Method Overview

  • public static llvm::VFShape get(const llvm::CallInst & CI, llvm::ElementCount EC, bool HasGlobalPred)
  • public static llvm::VFShape getScalarShape(const llvm::CallInst & CI)
  • public bool hasValidParameterList() const
  • public void updateParam(llvm::VFParameter P)

Methods

static llvm::VFShape get(const llvm::CallInst& CI,
                         llvm::ElementCount EC,
                         bool HasGlobalPred)

Declared at: llvm/include/llvm/Analysis/VectorUtils.h:108

Parameters

const llvm::CallInst& CI
llvm::ElementCount EC
bool HasGlobalPred

static llvm::VFShape getScalarShape(
    const llvm::CallInst& CI)

Declared at: llvm/include/llvm/Analysis/VectorUtils.h:99

Parameters

const llvm::CallInst& CI

bool hasValidParameterList() const

Description

Validation check on the Parameters in the VFShape.

Declared at: llvm/include/llvm/Analysis/VectorUtils.h:119

void updateParam(llvm::VFParameter P)

Description

Update the parameter in position P.ParamPos to P.

Declared at: llvm/include/llvm/Analysis/VectorUtils.h:91

Parameters

llvm::VFParameter P