class VFShapeAPITest

Declaration

class VFShapeAPITest : public Test { /* full declaration omitted */ };

Description

/////////////////////////////////////////////////////////////////////////////

Declared at: llvm/unittests/Analysis/VectorUtilsTest.cpp:287

Inherits from: Test

Member Variables

protected const char* IR = "define i32 @f(i32 %a, i64 %b, double %c) {\n %1 = call i32 @g(i32 %a, i64 %b, double %c)\n ret i32 %1\n}\ndeclare i32 @g(i32, i64, double)\n"
protected llvm::LLVMContext Ctx
protected llvm::SMDiagnostic Err
protected std::unique_ptr<Module> M
protected llvm::CallInst* CI
protected llvm::VFShape Shape = {2, false, {}}
protected llvm::VFShape Expected
protected SmallVector<llvm::VFParameter, 8>& ExpectedParams = this->Expected.Parameters

Method Overview

  • protected void SetUp()
  • protected void buildShape(unsigned int VF, bool IsScalable, bool HasGlobalPred)
  • protected bool validParams(ArrayRef<llvm::VFParameter> Parameters)

Methods

void SetUp()

Declared at: llvm/unittests/Analysis/VectorUtilsTest.cpp:289

void buildShape(unsigned int VF,
                bool IsScalable,
                bool HasGlobalPred)

Declared at: llvm/unittests/Analysis/VectorUtilsTest.cpp:310

Parameters

unsigned int VF
bool IsScalable
bool HasGlobalPred

bool validParams(
    ArrayRef<llvm::VFParameter> Parameters)

Declared at: llvm/unittests/Analysis/VectorUtilsTest.cpp:314

Parameters

ArrayRef<llvm::VFParameter> Parameters