search for: riyad

Displaying 8 results from an estimated 8 matches for "riyad".

Did you mean: rihad
2015 Oct 09
2
Get instance of CallGraph of a module in the pass
...lo, I want an instance of CallGraph in my pass. By looking at -dot-callgraph source, I've tried something like this: CallGraphWrapperPass *CGWP = new CallGraphWrapperPass(); PM.add(CGWP); CallGraph *CG = &CGWP->getCallGraph(); PM.add(new MyPass(CG)); I get the following error: /home/riyad/installs/llvm-3.7.0/include/llvm/PassSupport.h:95:38: error: no matching constructor for initialization of 'MyPass' Pass *callDefaultCtor() { return new PassName(); } My guess is pass manager needs pass with default constructor. Is there any easy way to get instance of call graph in...
2015 May 13
2
[LLVMdev] Modifying debug information through llvm pass
...setDebugLoc(Loc); I read the DebugLoc back by using const DebugLoc D = Inst->getDebugLoc(); unsigned Line = D.getLine(); outs() << Line <<"\n"; But I can't set the debug info correctly. How can I change the debug info correctly through llvm pass? Thanks Riyad -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150512/b5fd2783/attachment.html>
2015 Jun 18
2
[LLVMdev] Do all the debug nodes in LLVM IR also compiles to DWARF?
Hi As the title says, are all the debug nodes of LLVM IR avaialble in DWARF? If I add a new custom MDNode in LLVM IR, can I expect the debug data will be available in DWARF in the binary if I compile in debug mode? Thanks Riyad -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150618/9cb7ac72/attachment.html>
2015 Dec 08
3
Get root node of CallGraph
..."Root" private member in CallGraph <http://llvm.org/docs/doxygen/html/CallGraph_8h_source.html#l00192> class. But there is no way to get access to that member. How can I do that? I can get CallGraphNode of "main" method. But I am curious is there more cleaner way. Thanks, Riyad -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151208/28013898/attachment.html>
2009 Aug 04
3
matrix
...102 BC 0.270 CA 0.002 CB -0.270 I wish to create a matrix so that I can eventually plot the data. A B C A 1 0.102 -0.002 B -0.102 1 0.27 C 0.002 -0.27 1 Any help or guidance would be greatly appreciated Dr Riyad Ismail GIS / Remote Sensing Analyst Sappi Forests (Reg No 1976/02426/07) Tel +27 (0)33 347 6650 Fax +27 (0)33 347 6790 E-mail: riyad.ismail@sappi.com The opinions contained in this message are those of the sender only and do not reflect those of Sappi Limited or any of its subsidiary...
2015 Oct 05
2
Adding mem2reg pass to pass manager
...ar to this: PassManager PM; PM.add(new LoopInfo()); PM.add(new Mem2Reg()); // What's the class name for this pass I couldn't find the name of corresponding class and header file of mem2reg pass except "mem2reg.cpp". So how can I add mem2reg pass into my pass manager? Thanks, Riyad -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151005/e8fc8db2/attachment.html>
2009 Nov 18
0
Optimal parameters for Savitzky-Golay smoothing filter (loop)
...r(j in 1:10) { sg<-sav.gol(data.all[,i],j,forder=2,dorder=0) csg[i]<-data.frame(sg) dat<-do.call(cbind,(csg)) } And Is there anyway that I can combine the results into a single dataset (data frame) or store them as separate objects in the workspace ? Regards Riyad ##################################################################################### Scanned by MailMarshal - Marshal's comprehensive email content security solution. Download a free evaluation of MailMarshal at www.marshal.com ################################################################...
2009 Aug 04
0
FW: matrix
My apologies, to elaborate I carried out a correlation analysis and I want to plot the data (similar to the graphs available in the corrplot package. However, the results are as follows (I have many more combinations): AB 0.102 AC -0.002 BA -0.102 BC 0.270 CA 0.002 CB -0.270 I now want to create a matrix that uses the names from the