path
stringlengths
12
169
func_def
stringlengths
15
23.2k
func_head
stringlengths
7
435
func_head_types
stringlengths
7
477
fname
stringlengths
1
71
signature
listlengths
2
43
asm
dict
synth_deps
stringclasses
254 values
real_deps
stringlengths
5
561
synth_io_pairs
dict
real_io_pairs
dict
synth_exe_wrapper
stringclasses
704 values
real_exe_wrapper
stringlengths
1.23k
6.64k
ref
stringclasses
220 values
synth_iospec
stringclasses
1 value
real_iospec
stringlengths
262
1.6k
SaberMod/GCC_SaberMod/gcc/testsuite/gcc.target/arm/vnmul-4.c
float foo_s (float a, float b) { return -(a * b); }
float foo_s(floata, floatb)
float foo_s (float a, float b)
foo_s
[ "float", "float", "float" ]
{ "code": [ ".globl foo_s\n.type foo_s, @function\nfoo_s:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovss\t%xmm0, -4(%rbp)\n\tmovss\t%xmm1, -8(%rbp)\n\tmovss\t-4(%rbp), %xmm0\n\tmulss\t-8(%rbp), %xmm0\n\tmo...
null
# 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "19.5378280623", ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_54nbp3lrks.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
4.9.4
null
{"livein": ["a", "b"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "foo_s", "funargs": ["a", "b"], "typemap": {"a": "float32", "b": "float32", "returnv": "float32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_54nbp3lrks.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []...
kadoma/fms/lib/libdict/myconf.c
int _tc_dummyfunc(void){ return 0; }
int _tc_dummyfunc()
int _tc_dummyfunc(void)
_tc_dummyfunc
[ "int", "" ]
{ "code": [ ".globl _tc_dummyfunc\n.type _tc_dummyfunc, @function\n_tc_dummyfunc:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t$0, %eax\n\tpopq\t%rbp\n\t.cfi_def_cfa 7, 8\n\tret\n\t.cfi_endproc\n\n", ...
null
#include <zlib.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [], "var": [] }, { ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_59of1efnrw.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": [], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "_tc_dummyfunc", "funargs": [], "typemap": {"returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_59of1efnrw.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
al1enSuu/Cactus-Macho-Packer/compress_huffman.c
int getSecondSmallestNode(int *data, int *keys) { int first = 0; for (int i = 0; i < 16; i++) { if (first) { return i; } if (data[i] != 0) { first = 1; } } return -1; }
int getSecondSmallestNode(int *data, int *keys)
int getSecondSmallestNode(int *data, int *keys)
getSecondSmallestNode
[ "int", "int *", "int *" ]
{ "code": [ ".globl getSecondSmallestNode\n.type getSecondSmallestNode, @function\ngetSecondSmallestNode:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovq\t%rsi, -32(%rbp)\n\tmovl\t$0...
null
#include <stdio.h> #include <string.h> #include <stdlib.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "[79, 34, 82, 114, 42, ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_35j5xy62_4.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["data", "keys"], "liveout": ["data", "keys"], "returnvarname": ["returnv"], "execcmd": "", "funname": "getSecondSmallestNode", "funargs": ["data", "keys"], "typemap": {"data": "array(int32#32)", "keys": "array(int32#32)", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_35j5xy62_4.c"]...
4ment/physher/src/phyc/utils.c
double rmax( double a, double b){ return ( a > b ? a : b); }
double rmax(doublea, doubleb)
double rmax( double a, double b)
rmax
[ "double", "double", "double" ]
{ "code": [ ".globl rmax\n.type rmax, @function\nrmax:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovsd\t%xmm0, -8(%rbp)\n\tmovsd\t%xmm1, -16(%rbp)\n\tmovsd\t-8(%rbp), %xmm0\n\tcomisd\t-16(%rbp), %xmm0\n\tjb...
null
#include <assert.h> #include <string.h> #include <strings.h> #include <stdlib.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "56.7810272938", ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_48ub8t74yk.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["a", "b"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "rmax", "funargs": ["a", "b"], "typemap": {"a": "float64", "b": "float64", "returnv": "float64"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_48ub8t74yk.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
wasabiz/xv6/usr/minesweeper.c
unsigned int xor128(void) { static unsigned int x = 123456789; static unsigned int y = 362436069; static unsigned int z = 521288629; static unsigned int w = 88675123; unsigned int t; t = x ^ (x << 11); x = y; y = z; z = w; return w = (w ^ (w >> 19)) ^ (t ^ (t >> 8)); }
unsigned int xor128()
unsigned int xor128(void)
xor128
[ "unsigned int", "" ]
{ "code": [ ".globl xor128\n.type xor128, @function\nxor128:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\tx.2833(%rip), %eax\n\tsall\t$11, %eax\n\tmovl\t%eax, %edx\n\tmovl\tx.2833(%rip), %eax\n\txorl\t%e...
null
#include <stdio.h> #include <stdlib.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [], "var": [] }, { ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_44c3dqds95.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": [], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "xor128", "funargs": [], "typemap": {"returnv": "uint32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_44c3dqds95.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
zrk571/libobdii/src/various.c
int msb_to_lsb(unsigned int num, unsigned int numBits) { unsigned int reversedNum; unsigned int mask = 0; mask = (0x1 << (numBits/2)) - 1; if (numBits == 1){ return num; } reversedNum = msb_to_lsb(num >> numBits/2, numBits/2) | msb_to_lsb((num & mask), numBits/2) << numBits/2; ret...
int msb_to_lsb(unsigned intnum, unsigned intnumBits)
int msb_to_lsb(unsigned int num, unsigned int numBits)
msb_to_lsb
[ "int", "unsigned int", "unsigned int" ]
{ "code": [ ".globl msb_to_lsb\n.type msb_to_lsb, @function\nmsb_to_lsb:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tpushq\t%rbx\n\tsubq\t$40, %rsp\n\t.cfi_offset 3, -24\n\tmovl\t%edi, -36(%rbp)\n\tmovl\t%esi...
null
# 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "222", "627" ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_3219dmbhxa.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["num", "numBits"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "msb_to_lsb", "funargs": ["num", "numBits"], "typemap": {"num": "uint32", "numBits": "uint32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_3219dmbhxa.c"], "classmap": {}, "range": {}, "needs...
r3dlex/teachalot/Lectures/Algoritmos/Code/E01/soma.c
int funcaoX(int n) { int a = 0; for (int i = 1; i <= n; ++i) { a += i; } return a; }
int funcaoX(intn)
int funcaoX(int n)
funcaoX
[ "int", "int" ]
{ "code": [ ".globl funcaoX\n.type funcaoX, @function\nfuncaoX:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -20(%rbp)\n\tmovl\t$0, -8(%rbp)\n\tmovl\t$1, -4(%rbp)\n\tjmp\t.L2\n.L3:\n\tmovl\t-4(%rbp...
null
#include <stdio.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "98" ], "va...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_46w3p2lc2c.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["n"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "funcaoX", "funargs": ["n"], "typemap": {"n": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_46w3p2lc2c.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
AeanSR/ancc/anutl.c
int is_simple_escape( char c ) { return c == '\'' || c == '"' || c == '?' || c == '\\' || c == 'a' || c == 'b' || c == 'f' || c == 'n' || c == 'r' || c == 't' || c == 'v'; }
int is_simple_escape(charc)
int is_simple_escape( char c )
is_simple_escape
[ "int", "char" ]
{ "code": [ ".globl is_simple_escape\n.type is_simple_escape, @function\nis_simple_escape:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovb\t%al, -4(%rbp)\n\tcmpb\t$39, -4(%rbp)\n\tje\t.L2...
null
# 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "61" ], "va...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_554bc0phy8.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["c"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "is_simple_escape", "funargs": ["c"], "typemap": {"c": "int8", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_554bc0phy8.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
LubosD/darling/src/dyld-apple/unit-tests/test-cases/threaded-lazy-bind/foo.c
int do_476() { return 476; }
int do_476()
int do_476()
do_476
[ "int", "" ]
{ "code": [ ".globl do_476\n.type do_476, @function\ndo_476:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t$476, %eax\n\tpopq\t%rbp\n\t.cfi_def_cfa 7, 8\n\tret\n\t.cfi_endproc\n\n", ".globl do_476\n.t...
null
# 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [], "var": [] }, { ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_53_3v6jh22.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": [], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "do_476", "funargs": [], "typemap": {"returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_53_3v6jh22.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
gdos/SmallerC/v0100/smlrc.c
int isop(int tok) { static unsigned char toks[] = { '!', '~', '&', '*', '/', '%', '+', '-', '|', '^', '<', '>', '=', 7, 6, 8, 9, 10, 11, 4, 5, 12, 13, 27, 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', '0', '?' }; unsigned i;...
int isop(inttok)
int isop(int tok)
isop
[ "int", "int" ]
{ "code": [ ".globl isop\n.type isop, @function\nisop:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -20(%rbp)\n\tmovl\t$0, -4(%rbp)\n\tjmp\t.L2\n.L5:\n\tmovl\t-4(%rbp), %eax\n\tleaq\ttoks.3116(%rip...
null
#include <limits.h> #include <stdarg.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <stdio.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "98" ], "va...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_40rhcgmnup.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["tok"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "isop", "funargs": ["tok"], "typemap": {"tok": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_40rhcgmnup.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
neub/wr-switch-sw/userspace/tools/wr_date.c
int wrdate_cfgfile(char *fname) { return 0; }
int wrdate_cfgfile(char *fname)
int wrdate_cfgfile(char *fname)
wrdate_cfgfile
[ "int", "char *" ]
{ "code": [ ".globl wrdate_cfgfile\n.type wrdate_cfgfile, @function\nwrdate_cfgfile:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -8(%rbp)\n\tmovl\t$0, %eax\n\tpopq\t%rbp\n\t.cfi_def_cfa 7, 8\n\tre...
null
#include <stdint.h> #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <getopt.h> #include <fcntl.h> #include <time.h> #include <sys/types.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/time.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "\"bksytrfvsddpw\"" ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_628tmg7u6f.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
v3.4-dev
null
{"livein": ["fname"], "liveout": ["fname"], "returnvarname": ["returnv"], "execcmd": "", "funname": "wrdate_cfgfile", "funargs": ["fname"], "typemap": {"fname": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_628tmg7u6f.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
mitchcurtis/slate/lib/3rdparty/bitmap/bmp.c
int bm_colcmp(unsigned int c1, unsigned int c2) { return (c1 & 0xFFFFFF) == (c2 & 0xFFFFFF); }
int bm_colcmp(unsigned intc1, unsigned intc2)
int bm_colcmp(unsigned int c1, unsigned int c2)
bm_colcmp
[ "int", "unsigned int", "unsigned int" ]
{ "code": [ ".globl bm_colcmp\n.type bm_colcmp, @function\nbm_colcmp:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -4(%rbp)\n\tmovl\t%esi, -8(%rbp)\n\tmovl\t-4(%rbp), %eax\n\txorl\t-8(%rbp), %eax\n...
null
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <stdarg.h> #include <math.h> #include <ctype.h> #include <float.h> #include <assert.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "307", "70" ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_48zswxixty.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["c1", "c2"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "bm_colcmp", "funargs": ["c1", "c2"], "typemap": {"c1": "uint32", "c2": "uint32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_48zswxixty.c"], "classmap": {}, "range": {}, "needs_cast": {}, "global...
kmatheussen/radium/amiga/instrprop/Amiga_instrprop_temp_help.c
int HelpItem53( void ) { return 0;}
int HelpItem53()
int HelpItem53( void )
HelpItem53
[ "int", "" ]
{ "code": [ ".globl HelpItem53\n.type HelpItem53, @function\nHelpItem53:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t$0, %eax\n\tpopq\t%rbp\n\t.cfi_def_cfa 7, 8\n\tret\n\t.cfi_endproc\n\n", ".globl ...
null
# 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [], "var": [] }, { ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_573y5uvhtp.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": [], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "HelpItem53", "funargs": [], "typemap": {"returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_573y5uvhtp.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
villevoutilainen/gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c
int foo () { const int a[8] = { 0, 1, 2, 3, 4, 5, 6, 7 }; int i, sum; sum = 0; for (i = 0; i < sizeof (a) / sizeof (*a); i++) sum += a[i]; return sum; }
int foo()
int foo ()
foo
[ "int", "" ]
{ "code": [ ".globl foo\n.type foo, @function\nfoo:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tsubq\t$64, %rsp\n\tmovq\t%fs:40, %rax\n\tmovq\t%rax, -8(%rbp)\n\txorl\t%eax, %eax\n\tmovl\t$0, -48(%rbp)\n\tmovl...
null
# 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [], "var": [] }, { ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_6164rokpnf.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": [], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "foo", "funargs": [], "typemap": {"returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_6164rokpnf.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
jsparber/ppl-winter-13/logic_parity.c
int boolCalc(int a, int op, int b){ int res = 0;; switch (op){ case 1: res = a && b; break; case 2: res = a || b; break; case 3: res = (!a) || b; break; case 4: res = ( ( !a ) && ( !b ) ) || ( a && b ); break; case 5: res = ( ( !a ) && ( !b ) ) || ( a && b ); break; } retur...
int boolCalc(inta, intop, intb)
int boolCalc(int a, int op, int b)
boolCalc
[ "int", "int", "int", "int" ]
{ "code": [ ".globl boolCalc\n.type boolCalc, @function\nboolCalc:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -20(%rbp)\n\tmovl\t%esi, -24(%rbp)\n\tmovl\t%edx, -28(%rbp)\n\tmovl\t$0, -4(%rbp)\n\t...
null
#include <stdio.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "63", "125", ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_50kumsmxdm.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["a", "op", "b"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "boolCalc", "funargs": ["a", "op", "b"], "typemap": {"a": "int32", "op": "int32", "b": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_50kumsmxdm.c"], "classmap": {}, "range": {}, "needs_...
LucianoFaretra/Esercizi-Svolti-Pearson-IL-LINGUAGGIO-C/Esercizi Pearson/Capitolo 7/Es 7.11 pag. 331/main.c
void zero( long int bigIntegers[] ) { return; }
void zero(long *bigIntegers)
void zero( long int bigIntegers[] )
zero
[ "void", "long *" ]
{ "code": [ ".globl zero\n.type zero, @function\nzero:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -8(%rbp)\n\tnop\n\tpopq\t%rbp\n\t.cfi_def_cfa 7, 8\n\tret\n\t.cfi_endproc\n\n", ".globl zero\...
null
#include <stdio.h> #include <stdlib.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "[117, 19, 84, 100, 23,...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_46r_izkzv5.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["bigIntegers"], "liveout": ["bigIntegers"], "returnvarname": [], "execcmd": "", "funname": "zero", "funargs": ["bigIntegers"], "typemap": {"bigIntegers": "array(int64#32)"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_46r_izkzv5.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
0x7F800000/gcc/ARMToolChain/source/gcc-5.2.0/gcc/testsuite/gcc.dg/zero_sign_ext_test.c
__attribute__((noinline, noclone)) short foo9 (short arg){ short ret = -1; if (arg + 1 < 1 || arg + 1 > ((!1) ? ((1 << (sizeof (char) * 8 - 1)) - 1) : ((1 << (sizeof (char) * 8)) - 1)) - 1) return ret; arg = arg + -1; ret = (unsigned char)arg; return arg; }
short foo9(shortarg)
__attribute__((no, noclone)) short foo9 (short arg)
foo9
[ "short", "short" ]
{ "code": [ ".globl foo9\n.type foo9, @function\nfoo9:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovw\t%ax, -20(%rbp)\n\tmovw\t$-1, -2(%rbp)\n\tcmpw\t$0, -20(%rbp)\n\tjs\t.L2\n\tcmpw\t$2...
null
# 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "113" ], "v...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_47ekuzwcct.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
arm-hot-cold
null
{"livein": ["arg"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "foo9", "funargs": ["arg"], "typemap": {"arg": "int16", "returnv": "int16"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_47ekuzwcct.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
omni-compiler/omni-compiler/samples/XACC/NPB/Local-view/sys/setparams.c
int ilog2(int i) { int log2; int exp2 = 1; if (i <= 0) return(-1); for (log2 = 0; log2 < 30; log2++) { if (exp2 == i) return(log2); if (exp2 > i) break; exp2 *= 2; } return(-1); }
int ilog2(inti)
int ilog2(int i)
ilog2
[ "int", "int" ]
{ "code": [ ".globl ilog2\n.type ilog2, @function\nilog2:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -20(%rbp)\n\tmovl\t$1, -4(%rbp)\n\tcmpl\t$0, -20(%rbp)\n\tjg\t.L2\n\tmovl\t$-1, %eax\n\tjmp\t....
null
#include <sys/types.h> #include <stdlib.h> #include <stdio.h> #include <ctype.h> #include <string.h> #include <time.h> #include <stdio.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "37" ], "va...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_41ctm9cpc5.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["i"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "ilog2", "funargs": ["i"], "typemap": {"i": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_41ctm9cpc5.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
jlm123hi/Physics_Solver/Physics_Solver.c
float findvffrom_a_vi_t(float a, float vi, float t) { return vi + (a * t); }
float findvffrom_a_vi_t(floata, floatvi, floatt)
float findvffrom_a_vi_t(float a, float vi, float t)
findvffrom_a_vi_t
[ "float", "float", "float", "float" ]
{ "code": [ ".globl findvffrom_a_vi_t\n.type findvffrom_a_vi_t, @function\nfindvffrom_a_vi_t:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovss\t%xmm0, -4(%rbp)\n\tmovss\t%xmm1, -8(%rbp)\n\tmovss\t%xmm2, -12(...
null
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "24.4351765084", ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_50j4h9dl7t.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["a", "vi", "t"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "findvffrom_a_vi_t", "funargs": ["a", "vi", "t"], "typemap": {"a": "float32", "vi": "float32", "t": "float32", "returnv": "float32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_50j4h9dl7t.c"], "classmap": {}, "ra...
s-gogna/JST/recursive_factorial.c
long int recur_Fact( int number) { if( number <= 0) return 1; else if( number > 1 ) { return number*recur_Fact(number-1); } }
long recur_Fact(intnumber)
long int recur_Fact( int number)
recur_Fact
[ "long", "int" ]
{ "code": [ ".globl recur_Fact\n.type recur_Fact, @function\nrecur_Fact:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tpushq\t%rbx\n\tsubq\t$24, %rsp\n\t.cfi_offset 3, -24\n\tmovl\t%edi, -20(%rbp)\n\tcmpl\t$0, ...
null
# 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "25" ], "va...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_43si8dmvtf.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["number"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "recur_Fact", "funargs": ["number"], "typemap": {"number": "int32", "returnv": "int64"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_43si8dmvtf.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
pdavila13/Programacion_C/Modular/Exercici 4 - Modular/Exercici4.c
double potencia(double x, int n) { int i; double potencia = 1; for (i=0; i<n; i++) potencia = potencia * x; return potencia; }
double potencia(doublex, intn)
double potencia(double x, int n)
potencia
[ "double", "double", "int" ]
{ "code": [ ".globl potencia\n.type potencia, @function\npotencia:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovsd\t%xmm0, -24(%rbp)\n\tmovl\t%edi, -28(%rbp)\n\tmovsd\t.LC0(%rip), %xmm0\n\tmovsd\t%xmm0, -8(...
null
#include <stdio.h> #include <stdlib.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "73.4340356562", ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_544tedaik5.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["x", "n"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "potencia", "funargs": ["x", "n"], "typemap": {"x": "float64", "n": "int32", "returnv": "float64"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_544tedaik5.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": [...
TheLocust3/Intel-8080-Emulator/src/common_functions.c
int get_rp_code_from_opcode(int instruction) { return (instruction & 0b00110000) >> 6; }
int get_rp_code_from_opcode(intinstruction)
int get_rp_code_from_opcode(int instruction)
get_rp_code_from_opcode
[ "int", "int" ]
{ "code": [ ".globl get_rp_code_from_opcode\n.type get_rp_code_from_opcode, @function\nget_rp_code_from_opcode:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -4(%rbp)\n\tmovl\t$0, %eax\n\tpopq\t%rbp...
null
# 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "49" ], "va...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_641kvg34ix.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["instruction"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "get_rp_code_from_opcode", "funargs": ["instruction"], "typemap": {"instruction": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_641kvg34ix.c"], "classmap": {}, "range": {}, "needs_cast":...
pablooliveira/verificarlo/tests/test_vprec_instrument/test_range.c
double Fdouble(double a){ return a - 10; }
double Fdouble(doublea)
double Fdouble(double a)
Fdouble
[ "double", "double" ]
{ "code": [ ".globl Fdouble\n.type Fdouble, @function\nFdouble:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovsd\t%xmm0, -8(%rbp)\n\tmovsd\t-8(%rbp), %xmm0\n\tmovsd\t.LC0(%rip), %xmm1\n\tsubsd\t%xmm1, %xmm0\...
null
#include <math.h> #include <stdio.h> #include <stdlib.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "39.6505840999" ]...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_297__3yits.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["a"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "Fdouble", "funargs": ["a"], "typemap": {"a": "float64", "returnv": "float64"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_297__3yits.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
junaart/High-Programming/Code/Lection_7_4.c
void swap(int deck[][13], int x1,int y1,int x2,int y2) { int j; j=deck[x1][y1]; deck[x1][y1]=deck[x2][y2]; deck[x2][y2]=j; }
void swap(intdeck)
void swap(int deck[][13], int x1,int y1,int x2,int y2)
swap
[ "void", "int" ]
{ "code": [ ".globl swap\n.type swap, @function\nswap:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovl\t%esi, -28(%rbp)\n\tmovl\t%edx, -32(%rbp)\n\tmovl\t%ecx, -36(%rbp)\n\tmovl\t%r8...
null
#include <stdio.h> #include <stdlib.h> #include <math.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "[82, 66, 53, 4, 92, 12...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_579a2f1h00.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["deck", "x1", "y1", "x2", "y2"], "liveout": ["deck"], "returnvarname": [], "execcmd": "", "funname": "swap", "funargs": ["deck", "x1", "y1", "x2", "y2"], "typemap": {"deck": "array(int32#32)", "x1": "int32", "y1": "int32", "x2": "int32", "y2": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_579...
konsulko/headunit/jni/hu_uti.c
char * usb_vid_get (int vid) { switch (vid) { case 0x18D1: return ("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Google"); case 0x0bb4: return ("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! HTC"); case 0x22b8: return ("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Motorola"); case 0x04e8: return ("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...
char * usb_vid_get(intvid)
char * usb_vid_get (int vid)
usb_vid_get
[ "char *", "int" ]
{ "code": [ ".globl usb_vid_get\n.type usb_vid_get, @function\nusb_vid_get:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -4(%rbp)\n\tcmpl\t$65526, -4(%rbp)\n\tje\t.L2\n\tcmpl\t$65526, -4(%rbp)\n\tj...
null
# 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "117" ], "v...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_59lyjlezi2.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["vid"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "usb_vid_get", "funargs": ["vid"], "typemap": {"vid": "int32", "returnv": "string"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_59lyjlezi2.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
65apps/omim/3party/robust/predicates.c
double orient2dfast(double * pa, double * pb, double * pc) { double acx, bcx, acy, bcy; acx = pa[0] - pc[0]; bcx = pb[0] - pc[0]; acy = pa[1] - pc[1]; bcy = pb[1] - pc[1]; return acx * bcy - acy * bcx; }
double orient2dfast(double *pa, double *pb, double *pc)
double orient2dfast(double * pa, double * pb, double * pc)
orient2dfast
[ "double", "double *", "double *", "double *" ]
{ "code": [ ".globl orient2dfast\n.type orient2dfast, @function\norient2dfast:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -40(%rbp)\n\tmovq\t%rsi, -48(%rbp)\n\tmovq\t%rdx, -56(%rbp)\n\tmovq\t-40(...
null
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <time.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "[36.5705557574, 5.5888...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_4547h_iaay.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["pa", "pb", "pc"], "liveout": ["pa", "pb", "pc"], "returnvarname": ["returnv"], "execcmd": "", "funname": "orient2dfast", "funargs": ["pa", "pb", "pc"], "typemap": {"pa": "array(float64#32)", "pb": "array(float64#32)", "pc": "array(float64#32)", "returnv": "float64"}, "required_includes": ["/tmp/pytmpfile_2...
blogc/blogc/src/blogc-runserver/httpd-utils.c
int br_hextoi(const char c) { if (c >= '0' && c <= '9') return c - '0'; if (c >= 'a' && c <= 'f') return c - 'a' + 10; if (c >= 'A' && c <= 'F') return c - 'A' + 10; return -1; }
int br_hextoi(const charc)
int br_hextoi(const char c)
br_hextoi
[ "int", "const char" ]
{ "code": [ ".globl br_hextoi\n.type br_hextoi, @function\nbr_hextoi:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, %eax\n\tmovb\t%al, -4(%rbp)\n\tcmpb\t$47, -4(%rbp)\n\tjle\t.L2\n\tcmpb\t$57, -4(%r...
null
#include <stdbool.h> #include <string.h> #include <unistd.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "46" ], "va...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_60a3y5odfl.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["c"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "br_hextoi", "funargs": ["c"], "typemap": {"c": "int8", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_60a3y5odfl.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
habib256/fractall/src/SDL_imageFilter.c
unsigned int cpuFlags() { int flags = 0; # 40 "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/habib256/fractall/refs/heads/master/src/SDL_imageFilter.c" return (flags); }
unsigned int cpuFlags()
unsigned int cpuFlags()
cpuFlags
[ "unsigned int", "" ]
{ "code": [ ".globl cpuFlags\n.type cpuFlags, @function\ncpuFlags:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t$0, -4(%rbp)\n\tmovl\t-4(%rbp), %eax\n\tpopq\t%rbp\n\t.cfi_def_cfa 7, 8\n\tret\n\t.cfi_endp...
null
#include <stdio.h> #include <stdlib.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [], "var": [] }, { ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_60atvs1_q_.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": [], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "cpuFlags", "funargs": [], "typemap": {"returnv": "uint32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_60atvs1_q_.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
miguelvps/c/util.c
int max(int x , int y) { return x > y ? x : y; }
int max(intx, inty)
int max(int x , int y)
max
[ "int", "int", "int" ]
{ "code": [ ".globl max\n.type max, @function\nmax:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -4(%rbp)\n\tmovl\t%esi, -8(%rbp)\n\tmovl\t-4(%rbp), %eax\n\tcmpl\t%eax, -8(%rbp)\n\tcmovge\t-8(%rbp)...
null
#include <errno.h> #include <ctype.h> #include <stdarg.h> #include <stdlib.h> #include <stdio.h> #include <string.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "49", "83" ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_56_ydbfkj3.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["x", "y"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "max", "funargs": ["x", "y"], "typemap": {"x": "int32", "y": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_56_ydbfkj3.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
pokebyte/blueberryMSX/Src/Language/LanguageMinimal.c
char* langRomTypeExtRam1mb() { return "1MB External RAM"; }
char * langRomTypeExtRam1mb()
char* langRomTypeExtRam1mb()
langRomTypeExtRam1mb
[ "char *", "" ]
{ "code": [ ".globl langRomTypeExtRam1mb\n.type langRomTypeExtRam1mb, @function\nlangRomTypeExtRam1mb:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tleaq\t.LC0(%rip), %rax\n\tpopq\t%rbp\n\t.cfi_def_cfa 7, 8\n\t...
null
#include <string.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [], "var": [] }, { ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_625bf0ebo8.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": [], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "langRomTypeExtRam1mb", "funargs": [], "typemap": {"returnv": "string"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_625bf0ebo8.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
thinker1990/CSAPP-Homework/homework/chapter03/3_61.c
long cread_alt(long *xp) { long result = 0; if (xp) result = *xp; return result; }
long cread_alt(long *xp)
long cread_alt(long *xp)
cread_alt
[ "long", "long *" ]
{ "code": [ ".globl cread_alt\n.type cread_alt, @function\ncread_alt:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovq\t$0, -8(%rbp)\n\tcmpq\t$0, -24(%rbp)\n\tje\t.L2\n\tmovq\t-24(%rb...
null
# 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "[97, 97, 54, 37, 34, 8...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_47ntwuf0h4.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["xp"], "liveout": ["xp"], "returnvarname": ["returnv"], "execcmd": "", "funname": "cread_alt", "funargs": ["xp"], "typemap": {"xp": "array(int64#32)", "returnv": "int64"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_47ntwuf0h4.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
phorward/phorward/src/utf8.c
int putf8_seqlen(char *s) { return 1; }
int putf8_seqlen(char *s)
int putf8_seqlen(char *s)
putf8_seqlen
[ "int", "char *" ]
{ "code": [ ".globl putf8_seqlen\n.type putf8_seqlen, @function\nputf8_seqlen:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -8(%rbp)\n\tmovl\t$1, %eax\n\tpopq\t%rbp\n\t.cfi_def_cfa 7, 8\n\tret\n\t....
null
# 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "\"\"" ], "...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_35lsnc6sab.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["s"], "liveout": ["s"], "returnvarname": ["returnv"], "execcmd": "", "funname": "putf8_seqlen", "funargs": ["s"], "typemap": {"s": "string", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_35lsnc6sab.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
bert/libtgb1990/src/NEN6772.c
double t_ef ( double t_nom, double d_vzk ) { return (t_nom - 0.5 * d_vzk); }
double t_ef(doublet_nom, doubled_vzk)
double t_ef ( double t_nom, double d_vzk )
t_ef
[ "double", "double", "double" ]
{ "code": [ ".globl t_ef\n.type t_ef, @function\nt_ef:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovsd\t%xmm0, -8(%rbp)\n\tmovsd\t%xmm1, -16(%rbp)\n\tmovsd\t-16(%rbp), %xmm1\n\tmovsd\t.LC0(%rip), %xmm0\n\tm...
null
#include <stdio.h> #include <string.h> #include <stdlib.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "7.75117789952", ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_51965thj1f.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["t_nom", "d_vzk"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "t_ef", "funargs": ["t_nom", "d_vzk"], "typemap": {"t_nom": "float64", "d_vzk": "float64", "returnv": "float64"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_51965thj1f.c"], "classmap": {}, "range": {}, "needs_c...
BackupTheBerlios/codemorpher-svn/elkhound/c.in/c.in2.c
int foo ( int x ) { }
int foo(intx)
int foo ( int x )
foo
[ "int", "int" ]
{ "code": [ ".globl foo\n.type foo, @function\nfoo:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -4(%rbp)\n\tnop\n\tpopq\t%rbp\n\t.cfi_def_cfa 7, 8\n\tret\n\t.cfi_endproc\n\n", ".globl foo\n.ty...
null
# 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "61" ], "va...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_543xtyyp07.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["x"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "foo", "funargs": ["x"], "typemap": {"x": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_543xtyyp07.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
BoneLee/HLS-bench/DE4_network_processor_4cores_6monitors_release/projects/DE4_Reference_Router_with_DMA/src/sources_ngnp_multicore/Mibench/automotive/bitcount/bstr_i.c
unsigned int bstr_i(char *cptr) { unsigned int i, j = 0; while (cptr && *cptr && strchr("01", *cptr)) { i = *cptr++ - '0'; j <<= 1; j |= (i & 0x01); } return(j); }
unsigned int bstr_i(char *cptr)
unsigned int bstr_i(char *cptr)
bstr_i
[ "unsigned int", "char *" ]
{ "code": [ ".globl bstr_i\n.type bstr_i, @function\nbstr_i:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tsubq\t$32, %rsp\n\tmovq\t%rdi, -24(%rbp)\n\tmovl\t$0, -8(%rbp)\n\tjmp\t.L2\n.L4:\n\tmovq\t-24(%rbp), %r...
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward d...
#include <string.h> #include <stdlib.h> # 1
{ "dummy_funcs": [ "#define MAX_STRING_SIZE 32\nlong int strchr__bench (char * b, char d) {\n\tlong int returnv;\n\tlong int temp_variable = 45;\n\treturnv = temp_variable;\n\treturn returnv;\n}\n", "#define MAX_STRING_SIZE 32\nlong int strchr__bench (char * b, char d) {\n\tlong int returnv;\n\tlong int temp_...
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "\"clskrgiajjqy\"" ...
extern "C" { #include "/run/user/1000/pytmpfile_jordiws_3577734c9i603yr.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. u...
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_389nu8dn7l.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
main
null
{"livein": ["cptr"], "liveout": ["cptr"], "returnvarname": ["returnv"], "execcmd": "", "funname": "bstr_i", "funargs": ["cptr"], "typemap": {"cptr": "string", "returnv": "uint32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_389nu8dn7l.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
project-lovelace/lovelace-website/pip/src/sqlparse-0.4.2/src/static/code_stubs/c/nand_gate.c
int NAND(int A, int B) { }
int NAND(intA, intB)
int NAND(int A, int B)
NAND
[ "int", "int", "int" ]
{ "code": [ ".globl NAND\n.type NAND, @function\nNAND:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -4(%rbp)\n\tmovl\t%esi, -8(%rbp)\n\tnop\n\tpopq\t%rbp\n\t.cfi_def_cfa 7, 8\n\tret\n\t.cfi_endproc...
null
# 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "52", "114" ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_29b033ea3c.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
dependabot
null
{"livein": ["A", "B"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "NAND", "funargs": ["A", "B"], "typemap": {"A": "int32", "B": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_29b033ea3c.c"], "classmap": {}, "range": {}, "needs_cast": {}, "globals": []}
dtolpin/RNV/drv.c
int drv_text_recover(int p,char *s,int n) {return p;}
int drv_text_recover(intp, char *s, intn)
int drv_text_recover(int p,char *s,int n)
drv_text_recover
[ "int", "int", "char *", "int" ]
{ "code": [ ".globl drv_text_recover\n.type drv_text_recover, @function\ndrv_text_recover:\n.LFB0:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovl\t%edi, -4(%rbp)\n\tmovq\t%rsi, -16(%rbp)\n\tmovl\t%edx, -8(%rbp)\n\t...
null
# 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "7", "\"qrzwokw...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_42wj0742_3.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["p", "s", "n"], "liveout": ["s"], "returnvarname": ["returnv"], "execcmd": "", "funname": "drv_text_recover", "funargs": ["p", "s", "n"], "typemap": {"p": "int32", "s": "string", "n": "int32", "returnv": "int32"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_42wj0742_3.c"], "classmap": {}, "range": {}...
JasonVann/ComputerArchitecture/CMU 15-213/L6/switch.c
long sparse_switch_eg (long x, long y, long z) { long w = 1; switch(x) { case 100: w = y*z; break; case 200: w = y/z; case 300: w += z; break; case 500: case 600: w -= z; break; default: w = 2; } return w; }
long sparse_switch_eg(longx, longy, longz)
long sparse_switch_eg (long x, long y, long z)
sparse_switch_eg
[ "long", "long", "long", "long" ]
{ "code": [ ".globl sparse_switch_eg\n.type sparse_switch_eg, @function\nsparse_switch_eg:\n.LFB6:\n\t.cfi_startproc\n\tendbr64\n\tpushq\t%rbp\n\t.cfi_def_cfa_offset 16\n\t.cfi_offset 6, -16\n\tmovq\t%rsp, %rbp\n\t.cfi_def_cfa_register 6\n\tmovq\t%rdi, -24(%rbp)\n\tmovq\t%rsi, -32(%rbp)\n\tmovq\t%rdx, -40(%rbp)\n...
null
#include <stdio.h> #include <stdlib.h> # 1
null
{ "dummy_funcs": [ null, null, null, null, null, null, null, null, null, null ], "dummy_funcs_seed": [ null, null, null, null, null, null, null, null, null, null ], "input": [ { "value": [ "60", "106", ...
null
extern "C" { #include "/tmp/pytmpfile_2d0c40262005_54xguouenu.c" } #include <vector> #include <nlohmann/json.hpp> #include <fstream> #include <iomanip> #include <clib/synthesizer.h> #include <time.h> #include <math.h> #include <iostream> char* output_file; char* pre_accel_dump_file; // optional dump file. using json ...
master
null
{"livein": ["x", "y", "z"], "liveout": [], "returnvarname": ["returnv"], "execcmd": "", "funname": "sparse_switch_eg", "funargs": ["x", "y", "z"], "typemap": {"x": "int64", "y": "int64", "z": "int64", "returnv": "int64"}, "required_includes": ["/tmp/pytmpfile_2d0c40262005_54xguouenu.c"], "classmap": {}, "range": {}, "n...