llvm-project/llvm/test/Transforms/ConstraintElimination
Florian Hahn ee605b0acc
[ConstraintElim] Use collectOffset result for chained gep support.
This slightly simplifies the code and addresses a correctness issue
where the index scaling for the precondition was not considered
properly.

Thanks to @nikic for pointing that out in D137840.
2022-12-01 17:01:07 +00:00
..
add-nsw.ll [ConstraintElim] Add add nsw tests with negative constant. 2022-11-19 19:17:42 +00:00
add-nuw.ll [ConstraintElimination] Further de-compose operands of add operations. 2022-09-14 12:00:32 +01:00
add.ll
analysis-invalidation.ll [ConstraintElimination] Update Changed status in ssub simplification. 2022-10-02 14:25:51 +01:00
and-implied-by-operands.ll
and.ll [ConstraintElimination] Update tests to use opaque pointers. 2022-10-06 18:07:25 +01:00
assumes.ll
constants-signed-predicates.ll [ConstraintElimination] Add tests for transferring info between systems. 2022-06-21 23:34:03 +02:00
constants-unsigned-predicates.ll [ConstraintElim] Use collectOffset instead of custom GEP idx iteration. 2022-11-28 16:54:58 +00:00
debug.ll [ConstraintElimination] Add test for debug printing. 2022-10-03 20:56:39 +01:00
decompose-with-temporary-indices.ll
dom.ll
empty-constraint.ll
eq.ll
gep-add-multiple-indices.ll [ConstraintElim] Use collectOffset result for chained gep support. 2022-12-01 17:01:07 +00:00
gep-arithmetic-add.ll [ConstraintElim] Add add nsw tests with negative constant. 2022-11-19 19:17:42 +00:00
gep-arithmetic-different-types.ll [ConstraintElim] Replace custom GEP index handling by using existing code 2022-10-16 21:53:11 +01:00
gep-arithmetic.ll [ConstraintElim] Use collectOffset instead of custom GEP idx iteration. 2022-11-28 16:54:58 +00:00
gep-chains.ll [ConstraintElim] Rename test file to match contents. 2022-11-19 16:15:49 +00:00
gep-sub.ll [ConstraintElim] Use collectOffset result for chained gep support. 2022-12-01 17:01:07 +00:00
geps-128-bit-pointers.ll [ConstraintElimination] Add tests with 128 bit pointers. 2022-10-12 19:49:29 +01:00
geps-inbounds-precondition-ub-in-use-blocks.ll
geps-inbounds-precondition.ll
geps-pointers-to-arrays.ll [ConstraintElim] Add support for GEPs with multiple indices. 2022-10-13 21:08:33 +01:00
geps-pointers-to-structs.ll [ConstraintElim] Add support for GEPs with multiple indices. 2022-10-13 21:08:33 +01:00
geps-precondition-overflow-check.ll
geps-ptrvector.ll [ConstraintElim] Drop bail out for scalable vectors after using getTrue 2022-11-03 19:05:45 +00:00
geps-signed-predicates.ll [ConstraintElimination] Update tests to use opaque pointers. 2022-10-06 18:07:25 +01:00
geps-unsigned-predicates.ll [ConstraintElim] Replace custom GEP index handling by using existing code 2022-10-16 21:53:11 +01:00
invoke.ll [ConstraintElimination] Update tests to use opaque pointers. 2022-10-06 18:07:25 +01:00
large-constant-ints.ll [ConstraintElimination] Make decompose() infallible 2022-11-14 10:42:04 +01:00
large-system-growth.ll [ConstraintElimination] Update tests to use opaque pointers. 2022-10-06 18:07:25 +01:00
loops-bottom-tested-base.ll
loops-bottom-tested-pointer-cmps.ll [ConstraintElimination] Update tests to use opaque pointers. 2022-10-06 18:07:25 +01:00
loops-header-tested-base.ll
loops-header-tested-pointer-cmps.ll [ConstraintElimination] Add test that crash in earlier var handling. 2022-10-07 09:31:45 +01:00
loops-header-tested-pointer-iv.ll [ConstraintElimination] Update tests to use opaque pointers. 2022-10-06 18:07:25 +01:00
loops.ll
mixed-signed-unsigned-predicates.ll [ConstraintElim] Support signed decomposition of `add nsw`. 2022-10-15 18:34:03 +01:00
mixed.ll
mul.ll [ConstraintElim] Support unsigned decomposition of mul/shl nuw..const 2022-10-15 21:28:08 +01:00
ne.ll
or.ll [ConstraintElimination] Generalize OR matching. 2022-10-06 11:56:22 +01:00
pointercast.ll
pr54228-variable-name-order.ll
range_checks.ll [Test] Add test showing that Constraint Elimination can deal with case where SCEV fails 2022-10-03 16:41:22 +07:00
sge.ll [ConstraintElimination] Add tests for transferring info between systems. 2022-06-21 23:34:03 +02:00
shl.ll [ConstraintElim] Support unsigned decomposition of mul/shl nuw..const 2022-10-15 21:28:08 +01:00
signed-query-unsigned-system.ll [ConstraintElimination] Use logic from 3771310eed for queries only. 2022-10-08 11:03:45 +01:00
ssub-with-overflow.ll
sub-nuw.ll
sub.ll
switch.ll
transfer-signed-facts-to-unsigned.ll [ConstraintElim] Add support for GEPs with multiple indices. 2022-10-13 21:08:33 +01:00
transfer-unsigned-facts-to-signed.ll [ConstraintElimination] Order cmps for signed <-> unsigned transfer first. 2022-10-06 15:56:25 +01:00
uge.ll
ugt-ule.ll [ConstraintElimination] Update tests to use opaque pointers. 2022-10-06 18:07:25 +01:00
ule.ll
uses-in-different-blocks.ll
usub-with-overflow.ll [ConstraintElimination] Add initial usub.with.overflow tests. 2022-09-26 16:44:36 +01:00
vector-compares.ll
wrapping-math.ll [ConstraintElimination] Further de-compose operands of add operations. 2022-09-14 12:00:32 +01:00
zext-for-per-formula-reasoning.ll [ConstraintElimination] Track if variables are positive in constraint. 2022-09-14 18:43:54 +01:00
zext.ll [ConstraintElimination] Make sure the variable is available before use. 2022-09-30 18:09:01 +01:00