diff options
Diffstat (limited to 'llvm/docs')
| -rw-r--r-- | llvm/docs/TableGen/LangIntro.rst | 3 | ||||
| -rw-r--r-- | llvm/docs/TableGen/LangRef.rst | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/TableGen/LangIntro.rst b/llvm/docs/TableGen/LangIntro.rst index 67000fa03c6..c4a7a34c025 100644 --- a/llvm/docs/TableGen/LangIntro.rst +++ b/llvm/docs/TableGen/LangIntro.rst @@ -208,6 +208,9 @@ supported include: is a special case in that the argument can be an int or a record. In the latter case, the record's name is returned. +``!isa<type>(a)`` + Returns an integer: 1 if 'a' is dynamically of the given type, 0 otherwise. + ``!subst(a, b, c)`` If 'a' and 'b' are of string type or are symbol references, substitute 'b' for 'a' in 'c.' This operation is analogous to $(subst) in GNU make. diff --git a/llvm/docs/TableGen/LangRef.rst b/llvm/docs/TableGen/LangRef.rst index 5da852879d2..89996f35822 100644 --- a/llvm/docs/TableGen/LangRef.rst +++ b/llvm/docs/TableGen/LangRef.rst @@ -99,6 +99,7 @@ wide variety of meanings: :!add !shl !sra !srl !and :!or !empty !subst !foreach !strconcat :!cast !listconcat !size !foldl + :!isa Syntax |

