Lines Matching defs:designate

52 ///   %0 = hlfir.designate %array(%arg0)
64 /// %0 = hlfir.designate %read_array(%arg0)
90 /// Returns the array indices for the given hlfir.designate.
95 getDesignatorIndices(hlfir::DesignateOp designate);
154 // %ref = hlfir.designate %array(%index)
156 if (auto designate = accessedVal.getDefiningOp<hlfir::DesignateOp>()) {
157 if (designate.getMemref() == val)
160 // if the designate is into an array that might alias val
161 res = aliasAnalysis.alias(val, designate.getMemref());
170 // by two hlfir.designate operations.
186 // Analyzes two hlfir.designate results and returns the overlap kind.
363 // hlfir.designate %6#0 (%c2:%c7999:%c1, %c1:%c120:%c1, %0)
364 // hlfir.designate %6#0 (%c2:%c7999:%c1, %c1:%c120:%c1, %1)
371 // hlfir.designate %6#0 (%c2:%c2:%c1)
372 // hlfir.designate %6#0 (%c2)
442 hlfir::DesignateOp designate) {
443 mlir::Value memref = designate.getMemref();
454 // %19 = hlfir.designate %13 (%18) : (!fir.box<...>, index) -> ...
462 // %19 = hlfir.designate %13 (...) : (!fir.box<...>, index) -> ...
481 for (auto index : llvm::enumerate(designate.getIndices())) {
498 if (newIndices.size() != designate.getIndices().size())
499 return designate.getIndices();
504 return designate.getIndices();
615 // exactly or only partially. If they overlap partially, a designate at the
617 // designate two slices of the same array at different start indexes. These
621 if (auto designate =
624 ArraySectionAnalyzer::analyze(match.array, designate.getMemref());
630 LLVM_DEBUG(llvm::dbgs() << "possible read conflict: " << designate
634 auto indices = getDesignatorIndices(designate);
641 LLVM_DEBUG(llvm::dbgs() << "possible read conflict: " << designate
720 /// %1 = hlfir.designate %0 (%arg1, %arg0) :
862 /// Given a reduction operation with an elemental/designate source, attempt to
901 hlfir::DesignateOp designate;
905 } else if ((designate =
907 shape = designate.getShape();
913 [elemental, &designate](
923 if (designate) {
925 auto resEntity = hlfir::Entity{designate.getResult()};
927 loc, getVariableElementType(resEntity), designate, indices);