search for: armpassconfig

Displaying 2 results from an estimated 2 matches for "armpassconfig".

2012 Sep 26
0
[LLVMdev] Error while loading profile information
...entation(Registry); initializeCodeGen(Registry); initializeTarget(Registry); printf("\n%s:%d",__FILE__,__LINE__); fflush(stdout); return new ARMInstrStats(PIL); } } The following changes have been made to the file ARMTargetMachine.cpp in the function bool ARMPassConfig::addPreEmitPass(): bool ARMPassConfig::addPreEmitPass() { if (getARMSubtarget().isThumb2()) { if (!getARMSubtarget().prefers32BitThumb()) PM->add(createThumb2SizeReductionPass()); // Constant island pass work on unbundled instructions. addPass(UnpackMachineBundlesID); }...
2012 Sep 17
0
[LLVMdev] Profile Info with Machine Function Pass Fails
...d Profile estimator as dependent passes over my pass. I am sending you the code for my pass. the error says: void llvm::PMTopLevelManager::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 -...