/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-xray/ |
H A D | xray-converter.h | 1 //===- 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 D | xray-converter.cpp | 1 //===- 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 D | xray-graph.h | 28 #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 D | Trace.cpp | 1 //===- 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 D | backtrace_sanitizer_common.cpp | 33 __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 D | backtrace_linux_libc.cpp | 26 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 D | Trace.h | 1 //===- 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 D | YAMLXRayRecord.h | 94 static void mapping(IO &IO, xray::YAMLXRayTrace &Trace) { argument 97 IO.mapRequired("header", Trace.Header); 98 IO.mapRequired("records", Trace.Records);
|
H A D | Profile.h | 29 // 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 D | tsan_trace.h | 57 struct Trace { struct in namespace:__tsan 68 Trace() function in struct:__tsan::Trace
|
H A D | tsan_rtl.cpp | 76 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 D | RDFDeadCode.h | 36 : 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 D | RDFCopy.h | 34 void trace(bool On) { Trace = On; } 35 bool trace() const { return Trace; } 46 bool Trace = false; member in struct:llvm::rdf::CopyPropagation
|
H A D | BitTracker.cpp | 188 : 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 D | MachineTraceMetrics.h | 97 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 D | RDFLiveness.h | 97 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 D | Trace.cpp | 1 //===- 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 D | Trace.h | 1 //===- 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 D | MachineCombiner.cpp | 96 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 D | MachineTraceMetrics.cpp | 49 "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 D | guarded_pool_allocator.cpp | 47 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 D | AArch64StorePairSuppress.cpp | 80 MachineTraceMetrics::Trace BBTrace = MinInstr->getTrace(BB);
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
H A D | zutil.h | 251 # define Trace(x) {if (z_verbose>=0) fprintf x ;} macro 258 # define Trace(x) macro
|
/freebsd-11-stable/sys/sys/ |
H A D | zutil.h | 206 # define Trace(x) fprintf x macro 213 # define Trace(x) macro
|
/freebsd-11-stable/sys/contrib/zlib/ |
H A D | zutil.h | 242 # define Trace(x) {if (z_verbose>=0) fprintf x ;} macro 249 # define Trace(x) macro
|