clang 17.0.0git
Public Member Functions | Public Attributes | List of all members
clang::RISCV::LMULType Struct Reference

#include "clang/Support/RISCVVIntrinsicUtils.h"

Collaboration diagram for clang::RISCV::LMULType:
Collaboration graph
[legend]

Public Member Functions

 LMULType (int Log2LMUL)
 
std::string str () const
 
std::optional< unsignedgetScale (unsigned ElementBitwidth) const
 
void MulLog2LMUL (int Log2LMUL)
 

Public Attributes

int Log2LMUL
 

Detailed Description

Definition at line 217 of file RISCVVIntrinsicUtils.h.

Constructor & Destructor Documentation

◆ LMULType()

clang::RISCV::LMULType::LMULType ( int  Log2LMUL)

Definition at line 37 of file RISCVVIntrinsicUtils.cpp.

References Log2LMUL.

Member Function Documentation

◆ getScale()

VScaleVal clang::RISCV::LMULType::getScale ( unsigned  ElementBitwidth) const

Definition at line 49 of file RISCVVIntrinsicUtils.cpp.

References Log2LMUL.

◆ MulLog2LMUL()

void clang::RISCV::LMULType::MulLog2LMUL ( int  Log2LMUL)

Definition at line 73 of file RISCVVIntrinsicUtils.cpp.

References Log2LMUL.

◆ str()

std::string clang::RISCV::LMULType::str ( ) const

Definition at line 43 of file RISCVVIntrinsicUtils.cpp.

References Log2LMUL.

Member Data Documentation

◆ Log2LMUL

int clang::RISCV::LMULType::Log2LMUL

Definition at line 218 of file RISCVVIntrinsicUtils.h.

Referenced by getScale(), LMULType(), MulLog2LMUL(), and str().


The documentation for this struct was generated from the following files: