search for: loadinstrarray

Displaying 6 results from an estimated 6 matches for "loadinstrarray".

2013 Jan 24
2
[LLVMdev] llvm alloca dependencies
...oad, recursively, to the beginning. If you hit an alloca, stop. > I tried to use methods from DependencyAnalysis class. DependenceAnalysis. Seems like a bad start. Dependence analysis is used to determine how two array references may interact. Nothing to do with alloca. > 1. if (DA.depends(loadInstrArray[i],loadInstrArray[j],false)) - no result I can't say if this is correct or not without a more complete example. For instance, in the code for (i = 0; i < n; i += 2) { loadInstr[i] = 0; j = i + 1; loadInstr[j] = 1; } there is no dependence between the two st...
2013 Jan 25
0
[LLVMdev] llvm alloca dependencies
...f you hit an alloca, stop. > > > I tried to use methods from DependencyAnalysis class. > > DependenceAnalysis. Seems like a bad start. > Dependence analysis is used to determine how two > array references may interact. Nothing to do with alloca. > > > 1. if (DA.depends(loadInstrArray[i],loadInstrArray[j],false)) - no result > > I can't say if this is correct or not without a more complete example. > For instance, in the code > > for (i = 0; i < n; i += 2) { > loadInstr[i] = 0; > j = i + 1; > loadInstr[j] = 1; > }...
2013 Jan 25
2
[LLVMdev] llvm alloca dependencies
...top. > > > I tried to use methods from DependencyAnalysis class. > > DependenceAnalysis. Seems like a bad start. > Dependence analysis is used to determine how two > array references may interact. Nothing to do with alloca. > > > 1. if (DA.depends(loadInstrArray[i],loadInstrArray[j],false)) - no result > > I can't say if this is correct or not without a more complete example. > For instance, in the code > > for (i = 0; i < n; i += 2) { > loadInstr[i] = 0; > j = i + 1; >...
2013 Jan 22
0
[LLVMdev] llvm alloca dependencies
On 1/21/13 5:22 AM, Alexandru Ionut Diaconescu wrote: > Hello everyone ! > > I am trying to determine for certain Load instructions from my pass > their corresponding Alloca instructions (that can be in other previous > blocks). The chain can be something like : `TargetLoad(var) -> other > stores/loads that use var (or dependencies on var) -> alloca(var).` , > linked
2013 Jan 21
2
[LLVMdev] llvm alloca dependencies
Hello everyone ! I am trying to determine for certain Load instructions from my pass their corresponding Alloca instructions (that can be in other previous blocks). The chain can be something like : `TargetLoad(var) -> other stores/loads that use var (or dependencies on var) -> alloca(var).` , linked on several basic blocks. Do you know how can I do it? I tried to use the methods from
2013 Jan 25
0
[LLVMdev] llvm alloca dependencies
...I tried to use methods from DependencyAnalysis class. >> >> DependenceAnalysis. Seems like a bad start. >> Dependence analysis is used to determine how two >> array references may interact. Nothing to do with alloca. >> >> > 1. if (DA.depends(loadInstrArray[i],**loadInstrArray[j],false)) - >> no result >> >> I can't say if this is correct or not without a more complete example. >> For instance, in the code >> >> for (i = 0; i < n; i += 2) { >> loadInstr[i] = 0; >>...