1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/lib/Transforms/InstCombine
Roman Lebedev 7abe7a3b10 [InstCombine] Fold (x + C1) * (-1<<C2) --> (-C1 - x) * (1<<C2)
Negator knows how to do this, but the one-use reasoning is getting
a bit muddy here, we don't really want to increase instruction count,
so we need to both lie that "IsNegation" and have an one-use check
on the outermost LHS value.
2020-08-06 23:40:16 +03:00
..
CMakeLists.txt [InstCombine] Move target-specific inst combining 2020-07-22 15:59:49 +02:00
InstCombineAddSub.cpp [InstCombine] Move target-specific inst combining 2020-07-22 15:59:49 +02:00
InstCombineAndOrXor.cpp [InstCombine] reduce xor-of-or's bitwise logic (PR46955); 2nd try 2020-08-03 10:21:56 -04:00
InstCombineAtomicRMW.cpp [InstCombine] Move target-specific inst combining 2020-07-22 15:59:49 +02:00
InstCombineCalls.cpp [InstCombine] Fold abs(-x) -> abs(x) 2020-08-01 13:25:00 -07:00
InstCombineCasts.cpp [InstCombine] Move target-specific inst combining 2020-07-22 15:59:49 +02:00
InstCombineCompares.cpp [NFC][InstCombine] Refactor '(-NSW x) pred x' fold 2020-08-06 11:50:36 +03:00
InstCombineInternal.h [InstCombine] Move target-specific inst combining 2020-07-22 15:59:49 +02:00
InstCombineLoadStoreAlloca.cpp [InstCombine] Move target-specific inst combining 2020-07-22 15:59:49 +02:00
InstCombineMulDivRem.cpp [InstCombine] Fold (x + C1) * (-1<<C2) --> (-C1 - x) * (1<<C2) 2020-08-06 23:40:16 +03:00
InstCombineNegator.cpp [NFC][InstCombine] Negator: add a comment about negating exact arithmentic shift 2020-08-06 23:37:16 +03:00
InstCombinePHI.cpp [InstCombine] Move target-specific inst combining 2020-07-22 15:59:49 +02:00
InstCombineSelect.cpp [NFC] GetUnderlyingObject -> getUnderlyingObject 2020-07-30 21:08:24 -07:00
InstCombineShifts.cpp [InstCombine] Move target-specific inst combining 2020-07-22 15:59:49 +02:00
InstCombineSimplifyDemanded.cpp [InstCombine] Move target-specific inst combining 2020-07-22 15:59:49 +02:00
InstCombineVectorOps.cpp [InstCombine] Move target-specific inst combining 2020-07-22 15:59:49 +02:00
InstructionCombining.cpp [InstCombine] Fold freeze(undef) into a proper constant 2020-08-06 18:40:04 +09:00
LLVMBuild.txt