Home
last modified time | relevance | path

Searched refs:Color (Results 1 – 25 of 66) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64A57FPLoadBalancing.cpp101 enum class Color { Even, Odd }; enum
146 Color getColor(unsigned Register);
200 Color LastColor;
202 Chain(MachineInstr *MI, unsigned Idx, Color C) in Chain()
258 Color getPreferredColor() { in getPreferredColor()
260 return OverrideBalance == 1 ? Color::Even : Color::Odd; in getPreferredColor()
464 Color PreferredColor = Parity < 0 ? Color::Even : Color::Odd; in colorChainSet()
467 Color C = PreferredColor; in colorChainSet()
489 PreferredColor = Parity < 0 ? Color::Even : Color::Odd; in colorChainSet()
714 return Color::Even; in getColor()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackSlotColoring.cpp295 int Color = -1; in ColorSlot() local
303 Color = UsedColors[StackID].find_first(); in ColorSlot()
304 while (Color != -1) { in ColorSlot()
305 if (!Assignments[Color].overlaps(li)) { in ColorSlot()
310 Color = UsedColors[StackID].find_next(Color); in ColorSlot()
314 if (Color != -1 && MFI->getStackID(Color) != MFI->getStackID(FI)) { in ColorSlot()
323 Color = NextColors[StackID]; in ColorSlot()
324 UsedColors[StackID].set(Color); in ColorSlot()
331 Assignments[Color].add(li, LIUAlloc); in ColorSlot()
342 MFI->setObjectSize(Color, Size); in ColorSlot()
[all …]
H A DMachineFunctionPass.cpp143 bool Color = llvm::is_contained( in runOnFunction() local
146 StringRef Removed = Color ? "\033[31m-%l\033[0m\n" : "-%l\n"; in runOnFunction()
147 StringRef Added = Color ? "\033[32m+%l\033[0m\n" : "+%l\n"; in runOnFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DEHPersonalities.cpp124 BasicBlock *Color; in colorEHFunclets() local
125 std::tie(Visiting, Color) = Worklist.pop_back_val(); in colorEHFunclets()
128 << Color->getName() << "\n"); in colorEHFunclets()
132 Color = Visiting; in colorEHFunclets()
136 if (!is_contained(Colors, Color)) in colorEHFunclets()
137 Colors.push_back(Color); in colorEHFunclets()
142 dbgs() << " Assigned color \'" << Color->getName() in colorEHFunclets()
146 BasicBlock *SuccColor = Color; in colorEHFunclets()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DASTDumperUtils.h30 llvm::raw_ostream::Colors Color; member
91 ColorScope(llvm::raw_ostream &OS, bool ShowColors, TerminalColor Color) in ColorScope() argument
94 OS.changeColor(Color.Color, Color.Bold); in ColorScope()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGPrinter.cpp221 void SelectionDAG::setGraphColor(const SDNode *N, const char *Color) { in setGraphColor() argument
223 NodeGraphAttrs[N] = std::string("color=") + Color; in setGraphColor()
233 bool SelectionDAG::setSubgraphColorHelper(SDNode *N, const char *Color, DenseSet<SDNode *> &visited, in setSubgraphColorHelper() argument
249 setGraphColor(N, Color); in setSubgraphColorHelper()
253 hit_limit = setSubgraphColorHelper(*i, Color, visited, level+1, printed) || hit_limit; in setSubgraphColorHelper()
265 void SelectionDAG::setSubgraphColor(SDNode *N, const char *Color) { in setSubgraphColor() argument
269 if (setSubgraphColorHelper(N, Color, visited, 0, printed)) { in setSubgraphColor()
271 if (strcmp(Color, "red") == 0) { in setSubgraphColor()
273 } else if (strcmp(Color, "yellow") == 0) { in setSubgraphColor()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DTextNodeDumper.cpp74 ColorScope Color(OS, ShowColors, NullColor); in Visit() local
92 ColorScope Color(OS, ShowColors, AttrColor); in Visit() local
127 ColorScope Color(OS, ShowColors, NullColor); in Visit() local
132 ColorScope Color(OS, ShowColors, StmtColor); in Visit() local
189 ColorScope Color(OS, ShowColors, NullColor); in Visit() local
203 ColorScope Color(OS, ShowColors, TypeColor); in Visit() local
245 ColorScope Color(OS, ShowColors, NullColor); in Visit() local
346 ColorScope Color(OS, ShowColors, NullColor); in Visit() local
351 ColorScope Color(OS, ShowColors, AttrColor); in Visit() local
377 ColorScope Color(OS, ShowColors, NullColor); in Visit() local
[all …]
H A DASTDumper.cpp30 ColorScope Color(OS, ShowColors, NullColor); in dumpInvalidDeclContext() local
41 ColorScope Color(OS, ShowColors, DeclKindNameColor); in dumpInvalidDeclContext() local
47 ColorScope Color(OS, ShowColors, DeclNameColor); in dumpInvalidDeclContext() local
77 ColorScope Color(OS, ShowColors, DeclNameColor); in dumpLookups() local
106 ColorScope Color(OS, ShowColors, UndeserializedColor); in dumpLookups() local
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-color-helper.cpp84 convertToHSV(const std::tuple<uint8_t, uint8_t, uint8_t> &Color) { in convertToHSV() argument
85 double Scaled[3] = {std::get<0>(Color) / 255.0, std::get<1>(Color) / 255.0, in convertToHSV()
86 std::get<2>(Color) / 255.0}; in convertToHSV()
121 convertToRGB(const std::tuple<double, double, double> &Color) { in convertToRGB() argument
122 const double &H = std::get<0>(Color); in convertToRGB()
123 const double &S = std::get<1>(Color); in convertToRGB()
124 const double &V = std::get<2>(Color); in convertToRGB()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DWithColor.cpp44 WithColor::WithColor(raw_ostream &OS, HighlightColor Color, ColorMode Mode) in WithColor() argument
48 switch (Color) { in WithColor()
143 WithColor &WithColor::changeColor(raw_ostream::Colors Color, bool Bold, in changeColor() argument
146 OS.changeColor(Color, Bold, BG); in changeColor()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DWithColor.h72 raw_ostream &OS, raw_ostream::Colors Color = raw_ostream::SAVEDCOLOR,
75 changeColor(Color, Bold, BG); in OS()
120 WithColor &changeColor(raw_ostream::Colors Color, bool Bold = false,
H A DFormattedStream.h182 raw_ostream &changeColor(enum Colors Color, bool Bold, bool BG) override { in changeColor() argument
185 raw_ostream::changeColor(Color, Bold, BG); in changeColor()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegColoring.cpp291 size_t Color = I; in runOnMachineFunction() local
302 Color = C; in runOnMachineFunction()
307 Register New = SortedIntervals[Color]->reg(); in runOnMachineFunction()
310 UsedColors.set(Color); in runOnMachineFunction()
311 Assignments[Color].push_back(LI); in runOnMachineFunction()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-cov/
H A DRenderingSupport.h50 raw_ostream::Colors Color,
54 OS.changeColor(Color, Bold, BG);
H A DCoverageViewOptions.h62 raw_ostream::Colors Color) const { in colored_ostream()
63 return llvm::colored_ostream(OS, Color, Colors); in colored_ostream()
H A DSourceCoverageViewHTML.cpp792 std::optional<StringRef> Color; in renderLine() local
797 return tag("span", Snippet, std::string(*Color)); in renderLine()
801 return S && (!S->IsGapRegion || (Color && *Color == "red")) && in renderLine()
806 Color = "red"; in renderLine()
814 Color = "red"; in renderLine()
816 Color = "cyan"; in renderLine()
818 Color = std::nullopt; in renderLine()
820 if (Color) in renderLine()
825 if (Color && Segments.empty()) in renderLine()
/freebsd-14.2/sys/contrib/device-tree/Bindings/display/
H A Dilitek,ili9486.yaml23 # Waveshare 3.5" 320x480 Color TFT LCD
25 # Ozzmaker 3.5" 320x480 Color TFT LCD
H A Dsitronix,st7735r.yaml24 Adafruit 1.8" 160x128 Color TFT LCD (Product ID 358 or 618)
30 Okaya 1.44" 128x128 Color TFT LCD (E.g. Renesas YRSK-LCD-PMOD)
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DMarkupFilter.cpp422 Color = *SGRColor; in trySGR()
424 OS.changeColor(*Color); in trySGR()
436 OS.changeColor(Color == raw_ostream::Colors::BLUE ? raw_ostream::Colors::CYAN in highlight()
453 if (Color) { in restoreColor()
454 OS.changeColor(*Color, Bold); in restoreColor()
464 if (!Color && !Bold) in resetColor()
466 Color.reset(); in resetColor()
/freebsd-14.2/contrib/file/magic/Magdir/
H A Dgimp36 >22 belong 0 RGB Color
38 >22 belong 2 Indexed Color
H A Dicc4 # icc: file(1) magic for International Color Consortium file formats
7 # Color profiles as per the ICC's "Image technology colour management -
32 # to be for "ColorSync ICC Color Profile" rather than "Kodak Color
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DTimelineView.cpp126 raw_ostream::Colors Color = chooseColor(Cycles, Executions, BufferSize); in tryChangeColor() local
127 if (Color == raw_ostream::SAVEDCOLOR) { in tryChangeColor()
131 OS.changeColor(Color, /* bold */ true, /* BG */ false); in tryChangeColor()
/freebsd-14.2/sys/contrib/device-tree/Bindings/iio/light/
H A Dcm36651.txt1 * Capella CM36651 I2C Proximity and Color Light sensor
H A Dcapella,cm36651.yaml7 title: Capella CM36651 I2C Proximity and Color Light sensor
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMachineScheduler.cpp658 int Color = NextReservedID; in colorHighLatenciesGroups() local
682 int ProposedColor = Color; in colorHighLatenciesGroups()
762 Color = ++NextReservedID; in colorHighLatenciesGroups()
763 ProposedColor = Color; in colorHighLatenciesGroups()
769 Color = ++NextReservedID; in colorHighLatenciesGroups()
770 ProposedColor = Color; in colorHighLatenciesGroups()
1190 unsigned Color = CurrentColoring[SU->NodeNum]; in createBlocksForVariant() local
1191 if (RealID.find(Color) == RealID.end()) { in createBlocksForVariant()
1195 RealID[Color] = ID; in createBlocksForVariant()
1197 CurrentBlocks[RealID[Color]]->addUnit(SU); in createBlocksForVariant()
[all …]

123