search for: trycontext

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

Did you mean: tr_context
2011 May 06
0
[LLVMdev] Requirements for the EH representation
...cts, the code above is semantically equivalent to: struct CoroutineStack { Coroutine* context; CoroutineStack* next; } Coroutine* currentContext; CoroutineStack * nextCatchContextLink; void f () { currentContext->yieldTo( nextCatchContextLink->context ); } void h(); void g() { Coroutine tryContext( [&] => { f(); } ); Coroutine catchContext( [&] => { h(); } ); //define a new link to store current catch context // which points to outer stack contexts in this same stack CoroutineStack catchContextLink; catchContextLink.context = &catchContext; catchContextLink.next...
2011 May 04
2
[LLVMdev] Greedy register allocation
On May 4, 2011, at 8:23 AM, Evan Cheng wrote: >> I don't know how realistic it is to model the loop buffer in the register allocator, but this would a very interesting thing to try to optimize for in a later pass. If an inner loop "almost" fits, then it would probably be worth heroic effort to try to reduce the size of it to shave off a few bytes. > > Jakob and I have