1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/include/llvm
Nicolai Haehnle 494b4aee1e AMDGPU/SI: Add llvm.amdgcn.s.waitcnt.all intrinsic
Summary:
So it appears that to guarantee some of the ordering requirements of a GLSL
memoryBarrier() executed in the shader, we need to emit an s_waitcnt.

(We can't use an s_barrier, because memoryBarrier() may appear anywhere in
the shader, in particular it may appear in non-uniform control flow.)

Reviewers: arsenm, mareko, tstellarAMD

Subscribers: arsenm, llvm-commits

Differential Revision: http://reviews.llvm.org/D19203

llvm-svn: 267729
2016-04-27 15:46:01 +00:00
..
ADT [WinEH] Update SplitAnalysis::computeLastSplitPoint to cope with multiple EH successors 2016-04-25 14:31:32 +00:00
Analysis [TTI] Add hook for vector extract with extension 2016-04-27 15:20:21 +00:00
AsmParser [AsmParser] Expose an API to parse a string starting with a type. 2016-03-08 00:37:07 +00:00
Bitcode [ThinLTO] Use valueid instead of bitcode offsets in combined index file 2016-04-27 13:28:35 +00:00
CodeGen [TTI] Add hook for vector extract with extension 2016-04-27 15:20:21 +00:00
Config [CMake] If set we should pass LLVM_VERSION_INFO into config.h 2016-04-25 23:02:47 +00:00
DebugInfo Fix warnings and -Werror build on clang. 2016-04-26 19:24:10 +00:00
ExecutionEngine [ORC] Try to work around a GCC 4.7 bug triggered by r267457. 2016-04-26 01:27:54 +00:00
IR AMDGPU/SI: Add llvm.amdgcn.s.waitcnt.all intrinsic 2016-04-27 15:46:01 +00:00
IRReader [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
LibDriver [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
LineEditor
Linker ThinLTO/ModuleLinker: add a flag to not always pull-in linkonce when performing importing 2016-04-21 01:59:39 +00:00
LTO Revert "Support "preserving" the summary information when using setModule() API in LTOCodeGenerator" 2016-04-27 05:11:44 +00:00
MC ARM: put extern __thread stubs in a special section. 2016-04-25 21:12:04 +00:00
Object MachO: remove weird ARM/Thumb interface from MachOObjectFile 2016-04-22 23:21:13 +00:00
ObjectYAML [msan fix] unitalized variable 2016-03-17 19:16:54 +00:00
Option Option parser: class for consuming a joined arg in addition to all remaining args 2016-04-15 00:23:30 +00:00
Passes [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
ProfileData [Coverage] Restore the correct count value after processing a nested region in case of combined regions. 2016-04-25 09:43:37 +00:00
Support [Support] Fix latent bugs in Expected and ExitOnError that were preventing them 2016-04-25 19:21:57 +00:00
TableGen Reverting r263474; it turns out there are uses of the public interface, but MSVC wasn't caring about them. 2016-03-14 20:03:15 +00:00
Target [CodeGenPrepare] use branch weight metadata to decide if a select should be turned into a branch 2016-04-26 17:11:17 +00:00
Transforms [LoopDist] Add llvm.loop.distribute.enable loop metadata 2016-04-27 05:28:18 +00:00
CMakeLists.txt
InitializePasses.h PM: Port Reassociate to the new pass manager 2016-04-26 23:39:29 +00:00
LinkAllIR.h Remove every uses of getGlobalContext() in LLVM (but the C API) 2016-04-14 21:59:01 +00:00
LinkAllPasses.h Port InstrProfiling pass to the new pass manager 2016-04-18 17:47:38 +00:00
module.modulemap Add Lanai.def to the module map. 2016-03-12 01:31:53 +00:00
module.modulemap.build
Pass.h Re-commit optimization bisect support (r267022) without new pass manager support. 2016-04-22 22:06:11 +00:00
PassAnalysisSupport.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
PassInfo.h Reformat partially. 2015-10-05 04:46:30 +00:00
PassRegistry.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
PassSupport.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00