1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00
Simon Tatham 4855f53b1d [TableGen] Add bang-operators !getop and !setop.
Summary:
These allow you to get and set the operator of a dag node, without
affecting its list of arguments.

`!getop` is slightly fiddly because in many contexts you need its
return value to have a static type more specific than 'any record'. It
works to say `!cast<BaseClass>(!getop(...))`, but it's cumbersome, so
I made `!getop` take an optional type suffix itself, so that can be
written as the shorter `!getop<BaseClass>(...)`.

Reviewers: hfinkel, nhaehnle

Reviewed By: nhaehnle

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D71191
2019-12-11 12:05:22 +00:00
..
2018-03-14 11:00:43 +00:00
2018-03-09 12:24:42 +00:00
2018-03-06 13:49:16 +00:00
2018-03-09 12:24:06 +00:00
2018-03-14 11:00:43 +00:00
2018-03-14 11:00:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-11-27 18:57:43 +00:00
2018-02-23 10:46:07 +00:00
2013-12-22 03:43:58 +00:00