search for: gritz

Displaying 20 results from an estimated 45 matches for "gritz".

Did you mean: fritz
2013 Dec 09
1
[LLVMdev] PTX generation examples?
...Err); > if (Tgt) { > // nvptx target is available > } else { > // nvptx target is not available > } > > > More information about the PTX target can be found at: http://llvm.org/docs/NVPTXUsage.html > > > > On Fri, Dec 6, 2013 at 3:43 PM, Larry Gritz <lg at larrygritz.com> wrote: > OK, fine -- an example of MCJIT that sets up for PTX JIT would also be helpful. > > > On Dec 6, 2013, at 12:32 PM, Eli Bendersky <eliben at google.com> wrote: > >> >> You'll have to switch to MCJIT for this purpose. Lega...
2011 Nov 10
3
[LLVMdev] Optimization passes
Is there a succinct way I can get the full list of which optimization passes are applied, and in what order, for standard clang -O1, -O2, -O3? -- Larry Gritz lg at larrygritz.com
2013 Dec 06
2
[LLVMdev] PTX generation examples?
OK, fine -- an example of MCJIT that sets up for PTX JIT would also be helpful. On Dec 6, 2013, at 12:32 PM, Eli Bendersky <eliben at google.com> wrote: > > You'll have to switch to MCJIT for this purpose. Legacy JIT doesn't emit PTX. > > Eli -- Larry Gritz lg at larrygritz.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131206/57cb47ab/attachment.html>
2016 Mar 08
2
Deleting function IR after codegen
...ager to hold onto the binary bits and discard the rest. > > As far as I know it doesn't leak, though we don't blow away the context, so that grows a bit over time. > > -----Original Message----- > From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Larry Gritz via llvm-dev > Sent: Tuesday, March 8, 2016 11:04 AM > To: llvm-dev at lists.llvm.org > Subject: Re: [llvm-dev] Deleting function IR after codegen > > YES. My use of LLVM involves an app that JITs program after program and will quickly swamp memory if everything is retained. It is c...
2013 Dec 09
0
[LLVMdev] PTX generation examples?
...get *Tgt = TargetRegistry::lookupTarget("nvptx64", Err); if (Tgt) { // nvptx target is available } else { // nvptx target is not available } More information about the PTX target can be found at: http://llvm.org/docs/NVPTXUsage.html On Fri, Dec 6, 2013 at 3:43 PM, Larry Gritz <lg at larrygritz.com> wrote: > OK, fine -- an example of MCJIT that sets up for PTX JIT would also be > helpful. > > > On Dec 6, 2013, at 12:32 PM, Eli Bendersky <eliben at google.com> wrote: > > > You'll have to switch to MCJIT for this purpose. Legacy JIT...
2015 Sep 18
3
LLVM and XCode 7.0.0
...even solely on Apple, if switching back and forth between xcode's clang and custom built clang from source), really need a consistent way of determining which underlying version is being used. Or am I missing something obvious that I should be doing to detect versions more robustly? -- Larry Gritz lg at larrygritz.com
2016 Mar 08
3
Deleting function IR after codegen
...t; - BB’s whose addresses are taken, i.e. jump tables, can’t be deleted. Those functions will just keep their IR around so no changes there. > > With the above issues fixed, I can run make check and pass all the tests. > > Comments very welcome. > > Cheers, > Pete -- Larry Gritz lg at larrygritz.com
2016 May 19
2
External function resolution: MCJIT vs ORC JIT
...on that uses the DataLayout, then search for 'mangle(<name>)', which does the right thing on all platforms. > > I've attached a new version of your code with these changes included. Hope this helps! > > - Lang. > > > On Tue, May 17, 2016 at 12:13 PM, Larry Gritz via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: > When using ORC JIT, I'm having trouble with external function resolution (that is, of a function defined in the app, with C linkage). > > I add a declaration for the function to my IR, a...
2010 Aug 16
3
[LLVMdev] Module management questions
...module and/or EE for every one of these sets of functions that I need to dynamically compile. Second question: what's the best way to proceed? What's the approved way to completely free a Module/EE? And can I do so and still retain the JITed machine code to continue executing? -- Larry Gritz lg at larrygritz.com (a.k.a. lg at imageworks.com)
2013 Dec 06
2
[LLVMdev] PTX generation examples?
...ow to find out at runtime if the libLLVM I'm linked against can generate PTX, how to change the initialization or JIT commands to request PTX rather than x86, anything I need to know about differences in the IR I should present, etc. Any pointers would be greatly appreciated, thanks. -- Larry Gritz lg at larrygritz.com
2016 May 20
0
External function resolution: MCJIT vs ORC JIT
...ests are all very welcome. In case it's useful too, here's a link to the LLILC JIT file, which uses a simple ORC setup on Windows: https://github.com/dotnet/llilc/blob/dd12743f9cdb5418f1c39b2cd756da1e8396a922/lib/Jit/LLILCJit.cpp#L299 Cheers, Lang. On Thu, May 19, 2016 at 11:57 AM, Larry Gritz <lg at larrygritz.com> wrote: > Thanks so much! This seems to do the trick. I would have spun my wheels > for a long time before discovering all of this, wow. > > Do I even want to know what additional chickens need to be sacrificed to > get this to work on Windows? > >...
2010 Aug 11
4
[LLVMdev] Optimization pass questions
...dynamically-generated code, so in contrast to a fully offline compiler, I'm fairly sensitive to achieving a good balance of optimization of the JITed code versus time spent doing the optimizations. In case that changes any of your answers. Thanks, any info would be very appreciated! -- Larry Gritz lg at larrygritz.com
2010 Aug 20
2
[LLVMdev] Module management questions
...les appear to be the culprit in the memory consumption. If I call ExecutionEngine::removeModule (after JITing a function from the module), does that mean that I can subsequently no longer call the function? Or can I? Can I delete the Module at that point and still use the machine code? -- Larry Gritz lg at larrygritz.com
2014 Jan 21
4
[LLVMdev] MCJIT versus getLazyBitcodeModule?
...doscope.html > > The two blog entries before that may also be of use to you: http://blog.llvm.org/2013_07_01_archive.html > > I don't where you can find an example of the Module linking I described, but I think llvm::Linker is the class to look at. > > -Andy > -- Larry Gritz lg at larrygritz.com
2010 Aug 12
0
[LLVMdev] Optimization pass questions
This may seem odd, but I want to really encourage the list to help Larry Gritz with this issue. I've been following the development of his project (OpenShadingLanguage) for months now and he has a *very* good use case for LLVM. It may be tempting to just "send him to the docs", but if anyone here can help take their use of LLVM to the next level, I can tell you...
2016 May 22
1
External function resolution: MCJIT vs ORC JIT
...t; In case it's useful too, here's a link to the LLILC JIT file, which uses a simple ORC setup on Windows: https://github.com/dotnet/llilc/blob/dd12743f9cdb5418f1c39b2cd756da1e8396a922/lib/Jit/LLILCJit.cpp#L299 > > Cheers, > Lang. > > On Thu, May 19, 2016 at 11:57 AM, Larry Gritz <lg at larrygritz.com> wrote: > Thanks so much! This seems to do the trick. I would have spun my wheels for a long time before discovering all of this, wow. > > Do I even want to know what additional chickens need to be sacrificed to get this to work on Windows? > > -- lg &g...
2010 Aug 12
0
[LLVMdev] Optimization pass questions
On Aug 11, 2010, at 4:55 PM, Larry Gritz wrote: > I have a whole slew of questions about optimization passes. Answers to any or all would be extremely helpful: > > How important are doInitialization/doFinalization? I can't detect any difference if I use them or not. Why does the function pass manager have doInitializatio...
2014 Jan 21
2
[LLVMdev] MCJIT versus getLazyBitcodeModule?
...r the granularity at which pieces of your pre-compiled code get loaded while also giving you the speed of the cached object file solution. The trade-off is that for this solution you do need to know the target architecture ahead of time. > > Hope this helps. > > -Andy > -- Larry Gritz lg at larrygritz.com
2016 May 17
3
External function resolution: MCJIT vs ORC JIT
...tion = (FuncFloatFloat) ExprSymbol.getAddress (); } else { my_executable_function = (FuncFloatFloat) EE->getFunctionAddress ("myfunc"); } assert (my_executable_function); printf ("myfunc(42.0f) = %g\n", (*my_executable_function)(42.0f)); } -- Larry Gritz lg at larrygritz.com
2012 May 11
2
[LLVMdev] LLVM library versionitis
...eases? Alternately, and/or in the mean time, does anybody have suggestions for me about how to deal with the very real problem I have about an app (I don't control) linking an LLVM version that is incompatible with the LLVM versions required by a plugin that uses my library? Thanks. -- Larry Gritz lg at larrygritz.com