xref: /freebsd/contrib/llvm-project/clang/include/clang/Sema/SemaHexagon.h (revision 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583)
1 //===----- SemaHexagon.h -- Hexagon 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 Hexagon.
10 ///
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef LLVM_CLANG_SEMA_SEMAHEXAGON_H
14 #define LLVM_CLANG_SEMA_SEMAHEXAGON_H
15 
16 #include "clang/AST/Expr.h"
17 #include "clang/Sema/SemaBase.h"
18 
19 namespace clang {
20 class SemaHexagon : public SemaBase {
21 public:
22   SemaHexagon(Sema &S);
23 
24   bool CheckHexagonBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall);
25   bool CheckHexagonBuiltinArgument(unsigned BuiltinID, CallExpr *TheCall);
26 };
27 } // namespace clang
28 
29 #endif // LLVM_CLANG_SEMA_SEMAHEXAGON_H
30