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

12

/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-converter.h1 //===- xray-converter.h - XRay Trace Conversion ---------------------------===//
17 #include "llvm/XRay/Trace.h"
31 void exportAsYAML(const Trace &Records, raw_ostream &OS);
32 void exportAsRAWv1(const Trace &Records, raw_ostream &OS);
37 void exportAsChromeTraceEventFormat(const Trace &Records, raw_ostream &OS);
H A Dxray-converter.cpp1 //===- xray-converter.cpp: XRay Trace Conversion --------------------------===//
24 #include "llvm/XRay/Trace.h"
32 static cl::SubCommand Convert("convert", "Trace Format Conversion");
78 void TraceConverter::exportAsYAML(const Trace &Records, raw_ostream &OS) {
79 YAMLXRayTrace Trace; local
81 Trace.Header = {FH.Version, FH.Type, FH.ConstantTSC, FH.NonstopTSC,
83 Trace.Records.reserve(Records.size());
85 Trace.Records.push_back({R.RecordType, R.CPU, R.Type, R.FuncId,
92 Out << Trace; local
95 void TraceConverter::exportAsRAWv1(const Trace
[all...]
H A Dxray-graph.h28 #include "llvm/XRay/Trace.h"
150 ::llvm::xray::Trace Trace; member in class:llvm::xray::GraphRenderer::Factory
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DTrace.cpp1 //===- Trace.cpp - Implementation of Trace class --------------------------===//
10 // single entry, multiple exit, region of code that is often hot. Trace-based
17 #include "llvm/Analysis/Trace.h"
27 Function *Trace::getFunction() const {
31 Module *Trace::getModule() const {
36 void Trace::print(raw_ostream &O) const {
38 O << "; Trace from function " << F->getName() << ", blocks:\n";
44 O << "; Trace parent function: \n" << *F;
50 LLVM_DUMP_METHOD void Trace
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/
H A Dbacktrace_sanitizer_common.cpp33 __sanitizer::BufferedStackTrace Trace; local
34 Trace.Reset();
38 Trace.Unwind((__sanitizer::uptr)__builtin_return_address(0),
43 memcpy(TraceBuffer, Trace.trace, Trace.size * sizeof(uintptr_t));
44 return Trace.size;
47 static void PrintBacktrace(uintptr_t *Trace, size_t TraceLength, argument
50 StackTrace.trace = reinterpret_cast<__sanitizer::uptr *>(Trace);
H A Dbacktrace_linux_libc.cpp26 static void PrintBacktrace(uintptr_t *Trace, size_t TraceLength, argument
34 backtrace_symbols(reinterpret_cast<void **>(Trace), TraceLength);
38 Printf(" #%zu %p\n", i, Trace[i]);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/XRay/
H A DTrace.h1 //===- Trace.h - XRay Trace Abstraction -----------------------------------===//
9 // Defines the XRay Trace class representing records in an XRay trace file.
26 /// A Trace object represents the records that have been loaded from XRay
28 /// reading the traces in factory functions that populate the Trace object
31 /// Trace objects provide an accessor to an XRayFileHeader which says more about
46 class Trace { class in namespace:llvm::xray
53 friend Expected<Trace> loadTrace(const DataExtractor &, bool);
71 Expected<Trace> loadTraceFile(StringRef Filename, bool Sort = false);
75 Expected<Trace> loadTrac
[all...]
H A DYAMLXRayRecord.h94 static void mapping(IO &IO, xray::YAMLXRayTrace &Trace) { argument
97 IO.mapRequired("header", Trace.Header);
98 IO.mapRequired("records", Trace.Records);
H A DProfile.h29 // We forward declare the Trace type for turning a Trace into a Profile.
30 class Trace;
47 /// This function takes a Trace and creates a Profile instance from it.
48 Expected<Profile> profileFromTrace(const Trace &T);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_trace.h57 struct Trace { struct in namespace:__tsan
68 Trace() function in struct:__tsan::Trace
H A Dtsan_rtl.cpp76 MapThreadTrace(hdr, sizeof(Trace), name);
77 new((void*)hdr) Trace();
81 uptr hdr_end = hdr + sizeof(Trace);
84 if (hdr_end < hdr + sizeof(Trace))
85 UnmapOrDie((void*)hdr_end, hdr + sizeof(Trace) - hdr_end);
567 Trace *thr_trace = ThreadTrace(thr->tid);
577 Trace *ThreadTrace(int tid) {
578 return (Trace*)GetThreadTraceHeader(tid);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DRDFDeadCode.h36 : Trace(false), DFG(dfg), MRI(mri), LV(mri, dfg) {}
40 void trace(bool On) { Trace = On; }
41 bool trace() const { return Trace; }
48 bool Trace; member in struct:llvm::rdf::DeadCodeElimination
H A DRDFCopy.h34 void trace(bool On) { Trace = On; }
35 bool trace() const { return Trace; }
46 bool Trace = false; member in struct:llvm::rdf::CopyPropagation
H A DBitTracker.cpp188 : ME(E), MF(F), MRI(F.getRegInfo()), Map(*new CellMapType), Trace(false) {
800 if (Trace)
817 if (Trace)
821 if (Trace)
828 if (Trace)
835 if (Trace)
844 if (Trace)
853 if (Trace && Eval) {
929 if (Trace)
939 if (Trace)
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineTraceMetrics.h97 friend class Trace;
156 /// Trace predecessor, or NULL for the first block in the trace.
160 /// Trace successor, or NULL for the last block in the trace.
253 /// passes through the current basic block one. The Trace class serves as a
255 class Trace { class in class:llvm::MachineTraceMetrics
262 explicit Trace(Ensemble &te, TraceBlockInfo &tbi) : TE(te), TBI(tbi) {} function in class:llvm::MachineTraceMetrics::Trace
322 friend class Trace;
336 ArrayRef<const MachineBasicBlock*> Trace);
361 Trace getTrace(const MachineBasicBlock *MBB);
422 const MachineTraceMetrics::Trace
[all...]
H A DRDFLiveness.h97 void trace(bool T) { Trace = T; }
108 bool Trace = false; member in struct:llvm::rdf::Liveness
/freebsd-11-stable/contrib/llvm-project/llvm/lib/XRay/
H A DTrace.cpp1 //===- Trace.cpp - XRay Trace Loading implementation. ---------------------===//
12 #include "llvm/XRay/Trace.h"
325 // After the sort, we then reconstitute `Trace` records using a stateful
352 YAMLXRayTrace Trace; local
354 In >> Trace; local
358 FileHeader.Version = Trace.Header.Version;
359 FileHeader.Type = Trace.Header.Type;
360 FileHeader.ConstantTSC = Trace.Header.ConstantTSC;
361 FileHeader.NonstopTSC = Trace
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTrace.h1 //===- llvm/Analysis/Trace.h - Represent one trace of LLVM code -*- C++ -*-===//
10 // single entry, multiple exit, region of code that is often hot. Trace-based
30 class Trace { class in namespace:llvm
36 /// Trace ctor - Make a new trace from a vector of basic blocks,
39 Trace(const std::vector<BasicBlock *> &vBB) : BasicBlocks (vBB) {} function in class:llvm::Trace
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCombiner.cpp96 MachineTraceMetrics::Trace BlockTrace);
98 MachineTraceMetrics::Trace BlockTrace);
101 MachineTraceMetrics::Trace BlockTrace,
107 MachineTraceMetrics::Trace BlockTrace,
116 MachineTraceMetrics::Trace BlockTrace);
167 MachineTraceMetrics::Trace BlockTrace) {
225 MachineTraceMetrics::Trace BlockTrace) {
285 MachineTraceMetrics::Trace BlockTrace) {
308 MachineTraceMetrics::Trace BlockTrace,
378 MachineBasicBlock *MBB, MachineTraceMetrics::Trace BlockTrac
[all...]
H A DMachineTraceMetrics.cpp49 "Machine Trace Metrics", false, true)
53 "Machine Trace Metrics", false, true)
194 assert(PredTBI->hasValidDepth() && "Trace above has not been computed yet");
229 assert(SuccTBI->hasValidHeight() && "Trace below has not been computed yet");
285 // Trace Selection Strategies
418 // Trace building
596 "Trace is broken, depth should have been invalidated.");
598 assert(!(Loop && MBB == Loop->getHeader()) && "Trace contains backedge");
604 "Trace is broken, height should have been invalidated.");
608 "Trace contain
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/gwp_asan/
H A Dguarded_pool_allocator.cpp47 void defaultPrintStackTrace(uintptr_t *Trace, size_t TraceLength, argument
53 Printf(" #%zu 0x%zx in <unknown>\n", i, Trace[i]);
511 uintptr_t Trace[kMaximumStackFramesForCrashTrace]; local
512 size_t TraceLength = Backtrace(Trace, kMaximumStackFramesForCrashTrace);
514 PrintBacktrace(Trace, TraceLength, Printf);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StorePairSuppress.cpp80 MachineTraceMetrics::Trace BBTrace = MinInstr->getTrace(BB);
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dzutil.h251 # define Trace(x) {if (z_verbose>=0) fprintf x ;} macro
258 # define Trace(x) macro
/freebsd-11-stable/sys/sys/
H A Dzutil.h206 # define Trace(x) fprintf x macro
213 # define Trace(x) macro
/freebsd-11-stable/sys/contrib/zlib/
H A Dzutil.h242 # define Trace(x) {if (z_verbose>=0) fprintf x ;} macro
249 # define Trace(x) macro

Completed in 222 milliseconds

12