search for: farg2

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

Did you mean: arg2
2007 Jun 16
2
[LLVMdev] Runtime optimization of C++ code with virtual functions
...unt, float** in, float** out) = 0; }; class CONCRETE_DSP : public DSP { public: CONCRETE_DSP():fValue() {} virtual ~CONCRETE_DSP() {} virtual int Compute(int count, float** in, float** out) { DoSomeProcess(); } }; class SEQ_DDSP : public DSP { private: DSP* fArg1; DSP* fArg2; public: SEQ_DDSP(DSP* a1, DSP* a2):fArg1(a1), fArg2(a2) {} virtual~SEQ_DDSP() {delete fArg1; delete fArg2;} virtual int Compute(int count, float** in, float** out) { // Some code that uses: fArg1->Compute(count, in, out); fArg2->Compute(count, in, out); } }; class PAR_DSP...