13#ifndef LLVM_CLANG_SEMA_SEMARISCV_H
14#define LLVM_CLANG_SEMA_SEMARISCV_H
20#include "llvm/ADT/StringMap.h"
21#include "llvm/ADT/StringRef.h"
26class RISCVIntrinsicManager;
40 const llvm::StringMap<bool> &FeatureMap);
45 bool isAliasValid(
unsigned BuiltinID, llvm::StringRef AliasName);
56std::unique_ptr<sema::RISCVIntrinsicManager>
Forward declaration of all AST node types.
Defines the clang::SourceLocation class and associated facilities.
C Language Family Type Representation.
CallExpr - Represents a function call (C99 6.5.2.2, C++ [expr.call]).
Decl - This represents one declaration (or definition), e.g.
ParsedAttr - Represents a syntactic attribute.
A (possibly-)qualified type.
bool CheckBuiltinFunctionCall(const TargetInfo &TI, unsigned BuiltinID, CallExpr *TheCall)
bool CheckLMUL(CallExpr *TheCall, unsigned ArgNum)
bool isAliasValid(unsigned BuiltinID, llvm::StringRef AliasName)
std::unique_ptr< sema::RISCVIntrinsicManager > IntrinsicManager
bool DeclareSiFiveVectorBuiltins
Indicate RISC-V SiFive vector builtin functions enabled or not.
void checkRVVTypeSupport(QualType Ty, SourceLocation Loc, Decl *D, const llvm::StringMap< bool > &FeatureMap)
bool isValidRVVBitcast(QualType srcType, QualType destType)
Are the two types RVV-bitcast-compatible types? I.e.
void handleInterruptAttr(Decl *D, const ParsedAttr &AL)
bool DeclareRVVBuiltins
Indicate RISC-V vector builtin functions enabled or not.
Sema - This implements semantic analysis and AST building for C.
Encodes a location in the source.
Exposes information about the current target.
The JSON file list parser is used to communicate input to InstallAPI.
std::unique_ptr< sema::RISCVIntrinsicManager > CreateRISCVIntrinsicManager(Sema &S)