search for: intparam

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

2011 Apr 05
3
[LLVMdev] inserting a print statement into IR
...s, true); Constant *temp = M.getOrInsertFunction("printf",fType); if(!temp){ errs() << "printf function not in symbol table\n"; exit(1); } Function *f = cast<Function>(temp); f->setCallingConv(CallingConv::C); const char *str = "value: %d\n"; Value *intparam = ... Value *strPtr = builder.CreateGlobalStringPtr(str,""); builder.CreateCall2(PrintF, strPtr, intparam,"tmp6"); -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110404/1ba75642/attachmen...
2011 Apr 05
0
[LLVMdev] inserting a print statement into IR
...tion("printf",fType); > if(!temp){ > errs() << "printf function not in symbol table\n"; > exit(1); > } > Function *f = cast<Function>(temp); > f->setCallingConv(CallingConv::C); > > const char *str = "value: %d\n"; > Value *intparam = ... > Value *strPtr = builder.CreateGlobalStringPtr(str,""); > builder.CreateCall2(PrintF, strPtr, intparam,"tmp6"); -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110404/4e4c363...
2011 Apr 01
3
[LLVMdev] insert printf into IR
...get(Type::getInt32Ty(M.getContext()), params, true); Constant *temp = M.getOrInsertFunction("printf",fType); if(!temp){ errs() << "printf function not in symbol table\n"; exit(1); } Function *f = cast<Function>(temp); f->setCallingConv(CallingConv::C); Value *intparam = ... Value *strPtr = builder.CreateGlobalStringPtr(str,""); builder.CreateCall2(PrintF, strPtr, intparam,"tmp6"); -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110401/cecae798/attachmen...
2004 Oct 29
1
[rmetasim] Need help deciphering this error msg... targeted to those who use rmetasim...
...], value = c(0.200000002980232, : number of items to replace is not a multiple of replacement length --end of error msg-- Here is the script I used. --script starts here-- ## load 'rmetasim' library library(rmetasim) penguinland <- new.landscape.empty() penguinland <- new.intparam.land(penguinland,h=2,s=3) penguinland <- new.floatparam.land(penguinland,s=0) penguinland <- new.switchparam.land(penguinland,mp=0) ## local matrices are 3x3 (or greater than 2x2) matrixR <- matrix( c(rep(0.2, 3*3)), ncol=3,nrow=3,byrow=TRUE ) matrixS <- matrix( c(rep(0.1, 3*3)), ncol=...
2011 Apr 05
2
[LLVMdev] inserting a print statement into IR
...ion("printf",fType); > if(!temp){ > errs() << "printf function not in symbol table\n"; > exit(1); > } > Function *f = cast<Function>(temp); > f->setCallingConv(CallingConv::C); > > const char *str = "value: %d\n"; > Value *intparam = ... > Value *strPtr = builder.CreateGlobalStringPtr(str,""); > builder.CreateCall2(PrintF, strPtr, intparam,"tmp6"); > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs...
2006 Mar 29
0
R for Windows crash on new laptop
...########################################################### #ArchI_burnin_NOdensdep-mod.R# habitats <- 1 carrycap <- 7500 stages <- 5 rland <- NULL numreps <- 2 numsteps <- 50 stepsize <- 100 runlength <- numsteps*stepsize rland <- new.landscape.empty() rland <- new.intparam.land(rland, h = habitats, s = stages, totgen = runlength) rland <- new.switchparam.land(rland, mp = 1) rland <- new.floatparam.land(rland) #life history matrices at zero population density SZ <- matrix (c(0.730, 0, 0, 0, 0, 0.210, 0, 0, 0, 0, 0, 0.470, 0, 0.946, 0,...
2006 Mar 29
0
R for Windows crash on new laptop - corrected script
...t; habitats <- 1 >> carrycap <- 7500 >> stages <- 5 >> rland <- NULL >> numreps <- 2 >> numsteps <- 50 >> stepsize <- 100 >> runlength <- numsteps*stepsize >> >> rland <- new.landscape.empty() >> rland <- new.intparam.land(rland, h = habitats, s = stages, totgen = >> runlength) >> rland <- new.switchparam.land(rland, mp = 1) >> rland <- new.floatparam.land(rland) >> >> #life history matrices at zero population density >> SZ <- matrix (c(0.730, 0, 0, 0, 0, >>...