Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-color-helper.cpp54 : MinIn(0.0), MaxIn(1.0), ColorMap(SequentialMaps[static_cast<int>(S)]), in ColorHelper()
78 : MinIn(-1.0), MaxIn(1.0), ColorMap(DivergingCoeffs[static_cast<int>(S)]), in ColorHelper()
183 assert(!ColorMap.empty() && "ColorMap must not be empty!"); in getColorTuple()
191 size_t MaxIndex = ColorMap.size() - 1; in getColorTuple()
198 auto &RGBColor0 = ColorMap[SectionNo]; in getColorTuple()
199 auto &RGBColor1 = ColorMap[std::min(SectionNo + 1, MaxIndex)]; in getColorTuple()
H A Dxray-color-helper.h46 ArrayRef<std::tuple<uint8_t, uint8_t, uint8_t>> ColorMap; variable