search for: psudocode

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

Did you mean: pseudocode
2010 Aug 30
1
[LLVMdev] What may I assume about MachineFunctions.
Upon writing my register allocation algorithm, I am concerned that a load may be skipped due to a branch. For instance consider the psudocode int x = 1 ... if( false ) load x y = 3*x else y = 4*x ... The load happens in the false block because this is when the variable is first seen. The load is not preformed in the else block because the register allocator may see it loaded already. Do I need to be concerned about cases like th...
2010 Nov 05
0
[LLVMdev] Basic block liveouts
They cannot be found like the live in values because different values may be live out. For instance the psudocode may look like: BB0: vreg1 = rand() if( vreg1 > .5 ) goto BB1; else goto BB2; BB1: vreg 2 = rand(); EAX = copy vreg2; Return BB2: vreg 3 = rand() * rand()' EAX = copy vreg3; Return On Fri, Nov 5, 2010 at 7:41 AM, s Last namerc <srcsrc84 at yahoo.com> wrote: > Is...
2010 Nov 05
4
[LLVMdev] Basic block liveouts
Is there an easy way to obtain all liveout variables of a basic block? Liveins can be found for each MachineBasicBlock, but I can only find liveouts for the whole function, at MachineRegisterInfo. Do I need to find them out manually?
2012 Jun 04
13
Nested Resource Route Helpers
Hello all, I''m working on a Rails app and I have resources nested three deep - let''s call them user, project, and issues. The route helpers now look like user_project_issue_path(@user, @project, @issue). Would it make sense for Rails to guess the @user <https://github.com/user> and @project<https://github.com/project> relations from @issue