Displaying 3 results from an estimated 3 matches for "classllvm_1_1setvector".
2013 Mar 02
2
[LLVMdev] Question about method CodeExtractor::severSplitPHINodes
...need to sever
the00197 // header block into two.00198 for (unsigned i = 0, e
= PN->getNumIncomingValues
<http://llvm.org/docs/doxygen/html/classllvm_1_1PHINode.html#aa45f6c0433576e3858a6209a43750ad4>();
i != e; ++i)00199 if (Blocks.count
<http://llvm.org/docs/doxygen/html/classllvm_1_1SetVector.html#a0fd2953d62c1b1cabb87e420be5177c4>(PN->getIncomingBlock
<http://llvm.org/docs/doxygen/html/classllvm_1_1PHINode.html#a4c25b6c00c4867281779c81ab64d2081>(i)))00200
++NumPredsFromRegion;00201 else00202
++NumPredsOutsideRegion;00203 00204 // If there is one (or fewer)...
2012 Apr 24
0
[LLVMdev] Should repetitive basic blocks be removed in the results of LoopBase::getExitBlocks()?
...lt vector.
What about use the SetVector[1] as container? As its comment say:
This adapter class provides a way to keep a set of things that also
has the property of a deterministic iteration order. The order of
iteration is the order of insertion.
best regards
ether
[1]http://www.llvm.org/doxygen/classllvm_1_1SetVector.html
>
> -Andy
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
2012 Apr 24
2
[LLVMdev] Should repetitive basic blocks be removed in the results of LoopBase::getExitBlocks()?
On Apr 23, 2012, at 10:31 PM, Andrew Trick <atrick at apple.com> wrote:
>
> On Apr 19, 2012, at 10:43 PM, xiaoming gu <xiaoming.gu at gmail.com> wrote:
>
>> Hi, all. I'm using void LoopBase::getExitBlocks (SmallVectorImpl< BlockT * > &ExitBlocks) const to get all
>> exit blocks for a loop. The problem I find with this API is that it returns