search for: dabhad

Displaying 7 results from an estimated 7 matches for "dabhad".

Did you mean: dabhade
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...
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 Mar 01
0
How to write a simple MachineFunctionPass
...an 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 Balasaheb Dabhade via llvm-dev < llvm-dev at lists.llvm.org>: > 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/...
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 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 Feb 26
1
How to write LLVM pass to collect register usage stats
Hi All, I wanted to collect the register usage stats for the program assigned by compiler(in other words "how many time each register will be accessed by the program when it will execute"). How to write LLVM pass which will analyse the code after LLVM global register allocation pass and output the stats. Regards, -Bala -- Thanks, Bala IIITA Allahabad -------------- next part
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