Displaying 2 results from an estimated 2 matches for "call_inst2".
Did you mean:
call_inst
2012 Jan 03
2
[LLVMdev] AliasAnalysis and memory dependency
Hi all,
I want to find memory dependency between CallInst instruction and other.
So i used the following code:
* AliasAnalysis &AA=getAnalysis<AliasAnalysis>();*
* if(isa<StoreInst>(inst1)){*
* ** **if(isa<CallInst>(inst2))**{*
* CallInst *call_inst2= dyn_cast<CallInst>(inst2); *
* if(AA.getModRefInfo(inst1,call_inst2)==mod)**{*
* //*
* } *
* }*
* }*
but i get the following error. I should what do for exrtact memory
dependency between CallInst instruction and other.
-------------- next part --------...
2012 Jan 03
0
[LLVMdev] AliasAnalysis and memory dependency
...y between CallInst instruction and other. So i
> used the following code:
>
>
>
> / AliasAnalysis &AA=getAnalysis<AliasAnalysis>();/
>
> /*if* (isa< StoreInst >(inst1)){ /
>
> // // /*if* (isa<CallInst>(inst2)) / /{/
>
> / CallInst *call_inst2= dyn_cast<CallInst>(inst2); /
>
> /*if* (AA.getModRefInfo(inst1,call_inst2)==mod) / /{/
>
> / ///
>
> / } /
>
> / }/
>
> / }/
>
> but i get the following error. I should what do for exrtact memory dependency
> between CallInst in...