search for: ld10

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

Did you mean: d10
2013 Jan 25
0
[LLVMdev] llvm alloca dependencies
...j, align 4 %add = add nsw i32 %2, %3 %cmp2 = icmp sgt i32 %add, 2 How can I check that %cmp2 is dependent on both allocas? Sorry if the question was asked without any testing with optimizations enabled. Basically, my plan is : if (Inst->getOpcode()==Instruction::Load) { LoadInst *LD10 = cast<LoadInst>(Inst); Value *C10 = LD10->getPointerOperand(); } so I get all the good allocas. Then my plan is to check for each ICMP (thats what i have to do) the first or second operand and recursively proceed till I find only Load instructions and then get the correspondi...
2013 Jan 25
2
[LLVMdev] llvm alloca dependencies
Hi Alexandru, On 25/01/13 10:23, Alexandru Ionut Diaconescu wrote: > Thank you a lot for your response. I will try to use your approach with chasing > back along def-use chains to find instructions that define the registers used in > the load. Can you tell me please what class/methods/existing path are good for > this? I assume that I must have a method with arguments like the