1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/include/llvm
Jakub Kuderski 5dd41a27d4 [Dominators] Take fast path when applying <=1 updates
Summary:
This patch teaches `DT.applyUpdates` to take the fast when applying zero or just one update and makes it not run the internal batch updater machinery.

With this patch, it should no longer make sense to have a special check in user's code that checks the update sequence size before applying them, e.g.
```
if (!MyUpdates.empty())
  DT.applyUpdates(MyUpdates);
```
or
```
if (MyUpdates.size() == 1)
  if (...)
    DT.insertEdge(...)
  else
    DT.deleteEdge(...)
```

Reviewers: dberlin, brzycki, davide, grosser, sanjoy

Reviewed By: dberlin, davide

Subscribers: llvm-commits

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

llvm-svn: 314917
2017-10-04 17:32:55 +00:00
..
ADT [MC] - Don't assert when non-english characters are used. 2017-10-04 08:50:08 +00:00
Analysis [OptRemark] Move YAML writing to IR 2017-10-04 15:18:11 +00:00
AsmParser Move the stripping of invalid debug info from the Verifier to AutoUpgrade. 2017-10-02 18:31:29 +00:00
BinaryFormat AMDGPU: Add ELFOSABI_AMDGPU_MESA3D 2017-10-03 21:14:14 +00:00
Bitcode [Bitcode] Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes (NFC). 2017-09-07 23:28:24 +00:00
CodeGen [X86] Improvement in CodeGen instruction selection for LEAs (re-applying post required revision changes.) 2017-10-04 09:02:10 +00:00
Config Use sched_getaffinity instead of std:🧵:hardware_concurrency. 2017-10-03 16:25:15 +00:00
DebugInfo Revert r314817 "[dwarfdump] Add -lookup option" 2017-10-03 18:39:13 +00:00
Demangle
ExecutionEngine [ORC] Fix the type of RTDyldObjectLinkingLayer::NotifyLoadedFtor. 2017-09-28 17:43:07 +00:00
FuzzMutate
IR [OptRemark] Move YAML writing to IR 2017-10-04 15:18:11 +00:00
IRReader Move the stripping of invalid debug info from the Verifier to AutoUpgrade. 2017-10-02 18:31:29 +00:00
LineEditor
Linker
LTO [Support] Rename tool_output_file to ToolOutputFile, NFC 2017-09-23 01:03:17 +00:00
MC [Assembler] Report multiple near misses for invalid instructions 2017-10-03 09:33:12 +00:00
Object AMDGPU: Add ELFOSABI_AMDGPU_PAL 2017-10-03 20:54:07 +00:00
ObjectYAML [WebAssembly] Allow each data segment to specify its own alignment 2017-09-29 16:50:08 +00:00
Option
Passes
ProfileData Separate the logic when handling indirect calls in SamplePGO ThinLTO compile phase and other phases. 2017-10-01 05:24:51 +00:00
Support [Dominators] Take fast path when applying <=1 updates 2017-10-04 17:32:55 +00:00
TableGen
Target [AsmParser] Add DiagnosticString to AsmOperands in tablegen 2017-10-03 14:34:57 +00:00
Testing/Support
ToolDrivers
Transforms Separate the logic when handling indirect calls in SamplePGO ThinLTO compile phase and other phases. 2017-10-01 05:24:51 +00:00
WindowsManifest Fix bug 34608 by moving private header out of public header. 2017-09-14 23:01:13 +00:00
WindowsResource [llvm-readobj] Teach readobj to dump .res files (WindowsResource). 2017-09-20 18:33:35 +00:00
XRay [XRay] convert FDR arg1 log entries 2017-09-27 04:48:03 +00:00
CMakeLists.txt
InitializePasses.h Revert "Re-enable "[MachineCopyPropagation] Extend pass to do COPY source forwarding"" 2017-10-03 16:59:13 +00:00
LinkAllIR.h
LinkAllPasses.h
module.modulemap CodeView: Provide a .def file with the register ids 2017-10-03 18:27:22 +00:00
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h