search for: pass1

Displaying 20 results from an estimated 136 matches for "pass1".

Did you mean: pass
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 use...
2009 Aug 21
2
[LLVMdev] How to force MemoryDependenceAnalysis to run on original module
...t; 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. 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...
2009 Aug 21
0
[LLVMdev] How to force MemoryDependenceAnalysis to run on original module
...t; 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 u...
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 br...
2007 Dec 18
0
[LLVMdev] Another Pass Manager Assertion
...ttached code (which is a contrived test case) hits the following > assertion: > > test: > /home/vadve/criswell/src/llvm22/include/llvm/PassAnalysisSupport.h: > 226: > AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*, > llvm::Function&) [with AnalysisType = Pass1]: Assertion `ResultPass && > "getAnalysis*() called on an analysis that was not " "'required' by > pass!"' failed. > Abort > > Does anyone see anything wrong with my use of the pass manager > interface? As far as I can tell, the code looks...
2007 Dec 18
2
[LLVMdev] Another Pass Manager Assertion
Dear All, The attached code (which is a contrived test case) hits the following assertion: test: /home/vadve/criswell/src/llvm22/include/llvm/PassAnalysisSupport.h:226: AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*, llvm::Function&) [with AnalysisType = Pass1]: Assertion `ResultPass && "getAnalysis*() called on an analysis that was not " "'required' by pass!"' failed. Abort Does anyone see anything wrong with my use of the pass manager interface? As far as I can tell, the code looks correct. -- John T. -------...
2003 Dec 17
3
[LLVMdev] pass position
Suppose, I have a Pass1 implemented as a subclass of Pass, with source code in the directory of llvm source base( transform/analyze ) I can run that pass through opt on the bytecode emitted by gcc frontend through opt tool. However, I want that Pass1 to be the part of the actual GCC compiler. I want to know how I can...
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(ID, "pass1&...
2009 Aug 20
0
[LLVMdev] How to force MemoryDependenceAnalysis to run on original module
...do not get 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
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
2015 Feb 24
2
[LLVMdev] Accessing a custom defined llvm pass
...ng to reference the results from the first pass in a second pass. What is the correct way to reference an additional custom pass in LLVM? At the moment the project is set up under the lib/Transforms directory in source and has the current layout: Thresholds/ include/ Thresholds.h Pass1.cpp Pass2.cpp Makefile Both of the pass classes are defined in the header file. In pass two I have declared that it requires Pass1 using: AU.addRequired<Pass1>() and get the result using getAnalysis<Pass1>().getParamPtrs(); The module compiles correctly, but when trying to lo...
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.
2011 Mar 17
4
Help with plotting a line that is multicoloured based on levels of a factor
Hi All, I'm trying to plot data that is a time series of flows that are associated with a specific level, and I would like each level to represent a colour in a line plot. Here is some data that approximates what I'm using: date=c(1:300) flow=sin(2*pi/53*c(1:300)) levels=c(rep(c("high","med","low"),100)) data=cbind.data.frame(date, flow, levels)
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...
2012 Jun 26
0
[LLVMdev] Does anaysis group only contain passes?
...get as 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 wil...
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
2007 Dec 17
1
[LLVMdev] Bug 1868: Specifying Pass Orderings
...> >> 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 am afraid so....
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...
2012 Mar 13
1
File data to data.frame
Hi, I am playing around with some data and I would like to get data that is stored in a file like this: <test.php GET username=user password=pass > <test.php GET username=user1 password=pass1 > ... to the data.frame structure, how can I do that directly in R, currently I am doing parse with bash, but I would like to centralize the procedure and learn something new. Thanks -- View this message in context: http://r.789695.n4.nabble.com/File-data-to-data-frame-tp4468671p4468671.html...
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,...