Displaying 13 results from an estimated 13 matches for "var0".
Did you mean:
var
2017 May 15
6
[IR question] Switching on pointers
...es of various global constants. I tried to use a
`switch` instruction but I encountered several problems.
The "ideal switch" I'd like to have would look something like this
(with way more cases):
; ModuleID = 'module'
source_filename = "module"
@var0 = global i32 0
@var1 = global i32 0
define i32 @func(i32*) {
entry:
switch i32* %0, label %unreachable [
i32* @var0, label %var0
i32* @var1, label %var1
]
var0: ; preds = %entry
br label %post...
2017 May 16
2
[IR question] Switching on pointers
...n but I
>> encountered several problems.
>>
>> The "ideal switch" I'd like to have would look something like this (with
>> way more cases):
>>
>> ; ModuleID = 'module'
>> source_filename = "module"
>>
>> @var0 = global i32 0
>> @var1 = global i32 0
>>
>> define i32 @func(i32*) {
>> entry:
>> switch i32* %0, label %unreachable [
>> i32* @var0, label %var0
>> i32* @var1, label %var1
>> ]
>>
>> var0:...
2011 Mar 15
2
[LLVMdev] Kinda noob questions
...;called", or its the same as putting "%z =
alloca" in the beggining?
or... if alloca is in a loop, the stack grows every time it iterates??
2) does the LLVM optimizes this:
; this code (arg -> var) is very similar to what gcc generates
define void @foo(i32 %arg0) {
entry:
%var0 = alloca i32
store i32 %arg0, i32* var0
...
%x = load i32* %var0
....
; never more stores to %var0 or pass it to any function
}
to something like:
define void @foo(i32 arg0) {
entry:
; no alloca
....
%x = %arg0
....
}
does it???
I'm asking because I can ch...
2011 Mar 15
0
[LLVMdev] Kinda noob questions
...#39;s instead of loops, and they will grow the size
of the stack frame each time they are executed dynamically.
>
>
>
> 2) does the LLVM optimizes this:
>
> ; this code (arg -> var) is very similar to what gcc generates
> define void @foo(i32 %arg0) {
> entry:
> %var0 = alloca i32
> store i32 %arg0, i32* var0
> ...
> %x = load i32* %var0
> ....
> ; never more stores to %var0 or pass it to any function
> }
>
> to something like:
>
> define void @foo(i32 arg0) {
> entry:
> ; no alloca
> ....
>...
2011 Mar 15
2
[LLVMdev] Kinda noob questions
On Mar 14, 2011, at 5:56 PM, John Criswell wrote:
> On 3/14/11 7:52 PM, Judison wrote:
>>
>> 2) does the LLVM optimizes this:
>>
>> ; this code (arg -> var) is very similar to what gcc generates
>> define void @foo(i32 %arg0) {
>> entry:
>> %var0 = alloca i32
>> store i32 %arg0, i32* var0
>> ...
>> %x = load i32* %var0
>> ....
>> ; never more stores to %var0 or pass it to any function
>> }
>>
>> to something like:
>>
>> define void @foo(i32 arg0) {
>> en...
2007 Apr 02
1
RODBC, sqlQuery with NA:s
Hi R-users,
I'm trying to retrieve data from MS SQL database with RODBC's
sqlQuery-function:
temp <- sqlQuery(channel,"select *, (select text from table1 where
koodi='paa' and koodi2=paa) as tempor from table2")
str(temp)
…
$ var0 : num NA NA 1.6 NA NA 1.4 NA 1 NA NA ...
$ var1 : Factor w/ 45 levels " ","01","01;07",..: 1 1 1 4 38 1 38 7
1 1 ...
$ var2 : Factor w/ 95 levels " ","01","01;02;09",..: 1 1 1 9 72 1 78
13 1 1 ...
$ var3 : Fact...
2011 Mar 15
0
[LLVMdev] Kinda noob questions
...Criswell wrote:
> > On 3/14/11 7:52 PM, Judison wrote:
> >>
> >> 2) does the LLVM optimizes this:
> >>
> >> ; this code (arg -> var) is very similar to what gcc generates
> >> define void @foo(i32 %arg0) {
> >> entry:
> >> %var0 = alloca i32
> >> store i32 %arg0, i32* var0
> >> ...
> >> %x = load i32* %var0
> >> ....
> >> ; never more stores to %var0 or pass it to any function
> >> }
> >>
> >> to something like:
> >>
> &...
2011 Jun 16
7
Problem with usage of arrays
Hi there,
i can''t use array in puppet. Here is my codesnipplet:
$callapidata = [ ''wert1'',''wert2'']
notice $callapidata[1]
A puppetrun results in:
Could not retrieve catalog from remote server: Error 400 on SERVER:
can''t convert String into Integer at /etc/puppet/myenv/modules/
uc4client/manifests/init.pp:41 on node testnode
Thanks for your
2014 Oct 17
1
model.matrix metadata
...far as I am aware, the model.matrix function does not return
perfect metadata on what each column of the model matrix "means".
The columns are named (e.g. age:genderM), but encoding the metadata as
strings can result in ambiguity. For example, the dummy variables
created when the factors var0 = 0 and var = 00 both are named var00.
Additionally, if a level of a factor variable contains a colon, this
could be confused for an interaction.
While a human can generally work out the meaning of each column
somewhat manually, I am interested in achieving this programmatically.
My solution is t...
2010 Mar 03
1
List of zoo dataframes
Hello,
I have various datasets of zoo time series (merged into single frames
via the "merge" command) such as
date var0 var1 var2 var3
08/07/1996 652.54 0.223922 0.515819 0.502638
08/08/1996 662.59 0.997841 0.000383 0.999806
06/09/1996 655.68 0.901685 0.569763 0.866333
08/10/1996 700.64 0.268855 0.244701 0.329285
08/11/1996 730.82 0.438407 0.501427 0.461374
06/12/1996 739.6 0.432233 0.56217...
2013 May 02
0
modMCMC runs in FME package
...out <- seq(0, 50, by = 1)
out <- model(pars, tout)
return(modCost(obs = observed, model = out))
}
prior <- function(p)
return( sum(((p-c(0.06,18))/c(0.04,6))^2 ))
final <- modMCMC(p = c(k=0.06,v=18), f = obj, prior=prior,lower=c(0.0001,0.1),jump = NULL, niter = 1000,updatecov=100, wvar0 = 1,var0=NULL,burninlength = 50)
summary(final)
plot(final)
the values for "observed" were generated with k=0.05, v=20, which are the retunrs I expect from the modMCMC run. Please comment on:
1. is there any way to get modMCMC to run multiple times faster with this data?
2. my accepted...
1999 Jul 19
9
time series in R
Time Series functions in R
==========================
I think a good basic S-like functionality for library(ts) in base R
would include
ts class, tsp, is.ts, as.ts
plot methods
start end window frequency cycle deltat
lag diff aggregate
filter
spectrum, spec.pgram, spec.taper, cumulative periodogram, spec.ar?
ar -- at least univariate by Yule-Walker
arima -- sim, filter, mle, diag, forecast
2008 Aug 22
3
simple generation of artificial data with defined features
Dear R-colleagues,
I am quite a newbie to R fighting my stupidity to solve a probably quite
simple problem of generating artificial data with defined features.
I am conducting a study of inter-observer-agreement in
child-bronchoscopy. One of the most important measures is Kappa
according to Fleiss, which is very comfortable available in R through
the irr-package.
Unfortunately medical doctors