gccrs: Add HIR to GCC GENERIC lowering for all nodes
authorPhilip Herron <philip.herron@embecosm.com>
Fri, 21 Oct 2022 12:27:56 +0000 (14:27 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 13 Dec 2022 13:00:07 +0000 (14:00 +0100)
commit019b2f15581948806ee14a6d05b09ec94f04c966
tree33a737ec45d313c8797fe297a72126a65b52e265
parent15f04af347e3b65f436808077cbac4fa566019f9
gccrs: Add HIR to GCC GENERIC lowering for all nodes

This patch implements the lowering mentioned in the previous patch for all HIR nodes.

gcc/rust/
* backend/rust-compile-block.cc: New.
* backend/rust-compile-block.h: New.
* backend/rust-compile-expr.cc: New.
* backend/rust-compile-expr.h: New.
* backend/rust-compile-extern.h: New.
* backend/rust-compile-fnparam.cc: New.
* backend/rust-compile-fnparam.h: New.
* backend/rust-compile-implitem.cc: New.
* backend/rust-compile-implitem.h: New.
* backend/rust-compile-intrinsic.cc: New.
* backend/rust-compile-intrinsic.h: New.
* backend/rust-compile-item.cc: New.
* backend/rust-compile-item.h: New.
* backend/rust-compile-pattern.cc: New.
* backend/rust-compile-pattern.h: New.
* backend/rust-compile-resolve-path.cc: New.
* backend/rust-compile-resolve-path.h: New.
* backend/rust-compile-stmt.cc: New.
* backend/rust-compile-stmt.h: New.
* backend/rust-compile-struct-field-expr.cc: New.
* backend/rust-compile-struct-field-expr.h: New.
* backend/rust-compile-type.cc: New.
* backend/rust-compile-type.h: New.
* backend/rust-compile-var-decl.h: New.

Co-authored-by: David Faust <david.faust@oracle.com>
24 files changed:
gcc/rust/backend/rust-compile-block.cc [new file with mode: 0644]
gcc/rust/backend/rust-compile-block.h [new file with mode: 0644]
gcc/rust/backend/rust-compile-expr.cc [new file with mode: 0644]
gcc/rust/backend/rust-compile-expr.h [new file with mode: 0644]
gcc/rust/backend/rust-compile-extern.h [new file with mode: 0644]
gcc/rust/backend/rust-compile-fnparam.cc [new file with mode: 0644]
gcc/rust/backend/rust-compile-fnparam.h [new file with mode: 0644]
gcc/rust/backend/rust-compile-implitem.cc [new file with mode: 0644]
gcc/rust/backend/rust-compile-implitem.h [new file with mode: 0644]
gcc/rust/backend/rust-compile-intrinsic.cc [new file with mode: 0644]
gcc/rust/backend/rust-compile-intrinsic.h [new file with mode: 0644]
gcc/rust/backend/rust-compile-item.cc [new file with mode: 0644]
gcc/rust/backend/rust-compile-item.h [new file with mode: 0644]
gcc/rust/backend/rust-compile-pattern.cc [new file with mode: 0644]
gcc/rust/backend/rust-compile-pattern.h [new file with mode: 0644]
gcc/rust/backend/rust-compile-resolve-path.cc [new file with mode: 0644]
gcc/rust/backend/rust-compile-resolve-path.h [new file with mode: 0644]
gcc/rust/backend/rust-compile-stmt.cc [new file with mode: 0644]
gcc/rust/backend/rust-compile-stmt.h [new file with mode: 0644]
gcc/rust/backend/rust-compile-struct-field-expr.cc [new file with mode: 0644]
gcc/rust/backend/rust-compile-struct-field-expr.h [new file with mode: 0644]
gcc/rust/backend/rust-compile-type.cc [new file with mode: 0644]
gcc/rust/backend/rust-compile-type.h [new file with mode: 0644]
gcc/rust/backend/rust-compile-var-decl.h [new file with mode: 0644]