(root)/
gcc-13.2.0/
gcc/
rust/
backend/
rust-compile-intrinsic.h
       1  // This file is part of GCC.
       2  
       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.
       7  
       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.
      12  
      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/>.
      16  
      17  #ifndef RUST_COMPILE_INTRINSIC
      18  #define RUST_COMPILE_INTRINSIC
      19  
      20  #include "rust-compile-context.h"
      21  #include "langhooks.h"
      22  
      23  namespace Rust {
      24  namespace Compile {
      25  
      26  class Intrinsics
      27  {
      28  public:
      29    Intrinsics (Context *ctx);
      30  
      31    tree compile (TyTy::FnType *fntype);
      32  
      33  private:
      34    Context *ctx;
      35  };
      36  
      37  } // namespace Compile
      38  } // namespace Rust
      39  
      40  #endif // RUST_COMPILE_INTRINSIC