Displaying 9 results from an estimated 9 matches for "mmodule".
Did you mean:
module
2011 Sep 22
2
[LLVMdev] Need help in converting int to double
...Shl(lhs, rhs);
> //lhs = mBuilder.CreatePointerCast(lhs,
> PointerType::get(mBuilder.getDoubleTy(),0));
> lhs = convertIntToDouble(lhs);
> typelhs = getValueType(lhs);
>
>
>
> llvm::Value* returnValue = mBuilder.CreateAlloca(PointerType::get(
> mModule->getTypeByName("Value"), 0));
>
> llvm::Value* valueStructSize = getValueStructSize();
> llvm::Value* memory = insertCallToMalloc(valueStructSize);
>
> memory = mBuilder.CreatePointerCast(memory, PointerType::get(
> mModule->getTypeByName(&q...
2010 Sep 28
2
[LLVMdev] ExecutionEngine::create returns 0
...llvm 2.6 and I am getting the same error. I tried using
llvm-config with flags '--libs core engine jit native'. But ExecutionEngine
returns NULL. I even tried including the JIT.h. No luck there too.
Here is my code listing:
llvm::ExecutionEngine* ee = llvm::ExecutionEngine::create(mModule);
llvm::Function* func = ee->FindFunctionNamed("main");
typedef void (*PFN)();
PFN pfn = reinterpret_cast<PFN> (ee->getPointerToFunction(func));
pfn();
delete ee;
thanks,
subramanyam
--
View this message in context: http://old.nabble.com/ExecutionEngine%3A%3Acreate-ret...
2011 Sep 22
0
[LLVMdev] Need help in converting int to double
...reateLoad(rhs);
lhs = mBuilder.CreateShl(lhs, rhs);
//lhs = mBuilder.CreatePointerCast(lhs, PointerType::get(mBuilder.getDoubleTy(),0));
lhs = convertIntToDouble(lhs);
typelhs = getValueType(lhs);
llvm::Value* returnValue = mBuilder.CreateAlloca(PointerType::get(
mModule->getTypeByName("Value"), 0));
llvm::Value* valueStructSize = getValueStructSize();
llvm::Value* memory = insertCallToMalloc(valueStructSize);
memory = mBuilder.CreatePointerCast(memory, PointerType::get(
mModule->getTypeByName("Value"), 0));...
2011 Sep 22
3
[LLVMdev] Need help in converting int to double
Hi,
I'm pursuing M.Tech course. As a part of the project work i'm using
LLVM as back-end. My project area is "Enhancing the performance of V8
javascript engine using LLVM as a back-end".
Now i'm writing code for shift left(SHL) operator. I had my own Value
Structure .. it's like this
Struct Value
{
void *val ;
char type;
}
The "char type" holds
2011 Sep 22
1
[LLVMdev] Need help in converting int to double
...Shl(lhs, rhs);
> //lhs = mBuilder.CreatePointerCast(lhs,
> PointerType::get(mBuilder.getDoubleTy(),0));
> lhs = convertIntToDouble(lhs);
> typelhs = getValueType(lhs);
>
>
>
> llvm::Value* returnValue = mBuilder.CreateAlloca(PointerType::get(
> mModule->getTypeByName("Value"), 0));
>
> llvm::Value* valueStructSize = getValueStructSize();
> llvm::Value* memory = insertCallToMalloc(valueStructSize);
>
> memory = mBuilder.CreatePointerCast(memory, PointerType::get(
> mModule->getTypeByName(&q...
2009 May 14
1
Digium TDM 400 or Openvox A400P
What is the difference between these to cards? Any feed back good or bad
would be great.
Jonn
2008 Jun 10
0
[LLVMdev] ExecutionEngine::create returns 0
On Tue, 10 Jun 2008 07:07:35 +0530, Mahadevan R wrote:
>> Now to compare it in detail with the much smaller program I've got and
>> maybe I'll figure out what's wrong with my call to
>> ExecutionEngine::create.
>
> That call is perfectly valid, actually. It works for me when linked
> with:
>
> g++ -o b b.o `llvm-config --ldflags` `llvm-config --libs
2008 Jun 10
2
[LLVMdev] ExecutionEngine::create returns 0
> Now to compare it in detail with the much smaller program I've got and
> maybe I'll figure out what's wrong with my call to
> ExecutionEngine::create.
That call is perfectly valid, actually. It works for me when linked with:
g++ -o b b.o `llvm-config --ldflags` `llvm-config --libs engine jit`
Cheers,
-Mahadevan.
2006 Jul 24
0
Debugging a XenU that goes to Zombie state
...I had to reboot everything.
Here is what I captured from the ''xm console'':
BUG: unable to handle kernel NULL pointer dereference at virtual address
0000009a
^M printing eip:
^Me10fd1ad
^M*pde = ma 08f98067 pa 17077067
^M*pte = ma 00000000 pa fffff000
^MOops: 0002 [#1]
^MSMP
^MModules linked in: ipv6 xennet ipt_REJECT xt_tcpudp iptable_filter
ipt_MASQUERADE iptable_nat ip_nat ip_conntrack nfnetlink ip_tables
x_tables dm_mirror dm_mod
^MCPU: 0
^MEIP: 0061:[<e10fd1ad>] Not tainted VLI
^MEFLAGS: 00010046 (2.6.17-1.2157_FC5xenU #1)
^MEIP is at network_tx_buf_gc+0...