search for: issmallkind

Displaying 3 results from an estimated 3 matches for "issmallkind".

2016 Nov 08
3
[MC] Target-Independent Small Data Section Handling
...Ensure the returned SectionKind is Data, BSS or Common. 4. Pass GlobalObject to target-specific IsGlobalInSmallSectionImpl, which scrutinizes the object's type for the specific architecture. I believe this redundant implementation between targets can be reduced by giving SectionKind an 'isSmallKind' bit (OR'd with 0x80). This provides a much clearer (and cached) predicate that ISel lowering can take advantage of when a small data load/store must be generated. The existing predicates in SectionKind may be modified to use the underlying Kind (AND-ing with 0x7f), so existing ISel behavio...
2016 Nov 17
3
[MC] Target-Independent Small Data Section Handling
...ectionKind is Data, BSS or Common. > 4. Pass GlobalObject to target-specific IsGlobalInSmallSectionImpl, > which scrutinizes the object's type for the specific architecture. > > I believe this redundant implementation between targets can be reduced by giving SectionKind an 'isSmallKind' bit (OR'd with 0x80). This provides a much clearer (and cached) predicate that ISel lowering can take advantage of when a small data load/store must be generated. The existing predicates in SectionKind may be modified to use the underlying Kind (AND-ing with 0x7f), so existing ISel behavio...
2016 Nov 18
0
[MC] Target-Independent Small Data Section Handling
...t; 4. Pass GlobalObject to target-specific IsGlobalInSmallSectionImpl, > > which scrutinizes the object's type for the specific > > architecture. > > > > I believe this redundant implementation between targets can be > > reduced by giving SectionKind an 'isSmallKind' bit (OR'd with > > 0x80). This provides a much clearer (and cached) predicate that > > ISel lowering can take advantage of when a small data load/store > > must be generated. The existing predicates in SectionKind may be > > modified to use the underlying Kind (AND-...