1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/unittests/IR
Roman Lebedev 1191a4c398 [IR][PatternMatch] Introduce m_NegatedPower2() matcher
Summary:
It is a good idea to do as much matching inside of `match()` as possible.
If some checking is done afterwards, and we don't fold because of it,
chances are we may have missed some commutative pattern.

Reviewers: spatel, craig.topper, RKSimon

Reviewed By: spatel, RKSimon

Subscribers: llvm-commits

Tags: #llvm

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

llvm-svn: 367017
2019-07-25 13:34:24 +00:00
..
AsmWriterTest.cpp
AttributesTest.cpp Reapply: IR: add optional type to 'byval' function parameters 2019-05-30 18:48:23 +00:00
BasicBlockTest.cpp [opaque pointer types] Pass function types to CallInst creation. 2019-02-01 20:43:25 +00:00
CFGBuilder.cpp [opaque pointer types] Add a FunctionCallee wrapper type, and use it. 2019-02-01 02:28:03 +00:00
CFGBuilder.h
CMakeLists.txt Scalable Vector IR Type with further LTO fixes 2019-07-05 12:48:16 +00:00
ConstantRangeTest.cpp [ConstantRange] Add sdiv() support 2019-06-03 18:19:54 +00:00
ConstantsTest.cpp Add FNeg IR constant folding support 2019-05-05 16:07:09 +00:00
DataLayoutTest.cpp [IR][ARM] Add function pointer alignment to datalayout 2019-03-08 10:44:06 +00:00
DebugInfoTest.cpp
DebugTypeODRUniquingTest.cpp
DominatorTreeBatchUpdatesTest.cpp
DominatorTreeTest.cpp
FunctionTest.cpp [IR][ARM] Add function pointer alignment to datalayout 2019-03-08 10:44:06 +00:00
InstructionsTest.cpp Prepare for making SwitchInstProfUpdateWrapper strict 2019-07-09 05:07:28 +00:00
IntrinsicsTest.cpp
IRBuilderTest.cpp [FPEnv] Teach the IRBuilder about constrained FPTrunc and FPExt 2019-07-18 18:01:57 +00:00
LegacyPassManagerTest.cpp Fix IR/Analysis layering issue with OptBisect 2019-02-28 04:00:55 +00:00
ManglerTest.cpp
MDBuilderTest.cpp
MetadataTest.cpp [DebugInfoMetadata] Refactor DIExpression::prepend constants (NFC) 2019-05-20 10:35:57 +00:00
ModuleTest.cpp
PassBuilderCallbacksTest.cpp [NewPassManager] Adding pass tuning options: loop vectorize. 2019-04-19 16:11:59 +00:00
PassManagerTest.cpp
PatternMatch.cpp [IR][PatternMatch] Introduce m_NegatedPower2() matcher 2019-07-25 13:34:24 +00:00
TimePassesTest.cpp [Legacy][TimePasses] allow -time-passes reporting into a custom stream 2019-03-22 23:11:08 +00:00
TypesTest.cpp
UserTest.cpp
UseTest.cpp
ValueHandleTest.cpp
ValueMapTest.cpp
ValueTest.cpp
VectorTypesTest.cpp Scalable Vector IR Type with further LTO fixes 2019-07-05 12:48:16 +00:00
VerifierTest.cpp [opaque pointer types] Add a FunctionCallee wrapper type, and use it. 2019-02-01 02:28:03 +00:00
WaymarkTest.cpp