search for: void_6

Displaying 2 results from an estimated 2 matches for "void_6".

Did you mean: void_66
2008 Jun 28
0
[LLVMdev] need to store the address of a variable
...evant section looks like this: AllocaInst* ptr_a_addr = new AllocaInst(IntegerType::get(32), "a_addr", label_4); AllocaInst* ptr_d = new AllocaInst(PointerTy_1, "d", label_4); StoreInst* void_5 = new StoreInst(int32_a /* argument %a */, ptr_a_addr, false, label_4); StoreInst* void_6 = new StoreInst(ptr_a_addr, ptr_d, false, label_4); void_5 is putting the argument %a into the locally allocated %a_addr. void_6 is taking %a_addr and storing it into %d. > When I use > > name = variables.inst[i]->getName() + "address_"; > Instruction *AD = new AllocaInst(...
2008 Jun 28
2
[LLVMdev] need to store the address of a variable
Hello everybody, my problem is, that I want to get an array of pointers to all local variables in a function. This array will be used for transfering these Variables to another execution engine. I've code which generates this array, and a pointer to the target field of the array. name = variables.fname + "_pointerArray"; Instruction* pointerArray = new