similar to: [LLVMdev] Customizing Passes

Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Customizing Passes"

2011 Aug 10
1
[LLVMdev] How to emit a simple stream of machine code.
Hi, I am working on an LLVM backend for GPUs, and I would like to be able to emit a very simple byte stream of machine code, so that it can be fed directly into the GPU. I don't need anything fancy, just the raw machine code, one instruction after another. I think I've already implemented everything in the backend that is required to do this, but I'm not sure how to get a pointer to
2006 May 23
4
[LLVMdev] Adding an object to llc
Hi I have just written an pass which does some simple ASAP scheduling. First i registered it as optimization pass because it so nice documented and speeds up the compilation and testing times dramaticly :-). Then i just registered this part as an analysis part which should be used in a modified cbackend. All seems to work fine, exept that llc fails to link. I tried removing the
2012 Jun 29
1
[LLVMdev] Why some registered passes are not available through opt?
Sorry, then I don't understand. If I invoke backend with target->addPassesToEmitFile, it adds both opt and llc passes. Thus, PassManager contains both opt and llc passes after that. In case of crash, bugpoint reloads all passes from the failing pass manager to the separate instance of opt. If opt and llc both do not support such mixing, then I'm guessing I need to replace
2007 Apr 18
10
customizing global request handler
what is the cleanest way to do something for every request of a particular type (Verb, and Content-Type header)? i''m trying to figure out if shipping a custom camping.rb is avoidable, and if, how i should structure a patch my app http://whats-your.name/yard/ uses exclusively JSON based messaging between server and client. this means POST bodies are JSON, and not querystring.. camping
2012 Jun 29
0
[LLVMdev] Why some registered passes are not available through opt?
Hi Dmitry, > Is it correct that opt does not understand codegen passes, but llc > understands both analysis/transformation and codegen passes? no. Ciao, Duncan. I would > like to modify bugpoint to work on this end. > > Thanks, > - D. > > 2012/6/29 Duncan Sands <baldrick at free.fr>: >> Hi Dima, >> >>> I'm trying to understand why opt
2012 Jun 29
2
[LLVMdev] Why some registered passes are not available through opt?
Hi Duncan, Is it correct that opt does not understand codegen passes, but llc understands both analysis/transformation and codegen passes? I would like to modify bugpoint to work on this end. Thanks, - D. 2012/6/29 Duncan Sands <baldrick at free.fr>: > Hi Dima, > >> I'm trying to understand why opt tool does not know some of the >> registered passes, for example,
2018 Dec 28
2
Advice for Porting SafeStack to New Pass Manager
Hello, I'm in the process of creating a pass for the new PM for SafeStack which is only available as a part of the legacy PM. The only thing bugging me is in regards to the TargetPassConfig analysis. Whereas most other passes/analyses I have seen separate the logic between the actual pass and anything it does to the IRUnits it runs over are in 2 separate classes, TargetPassConfig has them
2007 Jul 06
5
Text Mining
Hi everybody, I am a new R user. Is there any package devoted to "text mining" analysis in R ? Thanks Gilles lepape.gilles at neuf.fr
2017 Mar 22
2
The challenge of customizing Dovecot
On 03/22/2017 11:36 AM, chaouche yacine wrote: > Robert, > > What would be the benefit of using sed against making customized files and just copying them ? I'd probably just want to copy a working version of /etc/dovecot/ conf files instead of modifying my existing files with sed scripts (or create new ones with cat). new options are left unaltered. I learned this with postfix, to
2010 Nov 12
3
Best way to configure proprietary NVidia driver on CentOS ?
Hi, What's the best (cleanest, easiest, whatever) way to install the proprietary NVidia driver on CentOS 5.5 ? Usually I'm using the RPMForge 3rd party repo and compile the odd missing package myself from a Fedora SRPM. But the nvidia packages look a bit like a mess. DKMS has errors in the startup script (looking for a nonexistent log_action_msg and the likes), so I wonder if it's
2009 Oct 19
3
apache env vars - best practices
I've been setting custom env vars for Apache 1 of 2 ways; 1 - Changing the passwd file so Apache has a shell and loading a custom .bashrc file. 2 - Using the SetEnv directive in my httpd.conf file. I'm crazy about neither one as they both have limitations; 1 - I don't like giving Apache its own shell. 2 - The SetEnv directive only takes 2 args so if I have a var with multiple
2006 Oct 07
1
Customizing Sign-Off Message
This is probably a dumb question; however, I have never let a thing like that stop me before. A user can configure Dovecot to give a customized greeting when it is accessed. Is there anyway to customize the message it displays when it terminates the session? -- Gerard Seibert gerard at seibercom.net "Losing my virginity was a career move." Madonna
2014 Oct 20
2
[LLVMdev] [RFC] New ToolsSupport library for stuff that only tools need
There is no real technical requirement for this. Currently we work around the signal handlers by building with ENABLE_CRASH_OVERRIDES=NO, and carrying along the command line parsing code and ToolOutputFile isn’t really a big drain. This seemed to me like the cleanest way to accomplish a goal of mine. The goal I have is to be able to build an LLVM dylib and llc/opt/etc from the same CMake
2014 Aug 04
2
[PATCH 09/19] drm/radeon: handle lockup in delayed work, v2
> It'a pain to deal with gpu reset. Yeah, well that's nothing new. > I've now tried other solutions but that would mean reverting to the old style during gpu lockup recovery, and only running the delayed work when !lockup. > But this meant that the timeout was useless to add. I think the cleanest is keeping the v2 patch, because potentially any waiting code can be called
2005 Dec 22
1
Hiding a function from ls()
I need to define a small helper function which should not be listed by ls(). What is the best and cleanest way of achieving this? -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
2009 Aug 20
2
[LLVMdev] How to force MemoryDependenceAnalysis to run on original module
Hi, I do have a FunctionPass that does change the code. This FunctionPass requires another FunctionPass which performs all the necessary analyses. This AnalysisPass again requires MemoryDependenceAnalysis. The problem is, that I would like MemoryDependenceAnalysis to run on the unaltered module. I do not want to have dependencies to changed code. What is the cleanest way to do this? Sounds
2008 Apr 18
1
problem customizing CXXFLAGS in Windows
Hi all, I am running R 2.6.2 in Windows XP with Rtools 2.7 and am trying to compile a shared library in Windows with customized level of optimization. Specifically, I would like to have "-O3 -funroll-loops" as flags when I run "R CMD SHLIB ***.cc" to speed the program for my simulations. I have read through the documentation and have tried adding the line PKG_CXXFLAGS =
2017 Mar 23
3
The challenge of customizing Dovecot
On 03/22/2017 09:16 PM, Rob McAninch wrote: >> On Mar 22, 2017, at 18:25, Robert Moskowitz <rgm at htt-consult.com> wrote: >> >> >> >>> On 03/22/2017 11:36 AM, chaouche yacine wrote: >>> Robert, >>> >>> What would be the benefit of using sed against making customized files and just copying them ? I'd probably just want to copy a
2014 Oct 31
3
[LLVMdev] [RFC] New ToolsSupport library for stuff that only tools need
+1 to this. I'd slightly prefer a separate library (though moving the code vs not moving the code I'm relatively apathetic about), but just because I hate conditional compilation. -eric On Thu Oct 30 2014 at 5:55:59 PM Juergen Ributzka <juergen at apple.com> wrote: > I am mostly impartial to the two proposed solutions (separate library or > conditional compilation of the
2016 Oct 28
4
Compiler used to build LLVM
Hello, We’d like to keep track of which clang version was used to build our LLVM binaries. We use cmake and ninja with clang to build. What do you people think would be the cleanest way to know which version of clang is used, on a user’s machine, to build those binaries. I’m hoping to script this. I was thinking that getting cmake/ninja to spit out this information, if possible, would probably be