-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: recognize ownsem instrinsic aliases
- Loading branch information
1 parent
8fc33bd
commit 93edd5d
Showing
3 changed files
with
65 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#ifndef OWNSEM_H_ | ||
#define OWNSEM_H_ | ||
|
||
#include <boost/hana.hpp> | ||
|
||
constexpr auto OWNSEM_BUILTIN_NAMES = boost::hana::make_set( | ||
"sea.mkown", "sea.mkshr", "sea.bor_mkbor", "sea.bor_ptr", "sea.bor_mksuc", | ||
"sea.begin_unique", "sea.end_unique", | ||
// "sea.die", // This is not a ptr def operation | ||
"sea.mov", | ||
// Builtin for fat ptr (slot0 and slot1 only) | ||
"sea.set_fatptr_slot", "sea.get_fatptr_slot", "sea.bor_mem2reg", | ||
"sea.mov_mem2reg", "sea.bor_mkbor_part"); | ||
|
||
#endif // OWNSEM_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters