![]() |
PandA-2024.02
|
#include "sort.h"
Go to the source code of this file.
Macros | |
| #define | BUFFER_A 0 |
| #define | BUFFER_B 1 |
Functions | |
| void | local_scan (int bucket[BUCKETSIZE]) |
| void | sum_scan (int sum[SCAN_RADIX], int bucket[BUCKETSIZE]) |
| void | last_step_scan (int bucket[BUCKETSIZE], int sum[SCAN_RADIX]) |
| void | init (int bucket[BUCKETSIZE]) |
| void | hist (int bucket[BUCKETSIZE], int a[SIZE], int exp) |
| void | update (int b[SIZE], int bucket[BUCKETSIZE], int a[SIZE], int exp) |
| void | ss_sort (int a[SIZE], int b[SIZE], int bucket[BUCKETSIZE], int sum[SCAN_RADIX]) |
| #define BUFFER_A 0 |
Referenced by ss_sort().
| #define BUFFER_B 1 |
Referenced by ss_sort().
| void hist | ( | int | bucket[BUCKETSIZE], |
| int | a[SIZE], | ||
| int | exp | ||
| ) |
Definition at line 50 of file sort.c.
References ELEMENTSPERBLOCK, exp, and NUMOFBLOCKS.
Referenced by ss_sort().

| void init | ( | int | bucket[BUCKETSIZE] | ) |
Definition at line 42 of file sort.c.
References BUCKETSIZE.
Referenced by BehavioralHelper::add_initialization(), dump_init(), BehavioralHelper::GetInit(), gzstreambase::gzstreambase(), icrc(), LoopsAnalysisBambu::InternalExec(), rebuild_initialization::InternalExec(), rebuild_initialization2::look_for_ROMs(), BehavioralHelper::PrintVarDeclaration(), string_cst_fix::recursive_analysis(), ss_sort(), field_decl::visit(), result_decl::visit(), target_expr::visit(), and viterbi().

| void last_step_scan | ( | int | bucket[BUCKETSIZE], |
| int | sum[SCAN_RADIX] | ||
| ) |
Definition at line 31 of file sort.c.
References SCAN_BLOCK, SCAN_RADIX, and sum.
Referenced by ss_sort().

| void local_scan | ( | int | bucket[BUCKETSIZE] | ) |
Definition at line 10 of file sort.c.
References SCAN_BLOCK, and SCAN_RADIX.
Referenced by ss_sort().

| void ss_sort | ( | int | a[SIZE], |
| int | b[SIZE], | ||
| int | bucket[BUCKETSIZE], | ||
| int | sum[SCAN_RADIX] | ||
| ) |
Definition at line 78 of file sort.c.
References BUFFER_A, BUFFER_B, exp, hist(), init(), last_step_scan(), local_scan(), sum, sum_scan(), and update().
Referenced by run_benchmark().


| void sum_scan | ( | int | sum[SCAN_RADIX], |
| int | bucket[BUCKETSIZE] | ||
| ) |
Definition at line 21 of file sort.c.
References SCAN_BLOCK, SCAN_RADIX, and sum.
Referenced by ss_sort().

| void update | ( | int | b[SIZE], |
| int | bucket[BUCKETSIZE], | ||
| int | a[SIZE], | ||
| int | exp | ||
| ) |
Definition at line 63 of file sort.c.
References ELEMENTSPERBLOCK, exp, and NUMOFBLOCKS.
Referenced by ss_sort().

1.8.13