search for: execution_engine

Displaying 6 results from an estimated 6 matches for "execution_engine".

2010 Feb 11
2
[LLVMdev] LLVM memory usage?
...er(buffer, getGlobalContext(), &error_message); if( first_time ) { InitializeNativeTarget(); builder = new EngineBuilder(mp); builder->setEngineKind(EngineKind::JIT); CodeGenOpt::Level opt_level = CodeGenOpt::Default; builder->setOptLevel(opt_level); execution_engine = builder->create(); delete(builder); // lli doesn't do this - is it safe? } Module *module = mp->materializeModule(&error_message); for (Module::iterator I = module->begin(), E = module->end(); I != E; ++I) { Function *f = &*I; if(!f->isDeclara...
2010 Feb 12
0
[LLVMdev] LLVM memory usage?
...or_message); > >   if( first_time ) { >       InitializeNativeTarget(); >       builder = new EngineBuilder(mp); >       builder->setEngineKind(EngineKind::JIT); >       CodeGenOpt::Level opt_level = CodeGenOpt::Default; >       builder->setOptLevel(opt_level); >       execution_engine = builder->create(); >       delete(builder);       // lli doesn't do this - is it safe? lli allocates the builder on the stack, so it is automatically destroyed on scope exit. >   } > >   Module *module = mp->materializeModule(&error_message); >   for (Module::iterat...
2013 Sep 03
1
[LLVMdev] X86_thiscall
...e_ptr); auto get_interface_type=FunctionType::get(any, arguments, false); interface_group_get_interface=Function::Create(get_interface_type, Function::ExternalLinkage, "get_interface", llvm_module); interface_group_get_interface->setCallingConv(CallingConv::X86_ThisCall); execution_engine->addGlobalMapping(interface_group_get_interface, (void *)as_ptr(&InterfaceGroup::get_interface)); The following call generates the code for the call: vector<Value *> get_interface_args; get_interface_args.push_back(interface_group_variable); get_interface_args.push_back(requ...
2004 Sep 05
0
[LLVMdev] POST MORTEM: llvm-test changes
...sion tests. First: Regression.Bytecode.slow.ll : UNTESTED, expected PASS Could not load test. qmtest.exception: qm.test.database.NoSuchTestError: There is no test with the test ID "". qmtest.traceback: File "/lib/qm/qm/test/execution_engine.py", line 181, in _RunTests File "/usr/home/llvm/obj/test/QMTest/llvmdb.py", line 91, in GetTest raise qm.test.database.NoSuchTestError(self) Next: Feature.cc.packed : FAIL , expected PASS Failed to convert /usr/home...
2004 Sep 05
2
[LLVMdev] POST MORTEM: llvm-test changes
Jeff, Actually, that was my fault. I forgot to remove the non-existent directories from the configure.ac file. That's done and committed now, so the advice is still the same: update configure script :) Reid. On Sun, 2004-09-05 at 09:53, Jeff Cohen wrote: > Configure gives me these errors on FreeBSD. I'm proceding with the build anyway to see what happens. Don't worry :)
2004 Sep 05
2
[LLVMdev] POST MORTEM: llvm-test changes
...de.slow.ll : UNTESTED, expected PASS > Could not load test. > > qmtest.exception: > qm.test.database.NoSuchTestError: There is no test with the test ID "". > > qmtest.traceback: > > File "/lib/qm/qm/test/execution_engine.py", line 181, in _RunTests > File "/usr/home/llvm/obj/test/QMTest/llvmdb.py", line 91, in GetTest > raise qm.test.database.NoSuchTestError(self) > Known problem. Test needs to be added to the database. :( John? > > Next: > > Fea...