1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test
Konstantin Zhuravlyov d382d6f3fc Enhance synchscope representation
OpenCL 2.0 introduces the notion of memory scopes in atomic operations to
  global and local memory. These scopes restrict how synchronization is
  achieved, which can result in improved performance.

  This change extends existing notion of synchronization scopes in LLVM to
  support arbitrary scopes expressed as target-specific strings, in addition to
  the already defined scopes (single thread, system).

  The LLVM IR and MIR syntax for expressing synchronization scopes has changed
  to use *syncscope("<scope>")*, where <scope> can be "singlethread" (this
  replaces *singlethread* keyword), or a target-specific name. As before, if
  the scope is not specified, it defaults to CrossThread/System scope.

  Implementation details:
    - Mapping from synchronization scope name/string to synchronization scope id
      is stored in LLVM context;
    - CrossThread/System and SingleThread scopes are pre-defined to efficiently
      check for known scopes without comparing strings;
    - Synchronization scope names are stored in SYNC_SCOPE_NAMES_BLOCK in
      the bitcode.

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

llvm-svn: 307722
2017-07-11 22:23:00 +00:00
..
Analysis Re-enable "[IndVars] Canonicalize comparisons between non-negative values and indvars" 2017-07-08 17:17:30 +00:00
Assembler Enhance synchscope representation 2017-07-11 22:23:00 +00:00
Bindings
Bitcode Enhance synchscope representation 2017-07-11 22:23:00 +00:00
BugPoint
CodeGen Enhance synchscope representation 2017-07-11 22:23:00 +00:00
DebugInfo [DWARF] - Add testcase for checking message about broken relocations. 2017-07-11 12:29:07 +00:00
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation Enhance synchscope representation 2017-07-11 22:23:00 +00:00
Integer
JitListener
LibDriver
Linker Enhance synchscope representation 2017-07-11 22:23:00 +00:00
LTO [LTO] Fix the interaction between linker redefined symbols and ThinLTO 2017-07-06 19:58:26 +00:00
MC [mips][mt][2/7] Implement .module and .set directives for the MT ASE. 2017-07-11 21:28:36 +00:00
Object [WebAssembly] Be consistent in generating trivial test input files 2017-07-10 20:43:26 +00:00
ObjectYAML
Other fix typos in comments; NFC 2017-07-11 06:04:59 +00:00
SafepointIRVerifier [SafepointIRVerifier] Avoid false positives in GC verifier for compare between pointers 2017-07-07 13:02:29 +00:00
SymbolRewriter
TableGen [globalisel][tablegen] Fix an multi-insn match bug where ComplexPattern is used on multiple insns. 2017-07-11 10:40:18 +00:00
ThinLTO/X86
tools [ProfileData] Add new option to dump topn hottest functions 2017-07-11 20:30:43 +00:00
Transforms Enhance synchscope representation 2017-07-11 22:23:00 +00:00
Unit Change remaining references to lit.util.capture to use subprocess.check_output. 2017-07-06 21:46:47 +00:00
Verifier
YAMLParser
.clang-format Add .clang-format without column limit to subdirectory tests/. 2013-11-19 04:26:05 +00:00
CMakeLists.txt
lit.cfg Change remaining references to lit.util.capture to use subprocess.check_output. 2017-07-06 21:46:47 +00:00
lit.site.cfg.in
TestRunner.sh