Home
last modified time | relevance | path

Searched refs:Signals (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/find-all-symbols/
H A DSymbolInfo.h53 struct Signals { struct
54 Signals() {} in Signals() function
55 Signals(unsigned Seen, unsigned Used) : Seen(Seen), Used(Used) {} in Signals() argument
63 Signals &operator+=(const Signals &RHS); argument
64 Signals operator+(const Signals &RHS) const;
65 bool operator==(const Signals &RHS) const;
68 using SignalMap = std::map<SymbolInfo, Signals>;
128 SymbolInfo::Signals Signals;
H A DSymbolInfo.cpp32 io.mapRequired("Seen", Symbol.Signals.Seen); in mapping()
33 io.mapRequired("Used", Symbol.Signals.Used); in mapping()
96 SymbolInfo::Signals &SymbolInfo::Signals::operator+=(const Signals &RHS) { in operator +=()
102 SymbolInfo::Signals SymbolInfo::Signals::operator+(const Signals &RHS) const { in operator +()
103 Signals Result = *this; in operator +()
108 bool SymbolInfo::Signals::operator==(const Signals &RHS) const { in operator ==()
113 return std::tie(Symbol, Signals) == std::tie(RHS.Symbol, RHS.Signals); in operator ==()
H A DFindAllSymbols.cpp243 SymbolInfo::Signals Signals; in run() local
246 Signals.Used = 1; in run()
248 Signals.Seen = 1; in run()
256 FileSymbols[*Symbol] += Signals; in run()
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-include-fixer/
H A DIncludeFixerTest.cpp59 SymbolInfo::Signals{}}, in runIncludeFixer()
62 SymbolInfo::Signals{}}, in runIncludeFixer()
67 SymbolInfo::Signals{}}, in runIncludeFixer()
71 SymbolInfo::Signals{}}, in runIncludeFixer()
75 SymbolInfo::Signals{}}, in runIncludeFixer()
80 SymbolInfo::Signals{}}, in runIncludeFixer()
84 SymbolInfo::Signals{/*Seen=*/2, 0}}, in runIncludeFixer()
87 SymbolInfo::Signals{/*Seen=*/2, 0}}, in runIncludeFixer()
90 SymbolInfo::Signals{}}, in runIncludeFixer()
92 SymbolInfo::Signals{}}, in runIncludeFixer()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DASTSignals.cpp18 ASTSignals Signals; in derive() local
29 unsigned &SymbolCount = Signals.ReferencedSymbols[ID]; in derive()
39 Signals.RelatedNamespaces[NS]++; in derive()
44 return Signals; in derive()
H A DTUScheduler.cpp1137 auto Signals = std::make_shared<const ASTSignals>(ASTSignals::derive(AST)); in updateASTSignals() local
1142 std::swap(LatestASTSignals, Signals); in updateASTSignals()
1743 std::shared_ptr<const ASTSignals> Signals; in runWithPreamble() local
1745 It->second->Worker->getPossiblyStalePreamble(&Signals); in runWithPreamble()
1749 Preamble.get(), Signals.get()}); in runWithPreamble()
1772 std::shared_ptr<const ASTSignals> Signals; in runWithPreamble() local
1773 Preamble = Worker->getPossiblyStalePreamble(&Signals); in runWithPreamble()
1780 Action(InputsAndPreamble{Contents, Command, Preamble.get(), Signals.get()}); in runWithPreamble()
H A DTUScheduler.h48 const ASTSignals *Signals; member
H A DClangdServer.cpp404 CodeCompleteOpts.MainFileSignals = IP->Signals; in codeComplete()
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/
H A DFindAllSymbolsMain.cpp86 Symbols[Symbol.Symbol] += Symbol.Signals; in Merge()
107 Symbol.Signals.Seen = std::min(Symbol.Signals.Seen, 1u); in Merge()
108 Symbol.Signals.Used = std::min(Symbol.Signals.Used, 1u); in Merge()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DASTSignalsTests.cpp51 ASTSignals Signals = ASTSignals::derive(TU.build()); in TEST() local
53 for (const auto &P : Signals.RelatedNamespaces) in TEST()
59 for (const auto &P : Signals.ReferencedSymbols) in TEST()
H A DTUSchedulerTests.cpp731 for (const auto &P : IP->Signals->RelatedNamespaces) in TEST_F()
737 for (const auto &P : IP->Signals->ReferencedSymbols) in TEST_F()
/llvm-project-15.0.7/llvm/lib/Support/
H A DCrashRecoveryContext.cpp346 static const int Signals[] = variable
348 static const unsigned NumSignals = array_lengthof(Signals);
400 sigaction(Signals[i], &Handler, &PrevActions[i]); in installExceptionOrSignalHandlers()
407 sigaction(Signals[i], &PrevActions[i], nullptr); in uninstallExceptionOrSignalHandlers()
H A DCMakeLists.txt268 Signals.cpp
/llvm-project-15.0.7/llvm/test/BugPoint/
H A Dunsymbolized.ll17 ; CRASH-NOT: Signals.inc
/llvm-project-15.0.7/lldb/unittests/
H A DCMakeLists.txt89 add_subdirectory(Signals)
/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DSignals.inc1 //===- Signals.cpp - Generic Unix Signals Implementation -----*- C++ -*-===//
208 /// Signals that represent requested termination. There's no bug or failure, or
215 /// Signals that represent that we have a bug, and our prompt termination has
233 /// Signals that represent requests for status.
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/
H A DSymbolIndexManager.cpp56 (1.0 + std::log2(1 + Symbol.Signals.Seen)); in rank()
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Ddag-ReplaceAllUsesOfValuesWith.ll14 ; #1 0x000000000315effe SignalHandler(int) Signals.cpp:0:0
/llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/lib/Support/
H A DBUILD.gn179 "Signals.cpp",
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/tool/
H A DClangIncludeFixer.cpp184 SymbolInfo::Signals(/*Seen=*/static_cast<unsigned>(E - I), in createSymbolIndexManager()
/llvm-project-15.0.7/llvm/lib/Support/Windows/
H A DSignals.inc1 //===- Win32/Signals.cpp - Win32 Signals Implementation ---------*- C++ -*-===//
9 // This file provides the Win32 specific implementation of the Signals class.
/llvm-project-15.0.7/mlir/docs/
H A DDiagnostics.md191 …#0 0x000055dd40543805 llvm::sys::PrintStackTrace(llvm::raw_ostream&) llvm/lib/Support/Unix/Signals
/llvm-project-15.0.7/llvm/cmake/
H A Dconfig-ix.cmake280 # AddressSanitizer conflicts with lib/Support/Unix/Signals.inc
/llvm-project-15.0.7/clang/docs/
H A DClangFormattedStatus.rst3782 * - lldb/unittests/Signals
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt4864 lldb/unittests/Signals/UnixSignalsTest.cpp

12