search for: _exfun

Displaying 4 results from an estimated 4 matches for "_exfun".

2010 Jan 13
2
[LLVMdev] Cross-module function inlining
...ADDCOMP out=r1 in1=r1 in2=4 conf=`ADDCOMP_SUB WMEM in=r2 in_addr=r1 conf=`WMEM_SI CONST_16B out=r3 conf=12 JUMP nl_out=r2/*RA*/ addr_in=&_malloc conf=`JUMP_ALWAYS_ABS // Call In case this is important, here is the relevant declarations from the 'stdlib.h' that is in use: _PTR _EXFUN(malloc,(size_t __size)); _VOID _EXFUN(free,(_PTR)); where: #define _PTR void * #define _EXFUN(name, proto) name proto and from 'newlib.c': void * malloc (size_t sz) { ... } i.e. They look like any other function call, which is why I suspect it has something to...
2010 Jan 14
0
[LLVMdev] Cross-module function inlining
...OMP_SUB > WMEM in=r2 in_addr=r1 conf=`WMEM_SI > CONST_16B out=r3 conf=12 > JUMP nl_out=r2/*RA*/ addr_in=&_malloc conf=`JUMP_ALWAYS_ABS // Call > > > In case this is important, here is the relevant declarations from the > 'stdlib.h' that is in use: > > _PTR _EXFUN(malloc,(size_t __size)); > _VOID _EXFUN(free,(_PTR)); > > > where: > > #define _PTR void * > #define _EXFUN(name, proto) name proto > > > and from 'newlib.c': > > void * > malloc (size_t sz) > { > ... > } > &...
2010 Jan 13
0
[LLVMdev] Cross-module function inlining
On 13 January 2010 12:05, Mark Muir <mark.i.r.muir at gmail.com> wrote: > On 13 Jan 2010, at 16:43, Nick Lewycky wrote: > > > Mark Muir wrote: > >> - Run the existing Clang tool on each source file, using -emit-llvm to > generate a .bc file for each module. > >> - Run llvm-link to merge them into a single .bc file. > >> - Run llc to generate a
2010 Jan 13
2
[LLVMdev] Cross-module function inlining
On 13 Jan 2010, at 16:43, Nick Lewycky wrote: > Mark Muir wrote: >> - Run the existing Clang tool on each source file, using -emit-llvm to generate a .bc file for each module. >> - Run llvm-link to merge them into a single .bc file. >> - Run llc to generate a complete machine assembly. >> >> However, with optimisations enabled, the resulting code is not as