search for: newexitpath

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

2008 Oct 14
3
[LLVMdev] CFG modifcations and code gen
...ched dot file, 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(), ne...
2008 Oct 14
0
[LLVMdev] CFG modifcations and code gen
...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(*pHi...
2008 Oct 14
2
[LLVMdev] CFG modifcations and code gen
...hed dot file, 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,...