similar to: [LLVMdev] [Fwd: Re: problem with multiple LLVM passes]

Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] [Fwd: Re: problem with multiple LLVM passes]"

2009 Sep 10
0
[LLVMdev] problem with multiple LLVM passes
I'm trying to write two LLVM passes, one of which uses the results of the other. The first is LiveVars and the second is RemoveUseless. In the RemoveUseless class I have: virtual void getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequired<LiveVars>(); } This compiles fine, but when I try to run it I get an error: Pass class not registered! The error goes
2011 Jan 12
1
[LLVMdev] About adding a pass into llvm
I have seen INITIALIZE_PASS(LiveVariables, "livevars", "Live Variable Analysis", false, false); in the llvm/lib/codegen/LiveVariables.cpp, where LiveVariables is a subclass of MachineFunctionPass, and #define INITIALIZE_PASS(passName, arg, name, cfg, analysis) \ static RegisterPass<passName> passName ## _info(arg, name, cfg, analysis) in PassSupport.h Is this code used
2014 Sep 29
2
[LLVMdev] questions about getAnalysisUsage
Hi, I notice that there are several different methods called inside getAnalysisUsage(). The parameters of addRequiredID and addPreservedID are passID. What is the difference between Required and Preserved? There are also function named addRequired<PassName>() called. What is the difference between addRequired<PassName>() and addRequiredID(PassID)? Thanks a lot! Best,
2016 Mar 22
1
Passing llvm option -mem2reg to clang
Unless mem2reg does something other than my understanding of it, I can't see why any pass would "require" that... It is not guaranteed to do anything to any particular piece of code, so relying on it seems very unreliable, I would think. -- Mats On 22 March 2016 at 04:32, Kevin Hu via llvm-dev <llvm-dev at lists.llvm.org> wrote: > Hi, > > > Is there any way that
2009 Sep 10
0
[LLVMdev] Finding call points to a function
Rakesh Komuravelli wrote: > Hi, > > I am writing an LLVM Pass and I would like to know how would I do the > following: > > 1. I have a function foo, and I need to get all the call points calling > this function in each Function of the Module. The only way I can think > of is to iterate over the BasicBlocks of each Function, look for all the > Call Instructions and
2009 Jun 05
1
[LLVMdev] Analysis Pass
Hi, I am trying to set a prerequisite pass. void PassName::getAnalysisUsage(AnalysisUsage &AU) const { AU.setPreservesAll(); AU.addRequired<LiveVariables>(); } But when i am running the pass with the opt i get this error: undefined symbol: _ZN4llvm13LiveVariables2IDE If you need more information ... Thank you. -------------- next part -------------- An HTML
2010 Jul 23
0
[LLVMdev] Controlling the order of a FunctionPass
Trevor Harmon wrote: > On Jul 22, 2010, at 2:05 PM, John Criswell wrote: > > >> If you write your pass as a ModulePass, then you can iterate over the >> functions in any order that you want. >> > > I had considered that, but my FunctionPass depends on other passes > processing the functions first: > Two things to consider: 1) The PassManager
2011 May 26
2
[LLVMdev] Need advice on writing scheduling pass
Hi, thank you for your explanations. In order to get a pre-RA scheduling, I would need something like: - LiveVars - PhiElim - TwoAddr - LiveIntervals - Coalescing - Scheduler (new) - SlotIndexing - LiveIntervals2 (new) - RegAllocMy qeustion then is, is it really so difficult to create the live intervals information, with modifications to the original algorithm, or even from scratch?
2011 May 24
0
[LLVMdev] Need advice on writing scheduling pass
On May 24, 2011, at 8:22 AM, Jonas Paulsson wrote: > Hi (Jakob), > > in reference to the prior message below, I have the following follow-up questions, as I also need a scheduling pass > prior to regalloc. I need to do this in order to set VLIW-flags, so that the RA is aware of several MI's > per cycle with a redefined LiveRange::overlap-function. On a multiple-issue cycle, a
2012 Oct 30
1
[LLVMdev] Error when trying to chain two llvm transform passes
On Oct 30, 2012, at 3:15 PM, Krzysztof Parzyszek <kparzysz at codeaurora.org> wrote: > On 10/30/2012 4:10 PM, Ashwin kumar wrote: >> >> Assertion failed: (PI && "Expected required passes to be initialized"), >> function schedulePass, file PassManager.cpp, line 597. >> >> >> I register the passes using RegisterPass function call.
1999 Aug 25
2
Change passwd via web
hi all, I am looking for a cgi script which can be used to change the smbpasswd via web browser. Anyone done this already ?. Any pointers will he appreciated much. Thanks rakesh -------------------------------------------------------------------- Rakesh Jain Systems Administrator, MIS Dept BEA Systems, Inc. voice: +1-972-943-5135 4965, Preston Park Blvd fax: +1-972-943-5111 Suite 500
1999 Aug 23
2
how to change samba (smbpasswd) via web browser...
hi all, I am looking for a program or cgi script which can be used to change the smbpasswd via web browser. Anyone done this already ?. Any pointers will he appreciated much. Thanks rakesh -------------------------------------------------------------------- Rakesh Jain Systems Administrator, MIS Dept BEA Systems, Inc. voice: +1-972-943-5135 4965, Preston Park Blvd fax:
2010 Jul 24
2
[LLVMdev] Controlling the order of a FunctionPass
John Criswell wrote: > Trevor Harmon wrote: >> On Jul 22, 2010, at 2:05 PM, John Criswell wrote: >> >> >>> If you write your pass as a ModulePass, then you can iterate over the >>> functions in any order that you want. >>> >> >> I had considered that, but my FunctionPass depends on other passes >> processing the functions first:
2006 May 17
0
[LLVMdev] Obfuscation with LLVM
Hi all, I was trying to implement an obfuscation tool for C-code on the basis of LLVM. I got a prototype of the simple obfuscation transformation which converting control flow graph to something like a state machine. I am not sure I will have time to work on extending further this tool with new transformations like opaque predicates and decided to put here source code I have by now with hope
2012 Nov 16
0
[LLVMdev] Using custom LLVM Passes with clang
Hello, I have written a custom LLVM Loop Pass that perforates a loop by changing the increment value for the induction variable. I am able to run this pass using the opt command and loading the shared object library from Debug+Asserts as detailed in http://llvm.org/docs/WritingAnLLVMPass.html I was wondering if this pass can be used in clang somehow. I have read about "-mllvm"
2018 Nov 19
2
Non-relocating GC with liveness tracking
Thanks for reviving this. I completely forgot the details but I resolved this problem. Looking though the code, seems I forked RewriteStatepointsForGC pass, and change it to adding 'gc-livevars' bundle to the call/invoke inst after finding the livevars, instead of changing it to StatepointCall intrinsic. On Wed, Nov 14, 2018 at 11:48 AM Philip Reames <listmail at philipreames.com>
2006 Nov 04
0
3 Months Ruby Contract / London
I am currently looking for a developer with skills in Ruby Rails and Java for a 3 month contract in London If you are interested can you please give me a call on the number below. Regards Rakesh ___________________________ Rakesh Thakrar Manager Microcom Recruitment Division 2 Adelaide Street St. Albans Herts, AL3 5BH Tel: 01727 752000 Mob: 079 7094 3227 Fax: 01727 752018
2006 Mar 13
0
XATTR and extra meta data sync between nodes
Hallo, Does Rsync support XATTR sync between nodes? Using setfattr -n user.line -v 100 <File Name> setfattr -n user.creator -v ?Rakesh Kumar Bhatia? <File Name> will create extended attribute for different files. I used rsync -av <source> <destination> to copy the files. extended attributes are missing in the destination path. Can use the command
2014 Mar 05
0
[PATCH] Btrfs-progs: remove unused variable and update btrfs-image man page
Remove unused variable in btrfs-image.c (update_super) and update man page documentation about -r option. Running btrfsck on a restored image produces missing chunk information. This is because by default, btrfs-image fixes up chunk tree to use 1 stripe pointing to the primary device. This in turns results in btrfsck making some noise. $ ./mkfs.btrfs /dev/sdb2 -f $ ./btrfs-image /dev/sdb2
2020 Jan 24
3
Module::createRNG() and new PassManager
Correct me if I'm wrong, but is Module::CreateRNG(Pass *) unusable with the new PassManager? Since each pass is defined as a llvm::PassInfoMixIn<DerivedT> instead of inheriting from llvm::Pass, it doesn't seem possible to obtain the underlying llvm::Pass * from e.g. llvm::ModuleAnalysisManager. Would it make sense to change the definition/implementation to Module::CreateRNG(StringRef