{"file": "CHStone/adpcm/adpcm.c", "target_type": "compound_statement", "cursor_line": 711, "target_nlines": 3, "node_depth": 5, "node_path": ["translation_unit", "function_definition", "compound_statement", "if_statement", "else_clause", "compound_statement"], "target": " {\n wd4 = wd2 - 128;\n }\n"} {"file": "CHStone/blowfish/bf.c", "target_type": "declaration", "cursor_line": 822, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " unsigned char ivec[8];\n"} {"file": "CHStone/dfdiv/dfdiv.c", "target_type": "function_definition", "cursor_line": 40, "target_nlines": 2, "node_depth": 1, "node_path": ["translation_unit", "function_definition"], "target": "double\nullong_to_double (unsigned long long x)\n"} {"file": "CHStone/dfmul/softfloat.h", "target_type": "type_definition", "cursor_line": 53, "target_nlines": 1, "node_depth": 1, "node_path": ["translation_unit", "type_definition"], "target": "typedef unsigned int float32;\n"} {"file": "CHStone/dfsin/dfsin.c", "target_type": "compound_statement", "cursor_line": 42, "target_nlines": 3, "node_depth": 2, "node_path": ["translation_unit", "function_definition", "compound_statement"], "target": "{\n return (x & 0x7fffffffffffffffULL);\n}\n"} {"file": "CHStone/jpeg/decode.h", "target_type": "declaration", "cursor_line": 98, "target_nlines": 1, "node_depth": 2, "node_path": ["translation_unit", "preproc_ifdef", "declaration"], "target": "int p_jinfo_ac_dhuff_tbl_maxcode[NUM_HUFF_TBLS][36];\n"} {"file": "CHStone/jpeg/jpeg2bmp.c", "target_type": "compound_statement", "cursor_line": 83, "target_nlines": 3, "node_depth": 4, "node_path": ["translation_unit", "function_definition", "compound_statement", "if_statement", "compound_statement"], "target": " if (OutData_image_height != out_length)\n {\n main_result++;\n"} {"file": "CHStone/jpeg/main.c", "target_type": "compound_statement", "cursor_line": 58, "target_nlines": 2, "node_depth": 2, "node_path": ["translation_unit", "function_definition", "compound_statement"], "target": "\n return main_result;\n"} {"file": "CHStone/motion/getbits.c", "target_type": "declaration", "cursor_line": 191, "target_nlines": 1, "node_depth": 2, "node_path": ["translation_unit", "function_definition", "declaration"], "target": " int N;\n"} {"file": "CHStone/motion/global.h", "target_type": "declaration", "cursor_line": 58, "target_nlines": 1, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "unsigned int Show_Bits _ANSI_ARGS_ ((int n));\n"} {"file": "CHStone/motion/mpeg2.c", "target_type": "declaration", "cursor_line": 221, "target_nlines": 4, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": " 56, 240, 0, 232, 184, 24, 16, 208, 200, 240, 200, 200, 104, 112, 24, 208,\n 128, 168, 248, 64, 152, 120, 64, 224, 128, 208, 120, 216, 16, 152, 48,\n 144,\n 240, 80, 144, 224, 48, 160, 192, 248, 0, 128, 120, 128, 160, 232, 168, 208,\n"} {"file": "catapult/source/Boolean/E1_SVM/hls_stream.h", "target_type": "declaration", "cursor_line": 288, "target_nlines": 1, "node_depth": 9, "node_path": ["translation_unit", "preproc_ifdef", "preproc_ifdef", "preproc_else", "function_definition", "compound_statement", "compound_statement", "preproc_ifdef", "labeled_statement", "declaration"], "target": " std::mutex mutex;\n"} {"file": "catapult/source/DA/E3_KNN/ac_int.h", "target_type": "declaration", "cursor_line": 912, "target_nlines": 1, "node_depth": 6, "node_path": ["translation_unit", "preproc_ifdef", "preproc_ifdef", "function_definition", "compound_statement", "for_statement", "declaration"], "target": " for(int i=0; i < N; i++)\n"} {"file": "catapult/source/Boolean/E4_CTC/main.cpp", "target_type": "declaration", "cursor_line": 31, "target_nlines": 1, "node_depth": 8, "node_path": ["translation_unit", "namespace_definition", "declaration_list", "function_definition", "compound_statement", "for_statement", "compound_statement", "for_statement", "declaration"], "target": " for (int j = 0; j < int(width); j++) {\r\n"} {"file": "catapult/source/DA/E1_linear_program/tb.cpp", "target_type": "declaration", "cursor_line": 30, "target_nlines": 1, "node_depth": 6, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_statement", "compound_statement", "for_statement", "declaration"], "target": " for (int j = 0; j < n; j++) {\r\n"} {"file": "catapult/source/Exception/E3_Turbo_Encoder/main.cpp", "target_type": "declaration", "cursor_line": 6, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " uint1 regTemp[3] = {reg[0], reg[1], reg[2], reg[3]};\r\n"} {"file": "catapult/source/Incomplete/E3_AES/main.cpp", "target_type": "declaration", "cursor_line": 16, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " unsigned int c;\r\n"} {"file": "catapult/source/Pointer/E1_DNN/tb.cpp", "target_type": "compound_statement", "cursor_line": 6, "target_nlines": 3, "node_depth": 4, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_statement", "compound_statement"], "target": " for (int i = 0; i < size; i++) {\r\n std::cout << array[i] << \" \";\r\n }\r\n"} {"file": "catapult/source/Pointer/E3_double_pointer/tb.cpp", "target_type": "declaration", "cursor_line": 11, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " int expected1 = 6;\r\n"} {"file": "catapult/source/Recursive/E1_linked_list/tb.cpp", "target_type": "declaration", "cursor_line": 6, "target_nlines": 1, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "extern int arr[];\r\n"} {"file": "catapult/source/Struct/E1_stream/tb.cpp", "target_type": "compound_statement", "cursor_line": 17, "target_nlines": 4, "node_depth": 4, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_statement", "compound_statement"], "target": " for (int i = 0; i < num_commands; i++) {\n commandStream.write(commands[i]);\n dataStream.write(data[i]);\n }\n"} {"file": "catapult/source/Struct/E3_long/main.cpp", "target_type": "declaration", "cursor_line": 75, "target_nlines": 1, "node_depth": 12, "node_path": ["translation_unit", "class_specifier", "field_declaration_list", "function_definition", "compound_statement", "for_statement", "compound_statement", "for_statement", "compound_statement", "while_statement", "compound_statement", "for_statement", "declaration"], "target": " for (int d = 0; d < 4; ++d) {\r\n"} {"file": "IronMan/DATASET/case_101/stencil3d_4_4_4.cc", "target_type": "compound_statement", "cursor_line": 152, "target_nlines": 2, "node_depth": 2, "node_path": ["translation_unit", "function_definition", "compound_statement"], "target": "ap_int<16> m149;\nap_int<16> m150;\n"} {"file": "IronMan/cc/case_0.cc", "target_type": "declaration", "cursor_line": 265, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": "ap_int<16> in677;\n"} {"file": "IronMan/cc/case_15.cc", "target_type": "compound_statement", "cursor_line": 76, "target_nlines": 5, "node_depth": 2, "node_path": ["translation_unit", "function_definition", "compound_statement"], "target": "ap_int<11> m47;\nap_int<16> m48;\nap_int<10> m49;\nap_int<13> m50;\nap_int<12> m51;\n"} {"file": "IronMan/cc/case_17.cc", "target_type": "compound_statement", "cursor_line": 45, "target_nlines": 3, "node_depth": 2, "node_path": ["translation_unit", "function_definition", "compound_statement"], "target": "ap_int<4> m17;\nap_int<7> m18;\nap_int<3> m19;\n"} {"file": "IronMan/cc/case_19.cc", "target_type": "declaration", "cursor_line": 71, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": "ap_int<3> m37;\n"} {"file": "IronMan/cc/case_23.cc", "target_type": "function_definition", "cursor_line": 124, "target_nlines": 3, "node_depth": 1, "node_path": ["translation_unit", "function_definition"], "target": "ap_int<12> m95;\nap_int<4> m96;\nap_int<16> m97;\n"} {"file": "IronMan/cc/case_27.cc", "target_type": "declaration", "cursor_line": 82, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": "ap_int<7> m40;\n"} {"file": "IronMan/cc/case_3.cc", "target_type": "compound_statement", "cursor_line": 148, "target_nlines": 4, "node_depth": 2, "node_path": ["translation_unit", "function_definition", "compound_statement"], "target": "m28 = in18 * m26;\nm29 = in7 * in8;\nm30 = in20 * in20;\nm31 = m25 + in20;\n"} {"file": "IronMan/cc/case_32.cc", "target_type": "declaration", "cursor_line": 47, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": "ap_int<5> in16;\n"} {"file": "IronMan/cc/case_39.cc", "target_type": "compound_statement", "cursor_line": 147, "target_nlines": 5, "node_depth": 2, "node_path": ["translation_unit", "function_definition", "compound_statement"], "target": "m26 = m21 * m25;\nm27 = in12 * in14;\nm28 = in12 * m24;\nm29 = m25 + m27;\nm30 = m29 + m21;\n"} {"file": "IronMan/cc/case_47.cc", "target_type": "declaration", "cursor_line": 31, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": "ap_int<4> in8;\n"} {"file": "FPGA-Based-RNN-Accelerator-Using-Vivado-HLS/h5/load_weights.c", "target_type": "function_definition", "cursor_line": 14, "target_nlines": 4, "node_depth": 1, "node_path": ["translation_unit", "function_definition"], "target": " fscanf(myfile,\"%f\", &weights[i]);\n printf(\"%d: %f \\n\", i, weights[i]);\n }\n\n"} {"file": "FPGA-Based-RNN-Accelerator-Using-Vivado-HLS/hlsr/sdsoc/src/config.h", "target_type": "declaration", "cursor_line": 23, "target_nlines": 2, "node_depth": 3, "node_path": ["translation_unit", "preproc_ifdef", "preproc_else", "declaration"], "target": "char const * SIMPLE_RNN_RECURRENT_KERNEL_FILE = \n \"../../model/simple_rnn_1_recurrent_kernel.txt\";\n"} {"file": "FPGA-Based-RNN-Accelerator-Using-Vivado-HLS/outdated/h5/load_weights.c", "target_type": "declaration", "cursor_line": 8, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " float weights[LEN];\n"} {"file": "FPGA-Based-RNN-Accelerator-Using-Vivado-HLS/pv/inc/config.h", "target_type": "declaration", "cursor_line": 5, "target_nlines": 1, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "char const * SIMPLE_RNN_KERNEL_FILE = \"../../model/simple_rnn_1_kernel.txt\";\n"} {"file": "FPGA-Based-RNN-Accelerator-Using-Vivado-HLS/python_demo/inc/fc.h", "target_type": "update_expression", "cursor_line": 3, "target_nlines": 2, "node_depth": 2, "node_path": ["translation_unit", "expression_statement", "update_expression"], "target": "template \nvoid fc(DT* input_feature_map, DT* bias, DT* kernel, DT* output_feature_map);\n"} {"file": "FPGA-Based-RNN-Accelerator-Using-Vivado-HLS/python_demo/inc/rnn.h", "target_type": "call_expression", "cursor_line": 4, "target_nlines": 1, "node_depth": 4, "node_path": ["translation_unit", "expression_statement", "update_expression", "binary_expression", "call_expression"], "target": "void rnn(DT* last_state, DT* input_state, DT* bias, DT* kernel, DT* recurrent_kernel, DT* output_state);\n"} {"file": "FPGA-Based-RNN-Accelerator-Using-Vivado-HLS/python_demo/inc/utils.h", "target_type": "binary_expression", "cursor_line": 11, "target_nlines": 2, "node_depth": 3, "node_path": ["translation_unit", "expression_statement", "update_expression", "binary_expression"], "target": "template \nvoid print_data(DT* input, LT length);\n"} {"file": "FPGA-Based-RNN-Accelerator-Using-Vivado-HLS/hlsr/sdsoc/src/fc.cc", "target_type": "compound_statement", "cursor_line": 124, "target_nlines": 4, "node_depth": 4, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_statement", "compound_statement"], "target": " for (LDATA_T i = 0; i < FC_OUTPUT_SIZE; i++) {\n#pragma HLS PIPELINE\n bias_reg[i] = bias[i];\n }\n"} {"file": "FPGA-Based-RNN-Accelerator-Using-Vivado-HLS/hlsr/sdsoc/src/wrapper.cc", "target_type": "declaration", "cursor_line": 25, "target_nlines": 1, "node_depth": 4, "node_path": ["translation_unit", "function_definition", "compound_statement", "preproc_ifdef", "declaration"], "target": " perf_counter f_ctr;\n"} {"file": "FPGA-Based-RNN-Accelerator-Using-Vivado-HLS/pv/src/fc.cc", "target_type": "declaration", "cursor_line": 18, "target_nlines": 1, "node_depth": 4, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_statement", "declaration"], "target": " for (LDATA_T batch_index = 0; batch_index < FC_BATCH_SIZE; batch_index++) {\n"} {"file": "FPGA-Based-RNN-Accelerator-Using-Vivado-HLS/pv/src/softmax.cc", "target_type": "declaration", "cursor_line": 65, "target_nlines": 1, "node_depth": 7, "node_path": ["translation_unit", "template_declaration", "function_definition", "compound_statement", "for_statement", "compound_statement", "for_statement", "declaration"], "target": " for (LDATA_T find_max_index = 0; find_max_index < SM_CLASS_SIZE; find_max_index++) {\n"} {"file": "COMBA/src/FindLatency.h", "target_type": "declaration", "cursor_line": 20, "target_nlines": 1, "node_depth": 2, "node_path": ["translation_unit", "preproc_ifdef", "declaration"], "target": "float find_latency_before_inst(Instruction *inst, std::map &instr_index_loop, std::vector > *dependence_loop);\n"} {"file": "COMBA/src/SetParameter.h", "target_type": "declaration", "cursor_line": 22, "target_nlines": 1, "node_depth": 2, "node_path": ["translation_unit", "preproc_ifdef", "declaration"], "target": "void set_array_index(Module &M);\n"} {"file": "COMBA/test_c/bicg/bicg.h", "target_type": "preproc_def", "cursor_line": 37, "target_nlines": 2, "node_depth": 4, "node_path": ["translation_unit", "preproc_ifdef", "preproc_if", "preproc_ifdef", "preproc_def"], "target": "# define N 2100\n# endif\n"} {"file": "COMBA/src/EvaluateDependency.cpp", "target_type": "declaration", "cursor_line": 120, "target_nlines": 1, "node_depth": 23, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_statement", "compound_statement", "for_statement", "compound_statement", "if_statement", "compound_statement", "if_statement", "else_clause", "compound_statement", "if_statement", "else_clause", "compound_statement", "for_statement", "compound_statement", "for_statement", "compound_statement", "if_statement", "compound_statement", "if_statement", "compound_statement", "declaration"], "target": "\t\t\t\t\t\t\t\t\t\tGetElementPtrInst *gep1=get_GEP(ii);\n"} {"file": "COMBA/src/FindLatency.cpp", "target_type": "for_statement", "cursor_line": 45, "target_nlines": 3, "node_depth": 9, "node_path": ["translation_unit", "function_definition", "compound_statement", "if_statement", "compound_statement", "if_statement", "compound_statement", "for_statement", "compound_statement", "for_statement"], "target": "\t\t\t\t\t\tlatency=std::max(latency,latency_tmp);\n\t\t\t\t\t}\n\t\t\t\t}\n"} {"file": "COMBA/src/InstLibrary.cpp", "target_type": "declaration", "cursor_line": 98, "target_nlines": 1, "node_depth": 8, "node_path": ["translation_unit", "function_definition", "compound_statement", "switch_statement", "compound_statement", "case_statement", "if_statement", "condition_clause", "declaration"], "target": "\t\t if(ConstantInt *cont=dyn_cast(opr)){\n"} {"file": "COMBA/src/LoopDepth.cpp", "target_type": "compound_statement", "cursor_line": 27, "target_nlines": 5, "node_depth": 7, "node_path": ["translation_unit", "function_definition", "compound_statement", "if_statement", "else_clause", "compound_statement", "for_statement", "compound_statement"], "target": "\t\t{\n\t\t\tint counter_tmp=0;\n\t\t\tLoop* sub_loop=subLoops.at(j);\n\t\t\tcounter_tmp = nested_loop_depth_for_loop(sub_loop);\n\t\t\tcounter=std::max(counter,counter_tmp);\n"} {"file": "COMBA/src/LoopLatency.cpp", "target_type": "compound_statement", "cursor_line": 461, "target_nlines": 3, "node_depth": 10, "node_path": ["translation_unit", "function_definition", "compound_statement", "if_statement", "else_clause", "compound_statement", "if_statement", "else_clause", "compound_statement", "for_statement", "compound_statement"], "target": "\t\t\t\t\t inst_reschedule_considered[iti]=1;\n\t\t\t\t }\n\t\t\t }\n"} {"file": "COMBA/src/PartitionFactor.cpp", "target_type": "declaration", "cursor_line": 26, "target_nlines": 1, "node_depth": 7, "node_path": ["translation_unit", "function_definition", "compound_statement", "if_statement", "compound_statement", "if_statement", "compound_statement", "declaration"], "target": "\t\t\tstd::vector< std::pair >::iterator it = array_partition[array_index].begin();\n"} {"file": "COMBA/src/Power.cpp", "target_type": "declaration", "cursor_line": 37, "target_nlines": 1, "node_depth": 4, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_statement", "declaration"], "target": "\tfor(int i=n;i>0;--i){\n"} {"file": "COMBA/src/SetPragma.cpp", "target_type": "if_statement", "cursor_line": 351, "target_nlines": 3, "node_depth": 5, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_statement", "compound_statement", "if_statement"], "target": " if(set_subFn==false){\n \terrs()<<\"Pipelining of subFun is not set correctly.\\n\";\n }\n"} {"file": "HLS_for_CNN/common/inc/AOCL_Utils.h", "target_type": "function_definition", "cursor_line": 110, "target_nlines": 3, "node_depth": 2, "node_path": ["translation_unit", "preproc_ifdef", "function_definition"], "target": "template\nclass scoped_ptr {\npublic:\n"} {"file": "HLS_for_CNN/common/inc/GL/gl.h", "target_type": "declaration", "cursor_line": 1452, "target_nlines": 1, "node_depth": 5, "node_path": ["translation_unit", "preproc_ifdef", "preproc_ifdef", "linkage_specification", "declaration_list", "declaration"], "target": "WINGDIAPI void APIENTRY glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);\r\n"} {"file": "HLS_for_CNN/common/inc/SDL/SDL_bits.h", "target_type": "if_statement", "cursor_line": 72, "target_nlines": 3, "node_depth": 9, "node_path": ["translation_unit", "preproc_ifdef", "preproc_ifdef", "linkage_specification", "declaration_list", "function_definition", "compound_statement", "preproc_if", "preproc_else", "if_statement"], "target": " if (x == 0) {\r\n return -1;\r\n }\r\n"} {"file": "HLS_for_CNN/common/inc/SDL/SDL_events.h", "target_type": "declaration", "cursor_line": 655, "target_nlines": 2, "node_depth": 5, "node_path": ["translation_unit", "preproc_ifdef", "preproc_ifdef", "linkage_specification", "declaration_list", "declaration"], "target": "extern DECLSPEC void SDLCALL SDL_SetEventFilter(SDL_EventFilter filter,\r\n void *userdata);\r\n"} {"file": "HLS_for_CNN/common/inc/SDL/SDL_pixels.h", "target_type": "declaration", "cursor_line": 298, "target_nlines": 1, "node_depth": 5, "node_path": ["translation_unit", "preproc_ifdef", "preproc_ifdef", "linkage_specification", "declaration_list", "declaration"], "target": "extern DECLSPEC const char* SDLCALL SDL_GetPixelFormatName(Uint32 format);\r\n"} {"file": "HLS_for_CNN/common/inc/SDL/SDL_platform.h", "target_type": "declaration", "cursor_line": 141, "target_nlines": 1, "node_depth": 5, "node_path": ["translation_unit", "preproc_ifdef", "preproc_ifdef", "linkage_specification", "declaration_list", "declaration"], "target": "extern DECLSPEC const char * SDLCALL SDL_GetPlatform (void);\r\n"} {"file": "HLS_for_CNN/common/inc/SDL/SDL_rwops.h", "target_type": "declaration", "cursor_line": 215, "target_nlines": 1, "node_depth": 5, "node_path": ["translation_unit", "preproc_ifdef", "preproc_ifdef", "linkage_specification", "declaration_list", "declaration"], "target": "extern DECLSPEC size_t SDLCALL SDL_WriteLE16(SDL_RWops * dst, Uint16 value);\r\n"} {"file": "HLS_for_CNN/common/inc/SDL/SDL_system.h", "target_type": "declaration", "cursor_line": 86, "target_nlines": 1, "node_depth": 6, "node_path": ["translation_unit", "preproc_ifdef", "preproc_ifdef", "linkage_specification", "declaration_list", "preproc_if", "declaration"], "target": "extern DECLSPEC int SDLCALL SDL_AndroidGetExternalStorageState();\r\n"} {"file": "HLS_for_CNN/common/inc/SDL/SDL_test_font.h", "target_type": "declaration", "cursor_line": 51, "target_nlines": 1, "node_depth": 5, "node_path": ["translation_unit", "preproc_ifdef", "preproc_ifdef", "linkage_specification", "declaration_list", "declaration"], "target": "int SDLTest_DrawString(SDL_Renderer * renderer, int x, int y, const char *s);\r\n"} {"file": "HLS_for_CNN/common/inc/SDL/SDL_touch.h", "target_type": "declaration", "cursor_line": 61, "target_nlines": 1, "node_depth": 5, "node_path": ["translation_unit", "preproc_ifdef", "preproc_ifdef", "linkage_specification", "declaration_list", "declaration"], "target": "extern DECLSPEC int SDLCALL SDL_GetNumTouchDevices(void);\r\n"} {"file": "HLS_for_CNN/common/inc/SDL/close_code.h", "target_type": "preproc_if", "cursor_line": 34, "target_nlines": 4, "node_depth": 1, "node_path": ["translation_unit", "preproc_if"], "target": "#pragma nopackwarning\r\n#endif\r\n#pragma pack(pop)\r\n#endif /* Compiler needs structure packing set */\r\n"} {"file": "2x2NTT/dilithium-256/hardware_code/address_encoder_decoder.h", "target_type": "declaration", "cursor_line": 27, "target_nlines": 1, "node_depth": 2, "node_path": ["translation_unit", "preproc_ifdef", "declaration"], "target": "unsigned resolve_address(enum MAPPING mapping, unsigned addr);\n"} {"file": "2x2NTT/falcon-1024/hardware_code/ntt2x2.h", "target_type": "declaration", "cursor_line": 12, "target_nlines": 1, "node_depth": 2, "node_path": ["translation_unit", "preproc_ifdef", "declaration"], "target": "void ntt2x2_fwdntt(bram *ram, enum OPERATION mode, enum MAPPING mapping);\n"} {"file": "2x2NTT/falcon-512/consts.h", "target_type": "declaration", "cursor_line": 8, "target_nlines": 1, "node_depth": 2, "node_path": ["translation_unit", "preproc_ifdef", "declaration"], "target": "extern const data_t MUL_RAM[FALCON_N];\n"} {"file": "2x2NTT/dilithium-256/hardware_code/ntt2x2_test.cpp", "target_type": "compound_statement", "cursor_line": 44, "target_nlines": 2, "node_depth": 2, "node_path": ["translation_unit", "function_definition", "compound_statement"], "target": " // Load data into BRAM, 4 coefficients per line\n reshape(&ram, r_gold);\n"} {"file": "2x2NTT/dilithium-256/hardware_code/util.cpp", "target_type": "declaration", "cursor_line": 48, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " data_t coeffs[4];\n"} {"file": "2x2NTT/dilithium-256/reference_code/ref_test_ntt_ntt2x2.cpp", "target_type": "declaration", "cursor_line": 76, "target_nlines": 1, "node_depth": 6, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_statement", "compound_statement", "for_statement", "declaration"], "target": " for (int i = 0; i < DILITHIUM_N; i++)\n"} {"file": "2x2NTT/falcon-1024/consts.cpp", "target_type": "declaration", "cursor_line": 60, "target_nlines": 3, "node_depth": 2, "node_path": ["translation_unit", "preproc_if", "declaration"], "target": " 3477, -5681, 142, -1105, -2844, 3438, -975, 4212, \n -3029, -5594, 4782, 5886, -4213, 504, 2302, -605, \n -421, -4080, 3602, 6068, -3600, 3263, 6077, -4624, \n"} {"file": "2x2NTT/falcon-1024/hardware_code/address_encoder_decoder.cpp", "target_type": "declaration", "cursor_line": 14, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " const unsigned f = FALCON_N >> 4;\n"} {"file": "2x2NTT/falcon-1024/hardware_code/ntt2x2_fwdntt.cpp", "target_type": "declaration", "cursor_line": 34, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " const data_t null[4] = {0};\n"} {"file": "2x2NTT/falcon-512/hardware_code/prototype_indices.cpp", "target_type": "declaration", "cursor_line": 14, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " const unsigned w_m1 = 2;\n"} {"file": "2x2NTT/falcon-512/reference_code/ref_ntt.cpp", "target_type": "declaration", "cursor_line": 11, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " data_t m, n;\n"} {"file": "High-Level-Synthesis-Flow-on-Zynq-using-Vivado-HLS/source/lab2/yuv_filter.prj/solution1/.autopilot/db/yuv_filter.pragma.1.c", "target_type": "declaration", "cursor_line": 61, "target_nlines": 1, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": " void _ssdm_op_SpecLoopName() __attribute__ ((nothrow));\n"} {"file": "High-Level-Synthesis-Flow-on-Zynq-using-Vivado-HLS/source/lab2/yuv_filter.prj/solution1/syn/systemc/yuv2rgb.h", "target_type": "declaration", "cursor_line": 220, "target_nlines": 1, "node_depth": 6, "node_path": ["translation_unit", "preproc_ifdef", "function_definition", "compound_statement", "function_definition", "compound_statement", "declaration"], "target": " void thread_grp_fu_537_p1();\n"} {"file": "High-Level-Synthesis-Flow-on-Zynq-using-Vivado-HLS/source/lab2/yuv_filter.prj/solution1/syn/systemc/yuv_filter.h", "target_type": "declaration", "cursor_line": 233, "target_nlines": 1, "node_depth": 6, "node_path": ["translation_unit", "preproc_ifdef", "function_definition", "compound_statement", "function_definition", "compound_statement", "declaration"], "target": " static const sc_lv<32> ap_const_lv32_E;\n"} {"file": "High-Level-Synthesis-Flow-on-Zynq-using-Vivado-HLS/source/lab4/fir.c", "target_type": "declaration", "cursor_line": 14, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " int i;\n"} {"file": "High-Level-Synthesis-Flow-on-Zynq-using-Vivado-HLS/source/lab4/fir.prj/solution1/sim/autowrap/testbench/fir_test.c_pre.c.line.c", "target_type": "declaration", "cursor_line": 312, "target_nlines": 3, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": " extern\n __attribute__((__format__ (gnu_printf, 1, 2))) __attribute__ ((__nonnull__ (1)))\n int __cdecl __mingw_printf(const char * __restrict__ , ... ) __attribute__ ((__nothrow__));\n"} {"file": "High-Level-Synthesis-Flow-on-Zynq-using-Vivado-HLS/source/lab4/fir.prj/solution1/sim/wrapc/apatb_fir.h", "target_type": "declaration", "cursor_line": 7, "target_nlines": 3, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "extern void AESL_WRAP_fir (\nshort* y,\nshort x);\n"} {"file": "High-Level-Synthesis-Flow-on-Zynq-using-Vivado-HLS/source/lab4/fir.prj/solution1/sim/wrapc_pc/AESL_pkg.h", "target_type": "compound_statement", "cursor_line": 100, "target_nlines": 4, "node_depth": 4, "node_path": ["translation_unit", "preproc_ifdef", "function_definition", "compound_statement", "compound_statement"], "target": "sc_lv<1> esl_icmp_ugt(const sc_lv& i0, const sc_lv& i1) {\n if (!i0.is_01() || !i1.is_01()) return sc_lv<1>();\n return (sc_biguint(i0) > sc_biguint(i1));\n}\n"} {"file": "High-Level-Synthesis-Flow-on-Zynq-using-Vivado-HLS/source/lab4/fir.prj/solution1/sim/wrapc_pc/fir.c_pre.c.tb.c", "target_type": "declaration", "cursor_line": 200, "target_nlines": 1, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": " int __cdecl strcoll(const char *_Str1,const char *_Str2);\n"} {"file": "High-Level-Synthesis-Flow-on-Zynq-using-Vivado-HLS/source/lab4/fir.prj/solution1/syn/systemc/fir_mul_mul_16s_1bkb.h", "target_type": "compound_statement", "cursor_line": 31, "target_nlines": 2, "node_depth": 3, "node_path": ["translation_unit", "preproc_ifdef", "compound_statement", "compound_statement"], "target": " ACMP_smul_ss_U.dout(dout);\n\n"} {"file": "High-Level-Synthesis-Flow-on-Zynq-using-Vivado-HLS/source/lab4/fir.prj/solution1/syn/systemc/fir_shift_reg.h", "target_type": "declaration", "cursor_line": 93, "target_nlines": 1, "node_depth": 4, "node_path": ["translation_unit", "preproc_ifdef", "function_definition", "compound_statement", "declaration"], "target": "static const unsigned DataWidth = 16;\n"} {"file": "High-Level-Synthesis-Flow-on-Zynq-using-Vivado-HLS/source/lab4/fir.prj/solution1/sim/autowrap/systemc/apatb_fir.cpp", "target_type": "compound_statement", "cursor_line": 231, "target_nlines": 2, "node_depth": 7, "node_path": ["translation_unit", "linkage_specification", "function_definition", "compound_statement", "if_statement", "compound_statement", "if_statement", "compound_statement"], "target": "\t\t\t\t\t\t\t\t\thls_map_index++;\n\t\t\t\t\t\t\t\t}\n"} {"file": "streamit-hls/dep/googletest/include/gtest/internal/gtest-port.h", "target_type": "compound_statement", "cursor_line": 2323, "target_nlines": 1, "node_depth": 14, "node_path": ["translation_unit", "ERROR", "preproc_if", "preproc_elif", "preproc_elif", "function_definition", "compound_statement", "function_definition", "compound_statement", "preproc_if", "preproc_ifdef", "preproc_else", "preproc_if", "function_definition", "compound_statement"], "target": "inline int IsATTY(int /* fd */) { return 0; }\n"} {"file": "streamit-hls/src/cputarget/channel_builder.h", "target_type": "function_definition", "cursor_line": 14, "target_nlines": 4, "node_depth": 1, "node_path": ["translation_unit", "function_definition"], "target": "namespace Frontend\n{\nclass WrappedLLVMContext;\n}\n"} {"file": "streamit-hls/src/hlstarget/project_generator.h", "target_type": "declaration", "cursor_line": 53, "target_nlines": 1, "node_depth": 5, "node_path": ["translation_unit", "function_definition", "compound_statement", "function_definition", "compound_statement", "declaration"], "target": " bool GenerateFilterFunctions();\n"} {"file": "streamit-hls/src/parser/ast.h", "target_type": "compound_statement", "cursor_line": 396, "target_nlines": 1, "node_depth": 4, "node_path": ["ERROR", "function_definition", "compound_statement", "function_definition", "compound_statement"], "target": " void SetPeekRateExpression(Expression* expr) { m_peek_rate_expr = expr; }\n"} {"file": "streamit-hls/src/parser/ast_printer.h", "target_type": "compound_statement", "cursor_line": 10, "target_nlines": 4, "node_depth": 2, "node_path": ["translation_unit", "function_definition", "compound_statement"], "target": " std::string ToString() const { return m_ss.str(); }\n\n void BeginBlock(const char* fmt, ...);\n void Write(const char* fmt, ...);\n"} {"file": "streamit-hls/src/parser/symbol_table.h", "target_type": "compound_statement", "cursor_line": 31, "target_nlines": 1, "node_depth": 2, "node_path": ["translation_unit", "function_definition", "compound_statement"], "target": " bool HasNameInLocalScope(const NameType& name) const { return m_map.find(name) != m_map.end(); }\n"} {"file": "streamit-hls/src/streamgraph/streamgraph_builder.h", "target_type": "declaration", "cursor_line": 59, "target_nlines": 1, "node_depth": 5, "node_path": ["translation_unit", "function_definition", "compound_statement", "function_definition", "compound_statement", "declaration"], "target": " void ExecuteMain();\n"} {"file": "streamit-hls/dep/googletest/src/gtest-printers.cc", "target_type": "declaration", "cursor_line": 88, "target_nlines": 1, "node_depth": 7, "node_path": ["translation_unit", "namespace_definition", "declaration_list", "namespace_definition", "declaration_list", "function_definition", "compound_statement", "declaration"], "target": " const size_t kChunkSize = 64;\n"} {"file": "streamit-hls/dep/googletest/src/gtest-test-part.cc", "target_type": "declaration", "cursor_line": 52, "target_nlines": 1, "node_depth": 5, "node_path": ["translation_unit", "namespace_definition", "declaration_list", "function_definition", "compound_statement", "declaration"], "target": " const char* const stack_trace = strstr(message, internal::kStackTraceMarker);\n"} {"file": "streamit-hls/src/hlstarget/test_bench_generator.cpp", "target_type": "declaration", "cursor_line": 40, "target_nlines": 1, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "EXPORT u32 test_bench_gen_output_buffer_pos;\n"} {"file": "streamit-hls/src/parser/ast_printer.cpp", "target_type": "declaration", "cursor_line": 50, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " va_list ap;\n"} {"file": "streamit-hls/src/streamgraph/streamgraph_function_builder.cpp", "target_type": "function_definition", "cursor_line": 19, "target_nlines": 1, "node_depth": 5, "node_path": ["translation_unit", "namespace_definition", "declaration_list", "struct_specifier", "field_declaration_list", "function_definition"], "target": " bool BuildPush(llvm::IRBuilder<>& builder, llvm::Value* value) override final { return false; }\n"} {"file": "kanagawa/compiler/cpp/circt_util.h", "target_type": "compound_statement", "cursor_line": 153, "target_nlines": 3, "node_depth": 3, "node_path": ["translation_unit", "ERROR", "function_definition", "compound_statement"], "target": " public:\n SparseConcat(circt::OpBuilder& opb, const mlir::Location& location, const size_t width);\n void Insert(const size_t offset, const mlir::Value value);\n"} {"file": "kanagawa/compiler/cpp/enumerate_function_instances.h", "target_type": "declaration", "cursor_line": 286, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " void GenerateCallTrace(std::ostream& str, const FunctionInstance& srcInst);\n"} {"file": "kanagawa/compiler/cpp/options.h", "target_type": "field_declaration", "cursor_line": 286, "target_nlines": 1, "node_depth": 7, "node_path": ["translation_unit", "preproc_ifdef", "linkage_specification", "declaration_list", "type_definition", "struct_specifier", "field_declaration_list", "field_declaration"], "target": " const char** _fileNames;\n"} {"file": "kanagawa/compiler/cpp/resource_usage.h", "target_type": "declaration", "cursor_line": 6, "target_nlines": 1, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "void WriteResourceUsage(const char* const fileName, const Program& program);\n"} {"file": "kanagawa/compiler/cpp/serialize_ir.h", "target_type": "declaration", "cursor_line": 6, "target_nlines": 1, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "void SerializeIRToJson(const Program& program, const std::string& fileName);"} {"file": "kanagawa/thirdparty/coremark/coremark.h", "target_type": "declaration", "cursor_line": 79, "target_nlines": 1, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "void * portable_malloc(ee_size_t size);\n"} {"file": "kanagawa/thirdparty/riscv-arch-test/riscv-test-env/v/riscv_test.h", "target_type": "preproc_ifdef", "cursor_line": 60, "target_nlines": 2, "node_depth": 2, "node_path": ["translation_unit", "preproc_ifdef", "preproc_ifdef"], "target": "\ntypedef struct\n"} {"file": "kanagawa/compiler/cpp/object_path.cpp", "target_type": "declaration", "cursor_line": 40, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " ObjectPath result(len);\n"} {"file": "kanagawa/compiler/cpp/path_report.cpp", "target_type": "compound_statement", "cursor_line": 113, "target_nlines": 4, "node_depth": 6, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_range_loop", "compound_statement", "for_range_loop", "compound_statement"], "target": " }\n\n ReportBuilderT::Tuple tuple = {};\n tuple[static_cast(PathLengthTupleElement::OperationLength)] = opLength;\n"} {"file": "kanagawa/compiler/cpp/platform.cpp", "target_type": "function_definition", "cursor_line": 164, "target_nlines": 2, "node_depth": 4, "node_path": ["translation_unit", "preproc_ifdef", "class_specifier", "field_declaration_list", "function_definition"], "target": "\n DeleteObject(_bitmap);\n"} {"file": "kanagawa/compiler/cpp/power_report.cpp", "target_type": "declaration", "cursor_line": 30, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " const size_t PathElementCount = static_cast(ClockGatingPathElement::Count);\n"} {"file": "kanagawa/thirdparty/riscv-arch-test/COPYING.CC", "target_type": "declaration", "cursor_line": 86, "target_nlines": 3, "node_depth": 1, "node_path": ["ERROR", "declaration"], "target": " closely related to copyright including, without limitation,\n performance, broadcast, sound recording, and Sui Generis Database\n Rights, without regard to how the rights are labeled or\n"} {"file": "hls_recurse/include/hls_recurse/complex.hpp", "target_type": "compound_statement", "cursor_line": 116, "target_nlines": 1, "node_depth": 7, "node_path": ["translation_unit", "preproc_ifdef", "preproc_if", "preproc_else", "struct_specifier", "field_declaration_list", "function_definition", "compound_statement"], "target": " { return im ; }\n"} {"file": "hls_recurse/include/hls_recurse/examples/fft_man.hpp", "target_type": "function_definition", "cursor_line": 13, "target_nlines": 4, "node_depth": 4, "node_path": ["translation_unit", "preproc_ifdef", "namespace_definition", "declaration_list", "function_definition"], "target": "void f2_fft_man(int log2n, const complex_t *pIn, complex_t *pOut)\n{\n man_fft(log2n, pIn, pOut);\n}\n"} {"file": "hls_recurse/include/hls_recurse/examples/strassen_indexed.hpp", "target_type": "declaration", "cursor_line": 242, "target_nlines": 1, "node_depth": 7, "node_path": ["translation_unit", "preproc_ifdef", "namespace_definition", "declaration_list", "template_declaration", "function_definition", "compound_statement", "declaration"], "target": " imatrix_t got=alloc_matrix(hFree, n);\n"} {"file": "hls_recurse/include/hls_recurse/examples/strassen_indexed_v2_man.hpp", "target_type": "compound_statement", "cursor_line": 24, "target_nlines": 3, "node_depth": 6, "node_path": ["translation_unit", "preproc_ifdef", "namespace_definition", "declaration_list", "template_declaration", "function_definition", "compound_statement"], "target": "{\n return harness_strassen_indexed_v2(strassen_indexed_v2);\n}\n"} {"file": "hls_recurse/include/hls_recurse/self_recursion_v2.hpp", "target_type": "compound_statement", "cursor_line": 44, "target_nlines": 5, "node_depth": 3, "node_path": ["translation_unit", "template_declaration", "function_definition", "compound_statement"], "target": "\t\t\t}\n\t\t}else{\n\t\t\tconst traits_t Traits = (traits_t)(InheritedTrait_SequenceEnd|InheritedTrait_ReturnPosition);\n\n s=body.template step<0,Traits,call_stack_t>(s, call_stack);\n"} {"file": "hls_recurse/include/hls_recurse/state_machine_perf/sequence_perf.hpp", "target_type": "compound_statement", "cursor_line": 37, "target_nlines": 1, "node_depth": 11, "node_path": ["translation_unit", "preproc_ifdef", "namespace_definition", "declaration_list", "function_definition", "compound_statement", "declaration", "init_declarator", "call_expression", "argument_list", "lambda_expression", "compound_statement"], "target": " [&](){ i=i^0x12345678ul; },\n"} {"file": "hls_recurse/src/core/state_machine_self_recursion_test.cpp", "target_type": "declaration", "cursor_line": 35, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " float s2=100.0;\n"} {"file": "hls_recurse/src/eval/vhls/ackerman/vhls_ackerman.cpp", "target_type": "function_definition", "cursor_line": 5, "target_nlines": 4, "node_depth": 1, "node_path": ["translation_unit", "function_definition"], "target": "uint32_t vhls_ackerman(uint32_t m, uint32_t n)\n{\n return f2_ackerman(m,n);\n}\n"} {"file": "hls_recurse/src/eval/vhls/fib/vhls_fib_test.cpp", "target_type": "declaration", "cursor_line": 9, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " uint32_t nRef=sizeof(aRef)/sizeof(aRef[0]);\n"} {"file": "hls_recurse/src/eval/vhls/sudoku/vhls_sudoku.cpp", "target_type": "compound_statement", "cursor_line": 12, "target_nlines": 3, "node_depth": 2, "node_path": ["translation_unit", "function_definition", "compound_statement"], "target": "{\n return test_sudoku(vhls_sudoku);\n};\n"} {"file": "hls_recurse/src/examples/sort_indexed_test.cpp", "target_type": "function_definition", "cursor_line": 9, "target_nlines": 5, "node_depth": 1, "node_path": ["translation_unit", "function_definition"], "target": " if(!test_sort_indexed(man_sort_indexed)){\n fprintf(stderr, \"SORT_INDEXED/manual failed.\\n\");\n }\n\n\n"} {"file": "hls_recurse/src/examples/sort_test.cpp", "target_type": "if_statement", "cursor_line": 9, "target_nlines": 3, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "if_statement"], "target": " if(!test_sort(man_sort)){\n fprintf(stderr, \"SORT/manual failed.\\n\");\n }\n"} {"file": "HLS-benchmarks/C-Slow/covariance/covariance.h", "target_type": "declaration", "cursor_line": 6, "target_nlines": 1, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "void covariance(inout_float_t data[1024], inout_float_t cov[1024]);\n"} {"file": "HLS-benchmarks/C-Slow/gramSchmidt/gramSchmidt.h", "target_type": "declaration", "cursor_line": 7, "target_nlines": 2, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "void gramSchmidt(inout_float_t a[1024], inout_float_t r[1024],\n inout_float_t q[1024]);\n"} {"file": "HLS-benchmarks/Inter-Block/los/los.h", "target_type": "declaration", "cursor_line": 10, "target_nlines": 2, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": " out_int_t results_2[1024], out_int_t results_3[1024],\n out_int_t results_4[1024], out_int_t results_5[1024],\n"} {"file": "HLS-benchmarks/StaticIslands/levmarq/levmarq.h", "target_type": "declaration", "cursor_line": 11, "target_nlines": 2, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "void levmarq(in_int_t ny, in_float_t dysq[N], in_float_t y[N], in_int_t npar,\n inout_float_t g[M], inout_float_t d[M], inout_float_t h[M][M]);\n"} {"file": "HLS-benchmarks/C-Slow/syr2k/syr2k.cpp", "target_type": "declaration", "cursor_line": 27, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " inout_float_t C[1024];\n"} {"file": "HLS-benchmarks/DSS/BNNKernel/src/inlined.cpp", "target_type": "function_definition", "cursor_line": 22, "target_nlines": 2, "node_depth": 1, "node_path": ["translation_unit", "function_definition"], "target": "\tif (i==99){\n\t\t for(k=0; k<100; k++){\n"} {"file": "HLS-benchmarks/DSS/gSum/src/gSum_tb.cpp", "target_type": "declaration", "cursor_line": 15, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " double A[1000], B[1000], accum = 0.0, res, k, i;\n"} {"file": "HLS-benchmarks/DSS/sparseMatrixPower/src/smm_tb.cpp", "target_type": "compound_statement", "cursor_line": 44, "target_nlines": 4, "node_depth": 5, "node_path": ["translation_unit", "function_definition", "compound_statement", "if_statement", "else_clause", "compound_statement"], "target": " else {\n std::cout << res << \"\\n\";\n return 1;\n }\n"} {"file": "HLS-benchmarks/Inter-Block/fft/fft.cpp", "target_type": "declaration", "cursor_line": 85, "target_nlines": 1, "node_depth": 6, "node_path": ["translation_unit", "function_definition", "compound_statement", "labeled_statement", "for_statement", "for_statement", "declaration"], "target": " for (int stage = 1; stage <= 8; stage++) {\n"} {"file": "HLS-benchmarks/PNAnalyser/levmarq/src/g2.cpp", "target_type": "function_definition", "cursor_line": 6, "target_nlines": 3, "node_depth": 1, "node_path": ["translation_unit", "function_definition"], "target": "\td = -0.76f*x;\n\tdout = (((((d+0.2f)*d+0.3f)*d+0.6f)*d+0.2f)*d+0.7f)*d+0.2f;\n\treturn y - 0.076f + 3.56f * dout*g*weight; \n"} {"file": "HLS-benchmarks/PNAnalyser/vecTrans/src/g.cpp", "target_type": "function_definition", "cursor_line": 3, "target_nlines": 4, "node_depth": 1, "node_path": ["translation_unit", "function_definition"], "target": "int g(int d){\n#pragma SS II=3\n\treturn (((((((d+112)*d+23)*d+36)*d+82)*d+127)*d+2)*d+20)*d+100;\n}\n"} {"file": "HLS-benchmarks/PNAnalyser/vecTrans3/src/vecTrans3_tb.cpp", "target_type": "declaration", "cursor_line": 13, "target_nlines": 1, "node_depth": 4, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_statement", "declaration"], "target": " for (int i = 0; i < 2000; i++){\n"} {"file": "benchmarks-HLS/LSP/Tri_Sp_Slv_test.c", "target_type": "declaration", "cursor_line": 19, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " int lb;\n"} {"file": "benchmarks-HLS/LSP/jacobi_2d_imper.c", "target_type": "for_statement", "cursor_line": 16, "target_nlines": 5, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_statement"], "target": " for (i = 100; i < _PB_N - 1; i++){\n for (j = 100; j < _PB_N - 1; j++)\n #pragma HLS PIPELINE\n A[i][j] = 0.2f * (A[i][j] + A[i][j-m] + A[i][m+j] + A[m+i][j] + A[i-m][j]);\n } \n"} {"file": "benchmarks-HLS/PLP/Tri_Sp_Slv_vivado.c", "target_type": "declaration", "cursor_line": 11, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " float t;\n"} {"file": "benchmarks-HLS/PLP/adi_int_test.c", "target_type": "if_statement", "cursor_line": 126, "target_nlines": 5, "node_depth": 11, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_statement", "compound_statement", "for_statement", "compound_statement", "for_statement", "compound_statement", "for_statement", "compound_statement", "if_statement"], "target": "\t if (u1[i][ky][kx] != u1_ref[i][ky][kx]) {\n\t check = check + 1;\n\t printf(\"u1[%d][%d][%d]: %e \\n\", i,ky,kx,u1[i][ky][kx]);\n\t printf(\"u1_ref[%d][%d][%d] : %e \\n\", i,ky,kx,u1_ref[i][ky][kx]);\n\t }\n"} {"file": "benchmarks-HLS/PLP/pivot_vivado.c", "target_type": "declaration", "cursor_line": 27, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": "float* A_flt = A;\n"} {"file": "benchmarks-HLS/PolyDLP/floyd_warshall.c", "target_type": "for_statement", "cursor_line": 10, "target_nlines": 4, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_statement"], "target": " for(i = 0; i < N; i++)\n for(j = 0; j < N; j++)\n#pragma HLS PIPELINE\n\tpath[i][j] = path[i][j] < path[i][k] + path[k][j] ? path[i][j] : path[i][k] + path[k][j];\n"} {"file": "benchmarks-HLS/Thesis/LSP/Tri_Sp_Slv_vivado.c", "target_type": "declaration", "cursor_line": 33, "target_nlines": 1, "node_depth": 8, "node_path": ["translation_unit", "function_definition", "compound_statement", "compound_statement", "if_statement", "compound_statement", "if_statement", "for_statement", "declaration"], "target": " for (int c1 = m + 1; c1 <= ub; c1 += 1)\n"} {"file": "benchmarks-HLS/Thesis/Orig/adi_int.c", "target_type": "compound_statement", "cursor_line": 29, "target_nlines": 3, "node_depth": 6, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_statement", "compound_statement", "for_statement", "compound_statement"], "target": " for ( ky=1 ; kyread(a + i) + 34;\n ram->write(b + i, val);\n }\n"} {"file": "ahaHLS/test/ll_files/cascade.cpp", "target_type": "declaration", "cursor_line": 259, "target_nlines": 1, "node_depth": 7, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_statement", "compound_statement", "for_statement", "compound_statement", "declaration"], "target": " int32_t _361 = _conv2_stencil.get(0, 0);\n"} {"file": "ahaHLS/test/ll_files/complex_num.cpp", "target_type": "function_definition", "cursor_line": 14, "target_nlines": 2, "node_depth": 1, "node_path": ["translation_unit", "function_definition"], "target": " complex a = ram->read(0);\n complex b = ram->read(1);\n"} {"file": "ahaHLS/test/ll_files/loop_add_4_6_iters.cpp", "target_type": "declaration", "cursor_line": 8, "target_nlines": 1, "node_depth": 5, "node_path": ["translation_unit", "function_definition", "compound_statement", "labeled_statement", "for_statement", "declaration"], "target": " loop: for (int i = 0; i < 6; i++) {\n"} {"file": "rosetta/BNN/cpp/accel/InputConv.h", "target_type": "declaration", "cursor_line": 8, "target_nlines": 5, "node_depth": 2, "node_path": ["translation_unit", "preproc_ifdef", "declaration"], "target": " const float* w_data,\n const float* k_data,\n const float* h_data,\n const float* data_i,\n Word* data_o,\n"} {"file": "rosetta/BNN/cpp/minizip/aes/entropy.c", "target_type": "declaration", "cursor_line": 20, "target_nlines": 1, "node_depth": 7, "node_path": ["translation_unit", "preproc_if", "linkage_specification", "declaration_list", "preproc_ifdef", "function_definition", "compound_statement", "declaration"], "target": " int result = 0;\n"} {"file": "rosetta/BNN/cpp/minizip/aes/pwd2key.c", "target_type": "declaration", "cursor_line": 54, "target_nlines": 1, "node_depth": 4, "node_path": ["translation_unit", "ERROR", "function_definition", "compound_statement", "declaration"], "target": " hmac_ctx c1[1], c2[1], c3[1];\n"} {"file": "rosetta/digit-recognition/src/host/testing_data.h", "target_type": "declaration", "cursor_line": 13, "target_nlines": 3, "node_depth": 2, "node_path": ["translation_unit", "preproc_ifdef", "declaration"], "target": "const DigitType testing_data[NUM_TEST * DIGIT_WIDTH] = {\n #include \"../../196data/test_set.dat\"\n};\n"} {"file": "rosetta/digit-recognition/src/sdsoc/digitrec.h", "target_type": "declaration", "cursor_line": 13, "target_nlines": 1, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "void DigitRec(WholeDigitType global_training_set[NUM_TRAINING / 2], WholeDigitType global_test_set[NUM_TEST], LabelType global_results[NUM_TEST], int run);\n"} {"file": "rosetta/face-detection/src/sw/haar_dataEWC_with_partitioning.h", "target_type": "declaration", "cursor_line": 4, "target_nlines": 2, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "static int weights_array1[2913] = {\n12288,12288,12288,12288,8192,8192,8192,8192,8192,12288,12288,12288,12288,12288,8192,12288,12288,12288,12288,8192,12288,12288,12288,12288,8192,12288,8192,8192,12288,8192,12288,12288,8192,8192,12288,8192,12288,8192,8192,12288,8192,8192,12288,12288,8192,12288,8192,8192,8192,8192,8192,12288,12288,12288,12288,12288,8192,8192,8192,12288,12288,8192,8192,12288,8192,12288,12288,8192,8192,8192,8192,12288,12288,12288,12288,8192,8192,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,8192,12288,8192,12288,8192,8192,8192,8192,8192,8192,12288,8192,8192,12288,12288,8192,8192,8192,8192,8192,12288,8192,8192,8192,12288,12288,12288,12288,12288,8192,8192,8192,8192,8192,8192,8192,12288,8192,8192,8192,12288,8192,8192,8192,8192,12288,12288,12288,12288,12288,8192,12288,8192,12288,12288,12288,8192,8192,8192,8192,8192,12288,12288,12288,8192,8192,12288,12288,8192,8192,12288,8192,8192,8192,12288,8192,12288,8192,12288,12288,12288,12288,12288,12288,12288,8192,8192,8192,12288,8192,8192,8192,8192,8192,8192,8192,12288,12288,8192,12288,8192,12288,8192,8192,8192,8192,12288,12288,8192,8192,12288,8192,8192,12288,12288,8192,8192,12288,12288,8192,8192,12288,12288,8192,8192,12288,12288,12288,8192,12288,8192,8192,8192,12288,12288,12288,8192,8192,12288,12288,8192,12288,12288,8192,12288,12288,12288,8192,8192,8192,8192,12288,12288,8192,8192,8192,12288,12288,8192,8192,8192,8192,8192,12288,12288,12288,12288,8192,8192,12288,8192,12288,12288,12288,8192,8192,8192,8192,12288,8192,12288,8192,8192,12288,12288,8192,12288,12288,12288,8192,12288,8192,8192,8192,8192,12288,12288,12288,12288,8192,8192,8192,12288,12288,8192,8192,8192,12288,8192,12288,12288,8192,12288,12288,12288,12288,12288,8192,8192,8192,8192,8192,12288,12288,12288,12288,12288,12288,12288,8192,8192,8192,8192,8192,12288,12288,12288,12288,12288,12288,8192,8192,8192,12288,8192,12288,12288,8192,12288,8192,8192,12288,12288,12288,12288,8192,12288,12288,12288,12288,12288,12288,8192,12288,8192,12288,8192,8192,8192,12288,12288,12288,8192,8192,8192,8192,8192,12288,12288,8192,8192,12288,12288,12288,12288,12288,8192,8192,8192,12288,8192,8192,8192,12288,12288,12288,12288,8192,12288,12288,12288,12288,12288,12288,12288,8192,12288,12288,12288,12288,12288,8192,12288,12288,12288,12288,8192,8192,12288,12288,12288,12288,12288,8192,12288,8192,8192,8192,8192,8192,12288,12288,12288,12288,8192,8192,12288,12288,12288,8192,12288,12288,12288,12288,8192,8192,12288,12288,8192,8192,12288,8192,12288,12288,12288,12288,8192,8192,8192,8192,12288,8192,12288,12288,8192,8192,8192,8192,8192,8192,8192,12288,8192,8192,8192,12288,8192,8192,12288,8192,12288,12288,12288,8192,12288,12288,8192,8192,12288,12288,12288,8192,12288,12288,8192,8192,12288,12288,12288,12288,8192,8192,8192,8192,12288,12288,12288,12288,8192,8192,12288,12288,12288,12288,12288,12288,12288,12288,8192,12288,12288,12288,8192,12288,12288,12288,12288,12288,12288,12288,8192,12288,12288,8192,8192,8192,8192,8192,8192,12288,12288,12288,8192,12288,8192,12288,12288,12288,12288,12288,8192,8192,8192,8192,12288,8192,8192,12288,12288,8192,12288,8192,8192,8192,12288,8192,8192,8192,12288,12288,12288,12288,8192,12288,12288,12288,12288,8192,8192,8192,8192,12288,12288,12288,12288,8192,12288,8192,8192,12288,12288,12288,12288,12288,12288,12288,12288,8192,12288,12288,8192,8192,12288,12288,8192,8192,12288,8192,8192,12288,12288,8192,12288,8192,8192,8192,8192,12288,12288,8192,8192,12288,8192,12288,8192,8192,12288,8192,12288,12288,12288,12288,12288,8192,12288,8192,8192,8192,8192,8192,8192,12288,8192,8192,8192,12288,8192,12288,12288,12288,8192,12288,8192,12288,12288,12288,12288,8192,12288,12288,12288,8192,12288,12288,12288,12288,12288,12288,8192,12288,12288,12288,8192,12288,12288,12288,8192,8192,8192,8192,8192,12288,8192,8192,12288,12288,8192,8192,8192,12288,12288,8192,8192,8192,8192,8192,8192,8192,12288,8192,12288,12288,12288,8192,8192,12288,12288,8192,8192,8192,12288,12288,8192,8192,8192,12288,8192,8192,8192,8192,12288,12288,8192,8192,12288,12288,8192,8192,8192,12288,8192,8192,8192,12288,8192,8192,12288,8192,8192,8192,8192,8192,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,8192,8192,8192,8192,8192,12288,8192,12288,12288,12288,8192,8192,8192,8192,8192,12288,12288,8192,8192,8192,12288,12288,8192,12288,12288,8192,8192,8192,12288,12288,12288,8192,12288,12288,8192,12288,8192,8192,8192,8192,12288,8192,8192,8192,8192,8192,12288,8192,12288,12288,12288,12288,12288,12288,8192,8192,12288,12288,12288,8192,12288,8192,8192,12288,8192,8192,12288,12288,8192,12288,8192,8192,12288,8192,12288,12288,8192,8192,8192,12288,8192,12288,12288,12288,12288,8192,8192,12288,12288,8192,12288,12288,8192,12288,8192,12288,12288,12288,12288,12288,12288,12288,12288,8192,8192,8192,12288,12288,12288,12288,8192,8192,8192,12288,12288,12288,8192,8192,12288,12288,8192,12288,8192,8192,8192,8192,8192,8192,12288,8192,12288,8192,12288,8192,8192,8192,12288,8192,8192,12288,12288,12288,12288,12288,8192,12288,12288,12288,12288,12288,12288,12288,12288,8192,8192,8192,12288,8192,8192,12288,8192,8192,12288,8192,12288,8192,8192,8192,8192,8192,12288,12288,8192,8192,8192,12288,8192,12288,12288,12288,12288,8192,12288,8192,8192,12288,12288,12288,12288,12288,12288,12288,12288,12288,8192,8192,12288,12288,12288,12288,8192,8192,12288,12288,12288,12288,8192,8192,8192,12288,8192,8192,8192,12288,8192,8192,8192,8192,8192,12288,8192,8192,8192,8192,8192,8192,8192,8192,12288,8192,8192,12288,8192,8192,8192,12288,12288,12288,8192,8192,12288,8192,8192,8192,8192,8192,12288,8192,12288,8192,12288,8192,8192,12288,12288,8192,8192,12288,12288,8192,8192,12288,12288,12288,12288,8192,8192,8192,12288,12288,8192,12288,12288,8192,8192,8192,12288,8192,8192,8192,12288,12288,8192,12288,12288,12288,8192,8192,8192,8192,8192,12288,12288,12288,12288,12288,8192,8192,12288,8192,8192,12288,12288,12288,12288,8192,12288,8192,8192,8192,12288,12288,8192,8192,8192,12288,12288,12288,8192,8192,8192,8192,12288,8192,12288,8192,12288,8192,12288,12288,8192,12288,12288,12288,12288,8192,12288,12288,12288,8192,8192,8192,8192,12288,8192,8192,8192,12288,8192,8192,8192,12288,8192,12288,12288,8192,8192,8192,12288,8192,8192,8192,8192,8192,8192,8192,12288,8192,12288,12288,8192,12288,12288,12288,12288,8192,12288,8192,8192,12288,12288,8192,8192,8192,8192,12288,12288,8192,8192,12288,12288,12288,8192,8192,8192,12288,8192,8192,8192,8192,8192,12288,8192,12288,12288,8192,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,8192,12288,12288,12288,12288,12288,8192,12288,12288,12288,12288,12288,12288,12288,12288,8192,8192,12288,12288,12288,12288,12288,8192,8192,8192,8192,8192,12288,12288,8192,12288,12288,8192,8192,12288,8192,8192,8192,12288,12288,12288,12288,12288,12288,8192,8192,8192,12288,8192,12288,12288,12288,12288,12288,8192,8192,8192,8192,12288,12288,12288,12288,12288,12288,12288,12288,8192,12288,12288,12288,12288,8192,8192,12288,8192,12288,8192,12288,8192,8192,8192,12288,8192,8192,12288,8192,8192,8192,8192,8192,12288,12288,12288,8192,12288,8192,8192,12288,8192,12288,12288,8192,12288,12288,12288,12288,8192,8192,8192,8192,8192,8192,12288,12288,12288,12288,8192,8192,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,8192,12288,8192,8192,8192,12288,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,12288,12288,12288,8192,12288,12288,8192,12288,12288,12288,8192,12288,12288,12288,12288,8192,8192,8192,8192,12288,8192,8192,12288,12288,12288,12288,8192,8192,8192,8192,8192,8192,12288,12288,8192,8192,12288,8192,12288,8192,12288,12288,12288,12288,8192,8192,8192,12288,8192,8192,12288,8192,12288,12288,12288,8192,12288,12288,12288,12288,8192,8192,8192,8192,8192,12288,12288,12288,8192,12288,12288,8192,8192,8192,8192,8192,12288,12288,12288,12288,8192,8192,8192,8192,8192,8192,12288,12288,12288,8192,8192,8192,12288,8192,12288,8192,12288,8192,8192,8192,8192,12288,8192,8192,8192,12288,8192,8192,8192,8192,8192,12288,8192,8192,8192,8192,8192,12288,8192,12288,12288,12288,12288,12288,12288,12288,12288,8192,8192,8192,8192,12288,12288,12288,12288,12288,12288,12288,12288,8192,12288,12288,8192,8192,12288,8192,12288,12288,12288,12288,8192,8192,8192,8192,12288,8192,12288,12288,8192,8192,8192,8192,8192,8192,8192,8192,8192,12288,12288,12288,8192,12288,8192,8192,8192,8192,8192,12288,8192,8192,8192,8192,8192,8192,8192,12288,12288,8192,8192,12288,12288,8192,12288,8192,8192,8192,8192,8192,12288,8192,8192,8192,8192,12288,8192,12288,8192,12288,8192,12288,12288,8192,8192,12288,12288,8192,12288,12288,8192,12288,12288,8192,12288,8192,12288,12288,8192,8192,12288,8192,12288,12288,8192,8192,12288,8192,8192,8192,8192,8192,8192,8192,8192,12288,8192,8192,8192,8192,12288,8192,8192,12288,12288,12288,12288,8192,8192,8192,8192,12288,8192,8192,8192,8192,12288,12288,12288,8192,8192,12288,12288,12288,8192,8192,8192,8192,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,8192,8192,12288,12288,8192,8192,12288,12288,12288,8192,12288,8192,12288,8192,8192,8192,8192,12288,8192,8192,8192,12288,12288,12288,12288,8192,8192,8192,12288,8192,12288,8192,12288,8192,8192,12288,12288,12288,8192,8192,8192,12288,12288,8192,8192,8192,8192,12288,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,12288,12288,12288,8192,8192,8192,8192,8192,8192,12288,12288,12288,8192,12288,8192,8192,8192,8192,12288,12288,8192,8192,8192,8192,12288,12288,8192,8192,8192,8192,8192,8192,8192,12288,12288,12288,12288,12288,8192,8192,12288,12288,12288,12288,12288,8192,12288,12288,8192,8192,8192,12288,12288,8192,12288,8192,12288,12288,12288,8192,8192,12288,12288,8192,8192,12288,8192,8192,8192,12288,12288,8192,8192,8192,12288,12288,12288,8192,8192,8192,12288,8192,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,8192,12288,8192,8192,12288,8192,12288,8192,12288,8192,8192,12288,8192,12288,8192,8192,8192,12288,8192,8192,8192,8192,12288,12288,12288,12288,8192,8192,8192,8192,8192,12288,12288,8192,12288,12288,8192,12288,8192,12288,8192,8192,8192,8192,12288,8192,8192,8192,12288,12288,12288,12288,8192,12288,8192,8192,12288,8192,8192,8192,8192,12288,8192,12288,12288,8192,12288,8192,8192,12288,8192,12288,8192,8192,12288,12288,12288,8192,12288,12288,12288,12288,8192,12288,12288,8192,12288,12288,12288,8192,8192,12288,8192,8192,8192,8192,12288,8192,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,8192,12288,12288,12288,12288,12288,8192,12288,12288,12288,8192,12288,12288,12288,12288,12288,8192,8192,8192,8192,8192,8192,8192,12288,8192,12288,12288,8192,8192,8192,8192,12288,12288,12288,12288,12288,8192,8192,8192,12288,12288,12288,12288,8192,8192,8192,12288,12288,12288,12288,12288,12288,12288,12288,12288,8192,12288,8192,8192,8192,8192,8192,12288,12288,8192,8192,8192,8192,8192,12288,12288,12288,12288,8192,12288,12288,8192,12288,8192,12288,12288,12288,12288,12288,8192,8192,8192,8192,12288,12288,8192,8192,12288,8192,8192,8192,12288,12288,12288,8192,8192,12288,8192,12288,8192,12288,8192,8192,12288,8192,12288,8192,12288,8192,12288,8192,8192,12288,12288,8192,8192,8192,8192,12288,12288,12288,12288,12288,8192,8192,8192,8192,12288,8192,12288,12288,8192,8192,12288,12288,8192,8192,8192,12288,8192,8192,12288,8192,8192,8192,12288,8192,12288,8192,12288,8192,12288,12288,8192,8192,12288,8192,8192,8192,8192,8192,12288,8192,12288,8192,12288,12288,12288,12288,12288,12288,12288,8192,12288,12288,8192,8192,12288,8192,8192,8192,8192,8192,8192,12288,8192,8192,12288,12288,12288,12288,12288,8192,8192,12288,8192,12288,12288,12288,8192,8192,12288,12288,12288,12288,12288,8192,8192,8192,8192,8192,8192,8192,8192,12288,8192,12288,8192,12288,8192,8192,8192,8192,8192,12288,12288,12288,12288,8192,8192,8192,8192,12288,8192,8192,8192,12288,12288,8192,12288,12288,8192,8192,8192,8192,8192,12288,8192,8192,8192,12288,8192,8192,8192,8192,12288,8192,12288,12288,12288,12288,12288,12288,12288,12288,12288,8192,12288,12288,12288,8192,8192,8192,12288,8192,12288,8192,8192,12288,12288,8192,8192,12288,12288,12288,8192,8192,8192,12288,12288,12288,12288,8192,12288,8192,8192,8192,12288,12288,12288,12288,12288,12288,8192,8192,8192,8192,12288,12288,8192,12288,12288,12288,8192,12288,12288,8192,8192,12288,12288,8192,12288,12288,12288,12288,8192,12288,12288,8192,8192,8192,8192,12288,12288,12288,12288,8192,12288,8192,12288,12288,8192,12288,8192,8192,8192,12288,12288,12288,12288,12288,12288,8192,8192,12288,12288,12288,8192,12288,12288,12288,12288,12288,12288,8192,8192,12288,12288,12288,8192,12288,12288,12288,12288,12288,12288,8192,8192,8192,8192,12288,8192,8192,8192,8192,8192,8192,8192,12288,8192,12288,8192,8192,12288,8192,12288,12288,12288,12288,12288,12288,12288,8192,8192,8192,8192,12288,12288,8192,8192,8192,8192,8192,8192,8192,12288,8192,8192,8192,12288,8192,12288,12288,12288,12288,8192,8192,12288,8192,8192,8192,8192,12288,12288,8192,8192,12288,8192,8192,8192,12288,12288,12288,12288,8192,8192,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,8192,8192,8192,8192,8192,8192,8192,12288,8192,8192,12288,12288,8192,12288,8192,8192,12288,12288,12288,12288,8192,8192,8192,12288,8192,12288,12288,12288,12288,8192,8192,8192,8192,8192,8192,12288,12288,8192,12288,8192,8192,8192,8192,8192,8192,12288,12288,12288,8192,12288,12288,8192,8192,8192,8192,8192,12288,8192,12288,8192,8192,8192,12288,12288,8192,8192,8192,8192,8192,8192,8192,8192,12288,12288,8192,8192,8192,12288,8192,12288,12288,12288,12288,8192,8192,8192,12288,8192,8192,12288,12288,12288,12288,12288,8192,8192,12288,12288,12288,8192,12288,12288,8192,8192,8192,12288,12288,12288,8192,12288,8192,8192,8192,12288,12288,12288,8192,8192,8192,8192,8192,8192,8192,12288,8192,12288,8192,8192,8192,12288,12288,8192,8192,12288,12288,8192,8192,8192,12288,8192,8192,12288,12288,8192,12288,8192,8192,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,8192,8192,8192,12288,8192,12288,8192,8192,8192,12288,8192,12288,12288,12288,12288,8192,8192,8192,8192,8192,12288,8192,12288,12288,8192,12288,8192,12288,12288,8192,8192,8192,8192,8192,12288,8192,8192,12288,8192,12288,8192,8192,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,8192,8192,12288,8192,8192,8192,12288,12288,8192,8192,8192,12288,8192,8192,12288,8192,8192,8192,12288,12288,12288,12288,12288,8192,12288,12288,8192,12288,8192,12288,8192,8192,8192,12288,8192,8192,12288,12288,12288,12288,12288,8192,8192,12288,12288,8192,8192,12288,12288,12288,12288,12288,12288,8192,8192,8192,8192,8192,8192,8192,8192,12288,8192,8192,8192,8192,12288,12288,8192,12288,8192,8192,12288,12288,12288,12288,8192,8192,8192,12288,12288,8192,12288,12288,8192,8192,8192,8192,12288,8192,12288,12288,12288,12288,12288,8192,8192,8192,12288,8192,8192,8192,12288,12288,12288,8192,8192,12288,8192,8192,8192,12288,8192,12288,8192,8192,8192,12288,8192,8192,8192,8192,8192,8192,12288,12288,8192,12288,12288,8192,12288,12288,12288,12288,12288,12288,12288,12288,8192,8192,12288,12288,12288,8192,8192,12288,12288,8192,8192,8192,12288,12288,8192,12288,8192,8192,12288,12288,8192,8192,12288,12288,8192,12288,8192,12288,8192,8192,12288,12288,12288,12288,12288,12288,12288,12288,8192,8192,8192,8192,8192,12288,12288,12288,8192,8192,12288,12288,8192,8192,12288,8192,8192,8192,12288,8192,8192,12288,12288,12288,12288,8192,8192,12288,8192,8192,12288,12288,12288,8192,12288,8192,12288,12288,12288,12288,12288,8192,8192,12288,8192,8192,8192,8192,8192,12288,12288,12288,8192,8192,8192,12288,8192,12288,8192,8192,8192,12288,12288,12288,12288,12288,8192,8192,8192,12288,8192,8192,8192,8192,8192,8192,8192,12288,12288,12288,12288,8192,12288,8192,12288,12288,8192,8192,8192,8192,8192,8192,8192,12288,8192,8192,8192,8192,8192,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,12288,8192,8192,8192,8192,8192,8192,12288,8192,12288,12288,12288,12288,12288,8192,12288,12288,12288,12288,8192,8192,12288,12288,12288,12288,8192,8192,12288,12288,12288,12288,12288,12288,12288,8192,12288,12288,12288,12288,8192,8192,12288,12288,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,12288,8192,8192,12288,12288,12288,8192,12288,8192,12288,8192,8192,8192,8192,8192,8192,8192,8192,8192,12288,12288,12288,12288,12288,12288,8192,12288,12288,12288,8192,8192,8192,8192,8192,8192,12288,8192,12288,8192,12288,12288,12288,12288,12288,12288,12288,8192,8192};\n"} {"file": "rosetta/spam-filter/src/sdsoc/sgd.h", "target_type": "declaration", "cursor_line": 19, "target_nlines": 5, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "void SgdLR( VectorDataType data[NUM_FEATURES * NUM_TRAINING / D_VECTOR_SIZE],\n VectorLabelType label[NUM_TRAINING / L_VECTOR_SIZE],\n VectorFeatureType theta[NUM_FEATURES / F_VECTOR_SIZE],\n bool readLabels,\n bool writeOutput);\n"} {"file": "rosetta/BNN/cpp/accel/AccelSchedule.cpp", "target_type": "declaration", "cursor_line": 40, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " const ap_uint<2> width_mode = width >> 4;\n"} {"file": "rosetta/digit-recognition/src/host/check_result.cpp", "target_type": "declaration", "cursor_line": 16, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " int correct_cnt = 0;\n"} {"file": "rosetta/face-detection/src/host/image.cpp", "target_type": "declaration", "cursor_line": 42, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " FILE *fp = fopen(fileName, \"w\");\n"} {"file": "rosetta/optical-flow/imageLib/ImageIO.cpp", "target_type": "compound_statement", "cursor_line": 237, "target_nlines": 2, "node_depth": 15, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_statement", "compound_statement", "if_statement", "else_clause", "compound_statement", "for_statement", "compound_statement", "if_statement", "else_clause", "if_statement", "else_clause", "if_statement", "compound_statement"], "target": " ptr[3] = 255; // full alpha;\n }\n"} {"file": "rosetta/optical-flow/imageLib/RefCntMem.cpp", "target_type": "if_statement", "cursor_line": 41, "target_nlines": 3, "node_depth": 7, "node_path": ["translation_unit", "function_definition", "compound_statement", "if_statement", "compound_statement", "if_statement", "compound_statement", "if_statement"], "target": " else\n delete (double *) m_ptr->m_memory;\n }\n"} {"file": "karuta/src/compiler/annotation_checker.h", "target_type": "function_definition", "cursor_line": 14, "target_nlines": 4, "node_depth": 2, "node_path": ["translation_unit", "preproc_ifdef", "function_definition"], "target": " static void CheckChannelDecl(vm::Insn *insn);\n static void CheckMailboxDecl(vm::Insn *insn);\n static void CheckVarDecl(vm::Insn *insn);\n};\n"} {"file": "karuta/src/synth/common.h", "target_type": "declaration", "cursor_line": 29, "target_nlines": 1, "node_depth": 4, "node_path": ["translation_unit", "preproc_ifdef", "function_definition", "compound_statement", "declaration"], "target": "class Insn;\n"} {"file": "karuta/src/synth/method_expander.h", "target_type": "declaration", "cursor_line": 35, "target_nlines": 2, "node_depth": 6, "node_path": ["translation_unit", "preproc_ifdef", "function_definition", "compound_statement", "function_definition", "compound_statement", "declaration"], "target": " void CopyDependingInsns(MethodContext *method,\n map &insn_map);\n"} {"file": "karuta/src/vm/register.h", "target_type": "declaration", "cursor_line": 47, "target_nlines": 1, "node_depth": 7, "node_path": ["translation_unit", "preproc_ifdef", "function_definition", "compound_statement", "function_definition", "compound_statement", "ERROR", "declaration"], "target": " RegisterType type_;\n"} {"file": "karuta/src/vm/tls_wrapper.h", "target_type": "function_definition", "cursor_line": 12, "target_nlines": 5, "node_depth": 4, "node_path": ["translation_unit", "preproc_ifdef", "function_definition", "compound_statement", "function_definition"], "target": "class TlsWrapper {\n public:\n static bool IsTls(Object *obj);\n static bool IsTlsValue(Value *value);\n static void InjectTlsWrapper(VM *vm, Value *value);\n"} {"file": "karuta/src/base/dump_stream.cpp", "target_type": "compound_statement", "cursor_line": 5, "target_nlines": 1, "node_depth": 2, "node_path": ["translation_unit", "function_definition", "compound_statement"], "target": "void DumpStream::push_indent() { indent_++; }\n"} {"file": "karuta/src/base/logging.cpp", "target_type": "declaration", "cursor_line": 39, "target_nlines": 1, "node_depth": 5, "node_path": ["translation_unit", "function_definition", "compound_statement", "if_statement", "compound_statement", "declaration"], "target": " string module;\n"} {"file": "karuta/src/synth/design_synth.cpp", "target_type": "declaration", "cursor_line": 113, "target_nlines": 1, "node_depth": 5, "node_path": ["translation_unit", "namespace_definition", "declaration_list", "function_definition", "compound_statement", "declaration"], "target": " ObjectSynth *osynth = new ObjectSynth(obj, this, is_root, name);\n"} {"file": "karuta/src/synth/method_synth.cpp", "target_type": "compound_statement", "cursor_line": 517, "target_nlines": 3, "node_depth": 6, "node_path": ["translation_unit", "namespace_definition", "declaration_list", "function_definition", "compound_statement", "for_statement", "compound_statement"], "target": " sw->state_->insns_.push_back(a);\n (*args)[i] = lhs;\n }\n"} {"file": "karuta/src/vm/executor/executor.cpp", "target_type": "switch_statement", "cursor_line": 63, "target_nlines": 5, "node_depth": 7, "node_path": ["translation_unit", "namespace_definition", "declaration_list", "namespace_definition", "declaration_list", "function_definition", "compound_statement", "switch_statement"], "target": " case OP_IF: {\n bool v = ExecIf();\n // do not increment pc.\n return v;\n }\n"} {"file": "karuta/src/vm/profile.cpp", "target_type": "compound_statement", "cursor_line": 26, "target_nlines": 1, "node_depth": 4, "node_path": ["translation_unit", "namespace_definition", "declaration_list", "function_definition", "compound_statement"], "target": "void Profile::SetEnable(bool enable) { enabled_ = enable; }\n"} {"file": "karuta/tests/lib_fp/fp16r_model.cpp", "target_type": "declaration", "cursor_line": 204, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " FP16 z;\n"} {"file": "utopia-hls/examples/opt_kuznechik/opt_kuznechik_decoder.h", "target_type": "declaration", "cursor_line": 104, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "ERROR", "compound_statement", "declaration"], "target": " DFVariable subst = tablePermut(value(127, 120), inv);\n"} {"file": "utopia-hls/src/model/dfcxx/include/dfcxx/kernel_meta.h", "target_type": "compound_statement", "cursor_line": 22, "target_nlines": 4, "node_depth": 3, "node_path": ["translation_unit", "preproc_ifdef", "function_definition", "compound_statement"], "target": " Graph graph;\n KernelStorage storage;\n TypeBuilder typeBuilder;\n VarBuilder varBuilder;\n"} {"file": "utopia-hls/src/model/dfcxx/include/dfcxx/types/type.h", "target_type": "declaration", "cursor_line": 18, "target_nlines": 1, "node_depth": 7, "node_path": ["translation_unit", "preproc_ifdef", "function_definition", "compound_statement", "function_definition", "compound_statement", "labeled_statement", "declaration"], "target": " virtual ~DFTypeImpl() = default;\n"} {"file": "utopia-hls/src/model/dfcxx/include/dfcxx/vars/constant.h", "target_type": "declaration", "cursor_line": 22, "target_nlines": 5, "node_depth": 7, "node_path": ["translation_unit", "preproc_ifdef", "function_definition", "compound_statement", "function_definition", "compound_statement", "labeled_statement", "declaration"], "target": " enum TypeKind : uint8_t {\n INT = 0,\n UINT,\n FLOAT\n };\n"} {"file": "utopia-hls/examples/addconst/addconst.cpp", "target_type": "declaration", "cursor_line": 14, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " AddConst *kernel = new AddConst();\n"} {"file": "utopia-hls/examples/opt_kuznechik/opt_kuznechik_encoder.cpp", "target_type": "declaration", "cursor_line": 14, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " OptKuznechikEncoder *kernel = new OptKuznechikEncoder();\n"} {"file": "utopia-hls/lib/CLI11/CLI/Split.hpp", "target_type": "declaration", "cursor_line": 80, "target_nlines": 1, "node_depth": 7, "node_path": ["translation_unit", "namespace_definition", "declaration_list", "namespace_definition", "declaration_list", "function_definition", "compound_statement", "declaration"], "target": " std::vector flags = split_names(str);\n"} {"file": "utopia-hls/lib/json/nlohmann/detail/meta/identity_tag.hpp", "target_type": "struct_specifier", "cursor_line": 8, "target_nlines": 1, "node_depth": 6, "node_path": ["translation_unit", "namespace_definition", "declaration_list", "namespace_definition", "declaration_list", "template_declaration", "struct_specifier"], "target": "template struct identity_tag {};\n"} {"file": "utopia-hls/lib/json/nlohmann/detail/output/binary_writer.hpp", "target_type": "declaration", "cursor_line": 806, "target_nlines": 1, "node_depth": 16, "node_path": ["translation_unit", "namespace_definition", "declaration_list", "namespace_definition", "declaration_list", "template_declaration", "class_specifier", "field_declaration_list", "function_definition", "compound_statement", "switch_statement", "compound_statement", "case_statement", "compound_statement", "if_statement", "compound_statement", "declaration"], "target": " std::vector bjdx = {'[', '{', 'S', 'H', 'T', 'F', 'N', 'Z'}; // excluded markers in bjdata optimized type\n"} {"file": "utopia-hls/src/model/dfcir/lib/dfcir/passes/DFCIRASAPSchedulerPass.cpp", "target_type": "declaration", "cursor_line": 87, "target_nlines": 1, "node_depth": 7, "node_path": ["translation_unit", "namespace_definition", "declaration_list", "class_specifier", "field_declaration_list", "function_definition", "compound_statement", "declaration"], "target": " auto [buffers, latency] = schedule(graph);\n"} {"file": "utopia-hls/src/model/dfcir/lib/dfcir/passes/DFCIRPipelineUtils.cpp", "target_type": "function_definition", "cursor_line": 16, "target_nlines": 4, "node_depth": 3, "node_path": ["translation_unit", "namespace_definition", "declaration_list", "function_definition"], "target": " while (foundConnect != connectionMap.end()) {\n curVal = foundConnect->second.getSrc();\n }\n\n"} {"file": "utopia-hls/test/examples/polynomial2/polynomial2_dfcxx.cpp", "target_type": "function_definition", "cursor_line": 46, "target_nlines": 4, "node_depth": 1, "node_path": ["translation_unit", "function_definition"], "target": " },\n {}\n );\n EXPECT_EQ(kernel.compile(config, nullDevicePath, dfcxx::ASAP), true);\n"} {"file": "LLVM-9.0-Learner-Tutorial/Implementations/HI_FunctionInstantiation/HI_FunctionInstantiation.h", "target_type": "declaration", "cursor_line": 61, "target_nlines": 4, "node_depth": 5, "node_path": ["translation_unit", "preproc_ifdef", "function_definition", "compound_statement", "labeled_statement", "declaration"], "target": " HI_FunctionInstantiation(const char *FuncInitiationLog_Name, const std::string _topFunctionName)\n : ModulePass(ID)\n {\n topFunctionName = _topFunctionName;\n"} {"file": "LLVM-9.0-Learner-Tutorial/Implementations/HI_MulOrderOpt/HI_MulOrderOpt.h", "target_type": "declaration", "cursor_line": 92, "target_nlines": 1, "node_depth": 2, "node_path": ["translation_unit", "preproc_ifdef", "declaration"], "target": " static char ID;\n"} {"file": "LLVM-9.0-Learner-Tutorial/Implementations/HI_PragmaTargetExtraction/ClockInfo.h", "target_type": "declaration", "cursor_line": 9, "target_nlines": 1, "node_depth": 2, "node_path": ["translation_unit", "preproc_ifdef", "declaration"], "target": "extern const float clockPeriod[100];\n"} {"file": "LLVM-9.0-Learner-Tutorial/Implementations/HI_SysExec/HI_SysExec.h", "target_type": "declaration", "cursor_line": 12, "target_nlines": 1, "node_depth": 2, "node_path": ["translation_unit", "preproc_ifdef", "declaration"], "target": "bool sysexec(const char *cmd);\n"} {"file": "LLVM-9.0-Learner-Tutorial/Tests/LLVM_exp13d_HI_LoopUnroll/ConfigParse.h", "target_type": "declaration", "cursor_line": 17, "target_nlines": 1, "node_depth": 2, "node_path": ["translation_unit", "preproc_ifdef", "declaration"], "target": "void parseArrayPartition(std::stringstream &iss);\n"} {"file": "LLVM-9.0-Learner-Tutorial/App/2dloop2darray_pl_indeploop/2dloop2darray_pl.cc", "target_type": "declaration", "cursor_line": 14, "target_nlines": 1, "node_depth": 6, "node_path": ["translation_unit", "function_definition", "compound_statement", "compound_statement", "for_statement", "for_statement", "declaration"], "target": " for (int i = 1; i < M + 1; i++)\n"} {"file": "LLVM-9.0-Learner-Tutorial/Implementations/HI_ArraySensitiveToLoopLevel/HI_ArraySensitiveToLoopLevel_FunctionEvaluation.cc", "target_type": "declaration", "cursor_line": 300, "target_nlines": 1, "node_depth": 7, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_range_loop", "compound_statement", "for_range_loop", "compound_statement", "declaration"], "target": " BasicBlock *tmp_block = &cur_block;\n"} {"file": "LLVM-9.0-Learner-Tutorial/Implementations/HI_MulOrderOpt/HI_MulOrderOpt.cc", "target_type": "declaration", "cursor_line": 164, "target_nlines": 1, "node_depth": 6, "node_path": ["translation_unit", "function_definition", "compound_statement", "if_statement", "compound_statement", "for_statement", "declaration"], "target": " for (int i = 0; i < real_MulI->getNumOperands(); i++)\n"} {"file": "LLVM-9.0-Learner-Tutorial/Implementations/HI_PragmaTargetExtraction/ClockInfo.cc", "target_type": "declaration", "cursor_line": 26, "target_nlines": 4, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": " 6, // 4\n 7, // 5\n 8, // 6\n 9, // 7\n"} {"file": "LLVM-9.0-Learner-Tutorial/Tests/LLVM_exp13b_HI_ReplaceSelectAccess/LLVM_exp13b_HI_ReplaceSelectAccess.cc", "target_type": "if_statement", "cursor_line": 8, "target_nlines": 5, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "if_statement"], "target": " if (argc < 4)\n {\n errs() << \"Usage: \" << argv[0] << \" \\n\";\n return 1;\n }\n"} {"file": "LLVM-9.0-Learner-Tutorial/Tests/LLVM_exp3_loop_info_extraction/LLVM_exp3_loop_info_extraction.cc", "target_type": "compound_statement", "cursor_line": 44, "target_nlines": 3, "node_depth": 2, "node_path": ["translation_unit", "function_definition", "compound_statement"], "target": " print_info(\"Enable IndVarSimplify Pass\");\n auto loopsimplifypass = createLoopSimplifyPass();\n PM.add(createLoopSimplifyPass());\n"} {"file": "LLVM-9.0-Learner-Tutorial/Tests/LLVM_exp5_SimpleTimingAnalysis/LLVM_exp5_SimpleTimingAnalysis.cc", "target_type": "compound_statement", "cursor_line": 113, "target_nlines": 2, "node_depth": 2, "node_path": ["translation_unit", "function_definition", "compound_statement"], "target": "\n auto hi_simpletimingevaluation =\n"} {"file": "hls-eval/hls_eval_data/chstone/df_propagateFloat64NaN/propagateFloat64NaN.h", "target_type": "declaration", "cursor_line": 6, "target_nlines": 1, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "float64 propagateFloat64NaN(float64 a, float64 b);"} {"file": "hls-eval/hls_eval_data/machsuite/bfs_bulk/bfs_bulk.h", "target_type": "declaration", "cursor_line": 45, "target_nlines": 3, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "void bfs(\n node_t nodes[N_NODES],\n edge_t edges[N_EDGES],\n"} {"file": "hls-eval/hls_eval_data/machsuite/fft_strided/fft_strided.h", "target_type": "declaration", "cursor_line": 9, "target_nlines": 5, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "void fft(\n double real[FFT_SIZE],\n double img[FFT_SIZE],\n double real_twid[FFT_SIZE / 2],\n double img_twid[FFT_SIZE / 2]);\n"} {"file": "hls-eval/hls_eval_data/machsuite/md_grid/md_grid.h", "target_type": "declaration", "cursor_line": 31, "target_nlines": 4, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "void md(\n int32_t n_points[blockSide][blockSide][blockSide],\n dvector_t force[blockSide][blockSide][blockSide][densityFactor],\n dvector_t position[blockSide][blockSide][blockSide][densityFactor]);\n"} {"file": "hls-eval/hls_eval_data/polybench/jacobi-2d/jacobi-2d.h", "target_type": "declaration", "cursor_line": 4, "target_nlines": 1, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "void kernel_jacobi_2d(double A[30][30], double B[30][30]);\n"} {"file": "hls-eval/hls_eval_data/rosetta/rendering_3d__pixel_in_triangle/pixel_in_triangle.h", "target_type": "declaration", "cursor_line": 17, "target_nlines": 1, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": "bit1 pixel_in_triangle(bit8 x, bit8 y, Triangle_2D triangle_2d);"} {"file": "hls-eval/hls_eval_data/flowgnn/fgnn_linear/linear_tb.cpp", "target_type": "declaration", "cursor_line": 4, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " FM_TYPE input[DIM_IN];\n"} {"file": "hls-eval/hls_eval_data/machsuite/nw_nw/nw_nw.cpp", "target_type": "compound_statement", "cursor_line": 27, "target_nlines": 3, "node_depth": 5, "node_path": ["translation_unit", "function_definition", "compound_statement", "labeled_statement", "for_statement", "compound_statement"], "target": " for (a_idx = 0; a_idx < (ALEN + 1); a_idx++) {\n M[a_idx] = a_idx * GAP_SCORE;\n }\n"} {"file": "hls-eval/hls_eval_data/machsuite/stencil_stencil3d/stencil_stencil3d.cpp", "target_type": "for_statement", "cursor_line": 38, "target_nlines": 4, "node_depth": 7, "node_path": ["translation_unit", "function_definition", "compound_statement", "labeled_statement", "for_statement", "compound_statement", "labeled_statement", "for_statement"], "target": " for (j = 1; j < col_size - 1; j++) {\n sol[INDX(row_size, col_size, 0, j, i)] =\n orig[INDX(row_size, col_size, 0, j, i)];\n sol[INDX(row_size, col_size, row_size - 1, j, i)] =\n"} {"file": "hls-eval/hls_eval_data/polybench/heat-3d/heat-3d.cpp", "target_type": "declaration", "cursor_line": 12, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " int t, i, j, k;\n"} {"file": "hls-eval/hls_eval_data/polybench/trisolv/trisolv_tb.cpp", "target_type": "declaration", "cursor_line": 41, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " double b[40];\n"} {"file": "hls-eval/hls_eval_data/rosetta/rendering_3d__clockwise_vertices/clockwise_vertices.cpp", "target_type": "declaration", "cursor_line": 5, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " bit8 tmp_x, tmp_y;\n"} {"file": "Shang/include/vtm/Utilities.h", "target_type": "function_definition", "cursor_line": 91, "target_nlines": 1, "node_depth": 2, "node_path": ["translation_unit", "preproc_ifdef", "function_definition"], "target": "inline X pair_first(std::pair P) { return P.first; }\n"} {"file": "Shang/testsuite/benchmark/ChStone/mips/imem.h", "target_type": "declaration", "cursor_line": 39, "target_nlines": 5, "node_depth": 1, "node_path": ["translation_unit", "declaration"], "target": " 0x27a50004,\t\t\t// [0x00400004] addiu $5, $29, 4 ; 176: addiu $a1 $sp 4 # argv\n 0x24a60004,\t\t\t// [0x00400008] addiu $6, $5, 4 ; 177: addiu $a2 $a1 4 # envp\n 0x00041080,\t\t\t// [0x0040000c] sll $2, $4, 2 ; 178: sll $v0 $a0 2\n 0x00c23021,\t\t\t// [0x00400010] addu $6, $6, $2 ; 179: addu $a2 $a2 $v0\n 0x0c100016,\t\t\t// [0x00400014] jal 0x00400058 [main] ; 180: jal main\n"} {"file": "Shang/testsuite/benchmark/ChStone/sha/include/sha.h", "target_type": "declaration", "cursor_line": 1136, "target_nlines": 1, "node_depth": 2, "node_path": ["translation_unit", "preproc_ifdef", "declaration"], "target": "const int in_i[VSIZE] = { 8192, 8192 };\n"} {"file": "Shang/testsuite/benchmark/DSPStone/adpcm/adpcm_c_nl/rawcaudio.c", "target_type": "if_statement", "cursor_line": 22, "target_nlines": 1, "node_depth": 4, "node_path": ["translation_unit", "compound_statement", "while_statement", "compound_statement", "if_statement"], "target": "\tif ( n == 0 ) break;\n"} {"file": "Shang/testsuite/benchmark/DSPStone/adpcm/is2_fix_adpcm/total_count/adpt_predict.c", "target_type": "declaration", "cursor_line": 27, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " register int SR1;\n"} {"file": "Shang/VFInfo.cpp", "target_type": "declaration", "cursor_line": 49, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " StateSlots SS;\n"} {"file": "Shang/lib/BitLevelOpt/LogicSynthesis/LogicSynthesis.cpp", "target_type": "declaration", "cursor_line": 199, "target_nlines": 1, "node_depth": 11, "node_path": ["translation_unit", "namespace_definition", "declaration_list", "struct_specifier", "field_declaration_list", "function_definition", "compound_statement", "if_statement", "compound_statement", "if_statement", "compound_statement", "declaration"], "target": " MachineInstr *DefMI = MRI.getVRegDef(MO.getReg());\n"} {"file": "Shang/lib/Scripting/VerilogAST.cpp", "target_type": "declaration", "cursor_line": 63, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " unsigned int uselength = (bitwidth/4) + (((bitwidth&0x3) == 0) ? 0 : 1);\n"} {"file": "Shang/testsuite/SimpleTest/op_lsr.cpp", "target_type": "for_statement", "cursor_line": 18, "target_nlines": 2, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_statement"], "target": " for(i = 0; i < 16; ++i)\n printf(\"result:%d\\n\", op_lsr(rand(), rand()));\n"} {"file": "Shang/testsuite/benchmark/ChStone/blowfish/blowfish_main.cpp", "target_type": "declaration", "cursor_line": 960, "target_nlines": 1, "node_depth": 6, "node_path": ["translation_unit", "preproc_ifdef", "linkage_specification", "declaration_list", "function_definition", "compound_statement", "declaration"], "target": " BF_LONG ti[2];\n"} {"file": "Shang/testsuite/benchmark/ChStone/dfadd/addFloat64Sigs.cpp", "target_type": "declaration", "cursor_line": 233, "target_nlines": 1, "node_depth": 4, "node_path": ["translation_unit", "ERROR", "function_definition", "compound_statement", "declaration"], "target": " int main_result;\n"} {"file": "Shang/tools/sync/sync.cpp", "target_type": "declaration", "cursor_line": 91, "target_nlines": 1, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "declaration"], "target": " PrettyStackTraceProgram X(argc, argv);\n"} {"file": "svm_hls_on_zynq/cascadeHLS/solution1/syn/systemc/svm_classifier_getTanh_cosh_lut_V.h", "target_type": "compound_statement", "cursor_line": 93, "target_nlines": 3, "node_depth": 5, "node_path": ["translation_unit", "preproc_ifdef", "function_definition", "compound_statement", "function_definition", "compound_statement"], "target": "meminst->reset(reset);\nmeminst->clk(clk);\n}\n"} {"file": "svm_hls_on_zynq/dualCoreFullPack/HLS/svm_classifier_prj/solution1/syn/systemc/svm_classifier_mul_14s_13s_27_1.h", "target_type": "compound_statement", "cursor_line": 28, "target_nlines": 5, "node_depth": 2, "node_path": ["translation_unit", "preproc_ifdef", "compound_statement"], "target": " SC_CTOR(svm_classifier_mul_14s_13s_27_1): ACMP_smul_ss_U (\"ACMP_smul_ss_U\") {\n ACMP_smul_ss_U.din0(din0);\n ACMP_smul_ss_U.din1(din1);\n ACMP_smul_ss_U.dout(dout);\n\n"} {"file": "svm_hls_on_zynq/dualCoreFullPack/VIVADO_SDK/vivado_prj.sdk/svm0_bsp/ps7_cortexa9_0/include/xuartps_hw.h", "target_type": "declaration", "cursor_line": 440, "target_nlines": 1, "node_depth": 5, "node_path": ["translation_unit", "preproc_ifdef", "preproc_ifdef", "linkage_specification", "declaration_list", "declaration"], "target": "void XUartPs_ResetHw(u32 BaseAddress);\n"} {"file": "svm_hls_on_zynq/dualCoreFullPack/VIVADO_SDK/vivado_prj.sdk/svm0_bsp/ps7_cortexa9_0/libsrc/standalone_v5_5/src/_open.c", "target_type": "declaration", "cursor_line": 38, "target_nlines": 1, "node_depth": 5, "node_path": ["translation_unit", "preproc_ifdef", "preproc_ifdef", "linkage_specification", "declaration_list", "declaration"], "target": "\t__attribute__((weak)) s32 _open(const char8 *buf, s32 flags, s32 mode);\n"} {"file": "svm_hls_on_zynq/dualCoreFullPack/VIVADO_SDK/vivado_prj.sdk/svm1/src/main.c", "target_type": "if_statement", "cursor_line": 163, "target_nlines": 5, "node_depth": 3, "node_path": ["translation_unit", "function_definition", "compound_statement", "if_statement"], "target": " \t \t \t printf(\"Core 1 HW: \\n\");\n \t \t \t printf(\"Core 1 time test start: %llu \\n\", start_time);\n \t \t \t printf(\"Core 1 time test end : %llu \\n\", end_time);\n \t \t \t */\n \t \t \t t = end_time-start_time-dt;\n"} {"file": "svm_hls_on_zynq/dualCoreFullPack/VIVADO_SDK/vivado_prj.sdk/svm1_bsp/ps7_cortexa9_1/libsrc/standalone_v5_5/src/xil_exception.c", "target_type": "compound_statement", "cursor_line": 248, "target_nlines": 2, "node_depth": 6, "node_path": ["translation_unit", "function_definition", "compound_statement", "preproc_ifdef", "preproc_elif", "preproc_else", "compound_statement"], "target": "\t\t{ volatile register u32 Reg __asm(XREG_CP15_INST_FAULT_STATUS);\n\t FaultStatus = Reg; }\n"} {"file": "svm_hls_on_zynq/dualCoreFullPack/VIVADO_SDK/vivado_prj.sdk/svm1_bsp/ps7_cortexa9_1/libsrc/standalone_v5_5/src/xtime_l.h", "target_type": "declaration", "cursor_line": 82, "target_nlines": 1, "node_depth": 5, "node_path": ["translation_unit", "preproc_ifdef", "preproc_ifdef", "linkage_specification", "declaration_list", "declaration"], "target": "void XTime_SetTime(XTime Xtime_Global);\n"} {"file": "svm_hls_on_zynq/singleCoreFullPack/VIVADO_SDK/project_5_dataflow.sdk/design_1_wrapper_hw_platform_1/ps7_init_gpl.c", "target_type": "function_definition", "cursor_line": 12638, "target_nlines": 5, "node_depth": 1, "node_path": ["translation_unit", "function_definition"], "target": " finish = PS7_INIT_CORRUPT;\n break;\n }\n }\n return finish;\n"} {"file": "svm_hls_on_zynq/singleCoreFullPack/VIVADO_SDK/project_5_dataflow.sdk/test_dataflow_bsp/ps7_cortexa9_0/include/xil_mmu.h", "target_type": "declaration", "cursor_line": 95, "target_nlines": 1, "node_depth": 5, "node_path": ["translation_unit", "preproc_ifdef", "preproc_ifdef", "linkage_specification", "declaration_list", "declaration"], "target": "void Xil_SetTlbAttributes(INTPTR Addr, u32 attrib);\n"} {"file": "svm_hls_on_zynq/singleCoreFullPack/VIVADO_SDK/project_5_dataflow.sdk/test_dataflow_bsp/ps7_cortexa9_0/libsrc/dmaps_v2_1/src/xdmaps_sinit.c", "target_type": "compound_statement", "cursor_line": 95, "target_nlines": 5, "node_depth": 4, "node_path": ["translation_unit", "function_definition", "compound_statement", "for_statement", "compound_statement"], "target": "\tfor (i = 0; i < XPAR_XDMAPS_NUM_INSTANCES; i++) {\n\t\tif (XDmaPs_ConfigTable[i].DeviceId == DeviceId) {\n\t\t\tCfgPtr = &XDmaPs_ConfigTable[i];\n\t\t\tbreak;\n\t\t}\n"} {"file": "svm_hls_on_zynq/cascadeHLS/solution1/syn/systemc/svm_classifier_svm_classifier_process_3.cpp", "target_type": "compound_statement", "cursor_line": 2621, "target_nlines": 3, "node_depth": 4, "node_path": ["translation_unit", "namespace_definition", "declaration_list", "function_definition", "compound_statement"], "target": "void svm_classifier_svm_classifier_process::thread_tmp209_fu_9030_p2() {\n tmp209_fu_9030_p2 = (!tmp_315_reg_14534.read().is_01() || !tmp_314_reg_14529.read().is_01())? sc_lv<15>(): (sc_biguint<15>(tmp_315_reg_14534.read()) + sc_biguint<15>(tmp_314_reg_14529.read()));\n}\n"} {"file": "svm_hls_on_zynq/dualCoreFullPack/HLS/svm_classifier_prj/solution1/.autopilot/db/cordic_sinh_cosh.pragma.2.cpp", "target_type": "declaration", "cursor_line": 29671, "target_nlines": 1, "node_depth": 4, "node_path": ["translation_unit", "template_declaration", "function_definition", "compound_statement", "declaration"], "target": "template inline __attribute__((always_inline)) ap_int_base< _AP_W + 8, false > operator, (const ap_int_base<_AP_W, _AP_S> &op1, signed char op2) { ap_int_base<8 + _AP_W, false> val(op2); ap_int_base<8 + _AP_W, false> ret(op1); ret <<= 8; if (true) { val <<= _AP_W; val >>= _AP_W; } ret |= val; return ret;} template inline __attribute__((always_inline)) ap_int_base< _AP_W + 8, false > operator, (signed char op1, const ap_int_base<_AP_W, _AP_S>& op2) { ap_int_base<8 + _AP_W, false> val(op1); ap_int_base<8 + _AP_W, false> ret(op2); if (_AP_S) { ret <<= 8; ret >>= 8; } ret |= val << _AP_W; return ret; } template inline __attribute__((always_inline)) ap_int_base< _AP_W + 8, false > operator, (const ap_range_ref<_AP_W, _AP_S> &op1, signed char op2) { ap_int_base<8 + _AP_W, false> val(op2); ap_int_base<8 + _AP_W, false> ret(op1); ret <<= 8; if (true) { val <<= _AP_W; val >>= _AP_W; } ret |= val; return ret; } template inline __attribute__((always_inline)) ap_int_base< _AP_W + 8, false > operator, (signed char op1, const ap_range_ref<_AP_W, _AP_S> &op2) { ap_int_base<8 + _AP_W, false> val(op1); ap_int_base<8 + _AP_W, false> ret(op2); int len = op2.length(); val <<= len; ret |= val; return ret; } template inline __attribute__((always_inline)) ap_int_base<8 + 1, false > operator, (const ap_bit_ref<_AP_W, _AP_S> &op1, signed char op2) { ap_int_base<8 + 1, false> val(op2); val[8] = op1; return val; } template inline __attribute__((always_inline)) ap_int_base<8 + 1, false > operator, (signed char op1, const ap_bit_ref<_AP_W, _AP_S> &op2) { ap_int_base<8 + 1, false> val(op1); val <<= 1; val[0] = op2; return val; } template inline __attribute__((always_inline)) ap_int_base<_AP_W + _AP_W2 + 8, false > operator, (const ap_concat_ref<_AP_W, _AP_T, _AP_W2, _AP_T2> &op1, signed char op2) { ap_int_base<8 + _AP_W + _AP_W2, true> val(op2); ap_int_base<8 + _AP_W + _AP_W2, true> ret(op1); if (true) { val <<= _AP_W + _AP_W2; val >>= _AP_W + _AP_W2; } ret <<= 8; ret |= val; return ret; }template inline __attribute__((always_inline)) ap_int_base<_AP_W + _AP_W2 + 8, false > operator, (signed char op1, const ap_concat_ref<_AP_W, _AP_T, _AP_W2, _AP_T2> &op2) { ap_int_base<8 + _AP_W + _AP_W2, true> val(op1); ap_int_base<8 + _AP_W + _AP_W2, true> ret(op2); int len = op2.length(); val <<= len; ret |= val; return ret; }template inline __attribute__((always_inline)) ap_int_base< _AP_W + 8, false > operator, (const af_range_ref<_AP_W, _AP_I, _AP_S, _AP_Q, _AP_O, _AP_N> &op1, signed char op2) { ap_int_base<8 + _AP_W, false> val(op2); ap_int_base<8 + _AP_W, false> ret(op1); if (true) { val <<= _AP_W; val >>= _AP_W; } ret <<= 8; ret |= val; return ret; } template inline __attribute__((always_inline)) ap_int_base< _AP_W + 8, false > operator, (signed char op1, const af_range_ref<_AP_W, _AP_I, _AP_S, _AP_Q, _AP_O, _AP_N> &op2) { ap_int_base<8 + _AP_W, false> val(op1); ap_int_base<8 + _AP_W, false> ret(op2); int len = op2.length(); val <<= len; ret |= val; return ret; } template inline __attribute__((always_inline)) ap_int_base< 1 + 8, false> operator, (const af_bit_ref<_AP_W, _AP_I, _AP_S, _AP_Q, _AP_O, _AP_N> &op1, signed char op2) { ap_int_base<8 + 1, true> val(op2); val[8] = op1; return val; } template inline __attribute__((always_inline)) ap_int_base< 1 + 8, false> operator, (signed char op1, const af_bit_ref<_AP_W, _AP_I, _AP_S, _AP_Q, _AP_O, _AP_N> &op2) { ap_int_base<8 + 1, true> val(op1); val <<= 1; val[0] = op2; return val; }\n"}