search for: myargument

Displaying 7 results from an estimated 7 matches for "myargument".

Did you mean: myarguments
2018 Jun 25
2
How to include a opt pass in clang driver
Hello, I have written a pass for the IR and I can run it with opt -load lib/LLVMMyPass.so -mypass -myarguments -S -o output.ll < output.bc I have registered my pass with the following code: static RegisterPass<MyPass> X("mypass", "MyPass Pass (with getAnalysisUsage implemented)"); How do I include the same pass in the clang driver. I tried running the pass: clang output.c -o...
2006 Nov 07
1
variable problem
Hi everyone, I am not sure this is possible so I would be interested in your responses. Say I have a variable 'v' with the string "myargument" in and I have a function 'f' that takes this argument as follows; f <- function( myargument=5 ) { ... does something... } Is there anyway I can say something like; f( v=10 ) such that it will be evaluated as f( myargument=10 ). I presume there may be some use eval and subs...
2011 Sep 07
2
Using substitute on a function parameter
Hello, I would like to write a function where substitute operates on the parameter, but ... > Expression = function(o,l) substitute(o, l) > Expression({x=.(FOO)}, list(FOO=2)) o How do i get substitute to work on the contents of o. Regards Saptarshi
2008 Oct 15
2
R: "in-place" appending to a matrix.
Hello fellow R sufferers, Is there a way to perform an appending operation in place? Currently, the way my pseudo-code goes is like this for (i in 1:1000) { if (some condition) { newRow <- myFunction(myArguments) X <- rbind(X, newRow) # <- this is the bottleneck!! } } As you can see, it works but as the matrix X gets the size of a few million rows, the code runs very slow. I am looking for something like the natively "in place" appending python function called "appe...
2018 Jun 25
2
How to include a opt pass in clang driver
...University On Mon, Jun 25, 2018 at 3:58 PM Friedman, Eli <efriedma at codeaurora.org> wrote: > On 6/25/2018 1:38 PM, Soham Sinha via llvm-dev wrote: > > Hello, > > > > I have written a pass for the IR and I can run it with opt -load > > lib/LLVMMyPass.so -mypass -myarguments -S -o output.ll < output.bc > > > > I have registered my pass with the following code: > > static RegisterPass<MyPass> > > X("mypass", "MyPass Pass (with getAnalysisUsage implemented)"); > > > > How do I include the same pass in the...
2013 Mar 08
0
Passing command line arguments using parallel package
...r(8) parLapply(cl, mylist, myfunction) This seems to create R processes with the following arguments: Rterm.exe --slave --no-restore -e parallel:::.slaveRSOCK() --args MASTER=localhost PORT=10187 OUT=/dev/null TIMEOUT=2592000 METHODS=TRUE XDR=TRUE I would like to be able to add something like --myargument or MYARGUMENT=TRUE when the master process was started with the same argument. Thank you, Gene Bokk
2009 May 07
1
Macro arguments on app_queue
...ents OF QUEUE, not subargs of args. this is, my second example says, Queue(myQueue,,,,,,myMacro,arg1), but "arg1" is taken like queue argument means Gosub entry... there is way of call that macro into queue, but with macro arguments ??? in the queues.conf if i put membermacro=myMacro,myArgument works fine.. except that, i can't use membermacro=myMacro,${MYVAR} because ${MYVAR} is taken like String, not the var value help mee!! please sorry for my very bad english