llvm-project/llvm/test/Transforms/ConstraintElimination
Florian Hahn 6db71b8f14
[ConstraintElim] Use helper to allow overflow for coefficients of GEPs
If the arithmetic for indices of inbounds GEPs overflows, the result is
poison. This means it is also OK for the coefficients to overflow. GEP
decomposition is limited to cases where the index size is <= 64 bit,
which can be represented by int64_t used for the coefficients in the
constraint system.
2022-10-17 20:30:43 +01:00
..
add-nsw.ll [ConstraintElim] Support `add nsw` for unsigned preds with positive ops. 2022-10-16 20:25:14 +01:00
add-nuw.ll [ConstraintElimination] Further de-compose operands of add operations. 2022-09-14 12:00:32 +01:00
add.ll [ConstraintElimination] Add tests with signed predicates and ADDs. 2022-03-28 18:00:18 +01:00
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 [ConstraintElimination] Add missing dominance check. 2022-03-16 20:01:24 +00:00
constants-signed-predicates.ll [ConstraintElimination] Add tests for transferring info between systems. 2022-06-21 23:34:03 +02:00
constants-unsigned-predicates.ll [ConstraintElimination] Add tests for transferring info between systems. 2022-06-21 23:34:03 +02:00
debug.ll [ConstraintElimination] Add test for debug printing. 2022-10-03 20:56:39 +01:00
decompose-with-temporary-indices.ll
dom.ll [ConstraintElimination] Add additional tests with uncond branches. 2022-03-16 09:46:04 +00:00
empty-constraint.ll
eq.ll
gep-add.ll [ConstraintElim] Add nested GEP test with scalable vectors. 2022-10-13 20:58:11 +01: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 [ConstraintElimination] Update tests to use opaque pointers. 2022-10-06 18:07:25 +01:00
gep-sub.ll [ConstraintElim] Move logic to get constraint for solving to helper. 2022-10-09 10:44:36 +01: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-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 [ConstraintElim] Use helper to allow overflow for coefficients of GEPs 2022-10-17 20:30:43 +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 [ConstraintElimination] Remove dead variables when dropping constraints. 2022-03-07 09:04:07 +00:00
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 [ConstraintElimination] Simplify ssub(A,B) if B s>=b && B s>=0. 2022-05-13 13:19:41 +01:00
sub-nuw.ll [ConstraintElimination] Use AddOverflow for offset summation. 2022-03-25 18:08:24 +00:00
sub.ll
switch.ll [ConstraintElimination] Remove over-eager assertion. 2022-03-08 22:02:08 +00:00
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