search for: cfgexplor

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

2013 Mar 15
2
[LLVMdev] write a simple MachineFunctionPass
Hello everyone, I have written several complex passes till now, but I cannot write a MachineFunctionPass pass. It just gives me segfault. Hence I reduced the pass to the following form : using namespace llvm; namespace { class CFGexplorator : public MachineFunctionPass { public: static char ID; // Pass identification, replacement for typeid CFGexplorator() : MachineFunctionPass(ID) { //initializeMemDepPrinterPass(*PassRegistry::getPassRegistry()); } private: virtual bool runOnMachineFunction(MachineFunct...
2013 Mar 15
0
[LLVMdev] write a simple MachineFunctionPass
...com> wrote: > Hello everyone, > > I have written several complex passes till now, but I cannot write a > MachineFunctionPass pass. It just gives me segfault. Hence I reduced the > pass to the following form : > > > using namespace llvm; > > namespace { > class CFGexplorator : public MachineFunctionPass { > public: > static char ID; // Pass identification, replacement for typeid > CFGexplorator() : MachineFunctionPass(ID) { > //initializeMemDepPrinterPass(*PassRegistry::getPassRegistry()); > } > > private: > virtual...