@@ -451,8 +451,8 @@ genReduction5Args(FN func, fir::FirOpBuilder &builder, mlir::Location loc,
451
451
builder.create <fir::CallOp>(loc, func, args);
452
452
}
453
453
454
- // / Generate call to all runtime routine.
455
- // / This calls the descriptor based runtime call implementation of the all
454
+ // / Generate call to `AllDim` runtime routine.
455
+ // / This calls the descriptor based runtime call implementation of the ` all`
456
456
// / intrinsic.
457
457
void fir::runtime::genAllDescriptor (fir::FirOpBuilder &builder,
458
458
mlir::Location loc, mlir::Value resultBox,
@@ -461,8 +461,8 @@ void fir::runtime::genAllDescriptor(fir::FirOpBuilder &builder,
461
461
genReduction2Args (allFunc, builder, loc, resultBox, maskBox, dim);
462
462
}
463
463
464
- // / Generate call to any runtime routine.
465
- // / This calls the descriptor based runtime call implementation of the any
464
+ // / Generate call to `AnyDim` runtime routine.
465
+ // / This calls the descriptor based runtime call implementation of the ` any`
466
466
// / intrinsic.
467
467
void fir::runtime::genAnyDescriptor (fir::FirOpBuilder &builder,
468
468
mlir::Location loc, mlir::Value resultBox,
@@ -471,23 +471,23 @@ void fir::runtime::genAnyDescriptor(fir::FirOpBuilder &builder,
471
471
genReduction2Args (anyFunc, builder, loc, resultBox, maskBox, dim);
472
472
}
473
473
474
- // / Generate call to All intrinsic runtime routine. This routine is
474
+ // / Generate call to ` All` intrinsic runtime routine. This routine is
475
475
// / specialized for mask arguments with rank == 1.
476
476
mlir::Value fir::runtime::genAll (fir::FirOpBuilder &builder, mlir::Location loc,
477
477
mlir::Value maskBox, mlir::Value dim) {
478
478
auto allFunc = fir::runtime::getRuntimeFunc<mkRTKey (All)>(loc, builder);
479
479
return genSpecial2Args (allFunc, builder, loc, maskBox, dim);
480
480
}
481
481
482
- // / Generate call to Any intrinsic runtime routine. This routine is
482
+ // / Generate call to ` Any` intrinsic runtime routine. This routine is
483
483
// / specialized for mask arguments with rank == 1.
484
484
mlir::Value fir::runtime::genAny (fir::FirOpBuilder &builder, mlir::Location loc,
485
485
mlir::Value maskBox, mlir::Value dim) {
486
486
auto anyFunc = fir::runtime::getRuntimeFunc<mkRTKey (Any)>(loc, builder);
487
487
return genSpecial2Args (anyFunc, builder, loc, maskBox, dim);
488
488
}
489
489
490
- // / Generate call to Count runtime routine. This routine is a specialized
490
+ // / Generate call to ` Count` runtime routine. This routine is a specialized
491
491
// / version when mask is a rank one array or the dim argument is not
492
492
// / specified by the user.
493
493
mlir::Value fir::runtime::genCount (fir::FirOpBuilder &builder,
@@ -497,7 +497,7 @@ mlir::Value fir::runtime::genCount(fir::FirOpBuilder &builder,
497
497
return genSpecial2Args (countFunc, builder, loc, maskBox, dim);
498
498
}
499
499
500
- // / Generate call to general CountDim runtime routine. This routine has a
500
+ // / Generate call to general ` CountDim` runtime routine. This routine has a
501
501
// / descriptor result.
502
502
void fir::runtime::genCountDim (fir::FirOpBuilder &builder, mlir::Location loc,
503
503
mlir::Value resultBox, mlir::Value maskBox,
@@ -512,7 +512,7 @@ void fir::runtime::genCountDim(fir::FirOpBuilder &builder, mlir::Location loc,
512
512
builder.create <fir::CallOp>(loc, func, args);
513
513
}
514
514
515
- // / Generate call to Maxloc intrinsic runtime routine. This is the version
515
+ // / Generate call to ` Maxloc` intrinsic runtime routine. This is the version
516
516
// / that does not take a dim argument.
517
517
void fir::runtime::genMaxloc (fir::FirOpBuilder &builder, mlir::Location loc,
518
518
mlir::Value resultBox, mlir::Value arrayBox,
@@ -523,7 +523,7 @@ void fir::runtime::genMaxloc(fir::FirOpBuilder &builder, mlir::Location loc,
523
523
back);
524
524
}
525
525
526
- // / Generate call to Maxloc intrinsic runtime routine. This is the version
526
+ // / Generate call to `MaxlocDim` intrinsic runtime routine. This is the version
527
527
// / that takes a dim argument.
528
528
void fir::runtime::genMaxlocDim (fir::FirOpBuilder &builder, mlir::Location loc,
529
529
mlir::Value resultBox, mlir::Value arrayBox,
@@ -534,7 +534,7 @@ void fir::runtime::genMaxlocDim(fir::FirOpBuilder &builder, mlir::Location loc,
534
534
back);
535
535
}
536
536
537
- // / Generate call to Maxval intrinsic runtime routine. This is the version
537
+ // / Generate call to ` Maxval` intrinsic runtime routine. This is the version
538
538
// / that does not take a dim argument.
539
539
mlir::Value fir::runtime::genMaxval (fir::FirOpBuilder &builder,
540
540
mlir::Location loc, mlir::Value arrayBox,
@@ -581,7 +581,7 @@ mlir::Value fir::runtime::genMaxval(fir::FirOpBuilder &builder,
581
581
return builder.create <fir::CallOp>(loc, func, args).getResult (0 );
582
582
}
583
583
584
- // / Generate call to Maxval intrinsic runtime routine. This is the version
584
+ // / Generate call to `MaxvalDim` intrinsic runtime routine. This is the version
585
585
// / that handles any rank array with the dim argument specified.
586
586
void fir::runtime::genMaxvalDim (fir::FirOpBuilder &builder, mlir::Location loc,
587
587
mlir::Value resultBox, mlir::Value arrayBox,
@@ -590,8 +590,8 @@ void fir::runtime::genMaxvalDim(fir::FirOpBuilder &builder, mlir::Location loc,
590
590
genReduction3Args (func, builder, loc, resultBox, arrayBox, dim, maskBox);
591
591
}
592
592
593
- // / Generate call to Maxval intrinsic runtime routine. This is the version
594
- // / that handles character arrays of rank 1 and without a DIM argument.
593
+ // / Generate call to `MaxvalCharacter` intrinsic runtime routine. This is the
594
+ // / version that handles character arrays of rank 1 and without a DIM argument.
595
595
void fir::runtime::genMaxvalChar (fir::FirOpBuilder &builder, mlir::Location loc,
596
596
mlir::Value resultBox, mlir::Value arrayBox,
597
597
mlir::Value maskBox) {
@@ -606,7 +606,7 @@ void fir::runtime::genMaxvalChar(fir::FirOpBuilder &builder, mlir::Location loc,
606
606
builder.create <fir::CallOp>(loc, func, args);
607
607
}
608
608
609
- // / Generate call to Minloc intrinsic runtime routine. This is the version
609
+ // / Generate call to ` Minloc` intrinsic runtime routine. This is the version
610
610
// / that does not take a dim argument.
611
611
void fir::runtime::genMinloc (fir::FirOpBuilder &builder, mlir::Location loc,
612
612
mlir::Value resultBox, mlir::Value arrayBox,
@@ -617,7 +617,7 @@ void fir::runtime::genMinloc(fir::FirOpBuilder &builder, mlir::Location loc,
617
617
back);
618
618
}
619
619
620
- // / Generate call to Minloc intrinsic runtime routine. This is the version
620
+ // / Generate call to `MinlocDim` intrinsic runtime routine. This is the version
621
621
// / that takes a dim argument.
622
622
void fir::runtime::genMinlocDim (fir::FirOpBuilder &builder, mlir::Location loc,
623
623
mlir::Value resultBox, mlir::Value arrayBox,
@@ -628,7 +628,7 @@ void fir::runtime::genMinlocDim(fir::FirOpBuilder &builder, mlir::Location loc,
628
628
back);
629
629
}
630
630
631
- // / Generate call to Minval intrinsic runtime routine. This is the version
631
+ // / Generate call to `MinvalDim` intrinsic runtime routine. This is the version
632
632
// / that handles any rank array with the dim argument specified.
633
633
void fir::runtime::genMinvalDim (fir::FirOpBuilder &builder, mlir::Location loc,
634
634
mlir::Value resultBox, mlir::Value arrayBox,
@@ -637,8 +637,8 @@ void fir::runtime::genMinvalDim(fir::FirOpBuilder &builder, mlir::Location loc,
637
637
genReduction3Args (func, builder, loc, resultBox, arrayBox, dim, maskBox);
638
638
}
639
639
640
- // / Generate call to Minval intrinsic runtime routine. This is the version
641
- // / that handles character arrays of rank 1 and without a DIM argument.
640
+ // / Generate call to `MinvalCharacter` intrinsic runtime routine. This is the
641
+ // / version that handles character arrays of rank 1 and without a DIM argument.
642
642
void fir::runtime::genMinvalChar (fir::FirOpBuilder &builder, mlir::Location loc,
643
643
mlir::Value resultBox, mlir::Value arrayBox,
644
644
mlir::Value maskBox) {
@@ -653,7 +653,7 @@ void fir::runtime::genMinvalChar(fir::FirOpBuilder &builder, mlir::Location loc,
653
653
builder.create <fir::CallOp>(loc, func, args);
654
654
}
655
655
656
- // / Generate call to Minval intrinsic runtime routine. This is the version
656
+ // / Generate call to ` Minval` intrinsic runtime routine. This is the version
657
657
// / that does not take a dim argument.
658
658
mlir::Value fir::runtime::genMinval (fir::FirOpBuilder &builder,
659
659
mlir::Location loc, mlir::Value arrayBox,
@@ -700,7 +700,7 @@ mlir::Value fir::runtime::genMinval(fir::FirOpBuilder &builder,
700
700
return builder.create <fir::CallOp>(loc, func, args).getResult (0 );
701
701
}
702
702
703
- // / Generate call to Product intrinsic runtime routine. This is the version
703
+ // / Generate call to `ProductDim` intrinsic runtime routine. This is the version
704
704
// / that handles any rank array with the dim argument specified.
705
705
void fir::runtime::genProductDim (fir::FirOpBuilder &builder, mlir::Location loc,
706
706
mlir::Value resultBox, mlir::Value arrayBox,
@@ -709,7 +709,7 @@ void fir::runtime::genProductDim(fir::FirOpBuilder &builder, mlir::Location loc,
709
709
genReduction3Args (func, builder, loc, resultBox, arrayBox, dim, maskBox);
710
710
}
711
711
712
- // / Generate call to Product intrinsic runtime routine. This is the version
712
+ // / Generate call to ` Product` intrinsic runtime routine. This is the version
713
713
// / that does not take a dim argument.
714
714
mlir::Value fir::runtime::genProduct (fir::FirOpBuilder &builder,
715
715
mlir::Location loc, mlir::Value arrayBox,
@@ -777,6 +777,7 @@ mlir::Value fir::runtime::genProduct(fir::FirOpBuilder &builder,
777
777
return builder.create <fir::CallOp>(loc, func, args).getResult (0 );
778
778
}
779
779
780
+ // / Generate call to `DotProduct` intrinsic runtime routine.
780
781
mlir::Value fir::runtime::genDotProduct (fir::FirOpBuilder &builder,
781
782
mlir::Location loc,
782
783
mlir::Value vectorABox,
@@ -852,7 +853,7 @@ mlir::Value fir::runtime::genDotProduct(fir::FirOpBuilder &builder,
852
853
vectorBBox, sourceFile, sourceLine);
853
854
return builder.create <fir::CallOp>(loc, func, args).getResult (0 );
854
855
}
855
- // / Generate call to Sum intrinsic runtime routine. This is the version
856
+ // / Generate call to `SumDim` intrinsic runtime routine. This is the version
856
857
// / that handles any rank array with the dim argument specified.
857
858
void fir::runtime::genSumDim (fir::FirOpBuilder &builder, mlir::Location loc,
858
859
mlir::Value resultBox, mlir::Value arrayBox,
@@ -861,7 +862,7 @@ void fir::runtime::genSumDim(fir::FirOpBuilder &builder, mlir::Location loc,
861
862
genReduction3Args (func, builder, loc, resultBox, arrayBox, dim, maskBox);
862
863
}
863
864
864
- // / Generate call to Sum intrinsic runtime routine. This is the version
865
+ // / Generate call to ` Sum` intrinsic runtime routine. This is the version
865
866
// / that does not take a dim argument.
866
867
mlir::Value fir::runtime::genSum (fir::FirOpBuilder &builder, mlir::Location loc,
867
868
mlir::Value arrayBox, mlir::Value maskBox,
0 commit comments