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 unsigned int VF
public bool IsScalable
public SmallVector<llvm::VFParameter, 8> Parameters

Method Overview

  • public static llvm::VFShape get(const llvm::CallInst & CI, llvm::ElementCount EC, bool HasGlobalPred)
  • 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:103

Parameters

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

bool hasValidParameterList() const

Description

Sanity check on the Parameters in the VFShape.

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

void updateParam(llvm::VFParameter P)

Description

Update the parameter in position P.ParamPos to P.

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

Parameters

llvm::VFParameter P