1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/include/llvm
Jay Foad 4b1a7112ea [DivergenceAnalysis] Add methods for querying divergence at use
Summary:
The existing isDivergent(Value) methods query whether a value is
divergent at its definition. However even if a value is uniform at its
definition, a use of it in another basic block can be divergent because
of divergent control flow between the def and the use.

This patch adds new isDivergent(Use) methods to DivergenceAnalysis,
LegacyDivergenceAnalysis and GPUDivergenceAnalysis.

This might allow D63953 or other similar workarounds to be removed.

Reviewers: alex-t, nhaehnle, arsenm, rtaylor, rampitec, simoll, jingyue

Reviewed By: nhaehnle

Subscribers: jfb, jvesely, wdng, hiraditya, llvm-commits

Tags: #llvm

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

llvm-svn: 367218
2019-07-29 10:22:09 +00:00
..
ADT [DDG] DirectedGraph as a base class for various dependence graphs such 2019-07-25 18:23:22 +00:00
Analysis [DivergenceAnalysis] Add methods for querying divergence at use 2019-07-29 10:22:09 +00:00
AsmParser
BinaryFormat [DWARF][NFC] Add constants for reserved values of an initial length field. 2019-07-24 11:34:29 +00:00
Bitcode ARM MTE stack sanitizer. 2019-07-15 20:02:23 +00:00
Bitstream [BitcodeReader] Use tighter upper bound to validate forward references. 2019-07-14 12:35:50 +00:00
CodeGen GlobalISel: Fold out unmerge to scalars from concat_vector 2019-07-26 02:22:23 +00:00
Config
DebugInfo Changes to emit CodeView debug info nested type records properly using MCStreamer directives 2019-07-22 18:22:55 +00:00
Demangle [NFC] include cstdint/string prior to using uint8_t/string 2019-07-19 13:13:54 +00:00
ExecutionEngine Fix C++ modules build 2019-07-18 18:33:40 +00:00
FuzzMutate
IR [FunctionAttrs] Annotate "willreturn" for intrinsics 2019-07-28 06:09:56 +00:00
IRReader
LineEditor
Linker
LTO [Remarks] Extend -fsave-optimization-record to specify the format 2019-06-17 16:06:00 +00:00
MC [MC] Delete unused MCInstPrinter::markup overload and getPrintHexStyle 2019-07-25 09:54:12 +00:00
MCA [MCA] Slightly refactor the bottleneck analysis view. NFCI 2019-06-18 12:59:46 +00:00
Object [Object] Add public MaxSectionAlignment to MachOUniversal 2019-07-25 00:29:13 +00:00
ObjectYAML Recommit rr366796 "[Object/ELF.h] - Improve testing of the fields in ELFFile<ELFT>::sections()." 2019-07-24 11:24:37 +00:00
Option Let unaliased Args track which Alias they were created from, and use that in Arg::getAsString() for diagnostics 2019-07-09 00:34:08 +00:00
Passes
ProfileData [Coverage] Load code coverage data from archives 2019-06-13 20:48:57 +00:00
Remarks Reland: [Remarks] Support parsing remark metadata in the YAML remark parser 2019-07-26 21:02:02 +00:00
Support [AArch64][SVE2] Rename bitperm feature to sve2-bitperm 2019-07-26 15:57:50 +00:00
TableGen
Target [AMDGPU] Allow register tuples to set asm names 2019-07-19 18:05:01 +00:00
Testing/Support
TextAPI
ToolDrivers Share /machine: handling code with llvm-cvtres too 2019-06-12 11:32:43 +00:00
Transforms [Attributor] Deduce "align" attribute 2019-07-28 07:04:01 +00:00
WindowsManifest
WindowsResource
XRay
CMakeLists.txt
InitializePasses.h Reland the "[NewPM] Port Sancov" patch from rL365838. No functional 2019-07-25 20:53:15 +00:00
LinkAllIR.h
LinkAllPasses.h [CodeGen] Generic Hardware Loop Support 2019-06-07 07:35:30 +00:00
module.extern.modulemap
module.install.modulemap
module.modulemap
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h