libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / rust / backend / rust-compile-intrinsic.h
blobdceb0864fd490c7f377e3ae3b39201e4850ce8a1
1 // This file is part of GCC.
3 // GCC is free software; you can redistribute it and/or modify it under
4 // the terms of the GNU General Public License as published by the Free
5 // Software Foundation; either version 3, or (at your option) any later
6 // version.
8 // GCC is distributed in the hope that it will be useful, but WITHOUT ANY
9 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
11 // for more details.
13 // You should have received a copy of the GNU General Public License
14 // along with GCC; see the file COPYING3. If not see
15 // <http://www.gnu.org/licenses/>.
17 #ifndef RUST_COMPILE_INTRINSIC
18 #define RUST_COMPILE_INTRINSIC
20 #include "rust-compile-context.h"
21 #include "langhooks.h"
23 namespace Rust {
24 namespace Compile {
26 class Intrinsics
28 public:
29 Intrinsics (Context *ctx);
31 tree compile (TyTy::FnType *fntype);
33 private:
34 Context *ctx;
37 } // namespace Compile
38 } // namespace Rust
40 #endif // RUST_COMPILE_INTRINSIC