llvm-project/llvm/unittests/CodeGen/GlobalISel
Jessica Paquette d6a88e7e19 [GlobalISel] Add convenience matchers for nots and all-ones constants
Add a convenience matcher which handles

```
G_XOR %not_reg, -1
```

And a convenience matcher which returns true if an integer constant is
all-ones.

Differential Revision: https://reviews.llvm.org/D91459
2020-11-13 13:54:08 -08:00
..
CMakeLists.txt Reland [FileCheck] Move FileCheck implementation out of LLVMSupport into its own library 2020-09-01 14:59:28 +02:00
CSETest.cpp [GlobalISel] Fix CSEMIRBuilder silently allowing use-before-def. 2020-10-05 11:00:00 -07:00
ConstantFoldingTest.cpp GlobalISel: Prepare to allow other target unit tests 2020-03-23 15:02:30 -04:00
GISelMITest.cpp AMDGPU/GlobalISel: Implement computeNumSignBitsForTargetInstr 2020-03-23 15:02:30 -04:00
GISelMITest.h Reland [FileCheck] Move FileCheck implementation out of LLVMSupport into its own library 2020-09-01 14:59:28 +02:00
GISelUtilsTest.cpp GlobalISel: Rewrite getLCMType 2020-07-20 21:06:30 -04:00
KnownBitsTest.cpp Revert rGbbeb08497ce58 "Revert "[GlobalISel] GISelKnownBits::computeKnownBitsImpl - Replace TargetOpcode::G_MUL handling with the common KnownBits::computeForMul implementation"" 2020-11-05 10:39:53 +00:00
LegalizerHelperTest.cpp [GlobalISel] fix widenScalarUnmerge if widen type is not a multiple of destination type 2020-09-29 15:52:20 +02:00
LegalizerInfoTest.cpp Use pragmas to work around MSVC x86_32 debug miscompile bug 2020-09-10 14:50:01 -07:00
LegalizerTest.cpp [globalisel] Add lost debug locations verifier 2020-04-16 10:43:35 -07:00
MachineIRBuilderTest.cpp [GlobalISel] Add G_ABS 2020-08-11 16:34:37 +01:00
PatternMatchTest.cpp [GlobalISel] Add convenience matchers for nots and all-ones constants 2020-11-13 13:54:08 -08:00