clang 20.0.0git
SemaLoongArch.h
Go to the documentation of this file.
1//===-- SemaLoongArch.h -- LoongArch target-specific routines --*- C++ -*--===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8/// \file
9/// This file declares semantic analysis functions specific to LoongArch.
10///
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_CLANG_SEMA_SEMALOONGARCH_H
14#define LLVM_CLANG_SEMA_SEMALOONGARCH_H
15
16#include "clang/AST/Expr.h"
18#include "clang/Sema/SemaBase.h"
19
20namespace clang {
21class SemaLoongArch : public SemaBase {
22public:
24
26 unsigned BuiltinID, CallExpr *TheCall);
27};
28} // namespace clang
29
30#endif // LLVM_CLANG_SEMA_SEMALOONGARCH_H
CallExpr - Represents a function call (C99 6.5.2.2, C++ [expr.call]).
Definition: Expr.h:2830
bool CheckLoongArchBuiltinFunctionCall(const TargetInfo &TI, unsigned BuiltinID, CallExpr *TheCall)
Sema - This implements semantic analysis and AST building for C.
Definition: Sema.h:535
Exposes information about the current target.
Definition: TargetInfo.h:218
Defines the clang::TargetInfo interface.
The JSON file list parser is used to communicate input to InstallAPI.