search for: deleteedge

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

2017 Jul 17
2
An update on the DominatorTree and incremental dominators
...ault. - Dominators and Postdominators are now different types, i.e. IsPostDom is a template argument and not a runtime value. It is no longer possible to assign a PostDomTree to a DomTree (or the other way round). And now the big thing: support for incremental updates (insertEdge and deleteEdge) has just landed upstream. This should make updating DominatorTree much easier and less error-prone. Although he API is quite basic at the moment, it should be sufficient to replace manual DomTree updates in many places. Please give the new incremental API a try and share your feedback :). During...
2017 Sep 27
1
RFC: first steps toward CFG-level IR manipulation
...g routines to think more about the shape of the CFG instead of dealing with the details of the IR. I have one such patch posted and would like to know what the larger community thinks of the idea. The patch is here: <goog_558917248> https://reviews.llvm.org/D37575 This patch adds a routine deleteEdge() to the BasicBlock class with the intent of always removing the edge between two blocks (From, To). Under the covers the routine changes the terminator instruction in From. It does not touch PHIs or uses. I chose this approach as a first-step towards a larger way of thinking less about the IR and...
2017 Aug 26
2
building release_50 with gcc7.2.0 on MacOS: duplicate symbol llvm::DominatorTreeBase
...o) duplicate symbol llvm::DominatorTreeBase<llvm::BasicBlock, true>::insertEdge(llvm::BasicBlock*, llvm::BasicBlock*) in: ../../lib/libLLVMAnalysis.a(PostDominators.cpp.o) ../../lib/libLLVMCore.a(Dominators.cpp.o) duplicate symbol llvm::DominatorTreeBase<llvm::BasicBlock, true>::deleteEdge(llvm::BasicBlock*, llvm::BasicBlock*) in: ../../lib/libLLVMAnalysis.a(PostDominators.cpp.o) ../../lib/libLLVMCore.a(Dominators.cpp.o) duplicate symbol llvm::DominatorTreeBase<llvm::BasicBlock, true>::operator=(llvm::DominatorTreeBase<llvm::BasicBlock, true>&&) in: .....