Commit b357af4
committed
[VPlan] Add VPPhiAccessors to provide interface for phi recipes (NFC)
Add a VPPhiAccessors class to provide interfaces to access incoming
values and blocks, with corresponding iterators.
The first user is VPWidenPhiRecipe, with the other phi-like recipes
following soon.
This will also be used to verify def-use chains where users are phi-like
recipes, simplifying #124838.1 parent 9f37cdc commit b357af4
File tree
3 files changed
+87
-30
lines changed- llvm/lib/Transforms/Vectorize
3 files changed
+87
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3069 | 3069 | | |
3070 | 3070 | | |
3071 | 3071 | | |
3072 | | - | |
3073 | | - | |
3074 | | - | |
| 3072 | + | |
| 3073 | + | |
3075 | 3074 | | |
3076 | | - | |
3077 | 3075 | | |
3078 | 3076 | | |
3079 | 3077 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1085 | 1085 | | |
1086 | 1086 | | |
1087 | 1087 | | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
1088 | 1144 | | |
1089 | 1145 | | |
1090 | 1146 | | |
| |||
1944 | 2000 | | |
1945 | 2001 | | |
1946 | 2002 | | |
1947 | | - | |
| 2003 | + | |
| 2004 | + | |
1948 | 2005 | | |
1949 | 2006 | | |
1950 | 2007 | | |
| |||
1970 | 2027 | | |
1971 | 2028 | | |
1972 | 2029 | | |
1973 | | - | |
1974 | | - | |
1975 | | - | |
1976 | | - | |
1977 | | - | |
1978 | | - | |
1979 | 2030 | | |
1980 | 2031 | | |
1981 | 2032 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1031 | 1031 | | |
1032 | 1032 | | |
1033 | 1033 | | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
1034 | 1057 | | |
1035 | 1058 | | |
1036 | 1059 | | |
| |||
3580 | 3603 | | |
3581 | 3604 | | |
3582 | 3605 | | |
3583 | | - | |
3584 | | - | |
3585 | | - | |
3586 | | - | |
3587 | | - | |
3588 | | - | |
3589 | | - | |
3590 | | - | |
3591 | | - | |
3592 | | - | |
3593 | | - | |
3594 | | - | |
3595 | | - | |
3596 | | - | |
3597 | | - | |
3598 | | - | |
3599 | | - | |
3600 | | - | |
3601 | | - | |
| 3606 | + | |
| 3607 | + | |
| 3608 | + | |
| 3609 | + | |
3602 | 3610 | | |
3603 | 3611 | | |
3604 | 3612 | | |
| |||
0 commit comments