Displaying 7 results from an estimated 7 matches for "applycombineextendingload".
Did you mean:
applycombineextendingloads
2018 Nov 30
2
[RFC] Tablegen-erated GlobalISel Combine Rules
...> (defs operand:$D, reg:$A, extending_load_matchdata:$matchinfo),
>> (match (G_LOAD $D, $A),
>> (extending_load_predicate operand:$A,
>> extending_load_matchdata:$matchinfo)),
>> (apply (exec [{ Helper.applyCombineExtendingLoads(${D}, ${matchinfo.B}); }],
>> reg:$D, extending_load_matchdata:$matchinfo)>;
>> The main problem with this is that this prevents access to the contents of matchinfo from outside of C++. To overcome this, I'd suggest allowing the '${foo.bar}' syntax in...
2018 Nov 27
3
[RFC] Tablegen-erated GlobalISel Combine Rules
...def extending_loads : GICombineRule<
(defs operand:$D, reg:$A, extending_load_matchdata:$matchinfo),
(match (G_LOAD $D, $A),
(extending_load_predicate operand:$A,
extending_load_matchdata:$matchinfo)),
(apply (exec [{ Helper.applyCombineExtendingLoads(${D}, ${matchinfo.B}); }],
reg:$D, extending_load_matchdata:$matchinfo)>;
The main problem with this is that this prevents access to the contents of matchinfo from outside of C++. To overcome this, I'd suggest allowing the '${foo.bar}' syntax in tablegen's da...
2018 Nov 27
2
[RFC] Tablegen-erated GlobalISel Combine Rules
...def extending_loads : GICombineRule<
(defs operand:$D, reg:$A, extending_load_matchdata:$matchinfo),
(match (G_LOAD $D, $A),
(extending_load_predicate operand:$A,
extending_load_matchdata:$matchinfo)),
(apply (exec [{ Helper.applyCombineExtendingLoads(${D}, ${matchinfo.B}); }],
reg:$D, extending_load_matchdata:$matchinfo)>;
// I haven't included any rules for omitting defs from GIMacro but I can look into this if we want.
def ANYLOAD : GIMacro<(defs def:$R, use:$S, uint64_t:$IDX),
(...
2018 Nov 30
2
[RFC] Tablegen-erated GlobalISel Combine Rules
...ake a reg though.
>> def extending_loads : GICombineRule<
>> (defs operand:$D, reg:$A, extending_load_matchdata:$matchinfo),
>> (match (G_LOAD $D, $A),
>> (extending_load_predicate operand:$A,
>> extending_load_matchdata:$matchinfo)),
>> (apply (exec [{ Helper.applyCombineExtendingLoads(${D}, ${matchinfo.B}); }],
>> reg:$D, extending_load_matchdata:$matchinfo)>;
>> // I haven't included any rules for omitting defs from GIMacro but I can look into this if we want.
>> def ANYLOAD : GIMacro<(defs def:$R, use:$S, uint64_t:$IDX),
>> (match (oneof...
2018 Nov 09
5
[RFC] Tablegen-erated GlobalISel Combine Rules
...tending_loads : GICombineRule<
(defs root:$root, reg:$A, extending_load_matchdata:$matchinfo),
(match [{MIR %root = G_LOAD %A }],
(extending_load_predicate root:$A,
extending_load_matchdata:$matchinfo)),
(apply (exec [{ Helper.applyCombineExtendingLoads(${root}, ${matchinfo}); }],
reg:$root, extending_load_matchdata:$matchinfo)>;
The GIDefMatchData declares a new type of data that can be passed from the match to the apply. Tablegen is responsible for arranging for appropriate storage during the Combine algorithm. The GIMatc...
2018 Nov 10
3
[RFC] Tablegen-erated GlobalISel Combine Rules
...(defs root:$root, reg:$A, extending_load_matchdata:$matchinfo),
>> (match [{MIR %root = G_LOAD %A }],
>> (extending_load_predicate root:$A,
>> extending_load_matchdata:$matchinfo)),
>> (apply (exec [{ Helper.applyCombineExtendingLoads(${root}, ${matchinfo}); }],
>> reg:$root, extending_load_matchdata:$matchinfo)>;
>> The GIDefMatchData declares a new type of data that can be passed from the match to the apply. Tablegen is responsible for arranging for appropriate storage during the Combine algo...
2018 Nov 12
3
[RFC] Tablegen-erated GlobalISel Combine Rules
...ending_load_matchdata:$matchinfo),
>>>> (match [{MIR %root = G_LOAD %A }],
>>>> (extending_load_predicate root:$A,
>>>> extending_load_matchdata:$matchinfo)),
>>>> (apply (exec [{ Helper.applyCombineExtendingLoads(${root}, ${matchinfo}); }],
>>>> reg:$root, extending_load_matchdata:$matchinfo)>;
>>>> The GIDefMatchData declares a new type of data that can be passed from the match to the apply. Tablegen is responsible for arranging for appropriate storage during...