Displaying 3 results from an estimated 3 matches for "dfgmodulepass".
2009 Mar 20
0
[LLVMdev] Problem with MemoryDependenceAnalysis
On Mar 20, 2009, at 8:13 AM, Amr Yehia wrote:
> Dear all,
>
> I am having a problem adding a MemoryDependenceAnalysis pass to a
> Module
> Pass i created, it gives me the following error when i add
> (Info.addRequired<MemoryDependenceAnalysis>();) it in the
> getAnalysisUsage(AnalysisUsage &Info) function.
>
If MemoryDependenceAnalysis requires any module
2009 Mar 20
2
[LLVMdev] Problem with MemoryDependenceAnalysis
...ass before it from my module
Info.addRequired<CallGraph>();
Info.addPreserved<CallGraph>();
and from opt i tried first to call my module only and then tried to call
-memdep before calling my module, but both gave the same errors
opt $OPT_OPTIONS -load
${LLVM_PATH}/Release/lib/.libs/libDFGMODULEPASS.so -DFGModulePass < $2.bc
and
opt $OPT_OPTIONS -load
${LLVM_PATH}/Release/lib/.libs/libDFGMODULEPASS.so -memdep
-DFGModulePass < $2.bc
by the way ... i found another mail addressing the same problem as i
have in the mailing list archive but i couldn't find a reply
the message was sen...
2009 Mar 20
2
[LLVMdev] Problem with MemoryDependenceAnalysis
Dear all,
I am having a problem adding a MemoryDependenceAnalysis pass to a Module
Pass i created, it gives me the following error when i add
(Info.addRequired<MemoryDependenceAnalysis>();) it in the
getAnalysisUsage(AnalysisUsage &Info) function.
adding callgraph pass ... done
opt: /net/home/yehia/llvm/llvm-2.4/include/llvm/Target/TargetData.h:114: