search for: getlhs

Displaying 9 results from an estimated 9 matches for "getlhs".

Did you mean: getldt
2007 Jul 23
2
[LLVMdev] LHS of an expression
...which is nothin but a malloc call how can i get %tmp into maybe a variable set. If i have a store instruction then it is pretty much simpler as the getOperand(1) can give me the LHS of the expression but in the above case how can we get it. I tried searching for some stuff and got a method called getLHS() method using BinaryOperator and takes Binops as parameter but i dont think that is of much help if i am having a malloc instruction. Can anybody please guide me on this thing please? Thanks in advance.. Abhinav
2007 Jul 23
2
[LLVMdev] LHS of an expression
...able >> set. >> >> If i have a store instruction then it is pretty much simpler as the >> getOperand(1) can give me the LHS of the expression but in the above >> case >> how can we get it. >> >> I tried searching for some stuff and got a method called getLHS() method >> using BinaryOperator and takes Binops as parameter but i dont think that >> is of much help if i am having a malloc instruction. >> >> Can anybody please guide me on this thing please? > > The LHS of the instruction is a pointer to the instruction itself &g...
2007 Jul 23
0
[LLVMdev] LHS of an expression
...how can i get %tmp into maybe a variable > set. > > If i have a store instruction then it is pretty much simpler as the > getOperand(1) can give me the LHS of the expression but in the above case > how can we get it. > > I tried searching for some stuff and got a method called getLHS() method > using BinaryOperator and takes Binops as parameter but i dont think that > is of much help if i am having a malloc instruction. > > Can anybody please guide me on this thing please? The LHS of the instruction is a pointer to the instruction itself (except in cases like the s...
2007 Jul 24
0
[LLVMdev] LHS of an expression
...t; >> If i have a store instruction then it is pretty much simpler as the > >> getOperand(1) can give me the LHS of the expression but in the above > >> case > >> how can we get it. > >> > >> I tried searching for some stuff and got a method called getLHS() method > >> using BinaryOperator and takes Binops as parameter but i dont think that > >> is of much help if i am having a malloc instruction. > >> > >> Can anybody please guide me on this thing please? > > > > The LHS of the instruction is a pointe...
2014 Apr 08
2
[LLVMdev] 3.4.1 Release Plans
On Tue, Apr 08, 2014 at 04:08:13PM +0400, Robert Khasanov wrote: > Hi Reid, > > Would you approve your patches r203146 and r202774 to be backported to > 3.4.1? They fix stability issues in x86 asm. > Hi Robert, I was able to merge r203146, but it used a c++11 feature: std::string::back() which I replaced with std::string::at(std::string::size() - 1). r202774 was not merged,
2010 Jul 16
0
[LLVMdev] Win32 COFF Support - Patch 3
...'" << *Expr << "'"); > + break; > + > + case MCExpr::Constant: > + break; > + > + case MCExpr::Binary: > + { > + MCBinaryExpr const *BinaryExpr = cast<MCBinaryExpr>(Expr); > + > + VisitSymbols(BinaryExpr->getLHS()); > + VisitSymbols(BinaryExpr->getRHS()); > + } > + break; Please use: -- case A: { break; } -- style instead. > + > + case MCExpr::SymbolRef: > + { > + MCSymbolRefExpr const *SymbolRefExpr = cast<MCSymbolRefExpr>(Expr); > + > +...
2013 Dec 12
3
[LLVMdev] [RFC PATCH 1/2] x86: Fix ModR/M byte output in 16-bit addressing mode
This attempts to address http://llvm.org/bugs/show_bug.cgi?id=18220 It also fixes a test which was requiring the *wrong* output. I'm relatively happy with this part, and it even solves most of the hard part of feature request for .code16 in bug 8684 — which was actually why I started prodding at this. But I could do with some help with the 16-bit signed relocation handling, which I've
2010 Jul 14
2
[LLVMdev] Win32 COFF Support - Patch 3
On Sun, Jul 11, 2010 at 6:10 PM, Chris Lattner <clattner at apple.com> wrote: > This probably needs to be slightly tweaked to work with mainline.  I don't see anything objectionable, but I think Daniel needs to review this one. Updated patch to work with mainline. http://github.com/Bigcheese/llvm-mirror/commit/d19a4c82c18afc4830c09b70f02d162292231c94 - Michael Spencer
2018 Sep 28
3
error: expected memory with 32-bit signed offset
Hi, I want to encode Loongson ISA initially https://gist.github.com/xiangzhai/8ae6966e2f02a94e180dd16ff1cd60ac gslbx           $2,0($3,$4) It is equivalent to: dadd $1, $3, $4 lb $2,0($1) I just use  mem_simmptr  as the default value of  DAGOperand MO , because  MipsMemAsmOperand  use  parseMemOperand  to parse general  MemOffset  and only *one*  AnyRegister , for example: 0($1) But