search for: myarguments

Displaying 7 results from an estimated 7 matches for "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(
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 "appen...
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 c...
2013 Mar 08
0
Passing command line arguments using parallel package
Hello, I was wondering if there is a way to pass a custom command line argument to slave processes using the parallel package. I need to do this because I have some logic in my .Rprofile that checks what arguments it was called with using commandArgs() and performs certain actions only if it was given a particular argument. I am running the following code on a Windows PC to start slave processes:
2009 May 07
1
Macro arguments on app_queue
hi list, i have a question about the args of queue: when we use Queue() app, there are some arguments than can use. help from CLI: Queue(queuename[,options[,URL[,announceoverride[,timeout[,AGI[,macro[,gosub[,rule]]]]]]]]) well.. i'm trying to identify who has taken the call on a queue, and, when agent conected, launch a macro with some args based on who takes the call i do: exten =>