Home
last modified time | relevance | path

Searched refs:ResourceStrategy (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/HardwareUnits/
DResourceManager.h48 class ResourceStrategy {
49 ResourceStrategy(const ResourceStrategy &) = delete;
50 ResourceStrategy &operator=(const ResourceStrategy &) = delete;
53 ResourceStrategy() {} in ResourceStrategy() function
54 virtual ~ResourceStrategy();
68 class DefaultResourceStrategy final : public ResourceStrategy {
122 : ResourceStrategy(), ResourceUnitMask(UnitMask), in DefaultResourceStrategy()
341 std::vector<std::unique_ptr<ResourceStrategy>> Strategies;
383 void setCustomStrategyImpl(std::unique_ptr<ResourceStrategy> S,
392 void setCustomStrategy(std::unique_ptr<ResourceStrategy> S, in setCustomStrategy()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/
DResourceManager.cpp24 ResourceStrategy::~ResourceStrategy() = default;
104 static std::unique_ptr<ResourceStrategy>
108 return std::unique_ptr<ResourceStrategy>(nullptr); in getStrategyFor()
158 void ResourceManager::setCustomStrategyImpl(std::unique_ptr<ResourceStrategy> S, in setCustomStrategyImpl()