search for: kcshin

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

Did you mean: kashin
2008 Mar 12
3
[LLVMdev] Question about use-def chain
Programmers’ manual says we can iterate over a use-def chain by op_iterator. It works fine except for load and store instruction of stack variables. For example, a simple bitcode is like the below. i = alloca i32 store i32 0, i32* %i, align 4 %tmp1 = load i32* %i, align 4 If I apply a use-def chain to load instruction, I get alloca instruction. I think store instruction is a correct
2007 Oct 31
2
[LLVMdev] how to get the address of operand
Hi, I tried to write code transformation pass using LLVM. But I couldn't find how to get the address of some operand (i.e. '&' operation in C). If an integer type variable is generated by AllocaInst(), is there any method to get the address of that variable? Thanks, Keoncheol -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Nov 18
0
[LLVMdev] How to create a new pass using Visual Studio
Hi, I tried to write a new pass using Visual Studio. On linux, I can run the pass as bellows. A shared object is built by Makefile and dynamically loaded by opt via -load option. How can I run a new pass on Window? Thanks, Keoncheol -------------- next part -------------- An HTML attachment was scrubbed... URL: