search for: region_ptr

Displaying 2 results from an estimated 2 matches for "region_ptr".

2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not allocating RBP to any virtual register, the instances of RBP in function foo are in the machine code when my register allocator starts.) Function foo calls function bar. Register RBP is not saved across the call, though it is live after the call. Function bar includes a virtual register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...; ); if ( ++dataline % 10 == 0 ) outc( '\n' ); datapos = 0; } } void *yy_flex_xmalloc( size ) int size; { void *result = flex_alloc( (size_t) size ); if ( ! result ) flexfatal( ("memory allocation failed in yy_flex_xmalloc()") ); return result; } void zero_out( region_ptr, size_in_bytes ) char *region_ptr; size_t size_in_bytes; { register char *rp, *rp_end; rp = region_ptr; rp_end = region_ptr + size_in_bytes; while ( rp < rp_end ) *rp++ = 0; } int dupmachine (int); void mkxtion (int, int); void add_accept( mach, accepting_number ) int mach, accepting_num...