search for: bb_join

Displaying 1 result from an estimated 1 matches for "bb_join".

Did you mean: __join
2013 Sep 18
1
[LLVMdev] In llvm, how can I delete a whole branch elegantly?
...cessors(in order to keep consistent with the source code I am using the llvm ir without any optimizations, so SelectInst/SwitchInst/PHINode is absent), one of which should be pruned; let's name these 2 branches bb1 and bb2 and bb2 is to be pruned. 2. Find their nearest common post dominator, bb_join 3. Create a new branInst bb_new whose successors are bb1 and bb_join; replace the original BranchInst with bb_new 4. For bb2, dropAllReferences && eraseFromParent However since bb2 also has several successors(before bb_join), which are not pruned together with bb2. Is there any exist...