#include #include #include "clang/Basic/riscv_vector_builtin_sema.inc" #include "clang/Basic/riscv_sifive_vector_builtin_sema.inc"">

clang: lib/Sema/SemaRISCV.cpp File Reference (original) (raw)

#include "[clang/Sema/SemaRISCV.h](SemaRISCV%5F8h%5Fsource.html)"
#include "[clang/AST/ASTContext.h](ASTContext%5F8h%5Fsource.html)"
#include "[clang/AST/Decl.h](Decl%5F8h%5Fsource.html)"
#include "[clang/Basic/Builtins.h](Builtins%5F8h%5Fsource.html)"
#include "[clang/Basic/TargetBuiltins.h](TargetBuiltins%5F8h%5Fsource.html)"
#include "[clang/Basic/TargetInfo.h](include%5F2clang%5F2Basic%5F2TargetInfo%5F8h%5Fsource.html)"
#include "[clang/Lex/Preprocessor.h](Preprocessor%5F8h%5Fsource.html)"
#include "[clang/Sema/Attr.h](Sema%5F2Attr%5F8h%5Fsource.html)"
#include "[clang/Sema/Initialization.h](Initialization%5F8h%5Fsource.html)"
#include "[clang/Sema/Lookup.h](Sema%5F2Lookup%5F8h%5Fsource.html)"
#include "[clang/Sema/ParsedAttr.h](ParsedAttr%5F8h%5Fsource.html)"
#include "[clang/Sema/RISCVIntrinsicManager.h](RISCVIntrinsicManager%5F8h%5Fsource.html)"
#include "[clang/Sema/Sema.h](Sema%5F8h%5Fsource.html)"
#include "[clang/Support/RISCVVIntrinsicUtils.h](RISCVVIntrinsicUtils%5F8h%5Fsource.html)"
#include "llvm/ADT/SmallVector.h"
#include "llvm/TargetParser/RISCVISAInfo.h"
#include "llvm/TargetParser/RISCVTargetParser.h"
#include <optional>
#include <string>
#include <vector>
#include "clang/Basic/riscv_vector_builtin_sema.inc"
#include "clang/Basic/riscv_sifive_vector_builtin_sema.inc"

Go to the source code of this file.

Namespaces
namespace clang
The JSON file list parser is used to communicate input to InstallAPI.
Macros
#define DECL_SIGNATURE_TABLE
#define DECL_SIGNATURE_TABLE
#define DECL_INTRINSIC_RECORDS
#define DECL_INTRINSIC_RECORDS
Functions
static ArrayRef< PrototypeDescriptor > ProtoSeq2ArrayRef (IntrinsicKind K, uint16_t Index, uint8_t Length)
static QualType RVVType2Qual (ASTContext &Context, const RVVType *Type)
std::unique_ptr< sema::RISCVIntrinsicManager > clang::CreateRISCVIntrinsicManager (Sema &S)
static bool clang::CheckInvalidVLENandLMUL (const TargetInfo &TI, CallExpr *TheCall, Sema &S, QualType Type, int EGW)
Variables
static const PrototypeDescriptor RVVSignatureTable []
static const PrototypeDescriptor RVSiFiveVectorSignatureTable []
static const RVVIntrinsicRecord RVVIntrinsicRecords []
static const RVVIntrinsicRecord RVSiFiveVectorIntrinsicRecords []

DECL_INTRINSIC_RECORDS [1/2]

#define DECL_INTRINSIC_RECORDS

DECL_INTRINSIC_RECORDS [2/2]

#define DECL_INTRINSIC_RECORDS

DECL_SIGNATURE_TABLE [1/2]

#define DECL_SIGNATURE_TABLE

DECL_SIGNATURE_TABLE [2/2]

#define DECL_SIGNATURE_TABLE

IntrinsicKind

ProtoSeq2ArrayRef()

RVVType2Qual()

Definition at line 94 of file SemaRISCV.cpp.

References clang::ASTContext::BFloat16Ty, clang::ASTContext::BoolTy, clang::ASTContext::DoubleTy, clang::ASTContext::Float16Ty, clang::ASTContext::FloatTy, clang::ASTContext::getConstType(), clang::ASTContext::getIntTypeForBitwidth(), clang::ASTContext::getPointerDiffType(), clang::ASTContext::getPointerType(), clang::ASTContext::getScalableVectorType(), clang::ASTContext::getSizeType(), clang::RISCV::Invalid, clang::ASTContext::LongTy, clang::RISCV::Undefined, clang::ASTContext::UnsignedLongTy, and clang::ASTContext::VoidTy.

RVSiFiveVectorIntrinsicRecords

Initial value:

= {

#define DECL_INTRINSIC_RECORDS

}

Definition at line 76 of file SemaRISCV.cpp.

RVSiFiveVectorSignatureTable

RVVIntrinsicRecords

Initial value:

= {

#define DECL_INTRINSIC_RECORDS

}

Definition at line 70 of file SemaRISCV.cpp.

RVVSignatureTable