search for: initializearminstrstatspass

Displaying 1 result from an estimated 1 matches for "initializearminstrstatspass".

2012 Sep 17
0
[LLVMdev] Profile Info with Machine Function Pass Fails
...LevelManager::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 loo...