search for: bar_struct

Displaying 3 results from an estimated 3 matches for "bar_struct".

2010 Apr 09
3
[LLVMdev] Unknown or runtime type in function definition?
Hello all, I'm trying to understand a bit of LLVM IR syntax. I have a function definition which looks like this in IR: define void @foo(%1* ptr) { ... The C code for foo has a definition that looks like: typedef struct bar_struct bar; ... Definition of struct bar_struct ... void foo(bar *ptr) { ... I can't whittle down a convenient test source file just now; but I'm trying to understand what the syntax of the 'define' above means -- specifically, what does it mean for a parameter to have type '%...
2010 Apr 09
0
[LLVMdev] Unknown or runtime type in function definition?
...ndia.gov> wrote: > Hello all, > > I'm trying to understand a bit of LLVM IR syntax.  I have a function > definition which looks like this in IR: > >    define void @foo(%1* ptr) { ... > > The C code for foo has a definition that looks like: > >    typedef struct bar_struct bar; >    ... Definition of struct bar_struct ... >    void foo(bar *ptr) { ... > > I can't whittle down a convenient test source file just now; but I'm trying > to understand what the syntax of the 'define' above means -- specifically, > what does it mean for a pa...
2010 Apr 10
2
[LLVMdev] Unknown or runtime type in function definition?
...>> >> I'm trying to understand a bit of LLVM IR syntax.  I have a function >> definition which looks like this in IR: >> >>    define void @foo(%1* ptr) { ... >> >> The C code for foo has a definition that looks like: >> >>    typedef struct bar_struct bar; >>    ... Definition of struct bar_struct ... >>    void foo(bar *ptr) { ... >> >> I can't whittle down a convenient test source file just now; but I'm trying >> to understand what the syntax of the 'define' above means -- specifically, >> wh...