Lines Matching defs:alias
114 // Set up alias sets.
169 for (AliasingValue alias : getAliasingValues(operand))
170 aliasInfo.unionSets(alias.value, operand.get());
253 // Bufferization-specific alias analysis.
584 /// the assumption that all given reads/writes alias the same buffer and that
648 // definition is %0. Note that operations that create an alias but do not
659 // alias that have been decided to bufferize inplace.
820 state.applyOnAliases(root, [&](Value alias) {
821 for (auto &use : alias.getUses())
831 state.applyOnAliases(root, [&](Value alias) {
832 for (auto &use : alias.getUses()) {
866 /// R and a write W of the same alias set is a conflict if inplace bufferization
869 /// A conflict can only be introduced by a new alias and/or an inplace
883 /// * However, adding an alias {%0, %t} would mean that the second
901 for (AliasingValue alias : state.getAliasingValues(operand)) {
902 getAliasingReads(usesRead, alias.value, state);
903 getAliasingInplaceWrites(usesWrite, alias.value, state);
941 for (AliasingValue alias : state.getAliasingValues(operand))
942 getAliasingInplaceWrites(usesWrite, alias.value, state);
959 for (AliasingValue alias : state.getAliasingValues(operand))
960 state.applyOnAliases(alias.value, checkReadOnly);
1035 for (AliasingOpOperand alias : aliases) {
1036 bool isEquiv = alias.relation == BufferRelation::Equivalent;
1037 bool isInPlace = state.isInPlace(*alias.opOperand);
1038 Value operand = alias.opOperand->get();
1039 if (isEquiv && isInPlace && alias.isDefinite) {
1040 // Found a definite, equivalent alias. Merge equivalence sets.
1041 // There can only be one definite alias, so we can stop here.
1053 // allocation, it is a definite, equivalent alias. E.g.:
1113 for (auto alias : aliases) {
1114 Value v = alias.opOperand->get();
1224 // attribute. Such tensors may alias any other tensor, which is currently
1284 state.applyOnAliases(v, [&](Value alias) {
1287 alias.printAsOperand(stream, asmState);
1294 // Build alias set array for every OpResult.
1304 // Build alias set array for every BlockArgument.
1349 // Analysis verification: After setting up alias/equivalence sets, each op