Displaying 1 result from an estimated 1 matches for "getnumcontained".
2018 Nov 01
2
RFC: System (cache, etc.) model for LLVM
...ple prefetchers/prefetch instructructions
for different levels.
> class TargetExecutionResourceInfo {
> /// getContained - Return information about the contained execution
> /// resource.
> ///
> TargetExecutionResourceInfo *getContained() const;
>
> /// getNumContained - Return the number of contained execution
> /// resources.
> ///
> unsigned getNumContained() const;
Shouldn't the level itself specify how many of resources of its there
are, instead of its parent?
This would make TargetExecutionEngineInfo::getNumResources() reduntant....