search for: funcfoo

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

2006 May 01
2
[LLVMdev] How to link the right libraries?
...getAnalysisUsage(AnalysisUsage &AU) const { AU.setPreservesAll(); } virtual const char *getPassName() const { return "run on machine function"; } }; RegisterOpt<MacFoo> Z("allocpty", "Register Allocation Prototype Pass"); struct FuncFoo : public FunctionPass { virtual bool runOnFunction(Function &F) { std::cerr << "Function name: " << F.getName() << "\n"; return false; } virtual void getAnalysisUsage(AnalysisUsage &AU) const { AU.setPreservesAll(); }...
2006 May 01
0
[LLVMdev] How to link the right libraries?
...AU) const { > AU.setPreservesAll(); > } > virtual const char *getPassName() const { > return "run on machine function"; > } > }; > RegisterOpt<MacFoo> Z("allocpty", "Register Allocation Prototype Pass"); > > struct FuncFoo : public FunctionPass { > virtual bool runOnFunction(Function &F) { > std::cerr << "Function name: " << F.getName() << "\n"; > return false; > } > virtual void getAnalysisUsage(AnalysisUsage &AU) const { > AU.se...