search for: 1825c9c8

Displaying 1 result from an estimated 1 matches for "1825c9c8".

2013 Sep 13
1
[LLVMdev] Confuse on ptrtoint and load
Hi, all When I read the document of IR on llvm.org, I found two instructions, "ptrtoint" and load. Load, I think, is : when after allocating some bytes in memory and storing some data into it, we could use load to get the data, like this: %0 = alloca i32 store i32 5, i32* %0 %1 = load i32* %0 so, the type of %1 is i32, and the value is 5, right? And "ptrtoint" is:we cast it