Displaying 8 results from an estimated 8 matches for "foldl".
Did you mean:
fold
2020 Nov 16
2
Occasional TableGen Newsletter, no. 2
...s 'true' and 'false' were added to TableGen to improve
the readability of the code.
* The !sub bang operator was added to perform subtraction.
* The !interleave operator was added to concatenate a list of strings with a
delimiter between each item. This is simpler and faster than !foldl.
* The !filter operator was added to filter a list of items based on a
boolean predicate expression. This is simpler and faster than !foldl.
* All six comparison operators now work on strings: !eq, !ne, !gt, !ge, !lt,
!le.
* The !eq and !ne operators now work on records. This eliminates many
!ca...
2020 Nov 16
0
Occasional TableGen Newsletter, no. 2
...lse' were added to TableGen to improve
> the readability of the code.
>
> * The !sub bang operator was added to perform subtraction.
>
> * The !interleave operator was added to concatenate a list of strings with a
> delimiter between each item. This is simpler and faster than !foldl.
>
> * The !filter operator was added to filter a list of items based on a
> boolean predicate expression. This is simpler and faster than !foldl.
>
> * All six comparison operators now work on strings: !eq, !ne, !gt, !ge, !lt,
> !le.
>
> * The !eq and !ne operators now work...
2018 Feb 19
4
TableGen: spring cleaning, new features for "functional programming"
...rather long list of ~30 patches which do a bunch
of things in lib/TableGen/ such as:
- better and earlier error messages
- cleanup type checking
- cleanup variable resolving
- cleanup record instantiation
- late generation of anonymous records that appear in expressions
- cleanup !foreach
- add !foldl
- add !isa<type>(...) and make !cast more useful
- add !dag builtin to generate DAG nodes from lists
- some other minor new built-ins like !size, !le, !lt, !ge, !gt
- add a defset mechanism for collecting records which can then later be
looped over in a foreach statement
- make foreach state...
2018 Mar 14
0
TableGen: spring cleaning, new features for "functional programming"
...bunch of
> things in lib/TableGen/ such as:
>
> - better and earlier error messages
> - cleanup type checking
> - cleanup variable resolving
> - cleanup record instantiation
> - late generation of anonymous records that appear in expressions
> - cleanup !foreach
> - add !foldl
> - add !isa<type>(...) and make !cast more useful
> - add !dag builtin to generate DAG nodes from lists
> - some other minor new built-ins like !size, !le, !lt, !ge, !gt
> - add a defset mechanism for collecting records which can then later be
> looped over in a foreach statem...
2018 Feb 20
0
TableGen: spring cleaning, new features for "functional programming"
...nerated,
that would help a lot.
- cleanup !foreach
>
+1 for having scoped temporary variable. ATM tablegen can use a class
field for that, but using it in the global scope still needs a record for
it. Things also go wrong when one accidentally uses a record/field with a
known value.
- add !foldl
>
- add !isa<type>(...) and make !cast more useful
>
Nice.
> - add !dag builtin to generate DAG nodes from lists
>
Yes, please! Constructing dags using !foreach and !con() is a pain.
> - some other minor new built-ins like !size, !le, !lt, !ge, !gt
> - add a defset...
2018 Feb 21
4
TableGen: spring cleaning, new features for "functional programming"
...able. ATM tablegen can use a class
> field for that, but using it in the global scope still needs a record
> for it. Things also go wrong when one accidentally uses a record/field
> with a known value.
... and when nesting !foreach with the same iteration variable ;)
> - add !foldl
>
> - add !isa<type>(...) and make !cast more useful
>
>
> Nice.
>
> - add !dag builtin to generate DAG nodes from lists
>
>
> Yes, please! Constructing dags using !foreach and !con() is a pain.
>
> - some other minor new built-ins li...
2018 Mar 14
0
TableGen: spring cleaning, new features for "functional programming"
...> > field for that, but using it in the global scope still needs a record
> > for it. Things also go wrong when one accidentally uses a record/field
> > with a known value.
>
> ... and when nesting !foreach with the same iteration variable ;)
>
>
> > - add !foldl
> >
> > - add !isa<type>(...) and make !cast more useful
> >
> >
> > Nice.
> >
> > - add !dag builtin to generate DAG nodes from lists
> >
> >
> > Yes, please! Constructing dags using !foreach and !con() is a pain.
> &...
2018 Mar 12
0
LLVM Weekly - #219, Mar 12th 2018
...[proposed](http://lists.llvm.org/pipermail/cfe-dev/2018-March/057113.html)
making the C++ `atomic` and C `stdatomic.h` headers explicitly incompatible,
resulting in a short and easy to understand error message if both are included
in the same translation unit.
## LLVM commits
* TableGen gained `!foldl` and `!isa` operations, as well as a new `defset`
statement. [r326790](http://reviews.llvm.org/rL326790),
[r327117](http://reviews.llvm.org/rL327117),
[r327121](http://reviews.llvm.org/rL327121).
* llvm-mca, the LLVM Machine Code Analyzer tool, has been committed. It an be
used to statically estim...