Displaying 5 results from an estimated 5 matches for "hasproperty".
2006 Jan 26
2
Easy way to add properties to a model?
...,
I have a model (let''s say User) and I would like to add any number of
user-defined-settings to this Model. I created a UserSetting Model
with user_id, key and value. I connected them with has_many. I know
how to access these properties from a user but I would like some
methods like user.hasProperty? / user.getProperty ...
I think I know how to write these methods/finders myself but it seems
like a pretty common problem to me, which means there could be an
easier way of doing the same. Is there?
bye
Frank
2018 Jan 15
0
Checking when Register Allocation has been performed
Maybe
MF.getProperties().hasProperty(MachineFunctionProperties::Property::NoVRegs))?
~Craig
On Mon, Jan 15, 2018 at 12:07 PM, Martin J. O'Riordan via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi LLVM Devs,
>
>
>
> I have some shared code that performs lowering operations that can occur
> before or...
2018 Jan 15
3
Checking when Register Allocation has been performed
Hi LLVM Devs,
I have some shared code that performs lowering operations that can occur
before or after register allocation. When it is pre-RA I want to only use
virtual registers for intermediate results, but post-RA I have to use only a
very restricted set of physical registers.
Code generation using the restricted set is not as efficient as it is when I
can use virtual registers. At
2018 Jan 16
2
Checking when Register Allocation has been performed
...we do not set the NoVRrgs flag pre-ra even if there are no vregs used, when loading a .mir file for example the flag is computed from scratch and will be set.
> On Jan 15, 2018, at 12:26 PM, Craig Topper via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Maybe MF.getProperties().hasProperty(MachineFunctionProperties::Property::NoVRegs))?
>
> ~Craig
>
> On Mon, Jan 15, 2018 at 12:07 PM, Martin J. O'Riordan via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
> Hi LLVM Devs,
>
>
>
> I have some shared code...
2018 Jan 17
0
Checking when Register Allocation has been performed
...-ra even if there are no vregs used, when loading a .mir file for example the flag is computed from scratch and will be set.
On Jan 15, 2018, at 12:26 PM, Craig Topper via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org> > wrote:
Maybe MF.getProperties().hasProperty(MachineFunctionProperties::Property::NoVRegs))?
~Craig
On Mon, Jan 15, 2018 at 12:07 PM, Martin J. O'Riordan via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org> > wrote:
Hi LLVM Devs,
I have some shared code that performs lowering operations tha...