search for: mapped_iterator

Displaying 12 results from an estimated 12 matches for "mapped_iterator".

2017 May 24
3
GraphTraits dereferencing
...__1::pointer_to_unary_function<llvm::DSNode *, llvm::DSNode &> (llvm::DSNode &)>' ::type value_type; ~~^~~~ /Users/jaredcarlson/Projects/crab-llvm/dsa-seahorn/include/dsa/DSGraphTraits.h:122:25: note: in instantiation of template class 'llvm::mapped_iterator<llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::DSNode, true, false, void>, false, false>, std::__1::pointer_to_unary_function<llvm::DSNode *, llvm::DSNode &> >' requested here static nodes_iterator nodes_begin(DSGraph *G) { So, it looks to me li...
2011 Jul 15
3
[LLVMdev] select1st, select2nd
I've run into a use case where I'd like to use a mapped_iterator to iterator the 1st (or 2nd) items in a sequence of std::pairs. Does select1st/select2nd exist somewhere within LLVM or is there some equivalent? If not, I'll add it. -Dave
2011 Jul 15
0
[LLVMdev] select1st, select2nd
On Jul 15, 2011, at 12:35 PM, David Greene wrote: > I've run into a use case where I'd like to use a mapped_iterator to > iterator the 1st (or 2nd) items in a sequence of std::pairs. Does > select1st/select2nd exist somewhere within LLVM or is there some > equivalent? If not, I'll add it. Is this making the resultant loop simpler? C++ without lambda's isn't very friendly to functors, what...
2013 Jun 05
0
[LLVMdev] CallGraph, GraphTraits and DominatorTree
...()); return false; } virtual void getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequired<CallGraph>(); } Error list: /Developer/llvm/include/llvm/Analysis/Dominators.h:666:35: error: no viable conversion from 'typename TraitsTy::nodes_iterator' (aka 'mapped_iterator<CallGraph::iterator, DerefFun>') to 'NodeType *' (aka 'llvm::CallGraphNode *') if (TraitsTy::child_begin(I) == TraitsTy::child_end(I)) ^ /Developer/llvm/lib/Transforms/ThreadBufferOptimizer/ThreadBufferOptimizer.h:59:10: note: i...
2011 Jul 15
2
[LLVMdev] select1st, select2nd
I believe he's referring to this: http://www.sgi.com/tech/stl/select1st.html On Fri, Jul 15, 2011 at 1:29 PM, Chris Lattner <clattner at apple.com> wrote: > > On Jul 15, 2011, at 12:35 PM, David Greene wrote: > >> I've run into a use case where I'd like to use a mapped_iterator to >> iterator the 1st (or 2nd) items in a sequence of std::pairs.  Does >> select1st/select2nd exist somewhere within LLVM or is there some >> equivalent?  If not, I'll add it. > > Is this making the resultant loop simpler?  C++ without lambda's isn't very frien...
2011 Jul 15
2
[LLVMdev] select1st, select2nd
Chris Lattner <clattner at apple.com> writes: > On Jul 15, 2011, at 12:35 PM, David Greene wrote: > >> I've run into a use case where I'd like to use a mapped_iterator to >> iterator the 1st (or 2nd) items in a sequence of std::pairs. Does >> select1st/select2nd exist somewhere within LLVM or is there some >> equivalent? If not, I'll add it. > > Is this making the resultant loop simpler? C++ without lambda's isn't > very...
2011 Jul 16
0
[LLVMdev] select1st, select2nd
On Jul 15, 2011, at 1:57 PM, David A. Greene wrote: > Chris Lattner <clattner at apple.com> writes: > >> On Jul 15, 2011, at 12:35 PM, David Greene wrote: >> >>> I've run into a use case where I'd like to use a mapped_iterator to >>> iterator the 1st (or 2nd) items in a sequence of std::pairs. Does >>> select1st/select2nd exist somewhere within LLVM or is there some >>> equivalent? If not, I'll add it. >> >> Is this making the resultant loop simpler? C++ without lambda's...
2011 Jul 16
2
[LLVMdev] select1st, select2nd
Chris Lattner <clattner at apple.com> writes: > The problem that I have with this sort of higher order metaprogramming Metaprogramming? This isn't template metaprogramming if that's what you mean. > in C++'98 is that you're trading one set of complexity for another. What's the other complexity? -Dave
2011 Jul 17
0
[LLVMdev] select1st, select2nd
I'm talking about mapped iterator + select1st. -Chris On Jul 16, 2011, at 2:58 PM, greened at obbligato.org (David A. Greene) wrote: > Chris Lattner <clattner at apple.com> writes: > >> The problem that I have with this sort of higher order metaprogramming > > Metaprogramming? This isn't template metaprogramming if that's what you > mean. > >>
2002 Oct 27
0
[LLVMdev] STLExtras.h is not standalone
Issue: STLExtras.h includes a class mapped_iterator that uses std::iterator_traits<> without including <iterator>. Fix: have STLExtras.h include Support/iterator. -- Casey Carter Casey at Carter.net ccarter at uiuc.edu AIM: cartec69 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name:...
2002 Oct 27
0
[LLVMdev] Followup on Casey's patches
In case others are interested in what happened with Casey's patches, here's the digest: > Issue: STLExtras.h includes a class mapped_iterator that uses > std::iterator_traits<> without including <iterator>. > Fix: have STLExtras.h include Support/iterator. Applied. > DSGraph.h has a prototype in it with a std::string& parameter, but does > not include <string>. Applied. > The machinery around the...
2017 Aug 25
9
[5.0.0 Release] Release Candidate 3 tagged
Dear testers, 5.0.0-rc3 was just tagged. This is a release candidate in the real sense: if nothing bad comes up in testing, this is what the release is going to look like. Please build, test and upload binaries to the sftp (use the /data/testers-uploads/ directory) and let me know what issues remain. I know we're a little bit behind schedule, but hopefully we can get to 'final'