search for: __mem_grid_mod_nnyp

Displaying 4 results from an estimated 4 matches for "__mem_grid_mod_nnyp".

2013 Jan 08
4
[LLVMdev] get ref to parent instruction
Hi all, How can I get a reference to an instruction if I have a reference to an operand? For example, let suppose I have a reference to the ConstantExpr "getelementptr inbounds" in the following instruction: %4 = getelementptr i32* getelementptr inbounds ([8 x i32]* @__mem_grid_MOD_nnyp, i32 0, i32 0), i32 %3 then, how can I get a reference to the GetElementPtrInst object? The reason I need that is because I want to change every instruction that uses certain variables (in the example above the __mem_grid_MOD_nnyp variable). The problem is that for the example I showed the actual...
2013 Jan 08
0
[LLVMdev] get ref to parent instruction
...t; How can I get a reference to an instruction if I have a reference to > an operand? For example, let suppose I have a reference to the > ConstantExpr "getelementptr inbounds" in the following instruction: > > %4 = getelementptr i32* getelementptr inbounds ([8 x i32]* > @__mem_grid_MOD_nnyp, i32 0, i32 0), i32 %3 > > then, how can I get a reference to the GetElementPtrInst object? > > The reason I need that is because I want to change every instruction > that uses certain variables (in the example above the > __mem_grid_MOD_nnyp variable). The problem is that for the...
2013 Jan 08
0
[LLVMdev] get ref to parent instruction
...t; How can I get a reference to an instruction if I have a reference to > an operand? For example, let suppose I have a reference to the > ConstantExpr "getelementptr inbounds" in the following instruction: > > %4 = getelementptr i32* getelementptr inbounds ([8 x i32]* > @__mem_grid_MOD_nnyp, i32 0, i32 0), i32 %3 > > then, how can I get a reference to the GetElementPtrInst object? A given Value instance can be an operand of multiple instructions. > The reason I need that is because I want to change every instruction > that uses certain variables (in the example above the...
2013 Jan 09
1
[LLVMdev] get ref to parent instruction
...nce to an instruction if I have a reference to > > an operand? For example, let suppose I have a reference to the > > ConstantExpr "getelementptr inbounds" in the following instruction: > > > > %4 = getelementptr i32* getelementptr inbounds ([8 x i32]* > > @__mem_grid_MOD_nnyp, i32 0, i32 0), i32 %3 > > > > then, how can I get a reference to the GetElementPtrInst object? > > A given Value instance can be an operand of multiple instructions. > > > The reason I need that is because I want to change every instruction > > that uses certain va...