search for: findnearestcommondomin

Displaying 8 results from an estimated 8 matches for "findnearestcommondomin".

2010 Mar 08
2
[LLVMdev] findNearestCommonDominator
On 03/07/2010 10:33 PM, Jochen Wilhelmy wrote: > Hi! Hi Jochen, > I have seen that findNearestCommonDominator has been added > to class PostDominatorTree, maybe on my request. > > Now there is the following problem: > in class DominatorTreeBase there is an assert in findNearestCommonDominator > that asserts if the tree is not a PostDominator tree: > > assert (!this->isPostD...
2010 Mar 07
0
[LLVMdev] findNearestCommonDominator for PostDominatorTree
...lits at the basic block containing a< b with > a branch as terminator instruction. At the basic block with bar() the > control > flow joins again (at first my control flow graph does not have loops). > > I would think I have to calculate the post dominator tree and then call > findNearestCommonDominator on the two branches, but this function > is missing. Does this have a reason? I would think it's just > > inline BasicBlock *findNearestCommonDominator(BasicBlock *A, BasicBlock > *B) { > return DT->findNearestCommonDominator(A, B); > } > > like for llvm::...
2010 Mar 23
1
[LLVMdev] findNearestCommonDominator
Hi! Is it possible to get findNearestCommonDominator working for post dominator trees by changing llvm/include/llvm/Analysis/Dominators.h starting at line 432: NodeT *findNearestCommonDominator(NodeT *A, NodeT *B) { /*assert (!this->isPostDominator() && "This is not implemented for post dominators");*/ assert (...
2010 Mar 07
0
[LLVMdev] findNearestCommonDominator
Hi! I have seen that findNearestCommonDominator has been added to class PostDominatorTree, maybe on my request. Now there is the following problem: in class DominatorTreeBase there is an assert in findNearestCommonDominator that asserts if the tree is not a PostDominator tree: assert (!this->isPostDominator() &&...
2010 Mar 06
3
[LLVMdev] constness of APFloat::toString
Hi! I wonder if llvm::APFloat::toString() can be const since it should not modify the APFloat. -Jochen
2010 Mar 06
0
[LLVMdev] constness of APFloat::toString
On Mar 6, 2010, at 3:39 AM, Jochen Wilhelmy wrote: > Hi! > > I wonder if llvm::APFloat::toString() can be const since > it should not modify the APFloat. Done in r97883, thanks.
2017 Aug 26
2
building release_50 with gcc7.2.0 on MacOS: duplicate symbol llvm::DominatorTreeBase
...:DominatorTreeBase<llvm::BasicBlock, true>::properlyDominates(llvm::BasicBlock const*, llvm::BasicBlock const*) const in: ../../lib/libLLVMAnalysis.a(PostDominators.cpp.o) ../../lib/libLLVMCore.a(Dominators.cpp.o) duplicate symbol llvm::DominatorTreeBase<llvm::BasicBlock, true>::findNearestCommonDominator(llvm::BasicBlock const*, llvm::BasicBlock const*) const in: ../../lib/libLLVMAnalysis.a(PostDominators.cpp.o) ../../lib/libLLVMCore.a(Dominators.cpp.o) duplicate symbol llvm::DominatorTreeBase<llvm::BasicBlock, true>::findNearestCommonDominator(llvm::BasicBlock*, llvm::BasicBlock*...
2012 Jul 16
3
[LLVMdev] RFC: LLVM incubation, or requirements for committing new backends
...ineDomTreeNode *B) const { > + return DT->properlyDominates(A, B); > + } > + > + inline bool > + properlyDominates(MachineBasicBlock *A, MachineBasicBlock *B) const { > + return DT->properlyDominates(A, B); > + } > + > + inline MachineBasicBlock * > + findNearestCommonDominator(MachineBasicBlock *A, MachineBasicBlock *B) { > + return DT->findNearestCommonDominator(A, B); > + } > + > + virtual void print(llvm::raw_ostream &OS, const Module *M = 0) const { > + DT->print(OS); > + } > +}; > +} //end of namespace llvm > + >...