llvm-project/llvm/test/Transforms/LoopIdiom
Craig Topper c9a6000755 [LoopIdiomRecognize] Add CTTZ support
Summary:
Existing LIR recognizes CTLZ where shifting input variable right until it is zero. (Shift-Until-Zero idiom)

This commit:
1. Augments Shift-Until-Zero idiom to recognize CTTZ where input variable is shifted left.
2. Prepare for BitScan idiom recognition.

Patch by Yuanfang Chen (tabloid.adroit)

Reviewers: craig.topper, evstupac

Reviewed By: craig.topper

Subscribers: llvm-commits

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

llvm-svn: 350074
2018-12-26 21:59:48 +00:00
..
AMDGPU
ARM [ValueTracking] Match select abs pattern when there's an sext involved 2018-06-04 16:53:57 +00:00
X86 [LoopIdiomRecognize] Add CTTZ support 2018-12-26 21:59:48 +00:00
basic-address-space.ll
basic.ll
crash.ll
ctpop-multiple-users-crash.ll
debug-line.ll
int_sideeffect.ll
lir-heurs-multi-block-loop.ll
memset_noidiom.ll
non-canonical-loop.ll
non-integral-pointers.ll
nontemporal_store.ll
pr28196.ll llvm: Add support for "-fno-delete-null-pointer-checks" 2018-07-09 22:27:23 +00:00
pr33114.ll
scev-invalidation.ll
scev-invalidation_topmostloop.ll SCEV should forget all loops containing a deleted block. 2018-08-09 17:53:26 +00:00
struct-custom-dl.ll Adding a width of the GEP index to the Data Layout. 2018-02-14 06:58:08 +00:00
struct.ll
struct_pattern.ll
unordered-atomic-memcpy-noarch.ll
unroll-custom-dl.ll Adding a width of the GEP index to the Data Layout. 2018-02-14 06:58:08 +00:00
unroll.ll
unsafe.ll
unwind.ll