| /src/external/apache2/llvm/dist/llvm/tools/llvm-xray/ |
| 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); 35 /// to be in sorted TSC order. The trace event format encodes stack traces, so 37 void exportAsChromeTraceEventFormat(const Trace &Records, raw_ostream &OS);
|
| xray-converter.cpp | 1 //===- xray-converter.cpp: XRay Trace Conversion --------------------------===// 9 // Implements the trace conversion functions. 24 #include "llvm/XRay/Trace.h" 32 static cl::SubCommand Convert("convert", "Trace Format Conversion"); 42 "Output in chrome's trace event format. " 43 "May be visualized with the Catapult trace viewer.")), 78 void TraceConverter::exportAsYAML(const Trace &Records, raw_ostream &OS) { 79 YAMLXRayTrace Trace; 81 Trace.Header = {FH.Version, FH.Type, FH.ConstantTSC, FH.NonstopTSC, 83 Trace.Records.reserve(Records.size()) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| Trace.cpp | 1 //===- Trace.cpp - Implementation of Trace class --------------------------===// 9 // This class represents a single trace of LLVM basic blocks. A trace is a 10 // single entry, multiple exit, region of code that is often hot. Trace-based 12 // block: because the trace path is assumed to be hot, optimizations for the 17 #include "llvm/Analysis/Trace.h" 27 Function *Trace::getFunction() const { 31 Module *Trace::getModule() const { 35 /// print - Write trace to output stream [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/XRay/ |
| 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 32 /// details of the file from which the XRay trace was loaded from. 38 /// // T.getFileHeader() will provide information from the trace header. 46 class Trace { [all...] |
| YAMLXRayRecord.h | 94 static void mapping(IO &IO, xray::YAMLXRayTrace &Trace) { 95 // A trace file contains two parts, the header and the list of all the 96 // trace records. 97 IO.mapRequired("header", Trace.Header); 98 IO.mapRequired("records", Trace.Records);
|
| 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);
|
| /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
| tsan_trace.h | 48 BufferedStackTrace stack0; // Start stack for the trace. 52 u64 epoch0; // Start epoch for the trace. 58 struct Trace { 69 Trace()
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| RDFDeadCode.h | 36 : Trace(false), DFG(dfg), MRI(mri), LV(mri, dfg) {} 40 void trace(bool On) { Trace = On; } function in struct:llvm::rdf::DeadCodeElimination 41 bool trace() const { return Trace; } function in struct:llvm::rdf::DeadCodeElimination 48 bool Trace;
|
| RDFCopy.h | 34 void trace(bool On) { Trace = On; } function in struct:llvm::rdf::CopyPropagation 35 bool trace() const { return Trace; } function in struct:llvm::rdf::CopyPropagation 46 bool Trace = false;
|
| /src/games/trek/ |
| externs.c | 116 int Trace;
|
| move.c | 78 ** Uses trace flag 4. 96 if (Trace) 121 if (Trace) 142 if (Trace) 152 if (Trace) 169 if (Trace)
|
| schedule.c | 71 if (Trace) 106 if (Trace) 128 if (Trace)
|
| main.c | 125 ** trace information to be generated. It is probably defined in 186 case 't': /* trace */ 187 Trace++;
|
| capture.c | 96 if (Trace)
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
| tsan_trace.h | 47 BufferedStackTrace stack0; // Start stack for the trace. 51 u64 epoch0; // Start epoch for the trace. 57 struct Trace { 68 Trace() : mtx(MutexTypeTrace) {} 186 struct Trace; 189 Trace* trace = nullptr; // back-pointer to Trace containing this part member in struct:__tsan::v3::TraceHeader 190 INode trace_parts; // in Trace::parts 209 struct Trace { [all...] |
| tsan_rtl.cpp | 80 // Map thread trace when context is created. 82 internal_snprintf(name, sizeof(name), "trace %u", tid); 85 internal_snprintf(name, sizeof(name), "trace header %u", tid); 86 MapThreadTrace(hdr, sizeof(Trace), name); 87 new((void*)hdr) Trace(); 88 // We are going to use only a small part of the trace with the default 89 // value of history_size. However, the constructor writes to the whole trace. 91 uptr hdr_end = hdr + sizeof(Trace); 94 if (hdr_end < hdr + sizeof(Trace)) { 95 ReleaseMemoryPagesToOS(hdr_end, hdr + sizeof(Trace)); 578 Trace *trace = &thr->tctx->trace; local 647 unsigned trace = (thr->fast_state.epoch() \/ kTracePartSize) % TraceParts(); local [all...] |
| /src/external/apache2/llvm/lib/libLLVMXRay/ |
| Makefile | 22 Trace.cpp
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| MachineTraceMetrics.h | 17 // by looking at a trace through the current basic block. 19 // For every block, the MachineTraceMetrics pass will pick a preferred trace 20 // that passes through the block. The trace is chosen based on loop structure, 24 // It is expensive to compute a full arbitrary trace for every block, so to 30 // Traces tend to align with loops. The trace through a block in an inner loop 32 // nested loops, the trace may begin and end at those instead. 34 // For each trace, we compute the critical path length, which is the number of 35 // cycles required to execute the trace when execution is limited by data 37 // of cycles required to execute all instructions in the trace when ignoring 97 friend class Trace; [all...] |
| RDFLiveness.h | 122 void trace(bool T) { Trace = T; } function in struct:llvm::rdf::Liveness 133 bool Trace = false;
|
| /src/external/apache2/llvm/dist/llvm/lib/XRay/ |
| Trace.cpp | 1 //===- Trace.cpp - XRay Trace Loading implementation. ---------------------===// 12 #include "llvm/XRay/Trace.h" 324 // us to more consistently recreate the execution trace in temporal order. 325 // After the sort, we then reconstitute `Trace` records using a stateful 352 YAMLXRayTrace Trace; 354 In >> Trace; 358 FileHeader.Version = Trace.Header.Version; 359 FileHeader.Type = Trace.Header.Type; 360 FileHeader.ConstantTSC = Trace.Header.ConstantTSC [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| Trace.h | 1 //===- llvm/Analysis/Trace.h - Represent one trace of LLVM code -*- C++ -*-===// 9 // This class represents a single trace of LLVM basic blocks. A trace is a 10 // single entry, multiple exit, region of code that is often hot. Trace-based 12 // block: because the trace path is assumed to be hot, optimizations for the 30 class Trace { 36 /// Trace ctor - Make a new trace from a vector of basic blocks, 39 Trace(const std::vector<BasicBlock *> &vBB) : BasicBlocks (vBB) { [all...] |
| /src/external/apache2/llvm/dist/clang/tools/libclang/ |
| CLog.h | 42 bool Trace; 57 bool trace = isStackTracingEnabled()) { 59 return new Logger(name, trace); 63 explicit Logger(llvm::StringRef name, bool trace) 64 : Name(std::string(name)), Trace(trace), LogOS(Msg) {}
|
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| MachineCombiner.cpp | 9 // The machine combiner pass uses machine trace metrics to ensure the combined 98 MachineTraceMetrics::Trace BlockTrace); 100 MachineTraceMetrics::Trace BlockTrace); 103 MachineTraceMetrics::Trace BlockTrace, 113 MachineTraceMetrics::Trace BlockTrace, 122 MachineTraceMetrics::Trace BlockTrace); 167 /// \param BlockTrace is a trace of machine instructions 173 MachineTraceMetrics::Trace BlockTrace) { 179 // operands. Use the trace information when possible. For new operands which 194 // Operand is new virtual register not in trace [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/ |
| test_helpers.h | 18 #include "llvm/XRay/Trace.h" 29 void PrintTo(const Trace &T, std::ostream *OS);
|
| test_helpers.cc | 52 void PrintTo(const Trace &T, std::ostream *OS) { 54 *OS << "XRay Trace:\nHeader: { Version = " << H.Version
|