1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/include/llvm
Jessica Paquette 8e321c8c5a [GlobalISel] Combine (logic_op (op x...), (op y...)) -> (op (logic_op x, y))
This implements

```
(logic_op (op x...), (op y...)) -> (op (logic_op x, y))
```

when `op` is an extend, a shift, or an and.

This is similar to `DAGCombiner::hoistLogicOpWithSameOpcodeHands`
(with a bunch of missing cases, e.g. G_TRUNC, G_BITCAST, etc.)

This is implemented so it works both pre and post-legalization.

This also adds a general way to add a series of instructions in a combine.
(`applyBuildInstructionSteps`).

Differential Revision: https://reviews.llvm.org/D85050
2020-08-11 10:40:06 -07:00
..
ADT [SystemZ/ZOS] Add binary format goff and operating system zos to the triple 2020-08-11 05:26:26 -04:00
Analysis [InstSimplify] Forbid undef folds in expandBinOp 2020-08-11 18:39:24 +02:00
AsmParser
BinaryFormat [DebugInfo] Allow GNU macro extension to be read 2020-08-11 13:30:52 +02:00
Bitcode [NFC] Move BitcodeCommon.h from Bitstream to Bitcode 2020-07-27 20:49:17 +00:00
Bitstream [NFC] Move BitcodeCommon.h from Bitstream to Bitcode 2020-07-27 20:49:17 +00:00
CodeGen [GlobalISel] Combine (logic_op (op x...), (op y...)) -> (op (logic_op x, y)) 2020-08-11 10:40:06 -07:00
Config Revert "[CMake] Simplify CMake handling for zlib" 2020-08-08 17:08:23 -07:00
DebugInfo [DebugInfo] Allow GNU macro extension to be read 2020-08-11 13:30:52 +02:00
Demangle
DWARFLinker [DebugInfo] Clean up DIEUnit. NFC. 2020-08-07 15:55:44 +07:00
ExecutionEngine [ORC] Move file-descriptor based raw byte channel into a public header. 2020-08-11 09:50:58 -07:00
Frontend [flang][directives] Use TableGen information for clause classes in parse-tree 2020-08-11 10:44:14 -04:00
FuzzMutate
IR [InstSimplify] fold min/max with matching min/max operands 2020-08-11 11:23:15 -04:00
IRReader
LineEditor
Linker
LTO
MC [AArch64][SVE] Fix CFA calculation in presence of SVE objects. 2020-08-04 11:47:06 +01:00
MCA
Object [llvm-readobj] - Make decode_relrs() don't return Expected<>. NFCI. 2020-08-05 17:05:47 +03:00
ObjectYAML [DWARFYAML][debug_info] Pull out dwarf::FormParams from DWARFYAML::Unit. 2020-08-06 16:39:00 +08:00
Option [llvm-symbolizer] Switch command line parsing from llvm::cl to OptTable 2020-08-04 08:53:15 -07:00
Passes [NewPM] Print 'Skipping pass' as pass instrumentation 2020-08-07 15:02:02 -07:00
ProfileData [PGO] Extend the value profile buckets for mem op sizes. 2020-08-03 11:04:32 -07:00
Remarks BitstreamRemarkParser.h - remove unnecessary includes. NFCI. 2020-08-06 13:17:53 +01:00
Support [GlobalISel] Add G_ABS 2020-08-11 16:34:37 +01:00
TableGen [TableGen][CGS] Print better errors on overlapping InstRW 2020-07-27 09:41:10 -06:00
Target [GlobalISel] Combine (logic_op (op x...), (op y...)) -> (op (logic_op x, y)) 2020-08-11 10:40:06 -07:00
Testing/Support
TextAPI Revert "Move ELFObjHandler to TextAPI library" 2020-08-10 21:31:29 -07:00
ToolDrivers
Transforms [SCEVExpander] Add helper to clean up instrs inserted while expanding. 2020-08-11 09:30:31 +01:00
WindowsManifest
WindowsResource
XRay
CMakeLists.txt
InitializePasses.h [NFC] Rename BBSectionsPrepare -> BasicBlockSections. 2020-08-06 13:12:06 -07:00
LinkAllIR.h
LinkAllPasses.h Recommit "[IPConstProp] Remove and move tests to SCCP." 2020-08-02 22:23:54 +01:00
module.extern.modulemap
module.install.modulemap
module.modulemap [llvm] Add RISCVTargetParser.def to the module map 2020-07-16 21:39:13 -07:00
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h