diff options
Diffstat (limited to 'llvm/docs/TableGen/LangIntro.rst')
-rw-r--r-- | llvm/docs/TableGen/LangIntro.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/docs/TableGen/LangIntro.rst b/llvm/docs/TableGen/LangIntro.rst index 460ff9067f2..534597b041b 100644 --- a/llvm/docs/TableGen/LangIntro.rst +++ b/llvm/docs/TableGen/LangIntro.rst @@ -205,6 +205,9 @@ supported include: ``!empty(a)`` An integer {0,1} indicating whether list 'a' is empty. +``!size(a)`` + An integer indicating the number of elements in list 'a'. + ``!if(a,b,c)`` 'b' if the result of 'int' or 'bit' operator 'a' is nonzero, 'c' otherwise. |