1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/include/llvm
Max Kazantsev 5cbed866a3 [SCEV] Use depth limit instead of local cache for SExt and ZExt
In rL300494 there was an attempt to deal with excessive compile time on
invocations of getSign/ZeroExtExpr using local caching. This approach only
helps if we request the same SCEV multiple times throughout recursion. But
in the bug PR33431 we see a case where we request different values all the time,
so caching does not help and the size of the cache grows enormously.

In this patch we remove the local cache for this methods and add the recursion
depth limit instead, as we do for arithmetics. This gives us a guarantee that the
invocation sequence is limited and reasonably short.

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

llvm-svn: 306785
2017-06-30 05:04:09 +00:00
..
ADT Add support for Ananas platform 2017-06-25 08:19:37 +00:00
Analysis [SCEV] Use depth limit instead of local cache for SExt and ZExt 2017-06-30 05:04:09 +00:00
AsmParser
BinaryFormat [DWARF] Added verification checks for the .apple_names section. 2017-06-29 20:13:05 +00:00
Bitcode Object: Teach irsymtab::read() to try to use the irsymtab that we wrote to disk. 2017-06-27 23:50:24 +00:00
CodeGen Remove inline keyword from inline classof methods 2017-06-29 19:35:17 +00:00
Config [CMake] Introduce LLVM_TARGET_TRIPLE_ENV as an option to override LLVM_DEFAULT_TARGET_TRIPLE at runtime. 2017-06-17 03:19:08 +00:00
DebugInfo [DWARF] Added verification checks for the .apple_names section. 2017-06-29 20:13:05 +00:00
Demangle
ExecutionEngine Add missing include. Should fix modules libstdc++ builds. 2017-06-27 11:45:26 +00:00
IR [WebAssembly] Add support for exception handling instructions 2017-06-30 00:43:15 +00:00
IRReader
LineEditor
Linker [Linker] Provide callback for internalization 2017-03-13 18:08:11 +00:00
LTO Add a ThinLTO cache policy for controlling the maximum cache size in bytes. 2017-06-23 17:05:03 +00:00
MC Add missing forward declaration. 2017-06-26 21:11:29 +00:00
Object Remove inline keyword from inline classof methods 2017-06-29 19:35:17 +00:00
ObjectYAML [WebAssembly] Add data size and alignement to linking section 2017-06-27 20:27:59 +00:00
Option [GSoC] Flag value completion for clang 2017-06-20 16:31:31 +00:00
Passes Hook the sample PGO machinery in the new PM 2017-06-29 23:33:05 +00:00
ProfileData [Coverage] Remove two overloads of CoverageMapping::load. NFC. 2017-06-30 00:45:26 +00:00
Support [Dominators] Don't compute DFS InOut numbers eagerly. 2017-06-30 01:28:21 +00:00
TableGen Fix Wdocumentation warning 2017-06-20 12:28:33 +00:00
Target [GISel]: New Opcode G_FLOG/G_FLOG2 2017-06-29 23:43:44 +00:00
Testing/Support [Testing/Support] Remove the const_cast in TakeExpected 2017-06-22 13:11:50 +00:00
ToolDrivers/llvm-lib Move lib/LibDriver -> lib/ToolDrivers/llvm-lib. NFCI. 2017-05-13 22:06:46 +00:00
Transforms Hook the sample PGO machinery in the new PM 2017-06-29 23:33:05 +00:00
XRay [XRay][tools] Add option to llvm-xray extract to symbolize functions 2017-04-18 23:23:54 +00:00
CMakeLists.txt Support: Add a VCSRevision.h header file. 2017-04-13 01:26:12 +00:00
InitializePasses.h Revert "r306529 - [X86] Correct dwarf unwind information in function epilogue" 2017-06-29 13:58:24 +00:00
LinkAllIR.h Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
LinkAllPasses.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
module.modulemap Fix modular build 2017-06-22 21:28:48 +00:00
module.modulemap.build Fix module map to create a module for the configured header Config/abi-breaking.h 2016-12-01 19:08:38 +00:00
Pass.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
PassAnalysisSupport.h Reverted: Track validity of pass results 2017-01-15 10:23:18 +00:00
PassInfo.h [LegacyPassManager] Remove TargetMachine constructors 2017-05-18 17:21:13 +00:00
PassRegistry.h
PassSupport.h [LegacyPassManager] Remove TargetMachine constructors 2017-05-18 17:21:13 +00:00