Searched refs:ColorMap (Results 1 – 3 of 3) sorted by relevance
/llvm-project/llvm/tools/llvm-xray/ |
H A D | xray-color-helper.cpp | 54 : 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 D | xray-color-helper.h | 46 ArrayRef<std::tuple<uint8_t, uint8_t, uint8_t>> ColorMap; variable
|
/llvm-project/llvm/unittests/Support/ |
H A D | YAMLIOTest.cpp | 885 struct ColorMap { struct 906 struct MappingTraits<ColorMap> { argument 907 static void mapping(IO &io, ColorMap& c) { in mapping() 924 ColorMap map; in TEST() 2056 ColorMap map;
|