search for: myreg

Displaying 14 results from an estimated 14 matches for "myreg".

Did you mean: mreg
2007 Oct 01
4
data structure with coefficients, and call from lm()
Widows XP R 2.3.1 I have been trying to make a data structure that will contain both the coefficients from a linear regression along with column and row titles AND the call, i.e. myreg<-lm(y~x+y+z) whatIwant<-cbind(c(summary(myreg)$call,"",""),summary(myreg)$coefficients) Neither the statement above, nor any one of twenty variations I have tried work. I would appreciate any advice. Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Inform...
2011 Sep 13
1
using vif from package "car" - "aliased coefficients in the model"
Hello! I have run a simple regression - lm and created a regression object "myreg". I can see all the coefficients when I print(myreg). Then I tried to run vif(myreg) from the package "car". However, it's giving me an error: in vif.lm(regr.f) : there are aliased coefficients in the model Very sorry for my question: Is there any way to get the vif's for al...
2014 Jun 20
3
[LLVMdev] Passing specific register for an Instruction in target description files.
Hi all, I want to generate an assembly instruction for my target using target description representation of the instruction. The problem is that I want to add direct register to be chose as an output register for my target. Does it possible to do with an instruction definition in TARGETInstrInfo.td file? May be someone could help with an example? Currently I have seen that we can pass the name
2003 Jul 22
3
curves with shaded areas?
Hi, I want to make a plot with abline where the area below or above the curve is shaded. I can't find any documentation on that. Can anybody help me with that? thanks, Juffi
2014 Jul 02
2
[LLVMdev] Passing specific register for an Instruction in target description files.
...ith an example? > > If I understood correctly, you want your instruction to define a specific register. > If yes, you can achieve this by creating a specialized singleton register class with the register you want and use it in the td file. > E.g., in yourTargetRegisterInfo.td: > def MyReg : RegisterClass<“MyTarget”, [Related Types], MySize, (add MyReg)>; > > in yourTargetInstrInfo.td: > def MyInstr […] (outs MyReg:$Rd) […] > > The ARM target does something similar for SP. Look for GPRsp. > If you use this approach, you may run into issues if the scheduler...
2007 Mar 27
0
[LLVMdev] Live intervals and aliasing registers problem
On Mar 25, 2007, at 7:12 AM, Christopher Lamb wrote: > While beginning to add vector registers to a back end I came across > the following problem: as soon as I define two sets of registers > that have a many-to-one mapping the live interval pass appears to > double-kill the mapped-onto register. I have the following excerpts > from my RegisterInfo.td. > > def V4R0
2007 Apr 03
2
[LLVMdev] Live intervals and aliasing registers problem
...egNum<0>; >> >> def R0 : Rg<0 , "R0", [V4R0]>, DwarfRegNum<0>; >> def R1 : Rg<1 , "R1", [V4R0]>, DwarfRegNum<1>; > > How are R4v and Rg defined? class Rg<bits<6> num, string n, list<Register> aliases> : MyReg<n> { let Num = num; let Aliases = aliases; } class R4v<bits<6> num, string n, list<Register> aliases> : MyReg<n> { let Num = num; let Aliases = aliases; } >> >> when trying to compile: >> >> define void @_Z3fooii(i32 %a, i32 %b) {...
2007 Mar 25
2
[LLVMdev] Live intervals and aliasing registers problem
While beginning to add vector registers to a back end I came across the following problem: as soon as I define two sets of registers that have a many-to-one mapping the live interval pass appears to double- kill the mapped-onto register. I have the following excerpts from my RegisterInfo.td. def V4R0 : R4v<0 , "V4R0 ", []>, DwarfRegNum<0>; def R0 : Rg<0 ,
2016 Mar 30
0
How to split immediate in assembly output?
Hi, I am writing simple pattern in td that uses immediate and shall print it in assembler in two parts. Say for input immediate i: i1 = i << 2 i2 = i & 3 I want something like (simplified tablegen pseudocode): def MYINSN : Insn<(outs MyOut:$r0), (ins MyReg:$r1, MyImm32:$i), "prefix $i1 body $r0, $r1, $i2", [(... some pattern here)]>; In Insn pattern whole string goes to AsmString property. How can I do it with tablegen? Any examples from existing backends? P.S. Of course I can do custom node with one more parameter and write...
2008 May 26
2
[LLVMdev] Making optimization passes do less
Hi all, I'm currently struggling with a few optimization passes that change stuff I don't want to be changed. However, for the most part those passes (InstructionCombining and SimplifyCFG currently) do stuff that I do want, so disabling them alltogether doesn't help me much. The problem arises because the architecture I'm compiling for is quite non-standard. In particular, it has
2018 Apr 17
0
How to create and insert a call MachineInstr?
Hi Tim, I'm sorry to bother you again. Since I have met the problem, how to check used registers and avoid clobbering live registers, which you mentioned in the email. I am working in the function X86InstrInfo::storeRegToStackSlot, which is in lib/Target/X86/X86InstrInfo.cpp. And I have an extra problem, may I use MOV64mr and two addReg to set two registers as its arguments? I want to use
2013 Oct 19
2
ivreg with fixed effect in R?
I want to estimate the following fixed effect model: y_i,t = alpha_i + beta_1 x1_t + beta_2 x2_i,tx2_i,t = gamma_i + gamma_1 x1_t + gamma_2 Z1_i + gamma_3 Z2_i I can use ivreg from AER to do the iv regression. fm <- ivreg(y_i,t ~ x1_t + x2_i,t | x1_t + Z1_i + Z2_i, data = DataSet) But, I'm not sure how can I add the fixed effects. Thanks! [[alternative HTML
2010 Oct 26
1
Multiple, multiple regressions...
Caveats and disclaimers: I am quite happy to undertake self-teaching if directed to a relevant prior posting and welcome such direction. I have programming and statistical training/experience which I would characterize as Masters level. Thank you for reading and replying to this post. It is very much appreciated. ---begin problem description I have a large data set that I have imported to R
2018 Apr 13
2
How to create and insert a call MachineInstr?
Thanks for your help! I'm much more clear about this problem. Will 2018-04-13 17:53 GMT+08:00 Tim Northover <t.p.northover at gmail.com>: > Hi Will, > > On 13 April 2018 at 09:50, Will Lester via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > I have used BuildMI to build a MachineInstr. But it seems that a call > > MachineInstr only has one parameter