1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/lib
Quentin Colombet e023c34590 [GISel][KnownBits] Add a cache mechanism to speed compile time
This patch adds a cache that is valid only for the duration of a call
to getKnownBits. With such short lived cache we avoid all the problems
of cache invalidation while still getting the benefits of reusing
the information we already computed.

This cache is useful whenever an instruction occurs more than once
in a chain of computation.
E.g.,
v0 = G_ADD v1, v2
v3 = G_ADD v0, v1

Previously we would compute the known bits for:
v1, v2, v0, then v1 again and finally v3.

With the patch, now we won't have to recompute v1 again.

NFC
2020-02-21 14:31:42 -08:00
..
Analysis [DependenceAnalysis] Memory dependence analysis internal caching mechanism is broken in presence of TBAA (PR42733). 2020-02-21 20:20:36 +07:00
AsmParser [Assembler] Emit summary index flags 2020-02-18 17:49:54 +03:00
BinaryFormat [macho][NFC] Extract all CPU_(SUB_)TYPE logic to BinaryFormat 2020-02-21 12:43:29 -08:00
Bitcode [NFC] Silence compiler warning [-Wmissing-braces]. 2020-02-18 10:37:12 -08:00
Bitstream
CodeGen [GISel][KnownBits] Add a cache mechanism to speed compile time 2020-02-21 14:31:42 -08:00
DebugInfo Revert "[NFCI][DebugInfo]: Corrected a Typo." 2020-02-21 01:15:09 +05:30
Demangle
DWARFLinker [Debuginfo][NFC] Create common error handlers for DWARFContext. 2020-02-15 12:46:17 +03:00
ExecutionEngine Add #include <condition_variable> to fix build after 85fb997659b5 2020-02-20 16:36:19 +01:00
Frontend [NFC] Revert unnecessary parts of b91c267380 2020-02-15 01:38:58 -06:00
Fuzzer
FuzzMutate
IR [IR] Update BasicBlock::validateInstrOrdering comments, NFC 2020-02-21 12:33:16 -08:00
IRReader
LineEditor
Linker
LTO Improve comments after 8404aeb56a73ab24f9b295111de3b37a37f0b841. 2020-02-18 14:25:21 -05:00
MC [XCOFF][AIX] Put undefined symbol name into StringTable when neccessary 2020-02-21 18:18:31 +00:00
MCA
Object Revert "[macho][NFC] Extract all CPU_(SUB_)TYPE logic to libObject" 2020-02-20 10:51:25 -08:00
ObjectYAML [yaml2obj] - Change the order of implicitly created sections. 2020-02-19 15:09:19 +03:00
Option
Passes [Coroutines][5/6] Add coroutine passes to pipeline 2020-02-19 00:57:14 -05:00
ProfileData
Remarks
Support [ARM] Change ARMAttributeParser::Parse to use support::endianness and simplify 2020-02-21 11:05:33 -08:00
TableGen Fix assertion on !eq(?, 0) 2020-02-18 14:05:55 -08:00
Target [AArch64] Delete an unneeded dependency on Object after 1874dee5662603c9251228c71b66de72cec0c979 2020-02-21 14:02:54 -08:00
Testing
TextAPI
ToolDrivers
Transforms [Attributor][FIX] Undo 16188f9 until SCC iterator bug is fixed 2020-02-21 14:20:42 -08:00
WindowsManifest
XRay
CMakeLists.txt
LLVMBuild.txt