Displaying 3 results from an estimated 3 matches for "arminstrstats".
2012 Sep 26
0
[LLVMdev] Error while loading profile information
...ss(llvm::Pass*): Assertion `PI &&
"Expected required passes to be initialized"' failed.
when run through the following command:
clang -march=armv7-a -mfloat-abi=soft -ccc-host-triple arm-elf
-integrated-as simple.c -c -o simple.o
The following is my code for the pass. file: ARMInstrStats.cpp
#include "llvm/Function.h"
#include "llvm/Pass.h"
#include "ARM.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineF...
2012 Sep 17
0
[LLVMdev] Regarding llvm
...block?
Thanks and Regards,
Ranajoy Pal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120917/4e899ec2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ARMInstrStats.cpp
Type: text/x-c++src
Size: 2896 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120917/4e899ec2/attachment.cpp>
2012 Sep 17
0
[LLVMdev] Profile Info with Machine Function Pass Fails
...er::schedulePass(llvm::Pass*): Assertion `PI &&
"Expected required passes to be initialized"' failed.
In *ARMTargetMachine.cpp, function bool
ARMPassConfig::addPreEmitPass() *the following has been added
*PassRegistry &Registry=*PassRegistry::getPassRegistry();
initializeARMInstrStatsPass(Registry);*
The program is executed with the following command :
*clang -march=armv7-a -mfloat-abi=soft -ccc-host-triple arm-elf
-integrated-as simple.c -c -o simple.o*
I am attaching the code for the pass. Can you help me out? also can you
suggest better ways for getting execution count of...