similar to: [LLVMdev] Object layout bug for C++ derived class with long long integer

Displaying 20 results from an estimated 90 matches similar to: "[LLVMdev] Object layout bug for C++ derived class with long long integer"

2008 Jul 11
1
[LLVMdev] Cloning Functions
On Friday 11 July 2008 12:12, David Greene wrote: > On Friday 11 July 2008 12:05, Devang Patel wrote: > > > Ok, I've mostly got a mechanism to do what I want: > > > > > > 1. As each function comes in for op/codegen, clone it and save off > > > the clone and its associated ValueMap (I call these clones > > > "pristine" > > >
2013 Jan 11
0
[LLVMdev] modifiy the address of GlobalVariable emitted by JIT
Hi everyone, I am building a binary translator, and try to do block chaining. LLVM version : 3.1 my machine : x86-32 bit, Linux Before each *LLVM IR returnInst constantValue*, I insert a call instruction & a returnInst which looks like %x = call @G ; ret %x; then remove the *LLVM IR returnInst constantValue* The initializer of @G is a function which has prototype int f(struct MyType*
2009 Jul 27
0
[LLVMdev] patch for llc/ARM: added mechanism to move switch tables from .text -> .data; also cleanup and documentation
On Jul 23, 2009, at 12:10 PM, robert muth wrote: > Bob: > > Thanks for cleaning this up. I like the new patch much better than > the old one. > Teaching the (abstract) ConstantValue class about jumptable indices > is a little > bit ugly but I do not see any better solution without massive > refactoring. > I have added TODOs here and elsewhere and plan to address
2009 Jul 23
2
[LLVMdev] patch for llc/ARM: added mechanism to move switch tables from .text -> .data; also cleanup and documentation
On Tue, Jul 14, 2009 at 6:48 PM, Bob Wilson <bob.wilson at apple.com> wrote: > > On Jul 2, 2009, at 10:48 AM, robert muth wrote: > > I spend over a day trying to follow your suggestion. In the end I was not > successful. Here is what Iearned: > > After setting > > ARMJITInfo::hasCustomJumpTables -> true > setOperationAction for ISD::BR_JT -> Expand >
2008 Jul 11
0
[LLVMdev] Cloning Functions
On Friday 11 July 2008 12:05, Devang Patel wrote: > > Ok, I've mostly got a mechanism to do what I want: > > > > 1. As each function comes in for op/codegen, clone it and save off > > the clone and its associated ValueMap (I call these clones > > "pristine" > > functions. > > > > 2. After all processing is done, clone the resulting
2008 Jul 11
2
[LLVMdev] Cloning Functions
On Jul 11, 2008, at 9:59 AM, David Greene wrote: > On Wednesday 09 July 2008 13:49, David Greene wrote: > >>> then it seems you're doing >>> >>> for each function >>> generate_ir >>> convert_to_llvm_ir >>> optimize_llvm_ir >> >> Yep. > > Ok, I've mostly got a mechanism to do what I want: > > 1. As
2009 Jul 14
0
[LLVMdev] patch for llc/ARM: added mechanism to move switch tables from .text -> .data; also cleanup and documentation
On Jul 2, 2009, at 10:48 AM, robert muth wrote: > I spend over a day trying to follow your suggestion. In the end I > was not successful. Here is what Iearned: > > After setting > > ARMJITInfo::hasCustomJumpTables -> true > setOperationAction for ISD::BR_JT -> Expand > > I needed to add a "brind" definition to ARMInstrInfo.td > I picked
2006 Apr 11
1
Ad hoc query from derived view
I''m new to rails and have a query that uses a derived view (see below) and am wondering how return the data. I don''t have a model for this, so I not sure if find_by_sql can be used. Any help is greatly appreciated. select product ,mailer ,sum(dev_total) dev ,sum(qa_total) qa
2009 Jan 29
1
Removing an association from a derived class
I am using single table inheritance. class User < ActiveRecord::Base has_many :abc end class Student < User end The student class should not inherit the has_many :abc relationship. How can we override it? Is there a way to remove an association in the derived class? Pankaj --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to
2012 Sep 10
0
predict pixels of raster using caret-derived models
Is it somehow possible to use the the predict method of the raster package with a prediction model obtained using caret's train()? / predict(rasterStack, carettrain, filename="...", progress='text', format="BSQ", datatype='INT1U', type='response', overwrite=TRUE) / Thank you -- View this message in context:
2011 Apr 01
0
on "BSD derived RFC3173 IPComp encapsulation will expand arbitrarily nested payload"
Hi, as some IPSec users might be worried about the "BSD derived RFC3173 IPComp encapsulation will expand arbitrarily nested payload" from http://seclists.org/fulldisclosure/2011/Apr/0 , here's some braindump: To be affected it's believed that you need to 1) manually compile in IPSEC (not done in GENERIC or the release), 2) have an entry for ipcomp in your security
2006 Oct 02
0
list of methods derived from associations?
Hello; I''m at this point essentially a Rails hobbiest: entranced, enthralled, immersed but not writing Rails apps commercially. I am sure my question has been asked and answered but I searched and couldn''t find it, so.... Is there somewhere a list of methods that become available via associations? I was doing a project with acts_as_tree and was struggling with a breadcrumb
2007 Jan 06
0
Using ActiveRecord With (Previously) Derived Classes
If you have a class (in a pre-existing library, for example) that has been derived from another class: class ChildClass < ParentClass since Ruby doesn''t support multiple inheritance, you can''t derive ChildClass < ActiveRecord::Base to make ChildClass an ActiveRecord class to persist ChildClass objects. So what''s the standard way to use ActiveRecord for
2008 Nov 13
0
[LLVMdev] Using isa with derived types
Zappel-Phillip wrote: > Hello, > > I am writing an optimization pass which optimizes code based on an online > pointer analysis algorithm and need to detect pointers which are pointing to > derived types. I have not had any problem identifying pointers in general > using isa<PointerType>(...), but I can't seem to figure out how I can make > sure that the pointer is
2008 Dec 08
1
[LLVMdev] Using isa with derived types
I believe I failed to ask the question properly, I am not trying to determine whether the elements of an array are scalar type. Instead, I want to be able to iterate over the function's parameters and determine whether a pointer argument is actually an array being passed which contains scalar values, or simply a pointer with a single scalar value. In other words, I want to ignore functions
2010 Feb 27
0
[LLVMdev] Object layout bug for C++ derived class with long long integer
>> How does the generated LLVM IR for these structs look like? > > For Foo: I mean what was the IR generated by llvm-gcc for such code. >> llvm-gcc tries to follow the mainline gcc for mingw >> platform. There were some changes post-2.6 wrt long long native >> alignment, you might try to look into code at svn head. > > Unfortunately, svn head is incompatible
2012 Jan 19
0
[LLVMdev] TBAA: Propagating aliasing information to derived pointers
On Wed, Jan 18, 2012 at 6:13 PM, Johan Tibell <johan.tibell at gmail.com> wrote: > Hi, > > While adding support for TBAA to GHC's LLVM backend, we ran into the > following issue: given a pointer that we know has certain aliasing > properties (e.g. it points to the stack, not the heap) we'd like to > >  * annotate all loads and stores to that pointer with a TBAA
2012 Jan 31
1
[LLVMdev] TBAA: Propagating aliasing information to derived pointers
On Wed, Jan 18, 2012 at 6:22 PM, Eli Friedman <eli.friedman at gmail.com> wrote: > On Wed, Jan 18, 2012 at 6:13 PM, Johan Tibell <johan.tibell at gmail.com> wrote: >> While adding support for TBAA to GHC's LLVM backend, we ran into the >> following issue: given a pointer that we know has certain aliasing >> properties (e.g. it points to the stack, not the heap)
2006 Sep 25
0
Sampling distribution of correlation estimations derived from robust MCD and MVE methods
Dear R users, I am trying to use MCD and MVE methods in the analysis of functional imaging (fMRI) data. But, before doing that, I want to understand the sampling distribution of the correlation parameter given by MCD and MVE (cov.mcd$cor, cov.mve$cor). To this end, I conducted a simulation where in each of 100000 epochs, I a. construct a matrix from two vectors, each containing 40 numbers
2006 Sep 25
0
[PlainText Attempt] Sampling distribution of correlation estimations derived from robust MCD and MVE methods
Dear R users, I am trying to use MCD and MVE methods in the analysis of functional imaging (fMRI) data. But, before doing that, I want to understand the sampling distribution of the correlation parameter given by MCD and MVE (cov.mcd$cor, cov.mve$cor). To this end, I conducted a simulation where in each of 100000 epochs, I a. construct a matrix from two vectors, each containing 40 numbers