clang 20.0.0git
|
#include "clang/Support/RISCVVIntrinsicUtils.h"
Public Member Functions | |
std::optional< RVVTypes > | 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). | |
std::optional< RVVTypePtr > | computeType (BasicType BT, int Log2LMUL, PrototypeDescriptor Proto) |
Definition at line 355 of file RISCVVIntrinsicUtils.h.
std::optional< RVVTypePtr > clang::RISCV::RVVTypeCache::computeType | ( | BasicType | BT, |
int | Log2LMUL, | ||
PrototypeDescriptor | Proto | ||
) |
Definition at line 948 of file RISCVVIntrinsicUtils.cpp.
References clang::RISCV::computeRVVTypeHashValue(), and clang::T.
Referenced by computeTypes(), and clang::RISCV::RVVIntrinsic::getSuffixStr().
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.