1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib
Sergej Jaskiewicz f9b2e0fd91 [TimeProfiler] Emit clock synchronization point
Time profiler emits relative timestamps for events (the number of
microseconds passed since the start of the current process).

This patch allows combining events from different processes while
preserving their relative timing by emitting a new attribute
"beginningOfTime". This attribute contains the system time that
corresponds to the zero timestamp of the time profiler.

This has at least two use cases:

- Build systems can use this to merge time traces from multiple compiler
  invocations and generate statistics for the whole build. Tools like
  ClangBuildAnalyzer could also leverage this feature.

- Compilers that use LLVM as their backend by invoking llc/opt in
  a child process. If such a compiler supports generating time traces
  of its own events, it could merge those events with LLVM-specific
  events received from llc/opt, and produce a more complete time trace.

A proof-of-concept script that merges multiple logs that
contain a synchronization point into one log:
https://github.com/broadwaylamb/merge_trace_events

Differential Revision: https://reviews.llvm.org/D78030
2020-04-23 01:09:31 +03:00
..
Analysis [CallSite removal][ValueTracking] Use CallBase instead of ImmutableCallSite for getIntrinsicForCallSite. NFC 2020-04-22 12:06:58 -07:00
AsmParser [AsmParser] Remove unused forward declarations. NFC. 2020-04-22 14:01:51 +01:00
BinaryFormat [llvm-objdump][XCOFF] Use symbol index+symbol name + storage mapping class as label for -D 2020-04-06 10:10:10 -04:00
Bitcode [SVE] Add new VectorType subclasses 2020-04-22 08:59:01 -07:00
Bitstream
CodeGen [MachineOutliner] Teach outliner to set live-ins 2020-04-22 14:19:26 -07:00
DebugInfo [DebugInfo] Simplify DWARFUnit::determineStringOffsetsTableContribution(). NFC. 2020-04-22 12:11:17 +07:00
Demangle
DWARFLinker [cmake] LLVMDWARFLinker - add include/llvm/DWARFLinker header path 2020-04-18 12:31:41 +01:00
ExecutionEngine [JITLink] Fix edge removal iterator invalidation. 2020-04-22 14:16:46 -07:00
Frontend [cmake] LLVMFrontendOpenMP - fix include/llvm/Frontend/OpenMP header path 2020-04-18 12:31:39 +01:00
Fuzzer
FuzzMutate Remove CompositeType class. 2020-03-18 13:53:17 -07:00
IR [SVE] Add new VectorType subclasses 2020-04-22 08:59:01 -07:00
IRReader
LineEditor
Linker [SVE] Add new VectorType subclasses 2020-04-22 08:59:01 -07:00
LTO Enable new passmanager plugin support for LTO. 2020-04-14 15:07:07 -07:00
MC [MC][NFC] Use camelCase style for functions in MCObjectStreamer 2020-04-20 20:09:20 -07:00
MCA [MC][Bugfix] Remove redundant parameter for relaxInstruction 2020-04-21 11:06:55 +08:00
Object RecordStreamer.h - cleanup includes and forward declarations. NFC. 2020-04-22 15:07:18 +01:00
ObjectYAML [ObjectYAML][MachO] Add support for relocations 2020-04-22 11:50:55 -07:00
Option
Passes [Attributor][PM] Introduce -attributor-enable={none,cgscc,module,all} 2020-04-21 15:22:10 -05:00
ProfileData Recommit [SampleFDO] Add flag for partial profile. 2020-04-07 14:28:25 -07:00
Remarks
Support [TimeProfiler] Emit clock synchronization point 2020-04-23 01:09:31 +03:00
TableGen TGLexer.h - add missing <vector> include. 2020-04-21 11:57:10 +01:00
Target [MachineOutliner] Teach outliner to set live-ins 2020-04-22 14:19:26 -07:00
Testing
TextAPI PR45561: Return a literal string rather than an error string to avoid returning reference to local 2020-04-15 14:27:29 -07:00
ToolDrivers [llvm] Replace SmallStr.str().str() with std::string conversion operator. 2020-01-29 21:16:46 -08:00
Transforms [SCCP] Drop unnecessary early exit for ExtractValueInst. 2020-04-22 22:07:59 +01:00
WindowsManifest Try to fix WindowsManifest CMake logic on Windows 2020-02-28 17:24:03 -08:00
XRay
CMakeLists.txt [Dsymutil][Debuginfo][NFC] Reland: Refactor dsymutil to separate DWARF optimizing part. #2. 2020-01-08 14:15:31 +03:00
LLVMBuild.txt