Lines Matching refs:sum
361 int sum = 0; in $compile$noinline$Reduction() local
365 sum += val + x[i]; in $compile$noinline$Reduction()
368 return sum; in $compile$noinline$Reduction()
380 int sum = 0; in $compile$noinline$ReductionBackEdge() local
386 sum += x[i]; in $compile$noinline$ReductionBackEdge()
388 return sum; in $compile$noinline$ReductionBackEdge()
658 byte sum = 0; in BooleanArraySum()
660 sum += a[i] ? 1 : 0; in BooleanArraySum()
662 return sum; in BooleanArraySum()
666 byte sum = 0; in ByteArraySum()
668 sum += a[i]; in ByteArraySum()
670 return sum; in ByteArraySum()
674 short sum = 0; in ShortArraySum() local
676 sum += a[i]; in ShortArraySum()
678 return sum; in ShortArraySum()
682 char sum = 0; in CharArraySum() local
684 sum += a[i]; in CharArraySum()
686 return sum; in CharArraySum()
690 int sum = 0; in IntArraySum() local
692 sum += a[i]; in IntArraySum()
694 return sum; in IntArraySum()
698 long sum = 0; in LongArraySum() local
700 sum += a[i]; in LongArraySum()
702 return sum; in LongArraySum()
706 float sum = 0.0f; in FloatArraySum() local
708 sum += a[i]; in FloatArraySum()
710 return sum; in FloatArraySum()
714 double sum = 0.0; in DoubleArraySum() local
716 sum += a[i]; in DoubleArraySum()
718 return sum; in DoubleArraySum()