Displaying 1 result from an estimated 1 matches for "a9fc3585".
2015 Jul 17
2
[LLVMdev] For a pointer to pointer ?How to fast get the pointee pointer?
Hi all, i am coding to analyze an IR with multi-level pointers, and i am
eager to know whether there exists a way to find the pointee pointer
directly, if only given an upper level pointer.
For example, in the following demo,
C code:
int i = 10;
int *p = &i;
int **pp;
*pp = &p;
IR code:
%i = alloca i32, align 4
%p = alloca i32*, align 8
%pp = alloca i32**, align 8
store