search for: inputfunction

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

2008 May 28
1
[LLVMdev] Asm output while executing
...ile, true); Passes.doInitialization(); for (llvm::Module::iterator I = _module->begin(), E=_module->end(); I != E; ++I) if (!I->isDeclaration()) { Passes.run(*I); } Passes.doFinalization(); /// The execution llvm::Function *inputFunction = _module->getFunction("function"); std::vector<llvm::GenericValue> args(0); llvm::GenericValue result; result = _executionEngine->runFunction( inputFunction, args ); **** Thanks, -- .alvaro.castro.castilla.