similar to: [LLVMdev] Clang and AST Generation

Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] Clang and AST Generation"

2009 Apr 25
1
[LLVMdev] lli and runtime error
Hello Pushkar, >I get the error Could not resolve external global address: __dso_handle Based on what I've read on the mailing list in the past, that's because the interpreter doesn't support non-bitcode external addresses such as the function calls used to do input and output of data. As such the interpreter is quite useless in its current state. If you use JIT compilation it
2009 Dec 13
1
Mapping from granulepos to absolute time
I am trying to figure out how theora timestamps map to absolute time values. This information would be needed to seek by 1 sec, 5 secs etc. I understand the granulepos is interpreted as Absolute number of key frames so far | number of frames since last key frame. E.g. 1000|1, 1000|2, ... How does this map to absolute time in millisecs since the start, I can think of the following formula: Total
2006 Aug 26
1
Implementing EM Algorithm in R!
Hi All, I need some help in how one can implement maximumlikelihood estimation for models with discrete hidden variables in EM in R. Regards [[alternative HTML version deleted]]
2015 Jul 11
2
[LLVMdev] StringMap question
Hello everyone! I'm a newcomer for the great LLVM project. I've started to explore the source code of LLVM project to become more familiar with it, and I've found some strange usage of move semantics in constructor of StringMapImpl( StringMapImpl &&RHS) {...} class in include/llvm/ADT/StringMap.h line 56. Could anyone explain me the purpose of zeroing of all fields of RHS in
2010 May 07
1
[LLVMdev] Unreachable code executed crash
Initially, tt was not a problem with the verifier, we were just inserting a wrong instruction in our pass. Also we were able to figure out the error you pointed out and our pass is running as intended!!! Thanks a lot. On Fri, May 7, 2010 at 12:02 AM, Nick Lewycky <nicholas at mxc.ca> wrote: > Adarsh Yoga wrote: > >> I was able to solve that >> > > What was wrong? I
2011 Feb 15
1
Passing Arguments in a function
Hi All, I'm having some trouble assigning arguments inside a function to produce a plot from a model Can anyone help me? Below I've outlined the situation and examples of failing and working code. Regards Mike ## data ## decay.data <- ... behaviors lift reach.uu estimated.conversions.uu total.reach 1 1 432.0083 770 770 0.00 2
2010 May 06
2
[LLVMdev] Unreachable code executed crash
I was able to solve that but still crashing with the same error saying "Unreachable executed". I have attached the output with this mail. Thanks in advance. On Thu, May 6, 2010 at 2:38 AM, Nick Lewycky <nicholas at mxc.ca> wrote: > Adarsh Yoga wrote: > >> Yes. Intially the pass was crashing when the module when the module >> verifier was running. I was able to
2010 May 07
0
[LLVMdev] Unreachable code executed crash
Adarsh Yoga wrote: > I was able to solve that What was wrong? I wasn't able to reproduce it and would still like to teach the verifier whatever it missed. but still crashing with the same error saying > "Unreachable executed". I have attached the output with this mail. This time you've got: %1 = load i32** getelementptr inbounds ({ i32* }* @structobj, i64 0, i32
2004 Mar 30
1
classification with nnet: handling unequal class sizes
I hope this question is adequate for this list I use the nnet code from V&R p. 348: The very nice and general function CVnn2() to choose the number of hidden units and the amount of weight decay by an inner cross-validation- with a slight modification to use it for classification (see below). My data has 2 classes with unequal size: 45 observations for classI and 116 obs. for classII With
2001 Dec 14
1
nls fit to exponential decay with unknown time origin
I'm trying to use nls() to fit an exponential decay with an unknown offset in the time (independent variable). (Perhaps this is inherently very difficult?). > decay.pl <- nls (amp ~ expn(b0,b1,tau,t0,t), data = decay, + start = c(b0=1, b1=7.5, tau=3.5, t0=0.1), trace=T) Error in nlsModel(formula, mf, start) : singular gradient matrix at initial parameter estimates
2010 May 06
2
[LLVMdev] Unreachable code executed crash
Yes. Intially the pass was crashing when the module when the module verifier was running. I was able to solve that and now it is crashing when the bit writer pass is running. On Wed, May 5, 2010 at 8:39 PM, Nick Lewycky <nlewycky at google.com> wrote: > On 5 May 2010 17:12, Adarsh Yoga <ayoga at umail.iu.edu> wrote: > >> Hi, >> >> I've written a pass
2012 Oct 11
3
[LLVMdev] Question about the old C back-end
Hello all, When going through the internals of the old C back-end, I see that the CBE encapsulates arrays into a struct. The source code has the following comment to explain this behaviour. // Arrays are wrapped in structs to allow them to have normal // value semantics (avoiding the array "decay"). For example, the CBE translates: @a = common global [10 x i32]
2004 Jun 14
2
CVnn2 + nnet question
Hi, I am trying to determine the number of units in the hidden layer and the decay rate using the CVnn2 script found in MASS directory (reference: pg 348,MASS-4). The model that I am using is in the form of Y ~ X1 + X2 + X3... + X11 and the underlying data is time-series in nature. I found the MASS and nnet package extremely useful (many thanks to the contributors). However I am getting
2010 Mar 26
0
[LLVMdev] CFG Manipulation is LLVM
Hi Rohith, > I'm actually working on building a dependence graph . I'm not able > to find the methods which llvm uses to build the CFG. Is it possible to > use the same functions do build a dependence graph ( i Know the CFG > nodes are basicblocks where as dependence graph nodes will be variables)?. LLVM does not have explicit methods to build the CFG because it is
2011 Apr 21
6
What does the "<<-" operator mean?
I've been reading some code from an example in a blog post ( http://www.maxdama.com/ here ) and I came across an operator that I hadn't seen before. The author used a <<- operator to update a variable, like so: ecov_xy <<- ecov_xy+decay*(x[t]*y[t]-ecov_xy) At first I thought it was a mistake and tried replacing it with the usual <- assignment operator, but I didn't
2010 May 06
0
[LLVMdev] Unreachable code executed crash
Adarsh Yoga wrote: > Yes. Intially the pass was crashing when the module when the module > verifier was running. I was able to solve that and now it is crashing > when the bit writer pass is running. The output is wrong in @thread_pool_init: <stdin>:44:27: error: '%4' defined with type 'i1' %5 = getelementptr i32* %4, i64 %indvar ; <i32*> [#uses=1]
2010 Mar 17
3
[LLVMdev] CFG Manipulation is LLVM
Hi, Is there any API within llvm that provides methods to access the CFG and do some manipulations on the CFG. Thanks, Rohith. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100317/5536c443/attachment.html>
2009 Apr 27
23
Raidz vdev size... again.
Hi, i''m new to the list so please bare with me. This isn''t an OpenSolaris related problem but i hope it''s still the right list to post to. I''m on the way to move a backup server to using zfs based storage, but i don''t want to spend too much drives to parity (the 16 drives are attached to a 3ware raid controller so i could also just use raid6 there). I
2014 Apr 02
3
Typeof for character vector in dataframe returns integer
Hi , I want to know is this behavior expected and why is that ? Need some help gender <- c("F", "M", "M", "F", "F", "M", "F", "F") > age <- c(23, 25, 27, 29, 31, 33, 35, 37) > df<- data.frame(gender,age) > typeof(df[[1]]) [1] "integer"
2008 Dec 15
1
Population Decay in R
Hi, I am new to R. I am trying to plot the decay of a population over time (0-50yrs). I have the initial population value (5000) and the mortality rate (0.26/yr) and I can't figure out how to apply this so I get a remaining population value each year. In excel (ignoring headings) I would put 5000 in A1, in B2 I would enter the formula A1*0.26, and then in A2 (the next years population) I