search for: cfgexplorator

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

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(MachineFunction...
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 boo...