similar to: [LLVMdev] select1st, select2nd

Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] select1st, select2nd"

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
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. >
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
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
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. > >>
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
2017 May 24
3
GraphTraits dereferencing
Hello, I’m trying to port a project up to 4.0 and I’m seeing the following error: In file included from /Users/jaredcarlson/Projects/llvm-4.0.0.src/include/llvm/ADT/StringRef.h:13: /Users/jaredcarlson/Projects/llvm-4.0.0.src/include/llvm/ADT/STLExtras.h:139:13: error: no type named 'type' in 'std::__1::result_of<std::__1::pointer_to_unary_function<llvm::DSNode *, llvm::DSNode
2013 Jun 05
0
[LLVMdev] CallGraph, GraphTraits and DominatorTree
Hi there, I'm currently writing an analysis (for now) pass for LLVM that kind of need some information from the CallGraph of the program. This info would be extremely easy to get if I could build the DominatorTree information about the CallGraph. I even checked out and saw the declarations of GraphTraits templates for CallGraph and CallGraphNode, which might indicate that all algorithms that
2015 Jul 06
2
[LLVMdev] Customizing module compilation in ORC JITs
Hi Lang, I'm looking at extending the compilation passes used in the LLILC JIT and it seems like the simplest thing is to make a copy of the SimpleCompiler functor into the LLILC code and then modify it for the phases I want to run. But I was wondering if this was the best approach. Do you expect different clients to create their own compiler functors or do you imagine that SimpleCompiler
2012 Feb 05
1
How to Calculate Percentage of Data within certain SD of Mean
How do you calculate the percentage of data within 2SD, 3SD, 4SD, 5SD, and 6SD of the mean? I used the following link as the data I'm working with: nb10 <- read.table("http://www.adjoint-functors.net/su/web/314/R/NB10") if this helps answer my question. Can you please explain how to calculate the SD's? Please be specific in which part of the function changes when
2012 Feb 04
2
How to Compare the median to the mean?
Okay, so I have a homework projecr for R, and we had to input the following link as some sort of data: nb10 <- read.table("http://www.adjoint-functors.net/su/web/314/R/NB10"). Afterwards, we have to use fivenum(nb10) to find max, min, quantiles, and sd, but I'm okay with this. The next question is where I'm stuck. The question is as follows; Compare the median (use the
2008 Dec 05
2
[LLVMdev] Build errors on trunk for about a week now.
On Fri, Dec 5, 2008 at 2:31 PM, Cédric Venet <cedric.venet at laposte.net> wrote: > OvermindDL1 a écrit : >> On Fri, Dec 5, 2008 at 1:58 PM, OvermindDL1 <overminddl1 at gmail.com> wrote: >> >>> On Fri, Dec 5, 2008 at 1:57 PM, OvermindDL1 <overminddl1 at gmail.com> wrote: >>> >>>> On Fri, Dec 5, 2008 at 1:52 PM, OvermindDL1
2008 Dec 05
0
[LLVMdev] Build errors on trunk for about a week now.
On Fri, Dec 5, 2008 at 2:38 PM, OvermindDL1 <overminddl1 at gmail.com> wrote: > /* snip */ I updated the svn to 60607. It still needed that const change. Added the const word on that member function. Tried building debug, debug still fails horrible. I am going to try to stop by that computer for an hour or so before my next work shift tonight, will completely get rid of every trace
2009 Dec 08
0
[LLVMdev] More questions on CompilerDriver.
Hi Sanjiv, On Tue, Dec 8, 2009 at 4:41 AM, Sanjiv Gupta <sanjiv.gupta at microchip.com> wrote: > Mikhail Glushenkov wrote: >> >> > 2. Is there anyway to call a C++ hook from inside actions? >> > for example >> > (actions (case >> >         (not_empty "Wl,"), (append_cmd "$CALL(Myhook)" ))) >> >> Not yet, this is
2009 Dec 08
2
[LLVMdev] More questions on CompilerDriver.
Mikhail Glushenkov wrote: > > > 2. Is there anyway to call a C++ hook from inside actions? > > for example > > (actions (case > > (not_empty "Wl,"), (append_cmd "$CALL(Myhook)" ))) > > Not yet, this is something I'm working on right now. > Hi Mikhail, Did you get a chance to do something about this? > > > BTW, I've
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: patch URL:
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
2008 Jan 23
6
JRuby and callbacks?
Hi all, Any Java/JRuby folks on the list? I''d like to see if we can implement api.c for JRuby using JNA and see how it handles the callbacks. I''m not a Java guy, nor do I know JNA, but I''ll take a stab at it if no one else on the list does. Here are a couple of useful links: http://www.infoq.com/news/2007/09/jna-jruby https://jna.dev.java.net/ Regards, Dan This
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'
2018 Nov 30
2
[RFC] Tablegen-erated GlobalISel Combine Rules
> On Nov 29, 2018, at 01:57, Nicolai Hähnle <nhaehnle at gmail.com> wrote: > > Hi Daniel, > > > On 27.11.18 18:59, Daniel Sanders wrote: >> I've more or less finished updating the examples to the DAG style we were talking about. Hopefully I haven't forgotten anything, there was a lot to keep track of :-). Overall, I think there's a couple places where