1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test
Dean Michael Berris 85c0bb36c3 [XRay] Define the library for XRay trace logs
Summary:
In this change we move the definition of the log reading routines from
the tools directory in LLVM to {include/llvm,lib}/XRay. We improve the
documentation a little bit for the publicly accessible headers, and
adjust the top-matter. This also leads to some refactoring and cleanup
in the tooling code.

In particular, we do the following:

  - Rename the class from LogReader to Trace, as it better represents
    the logical set of records as opposed to a log.
  - Use file type detection instead of asking the user to say what
    format the input file is. This allows us to keep the interface
    simple and encapsulate the logic of loading the data appropriately.

In future changes we increase the API surface and write dedicated unit
tests for the XRay library.

Depends on D24376.

Reviewers: dblaikie, echristo

Subscribers: mehdi_amini, mgorny, llvm-commits, varno

Differential Revision: https://reviews.llvm.org/D28345

llvm-svn: 291652
2017-01-11 06:39:09 +00:00
..
Analysis [AArch64] Consider all vector types for FeatureSlowMisaligned128Store 2017-01-10 23:42:21 +00:00
Assembler [DebugInfo] Added support for Checksum debug info feature. 2016-12-25 10:12:09 +00:00
Bindings [cmake] Canonicalize CMake booleans to 0/1 for lit interop 2017-01-06 21:33:48 +00:00
Bitcode [ThinLTO] Subsume all importing checks into a single flag 2017-01-05 14:32:16 +00:00
BugPoint
CodeGen Revert r291645 "[DAGCombiner] Teach DAG combiner to fold (vselect (N0 xor AllOnes), N1, N2) -> (vselect N0, N2, N1). Only do this if the target indicates its vector boolean type is ZeroOrNegativeOneBooleanContent." 2017-01-11 04:59:25 +00:00
DebugInfo Correct object file for implicit const test 2017-01-10 21:30:42 +00:00
Examples
ExecutionEngine RuntimeDyldELF: implement R_AARCH64_PREL64 reloc 2017-01-10 11:05:30 +00:00
Feature
FileCheck Commit a test for match-full-lines. 2017-01-09 23:11:25 +00:00
Instrumentation Follow-up for r291289: Fix failing global_metadata_darwin.ll test 2017-01-06 22:22:22 +00:00
Integer
JitListener [cmake] Canonicalize CMake booleans to 0/1 for lit interop 2017-01-06 21:33:48 +00:00
LibDriver LibDriver: Allow resource files to be archive members. 2016-12-15 19:37:46 +00:00
Linker Renumber testcase metadata nodes after r290153. 2016-12-22 00:45:21 +00:00
LTO Renumber testcase metadata nodes after r290153. 2016-12-22 00:45:21 +00:00
MC Drive by typo fix 2017-01-09 21:38:14 +00:00
Object Object: Make IRObjectFile own multiple modules and enumerate symbols from all modules. 2016-12-13 20:20:17 +00:00
ObjectYAML [ObjectYAML] Missed one mixup in the debug_line test 2017-01-10 06:24:24 +00:00
Other [PM] Rewrite the loop pass manager to use a worklist and augmented run 2017-01-11 06:23:21 +00:00
SymbolRewriter
TableGen
ThinLTO/X86 [ThinLTO] Fix assertions on lazy-loading of Metadata TBAA attachments 2017-01-07 20:24:23 +00:00
tools [XRay] Define the library for XRay trace logs 2017-01-11 06:39:09 +00:00
Transforms [LICM] Report failing to hoist conditionally-executed loads 2017-01-11 04:39:49 +00:00
Unit
Verifier [TBAAVerifier] Be stricter around verifying scalar nodes 2016-12-29 15:47:05 +00:00
YAMLParser
.clang-format
CMakeLists.txt [llvm-config] Print --system-libs only when static linking 2017-01-06 21:33:54 +00:00
lit.cfg [llvm-config] Print --system-libs only when static linking 2017-01-06 21:33:54 +00:00
lit.site.cfg.in [llvm-config] Print --system-libs only when static linking 2017-01-06 21:33:54 +00:00
TestRunner.sh