search for: dw_op_llvm_arg1

Displaying 7 results from an estimated 7 matches for "dw_op_llvm_arg1".

Did you mean: dw_op_llvm_arg
2019 Nov 28
2
DW_OP_implicit_pointer design/implementation in general
...discussion? Regards, Alok On Wed, Nov 20, 2019 at 11:24 PM Jeremy Morse <jeremy.morse.llvm at gmail.com> wrote: > Hi, > > For a new way of representing things, > > Adrian wrote: > > llvm.dbg.value_new(DILocalVariable("y"), DIExpression(DW_OP_LLVM_arg0, > DW_OP_LLVM_arg1, DW_OP_plus), > > %ptr, %ofs) > > I think this would be great -- there're definitely some constructs > created by the induction-variables pass and similar where one could > recover an implicit variable value, if you could for example subtract > one pointe...
2019 Nov 20
2
DW_OP_implicit_pointer design/implementation in general
...> > llvm.dbg.value(DILocalVariable, DIExpression, ...) > > > > for example > > > > llvm.dbg.value_new(DILocalVariable("x"), DIExpression(DW_OP_LLVM_arg0), > %x) > > llvm.dbg.value_new(DILocalVariable("y"), DIExpression(DW_OP_LLVM_arg0, > DW_OP_LLVM_arg1, DW_OP_plus), > > %ptr, %ofs) > > llvm.dbg.value_new(DILocalVariable("z"), > DIExpression(DW_OP_implicit_pointer, DW_OP_LLVM_arg0, 32), > > DILocalVariable("base")) > > llvm.dbg.value_new(DILocalVariable("c&quot...
2019 Dec 18
4
DW_OP_implicit_pointer design/implementation in general
...t;>> >>>>> Hi, >>>>> >>>>> For a new way of representing things, >>>>> >>>>> Adrian wrote: >>>>> > llvm.dbg.value_new(DILocalVariable("y"), >>>>> DIExpression(DW_OP_LLVM_arg0, DW_OP_LLVM_arg1, DW_OP_plus), >>>>> > %ptr, %ofs) >>>>> >>>>> I think this would be great -- there're definitely some constructs >>>>> created by the induction-variables pass and similar where one could >>>>> recov...
2019 Nov 19
2
DW_OP_implicit_pointer design/implementation in general
...ssion. A more general form would be a more printf-like signature: llvm.dbg.value(DILocalVariable, DIExpression, ...) for example llvm.dbg.value_new(DILocalVariable("x"), DIExpression(DW_OP_LLVM_arg0), %x) llvm.dbg.value_new(DILocalVariable("y"), DIExpression(DW_OP_LLVM_arg0, DW_OP_LLVM_arg1, DW_OP_plus), %ptr, %ofs) llvm.dbg.value_new(DILocalVariable("z"), DIExpression(DW_OP_implicit_pointer, DW_OP_LLVM_arg0, 32), DILocalVariable("base")) llvm.dbg.value_new(DILocalVariable("c"), DIExpression(DW_OP_constu, 1)) The man...
2019 Nov 29
4
DW_OP_implicit_pointer design/implementation in general
...e < >> jeremy.morse.llvm at gmail.com> wrote: >> >>> Hi, >>> >>> For a new way of representing things, >>> >>> Adrian wrote: >>> > llvm.dbg.value_new(DILocalVariable("y"), DIExpression(DW_OP_LLVM_arg0, >>> DW_OP_LLVM_arg1, DW_OP_plus), >>> > %ptr, %ofs) >>> >>> I think this would be great -- there're definitely some constructs >>> created by the induction-variables pass and similar where one could >>> recover an implicit variable value, if you co...
2020 Jan 01
2
DW_OP_implicit_pointer design/implementation in general
...r a new way of representing things, >>>>>>>>>> >>>>>>>>>> Adrian wrote: >>>>>>>>>> > llvm.dbg.value_new(DILocalVariable("y"), >>>>>>>>>> DIExpression(DW_OP_LLVM_arg0, DW_OP_LLVM_arg1, DW_OP_plus), >>>>>>>>>> > %ptr, %ofs) >>>>>>>>>> >>>>>>>>>> I think this would be great -- there're definitely some constructs >>>>>>>>>> created by the...
2019 Nov 14
4
DW_OP_implicit_pointer design/implementation in general
Hey folks, Would you all mind having a bit of a design discussion around the feature both at the DWARF level and the LLVM implementation? It seems like what's currently being proposed/reviewed (based on the DWARF feature as spec'd) is a pretty big change & I'm not sure I understand the motivation, exactly. The core point of my confusion: Why does describing the thing a pointer