search for: getwhatev

Displaying 4 results from an estimated 4 matches for "getwhatev".

Did you mean: getwhatever
2018 Feb 21
4
TableGen: spring cleaning, new features for "functional programming"
...you've mentioned above may help, but I'm not sure if that's the > use pattern you had in mind. Actually yes, that's one of the things I rely on quite heavily in my AMDGPU changes. The AMDGPU backend already uses a pattern to implement subroutines that looks like this: class getWhatever<parameters> { type ret = ...; } This tends to work out in many cases because getWhatever<...>.ret is substituted early, but there are corner cases when you push it further, and I believe those are all fixed with the VarDefInit change I've described above. In any case, I'...
2018 Mar 14
0
TableGen: spring cleaning, new features for "functional programming"
...y help, but I'm not sure if that's the > > use pattern you had in mind. > > Actually yes, that's one of the things I rely on quite heavily in my > AMDGPU changes. The AMDGPU backend already uses a pattern to implement > subroutines that looks like this: > > class getWhatever<parameters> { > type ret = ...; > } > > This tends to work out in many cases because getWhatever<...>.ret is > substituted early, but there are corner cases when you push it further, > and I believe those are all fixed with the VarDefInit change I've > desc...
2018 Feb 20
0
TableGen: spring cleaning, new features for "functional programming"
On Mon, Feb 19, 2018 at 11:26 AM Nicolai Hähnle <nhaehnle at gmail.com> wrote: > Hi all, > > While working on some features for the AMDGPU backend -- specifically, > explicit address components for image intrinsics, which involves > generating both > > (a) a lot of intrinsics with different but somewhat regular parameter > types, and > > (b) the patterns to
2018 Feb 19
4
TableGen: spring cleaning, new features for "functional programming"
Hi all, While working on some features for the AMDGPU backend -- specifically, explicit address components for image intrinsics, which involves generating both (a) a lot of intrinsics with different but somewhat regular parameter types, and (b) the patterns to select instructions for those intrinsics -- I got fed up with a lot of the TableGen bugs and limitations and set out to fix things.