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
- public ElementCount()
- public ElementCount(const LinearPolySize<llvm::ElementCount> & V)
- public bool isScalar() const
- public bool isVector() const
Methods
¶ElementCount()
ElementCount()
Declared at: llvm/include/llvm/Support/TypeSize.h:406
¶ElementCount(
const LinearPolySize<llvm::ElementCount>& V)
ElementCount(
const LinearPolySize<llvm::ElementCount>& V)
Declared at: llvm/include/llvm/Support/TypeSize.h:408
Parameters
- const LinearPolySize<llvm::ElementCount>& V
¶bool isScalar() const
bool isScalar() const
Description
Counting predicates. @ { Number of elements.. Exactly one element.
Declared at: llvm/include/llvm/Support/TypeSize.h:414
¶bool isVector() const
bool isVector() const
Description
One or more elements.
Declared at: llvm/include/llvm/Support/TypeSize.h:416