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

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DASTDumperUtils.h30 llvm::raw_ostream::Colors Color; member in struct:clang::TerminalColor
91 ColorScope(llvm::raw_ostream &OS, bool ShowColors, TerminalColor Color) argument
94 OS.changeColor(Color.Color, Color.Bold);
H A DTextNodeDumper.h90 ColorScope Color(OS, ShowColors, IndentColor);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DEHPersonalities.cpp99 BasicBlock *Color; local
100 std::tie(Visiting, Color) = Worklist.pop_back_val();
103 << Color->getName() << "\n");
107 Color = Visiting;
111 if (!is_contained(Colors, Color))
112 Colors.push_back(Color);
117 dbgs() << " Assigned color \'" << Color->getName()
121 BasicBlock *SuccColor = Color;
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageViewOptions.h49 raw_ostream::Colors Color) const {
50 return llvm::colored_ostream(OS, Color, Colors);
H A DRenderingSupport.h50 raw_ostream::Colors Color,
54 OS.changeColor(Color, Bold, BG);
49 colored_ostream(raw_ostream &OS, raw_ostream::Colors Color, bool IsColorUsed = true, bool Bold = false, bool BG = false) argument
H A DSourceCoverageViewHTML.cpp530 Optional<StringRef> Color; local
535 return tag("span", Snippet, std::string(Color.getValue()));
539 return S && (!S->IsGapRegion || (Color && *Color == "red")) &&
544 Color = "red";
552 Color = "red";
554 Color = "cyan";
556 Color = None;
558 if (Color.hasValue())
563 if (Color
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackSlotColoring.cpp94 // Assignments - Color to intervals mapping.
120 bool OverlapWithAssignments(LiveInterval *li, int Color) const;
258 StackSlotColoring::OverlapWithAssignments(LiveInterval *li, int Color) const {
259 const SmallVectorImpl<LiveInterval *> &OtherLIs = Assignments[Color];
270 int Color = -1; local
278 Color = UsedColors[StackID].find_first();
279 while (Color != -1) {
280 if (!OverlapWithAssignments(li, Color)) {
285 Color = UsedColors[StackID].find_next(Color);
307 LLVM_DEBUG(dbgs() << "Assigning fi#" << FI << " to fi#" << Color << "\\n"); local
[all...]
H A DWinEHPrepare.cpp708 for (BasicBlock *Color : Colors)
709 FuncletBlocks[Color].push_back(&BB);
860 [&](BasicBlock *Color) {
861 return Color != FuncletPadBB;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64A57FPLoadBalancing.cpp102 enum class Color { Even, Odd }; class in namespace:__anon3833
140 bool colorChain(Chain *G, Color C, MachineBasicBlock &MBB);
141 int scavengeRegister(Chain *G, Color C, MachineBasicBlock &MBB);
147 Color getColor(unsigned Register);
148 Chain *getAndEraseNext(Color PreferredColor, std::vector<Chain*> &L);
201 Color LastColor;
203 Chain(MachineInstr *MI, unsigned Idx, Color C)
212 void add(MachineInstr *MI, unsigned Idx, Color C) {
259 Color getPreferredColor() {
261 return OverrideBalance == 1 ? Color
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DWithColor.h66 /// @param Color ANSI color to use, the special SAVEDCOLOR can be used to
72 raw_ostream::Colors Color = raw_ostream::SAVEDCOLOR,
76 changeColor(Color, Bold, BG);
117 /// @param Color ANSI color to use, the special SAVEDCOLOR can be used to
121 WithColor &changeColor(raw_ostream::Colors Color, bool Bold = false,
H A DFormattedStream.h148 raw_ostream &changeColor(enum Colors Color, bool Bold, bool BG) override {
149 TheStream->changeColor(Color, Bold, BG);
H A Draw_ostream.h273 /// @param Color ANSI color to use, the special SAVEDCOLOR can be used to
278 virtual raw_ostream &changeColor(enum Colors Color, bool Bold = false,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGPrinter.cpp225 void SelectionDAG::setGraphColor(const SDNode *N, const char *Color) { argument
227 NodeGraphAttrs[N] = std::string("color=") + Color;
237 bool SelectionDAG::setSubgraphColorHelper(SDNode *N, const char *Color, DenseSet<SDNode *> &visited, argument
253 setGraphColor(N, Color);
257 hit_limit = setSubgraphColorHelper(*i, Color, visited, level+1, printed) || hit_limit;
269 void SelectionDAG::setSubgraphColor(SDNode *N, const char *Color) { argument
273 if (setSubgraphColorHelper(N, Color, visited, 0, printed)) {
275 if (strcmp(Color, "red") == 0) {
277 } else if (strcmp(Color, "yellow") == 0) {
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-color-helper.cpp83 convertToHSV(const std::tuple<uint8_t, uint8_t, uint8_t> &Color) { argument
84 double Scaled[3] = {std::get<0>(Color) / 255.0, std::get<1>(Color) / 255.0,
85 std::get<2>(Color) / 255.0};
120 convertToRGB(const std::tuple<double, double, double> &Color) { argument
121 const double &H = std::get<0>(Color);
122 const double &S = std::get<1>(Color);
123 const double &V = std::get<2>(Color);
169 // Returns an HSV Color represented as a tuple of doubles
179 // Get the Color a
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegColoring.cpp139 size_t Color = I; local
150 Color = C;
155 unsigned New = SortedIntervals[Color]->reg;
158 UsedColors.set(Color);
159 Assignments[Color].push_back(LI);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DWithColor.cpp14 cl::OptionCategory llvm::ColorCategory("Color Options");
21 WithColor::WithColor(raw_ostream &OS, HighlightColor Color, ColorMode Mode) argument
25 switch (Color) {
121 WithColor &WithColor::changeColor(raw_ostream::Colors Color, bool Bold, argument
124 OS.changeColor(Color, Bold, BG);
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DTextNodeDumper.cpp72 ColorScope Color(OS, ShowColors, NullColor);
78 ColorScope Color(OS, ShowColors, CommentColor);
90 ColorScope Color(OS, ShowColors, AttrColor);
125 ColorScope Color(OS, ShowColors, NullColor);
130 ColorScope Color(OS, ShowColors, StmtColor);
140 ColorScope Color(OS, ShowColors, ErrorsColor);
145 ColorScope Color(OS, ShowColors, ValueKindColor);
159 ColorScope Color(OS, ShowColors, ObjectKindColor);
187 ColorScope Color(OS, ShowColors, NullColor);
193 ColorScope Color(O
[all...]
H A DASTDumper.cpp48 ColorScope Color(OS, ShowColors, DeclNameColor);
77 ColorScope Color(OS, ShowColors, UndeserializedColor);
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DTimelineView.cpp124 raw_ostream::Colors Color = chooseColor(Cycles, Executions, BufferSize);
125 if (Color == raw_ostream::SAVEDCOLOR) {
129 OS.changeColor(Color, /* bold */ true, /* BG */ false);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMachineScheduler.cpp677 int Color = NextReservedID; local
701 int ProposedColor = Color;
782 Color = ++NextReservedID;
783 ProposedColor = Color;
789 Color = ++NextReservedID;
790 ProposedColor = Color;
828 // Color 0 by default.
1222 unsigned Color = CurrentColoring[SU->NodeNum]; local
1223 if (RealID.find(Color) == RealID.end()) {
1227 RealID[Color]
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCFGPrinter.h279 std::string Color = getHeatColor(Freq, CFGInfo->getMaxFreq()); local
285 " fillcolor=\"" + Color + "70\"";
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp117 ColorKind other(ColorKind Color) { argument
118 if (Color == ColorKind::None)
120 return Color == ColorKind::Red ? ColorKind::Black : ColorKind::Red;
151 auto Color = ColorKind::None; local
156 if (Color == ColorKind::None)
157 Color = ColorN;
158 else if (Color != ColorKind::None && Color != ColorN)
161 return { true, Color };
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDie.cpp254 auto Color = HighlightColor::Enumerator;
256 Color = HighlightColor::String;
269 WithColor(OS, Color) << Name;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h351 bool setSubgraphColorHelper(SDNode *N, const char *Color,
467 void setGraphColor(const SDNode *N, const char *Color);
470 void setSubgraphColor(SDNode *N, const char *Color);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp5714 const raw_ostream::Colors Color = raw_ostream::BLUE; local
5716 OS.changeColor(Color);
5724 OS.changeColor(Color);
5751 const raw_ostream::Colors Color = raw_ostream::MAGENTA; local
5753 OS.changeColor(Color);
5761 OS.changeColor(Color);

Completed in 386 milliseconds