search for: findlowestnumsuccbb

Displaying 3 results from an estimated 3 matches for "findlowestnumsuccbb".

2008 Oct 14
3
[LLVMdev] CFG modifcations and code gen
...block 2 gets printed before block 3 and 5 and block 4 gets printed between blocks 3 and 5. This obviously is not what the CFG is saying it should be done. The code I'm using to do this transformation, which takes 2 & 4 and places them after block 5 is: MachineBasicBlock* newExitPath = findLowestNumSuccBB(root); pHigh->addSuccessor(newExitPath); root->removeSuccessor(newExitPath); root->CorrectExtraCFGEdges(*root->succ_begin(), NULL, false); pHigh->CorrectExtraCFGEdges(*pHigh->succ_begin(), newExitPath, false);...
2008 Oct 14
0
[LLVMdev] CFG modifcations and code gen
...block 3 and 5 > and block 4 gets printed between blocks 3 and 5. This obviously is > not what the CFG is saying it should be done. The code I’m using to > do this transformation, which takes 2 & 4 and places them after > block 5 is: > MachineBasicBlock* newExitPath = findLowestNumSuccBB(root); > pHigh->addSuccessor(newExitPath); > root->removeSuccessor(newExitPath); > root->CorrectExtraCFGEdges(*root->succ_begin(), > NULL, false); > pHigh->CorrectExtraCFGEdges(*pHigh->succ_begin(),...
2008 Oct 14
2
[LLVMdev] CFG modifcations and code gen
...block 2 gets printed before block 3 and 5 and block 4 gets printed between blocks 3 and 5. This obviously is not what the CFG is saying it should be done. The code I'm using to do this transformation, which takes 2 & 4 and places them after block 5 is: MachineBasicBlock* newExitPath = findLowestNumSuccBB(root); pHigh->addSuccessor(newExitPath); root->removeSuccessor(newExitPath); root->CorrectExtraCFGEdges(*root->succ_begin(), NULL, false); pHigh->CorrectExtraCFGEdges(*pHigh->succ_begin(), newExitPath, false);...