Displaying 2 results from an estimated 2 matches for "demux_packet".
2018 Nov 11
2
Convert Register Names to String
Hi.
I want to do a cutomized points-to analysis on IR. Suppose that we have:
*%91 = bitcast i8* %90 to %struct.demux_packet*, !dbg !2688*
I want to store sth similar to %91 -> target of %90, which records the
target of pointer named %91. How can I access the names (Here, %90 and %91)?
I know that I can put the whole line for an instruction into a string,
using the following code:
*string str;*
*llvm::raw_string_ostr...
2018 Nov 12
2
Convert Register Names to String
...hover at gmail.com> wrote:
> Hi Ahmad,
>
> On Sun, 11 Nov 2018 at 13:39, Ahmad Nouralizadeh Khorrami via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > I want to do a cutomized points-to analysis on IR. Suppose that we have:
> > %91 = bitcast i8* %90 to %struct.demux_packet*, !dbg !2688
> >
> > I want to store sth similar to %91 -> target of %90, which records the
> target of pointer named %91. How can I access the names (Here, %90 and %91)?
>
> Unfortunately it's not trivial. You can see the logic used in
> AssemblyWriter::printInstruct...