search for: pass2

Displaying 20 results from an estimated 128 matches for "pass2".

Did you mean: pass
2009 Aug 21
2
[LLVMdev] How to force MemoryDependenceAnalysis to run on original module
...'t really possible. The issue is that MemDep doesn't just >>> "analyze your function". It is designed to be as lazy as possible, >>> which means that it only does analysis when a query is performed. This >>> means that if you have MemDep->Pass1->Pass2 and Pass2 uses MemDep info >>> that you need to make Pass1 preserve that memdep info. >> >> >> Hi, >> >> actually my problem is easier. So I still have hope that it is possible: >> >> MemDep->Pass1->Pass2 >> >> Pass1 uses MemDep....
2009 Aug 21
2
[LLVMdev] How to force MemoryDependenceAnalysis to run on original module
..., > > This isn't really possible. The issue is that MemDep doesn't just > "analyze your function". It is designed to be as lazy as possible, > which means that it only does analysis when a query is performed. This > means that if you have MemDep->Pass1->Pass2 and Pass2 uses MemDep info > that you need to make Pass1 preserve that memdep info. Hi, actually my problem is easier. So I still have hope that it is possible: MemDep->Pass1->Pass2 Pass1 uses MemDep. Pass2 only uses Pass1. Eventually, Pass2 changes the code. Unfortunately, non-loca...
2009 Aug 21
0
[LLVMdev] How to force MemoryDependenceAnalysis to run on original module
On Fri, Aug 21, 2009 at 10:48 AM, Marc Brünink<marc at bruenink.de> wrote: >>> actually my problem is easier. So I still have hope that it is possible: >>> >>> MemDep->Pass1->Pass2 >>> >>> Pass1 uses MemDep. Pass2 only uses Pass1. Eventually, Pass2 changes the >>> code. Unfortunately, non-local dependencies of MemDep might point to >>> code changed by Pass2. Therefore, Pass1 might see changes applied by >>> Pass2. This breaks encap...
2009 Aug 21
0
[LLVMdev] How to force MemoryDependenceAnalysis to run on original module
...n't really possible. The issue is that MemDep doesn't just >> "analyze your function". It is designed to be as lazy as possible, >> which means that it only does analysis when a query is performed. >> This >> means that if you have MemDep->Pass1->Pass2 and Pass2 uses MemDep >> info >> that you need to make Pass1 preserve that memdep info. > > > Hi, > > actually my problem is easier. So I still have hope that it is > possible: > > MemDep->Pass1->Pass2 > > Pass1 uses MemDep. Pass2 only uses Pass1....
2009 Aug 20
0
[LLVMdev] How to force MemoryDependenceAnalysis to run on original module
...t it right :D Hi Marc, This isn't really possible. The issue is that MemDep doesn't just "analyze your function". It is designed to be as lazy as possible, which means that it only does analysis when a query is performed. This means that if you have MemDep->Pass1->Pass2 and Pass2 uses MemDep info that you need to make Pass1 preserve that memdep info. -Chris
2011 May 18
0
[LLVMdev] 2.9 pass manager asserts "Unable to handle Pass that requires lower level Analysis pass"
Hi, I am trying to write an LLVM project, using LLVM 2.9. My passes are defined as follows, where the Pass2 requires Pass1. namespace llvm { class BaseClass : public ModulePass { // Name for printing const char* printname; protected: BaseClass(char id, const char* name) : ModulePass(id),printname(name){ } }; class Pass1 : public BaseClass { public: static char ID; Pass1() : BaseClass(I...
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
2013 Apr 16
0
[LLVMdev] creating and inserting a function with variable arguments
Akshay Jain <jivan.molu at gmail.com> writes: > I have tried it, but I always end up with some kind of error. Can you > explain how can I get a function type for function which returns void > (nothing) and it's arguments are (int, int, int, void *, void *, ...) ?? Instead of getting something to cut&paste, you would be much more enriched if the problematic code and the
2013 Apr 16
2
[LLVMdev] creating and inserting a function with variable arguments
I have tried it, but I always end up with some kind of error. Can you explain how can I get a function type for function which returns void (nothing) and it's arguments are (int, int, int, void *, void *, ...) ?? Thanks in advance. On Tue, Apr 16, 2013 at 7:22 AM, Óscar Fuentes <ofv at wanadoo.es> wrote: > Akshay Jain <jivan.molu at gmail.com> writes: > > > I am
2013 Apr 16
1
[LLVMdev] creating and inserting a function with variable arguments
...text)); ParamTys.push_back(PointerType::get(Type::getVoidTy(Context), 0)); ParamTys.push_back(PointerType::get(Type::getVoidTy(Context), 0)); FunctionType *ftype = FunctionType::get(Type::getVoidTy(Context), ParamTys, true); And the errors are: /home/akshay/llvm/llvm-2.9/lib/Transforms/AliasPass/pass2.cpp: In member function ‘virtual bool {anonymous}::Hello2::runOnFunction(llvm::Function&)’: /home/akshay/llvm/llvm-2.9/lib/Transforms/AliasPass/pass2.cpp:108:62: error: no matching function for call to ‘std::vector<llvm::Type*>::push_back(const llvm::IntegerType*) const’ /home/akshay/llvm...
2012 Jun 26
0
[LLVMdev] Does anaysis group only contain passes?
...good a result as it likes, asks the next analysis in the chain (see http://llvm.org/docs/WritingAnLLVMPass.html#AU::addRequired). > If yes, which pass will be used for the call of > getAnaysis<AnalysisGroup>()? I believe the chain is in reverse order. So if you specify opt -pass1 -pass2 -pass3 -transform, and transform queries the analysis group to which pass1, pass2, and pass3 belong, then pass3 is queried first. If pass3 then queries another pass in the analysis group, the query will be sent to pass2. Likewise, if pass2 queries another analysis in the group, it will be sen...
2007 Dec 17
3
[LLVMdev] Bug 1868: Specifying Pass Orderings
Dear Devang Patel, In response to your comment on bug 1868, how do I get BottomPass to requires Pass2 before Pass1? Is it by reversing the order of the calls to AU.addRequired()? -- John T. -- John T. Criswell jcriswel at bigw.org "It's today!" said Piglet. "My favorite day," said Pooh.
2012 Jun 26
2
[LLVMdev] Does anaysis group only contain passes?
Thanks, John. This sounds reasonable that the analysis group just provides an interface to its implementors (pass). Then I have another question, is it allowed to specify multiple pass in the same analysis group in the command line for opt? If yes, which pass will be used for the call of getAnaysis<AnalysisGroup>()? -Thomson On Mon, Jun 25, 2012 at 10:34 PM, John Criswell <criswell at
2009 Nov 20
2
[LLVMdev] llc barfing
...; <i32> [#uses=1] %4 = icmp eq i32 %1, %3 ; <i1> [#uses=1] br i1 %4, label %pass, label %fail fail: ; preds = %start %5 = icmp sge i32 %1, 0 ; <i1> [#uses=1] br i1 %5, label %pass2, label %fail1 pass: ; preds = %start ret i8* undef fail1: ; preds = %fail br label %cont pass2: ; preds = %fail %6 = extractvalue %0 %0, 1...
2010 Jul 06
0
[LLVMdev] runtime assert failure when trying to obtain analysis pass info within a transformation pass
I am having problems passing analysis results to transformation passes, so I reduced my testcase into the following bare bone: Pass1: simple FunctionPass, counting functions Pass2: transformation pass, for now, just trying to obtain a reference of Pass1 using AU.getAnalysis<Pass1>() inside its runOnFunction(). When I run it, I get the following runtime error: opt -load Release/lib/MultiPasses.so -pass2 < ../test/test.bc > /dev/null opt: /autofs/steffan/a/a0/c...
2004 Feb 25
1
probleb with 'passwd chat' and 'passwd program'
...-=-=-=-=-=-=-= system "stty -echo"; print "New password : "; chomp($pass=<STDIN>); print "\n"; system "stty echo"; system "echo pass=$pass >> /tmp/bla.txt"; system "stty -echo"; print "Retype new password : "; chomp($pass2=<STDIN>); print "\n"; system "stty echo"; system "echo pass2=$pass2 >> /tmp/bla.txt"; -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= I added two 'echo ... > /tmp/bla.txt' to see what is passed to the script. The first one is called as it sh...
2007 Dec 17
1
[LLVMdev] Bug 1868: Specifying Pass Orderings
...swell wrote: > >> Devang Patel wrote: >>> >>> On Dec 17, 2007, at 1:47 PM, John Criswell wrote: >>> >>>> Dear Devang Patel, >>>> >>>> In response to your comment on bug 1868, how do I get BottomPass to >>>> requires Pass2 before Pass1? Is it by reversing the order of the >>>> calls >>>> to AU.addRequired()? >>> >>> yup :) >> So what do I do if both Pass1 and Pass2 preserve nothing? Is that just >> unschedule'able with the current Pass Manager? > > I a...
2004 Aug 06
1
icecast and shout
Hello, I have icecast runnig I think. I made enqripted password with makepasswd -crypt and then I got pass1 og pass2. As I understand it the pass1 is a uncripted password and pass2 encrypted. I put the pass2 in to the /etc/icecast/icecast.conf and then started it with icecast -p pass1 Then i put pass2 in to the /etc/icecast/shout.conf I have tried all variations about having the password in the shout.conf...
2010 Oct 17
2
Error with Connecting Two Asterisk BOX with IAX
Hello, I'm trying to conect two 1.6.2.13 Asterisk server with IAX. This is my configuration: Asterisk A: iax.conf register => coiax:pass1 at 69.164.207.166 [smiax] type=friend host=dynamic trunk=yes secret=pass2 context=phones deny=0.0.0.0/0.0.0.0 permit=69.164.207.166/255.255.255.255 qualify=yes Console: iax2 registry 69.164.207.166:4569 N coiax 69.164.197.105:4569 60 Registered iax2 peers smiax 69.164.207.166 (D) 255.255.255.255 4569 (T) OK (3 ms) Asterisk B:...
2003 Jun 26
2
Is there something sppecial about pass4 ?
Machine is 4.8-STABLE smaug# camcontrol devlist <COMPAQ BD009122BA 3B07> at scbus0 target 0 lun 0 (pass0,da0) <COMPAQ BD009122C6 B016> at scbus0 target 1 lun 0 (pass1,da1) <COMPAQ BD009122BA 3B07> at scbus0 target 2 lun 0 (pass2,da2) <COMPAQ BD00962373 BCJE> at scbus0 target 3 lun 0 (pass3,da3) <IBM IC35L018UCPR15-0 S70H> at scbus0 target 5 lun 0 (pass4,da4) smaug# ls -l /dev/pass* crw------- 1 root operator 31, 0 Jun 26 15:54 /dev/pass0 crw------- 1 root operator 31, 1 Jun 26 15:5...