search for: indent_level

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

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
...tch, fwd, bck ) int tch, fwd[], bck[]; { if ( fwd[tch] != 0 ) bck[fwd[tch]] = bck[tch]; if ( bck[tch] != 0 ) fwd[bck[tch]] = fwd[tch]; fwd[tch] = 0; bck[tch] = 0; } void gen_next_state (int); void genecs (void); void indent_put2s (char [], char []); void indent_puts (char []); static int indent_level = 0; static char C_int_decl[] = "static const int %s[%d] =\n { 0,\n"; static char C_short_decl[] = "static const short int %s[%d] =\n { 0,\n"; static char C_long_decl[] = "static const long int %s[%d] =\n { 0,\n"; static char C_state_decl[] = "stat...