class ElementCount

Declaration

class ElementCount : public LinearPolySize { /* full declaration omitted */ };

Description

LinearPolySize is a base class to represent sizes. It is either fixed-sized or it is scalable-sized, but it cannot be both.

Declared at: llvm/include/llvm/Support/TypeSize.h:404

Inherits from: LinearPolySize

Method Overview

Methods

ElementCount()

Declared at: llvm/include/llvm/Support/TypeSize.h:406

ElementCount(
    const LinearPolySize<llvm::ElementCount>& V)

Declared at: llvm/include/llvm/Support/TypeSize.h:408

Parameters

const LinearPolySize<llvm::ElementCount>& V

bool isScalar() const

Description

Counting predicates. @ { Number of elements.. Exactly one element.

Declared at: llvm/include/llvm/Support/TypeSize.h:414

bool isVector() const

Description

One or more elements.

Declared at: llvm/include/llvm/Support/TypeSize.h:416