similar to: How to write LLVM pass to collect register usage stats

Displaying 20 results from an estimated 1000 matches similar to: "How to write LLVM pass to collect register usage stats"

2016 Mar 01
2
How to write a simple MachineFunctionPass
Hello everyone, I have written simple LLVM passes, but I cannot able to write a MachineFunctionPass pass. I am following the steps form the following link but it is not working: http://www.gabriel.urdhr.fr/2014/09/26/adding-a-llvm-pass/ Please share the sample MachineFunctionPass code or steps to follow to write MachineFunctionPass. Thanks, Bala -- Thanks, Bala IIITA Allahabad --------------
2016 Mar 01
0
How to write a simple MachineFunctionPass
First you should learn how to write a pass and then a MachineFunctionPass. >From LLVM website, you can refer to http://llvm.org/docs/WritingAnLLVMPass.html And for outside pass, you can refer to http://adriansampson.net/blog/llvm.html It's a great article. And the author put the source code on Github <https://github.com/sampsyo/llvm-pass-skeleton>. 2016-03-01 14:36 GMT+08:00
2016 May 06
3
build issue in llvm-clang cross tool chain for arm target
Hello All, I am building llvm-clang cross tool chain for arm target, after successful build for Linux host now I am now building toolchain for *arm target*. However, I am getting below error message which seems to be confusing and not getting any idea how to resolve this issue. *Command :* #CC='clang' CXX='clang++' cmake -G Ninja /home/iiita/crossbuild/llvm
2016 May 05
2
LLVM cross compilation for arm target
Hello All, I am building llvm-clang tool chain for *arm target* by following the steps from http://clang.llvm.org/docs/CrossCompilation.html *However when I tried following cmake command for build tool chain it gives the error message :* #CC='clang' CXX='clang++' cmake -G Ninja /home/iiita/llvm-exp/llvm -DCMAKE_CROSSCOMPILING=True
2016 May 02
3
How to convert assembly code to executable
Hello All, I have converted c program into assembly code for alpha target using following commands clang -emit-llvm matrix.c -c -o matrix.bc llc -march=alpha matrix.bc -o matrix.s Now how to convert matrix.s assembly file into executable file of alpha target? Any help is appreciated Thanks in advance !! Thanks, Bala -------------- next part -------------- An HTML attachment was scrubbed...
2010 Jun 14
2
calling peer from server
Hi everybody, This is the console output of the asterisk server. debian-te410*CLI> sip set debug peer 2002 SIP Debugging Enabled for IP: 172.26.48.113:5061 I have a sofphone with user 2002 registered on the server on the ip 113. I am trying to place a call to the sofphone on this ip. I have written a simple php script which utilises the exec_dial function inbuilt in phpagi.php file. I have
2010 Jun 10
1
asterisk registration
Hi all, I think i understand the problem, actually I have two asterisk server. In the extension.conf file on one server I have added exten => 3923903,1,GOTO(s,1,3923903.conf) which reads the corresponding conf file when ever the extension no. through PSTN is called and learns the location of inbound.php which contains the IVR script to be executed. Now what i want is that through this
2010 Jun 21
1
using call file
HI list-users, Greetings!! I have been using call file, i playback my file using * application:playback* and once the playback is over the call is disconnected. Is there any way it can wait and also record the dtmf inputs once the playback is over. Thanks in advace Nikhil Kumar summer intern:simmortel voice technologies rit2007033 b.tech IT 6th sem IIIT Allahabad contact at 9793905858 email:
2010 Jun 22
1
storing DTMF inputs
Thanks a lot Danny. I have done the part of playing a file by creating a context in my dialplan. Now I am puzzled as i wish to store the DTMF inputs done by the users who is listening to the playback. I found there are ways, but some specific way by which it is not stored in file but conveyed directly to the asterisk server. When the call landed up on the softphone, i pressed keys the
2016 Feb 27
1
Need help on how to write MachineFunctionPass
Deer All, I wanted to write MachineFunctionPass which needs to be run after global register allocation pass. I have read LLVM documentation and blogs and able to write simple pass which will is invoked through opt command line. However, I could able to find any blogs or document to explains clear steps for writing MachineFunctionPass. Please suggest some documents or blogs which will help me
2010 Jun 15
4
can't seem to register, status unmonitored
Hi everybody, I am trying to register my softphone(twinkle) on an asterisk server. Everything seems to be fine. Here is the output on show registrations in twinkle: Tue 18:57:51 nikhil: you have the following registrations <sip:2001 at 172.26.48.208 <sip%3A2001 at 172.26.48.208>>;expires=3013 208 is ip of the asterisk server. on the server on doing 'sip show peers' , it
2010 Jun 17
0
writing echo in inbound file
Thanx for the reply. The reason i wrote echo is, i was running the script on the command line, and i wanted to see if the particular function is running. Just like i do debugging in c++. I didn't know that it sends messages to asterisk. But again i was not able to see any message on asterisk server. One thing, it must be possible to run the php script file on command line, since it was the
2010 Jun 17
1
calling machine over sip
Actually my problem is not related to sip.conf and extensions.conf. I have used only standard files from martin pdf which are given as example. I am able to call some system connected over LAN, when each has a softphone and are registered on a asterisk server. But now what i want is instead of using the softphone I write a function in my file which will be executed when the call is placed. In that
2013 May 16
3
vim-puppet syntax highlight
Hi I am trying to install vim-puppet for syntax highlight of puppet manifest file. I first installed vim-puppet and then vim. Then I ran "vim-addon-manager -w install puppet" I am still unable to see the colours on site.pp bala@WheezyMaster:~$ vim-addon-manager # Name User Status System Status editexisting removed removed justify
2012 Sep 07
5
puppet hangs
Hi I am a newbie to puppet and I am going through the documents at " http://docs.puppetlabs.com/learning/manifests.html" the exercise were working normally then suddenly puppet hangs when I tried to apply a manifest root@nscbose:/home/bala/puppet# puppet -V 2.7.11 root@nscbose:/home/bala/puppet# cat /etc/debian_version wheezy/sid root@nscbose:/home/bala/puppet# ps aux | grep -i puppet
2013 Jan 29
1
Cron job based on gateway
Hi Is there a way for puppet to create cron job on each of my node based on my gateway''s IP ? bala@bala-desktop:~$ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.2.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0 0.0.0.0
2009 Apr 22
2
Exporting objects plotted with plot3d() - rgl package
Dear all, Can anybody tell me how to export a 3d figure made with the plot3d function? I'm careless about whether it's still interactive or not in another format, as long I can get it out of R. Thanks! Alejandro Gonz?lez Departamento de Biodiversidad y Conservaci?n Real Jard?n Bot?nico Consejo Superior de Investigaciones Cient?ficas Claudio Moyano, 1 28014 Madrid, Spain Tel +0034
2009 Apr 21
4
plotting with R
Friends, i) I am new to R. Kindly suggest some resources that has examples of plotting with R. ii) How to set number of tick marks and labels, i have a x axis ranging fro 1 to 21. By default R shows the tick marks at 5, 10,15,20. How can i change this. Thanks, Bala [[alternative HTML version deleted]]
2005 Aug 17
2
what are the available plugins for IE in wine
Hi All, we are planning to migrate some of the windows users to linux, but before that looking for information about available plugins for IE in wine environment. can you point me where I can find this information, or anybody already installed and running IE in wine, pls share your experience about supporting IE based web applications or any other work around/solution available. thanks in
2009 May 04
3
problem with ms office
Friends, I installed MS office 2k7 with wine 1.1.15. I am able to open the applications and work on it. However if i try to copy a figure from powerpoint and paste is on the word, it is not working. The reverse is also not working. In addition, i am not able to move the figures in the work file to the appropriate positions. I dnt understand what is going wrong. Any suggestion on how to resolve