search for: puseinstr

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

Did you mean: useinstr
2011 Jul 13
1
[LLVMdev] Confusion with GetElementPtr and Defs/Uses
...the uses of that definition. In my code, I do this twice, in slightly different ways. This first method works and shows instructions that use %29: *for(Value::use_iterator useIt = defInsn->use_begin(), useIt_e = defInsn->use_end(); useIt != useIt_e; useIt++){ Instruction *pUseInstr = dyn_cast<Instruction>(*useIt); //This is the current use of the defInsn }* However, this code later on does not work and shows the def of %29 to have no uses [not the case] (pIRI here is a data structure we've created which keeps track of defs and useBBs. The defs part works fine.):...
2011 Jun 02
0
[LLVMdev] LLVM Instruction Operands
On Jun 2, 2011, at 9:46 AM, Griffin Wright wrote: > > Hello all: > > I apologize for what I imagine is a rather silly question, but I'm still > somewhat new to LLVM and am stuck. I am reworking some code that was > originally in the backend involving MachineInstructions and > MachineOperands, and I now need for it to function as an LLVM IR pass, > using just
2011 Jun 02
3
[LLVMdev] LLVM Instruction Operands
Hello all: I apologize for what I imagine is a rather silly question, but I'm still somewhat new to LLVM and am stuck. I am reworking some code that was originally in the backend involving MachineInstructions and MachineOperands, and I now need for it to function as an LLVM IR pass, using just Instructions, etc, and nothing related to 'Machine'. However, I am not sure how to get the