clang 20.0.0git
Public Member Functions | List of all members
clang::RISCV::RVVTypeCache Class Reference

#include "clang/Support/RISCVVIntrinsicUtils.h"

Public Member Functions

std::optional< RVVTypescomputeTypes (BasicType BT, int Log2LMUL, unsigned NF, llvm::ArrayRef< PrototypeDescriptor > Prototype)
 Compute output and input types by applying different config (basic type and LMUL with type transformers).
 
std::optional< RVVTypePtrcomputeType (BasicType BT, int Log2LMUL, PrototypeDescriptor Proto)
 

Detailed Description

Definition at line 355 of file RISCVVIntrinsicUtils.h.

Member Function Documentation

◆ computeType()

std::optional< RVVTypePtr > clang::RISCV::RVVTypeCache::computeType ( BasicType  BT,
int  Log2LMUL,
PrototypeDescriptor  Proto 
)

◆ computeTypes()

std::optional< RVVTypes > clang::RISCV::RVVTypeCache::computeTypes ( BasicType  BT,
int  Log2LMUL,
unsigned  NF,
llvm::ArrayRef< PrototypeDescriptor Prototype 
)

Compute output and input types by applying different config (basic type and LMUL with type transformers).

It also record result of type in legal or illegal set to avoid compute the same config again. The result maybe have illegal RVVType.

Definition at line 922 of file RISCVVIntrinsicUtils.cpp.

References computeType(), clang::Prototype, and clang::T.


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