| 94 | } |
| 95 | |
| 96 | int ProgramInfo::getProcessorIndex(const Processor* processor) const { |
| 97 | auto result = processorIndices.find(processor); |
| 98 | if (result == processorIndices.end()) { |
| 99 | return -1; |
| 100 | } |
| 101 | return result->second; |
| 102 | } |
| 103 | |
| 104 | std::string ProgramInfo::getMangledSuffix(const Processor* processor) const { |
| 105 | auto processorIndex = getProcessorIndex(processor); |
no test coverage detected