Displaying 2 results from an estimated 2 matches for "cachelevel_iterator".
2018 Nov 01
2
RFC: System (cache, etc.) model for LLVM
...rgetMemorySystemInfo {
> const TargetCacheLevelInfo &getCacheLevel(unsigned Level) const;
>
> /// getNumLevels - Return the number of cache levels this target has.
> ///
> unsigned getNumLevels() const;
>
> /// Cache level iterators
> ///
> cachelevel_iterator cachelevel_begin() const;
> cachelevel_iterator cachelevel_end() const;
May users of this class assume that a level refers to a specific
cache. E.g. getCacheLevel(0) being the L1 cache. Or so they have to
search for a cache of a specific size?
> //===-------------------------------...
2018 Nov 01
3
RFC: System (cache, etc.) model for LLVM
...Level(unsigned Level) const;
> >>
> >> /// getNumLevels - Return the number of cache levels this target has.
> >> ///
> >> unsigned getNumLevels() const;
> >>
> >> /// Cache level iterators
> >> ///
> >> cachelevel_iterator cachelevel_begin() const;
> >> cachelevel_iterator cachelevel_end() const;
> >
> > May users of this class assume that a level refers to a specific
> > cache. E.g. getCacheLevel(0) being the L1 cache. Or so they have to
> > search for a cache of a specific size?...