Displaying 20 results from an estimated 23 matches for "jitthefunction".
2010 Aug 27
0
[LLVMdev] What does this error mean: psuedo instructions should be removed before code emission?
...m::FunctionPassManagerImpl::run
(this=0x1e1a300, F=@0x4530c60) at
/tmp/llvm-svn/llvm/lib/VMCore/PassManager.cpp:1394
#9 0x0000000802e767ef in llvm::FunctionPassManager::run
(this=0x4b566c0, F=@0x4530c60) at
/tmp/llvm-svn/llvm/lib/VMCore/PassManager.cpp:1324
#10 0x0000000802f50500 in llvm::JIT::jitTheFunction (this=0x327a7e0,
F=0x4530c60, locked=@0x7fffffff9840) at
/tmp/llvm-svn/llvm/lib/ExecutionEngine/JIT/JIT.cpp:655
#11 0x0000000802f5037b in llvm::JIT::runJITOnFunctionUnlocked
(this=0x327a7e0, F=0x4530c60, locked=@0x7fffffff9840) at
/tmp/llvm-svn/llvm/lib/ExecutionEngine/JIT/JIT.cpp:633
#12 0x000...
2012 Aug 06
2
[LLVMdev] Code-emission problem
...anager::runOnFunction(llvm::Function&) + 445
11 lli 0x00000001034815d1
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 129
12 lli 0x0000000103481542
llvm::FunctionPassManager::run(llvm::Function&) + 162
13 lli 0x0000000102ebb2cf
llvm::JIT::jitTheFunction(llvm::Function*, llvm::MutexGuard const&) + 63
14 lli 0x0000000102ebb17a
llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, llvm::MutexGuard
const&) + 122
15 lli 0x0000000102ebb5b7
llvm::JIT::getPointerToFunction(llvm::Function*) + 695
16 lli 0x00...
2013 Jun 21
0
[LLVMdev] is this a bug of llvm::JIT::getPointerToBasicBlock?
...'getPointerToBasicBlock' first calls 'getPointerToFunction' and then try to
look up the map returned by 'getBasicBlockAddressMap(locked)' to get the
pointer of the BasicBlock.
'getPointerToFunction' calls 'runJITOnFunctionUnlocked' which in turn
calls 'jitTheFunction'. However, in 'jitTheFunction, there is a statement
'getBasicBlockAddressMap(locked).clear()'. After returning from
'getPointerToFunction', the map is empty. So, you will never get the
pointer of the BasicBlock.
Is this a bug? Or I should not call the function this way?...
2010 Aug 27
3
[LLVMdev] What does this error mean: psuedo instructions should be removed before code emission?
On Aug 27, 2010, at 11:00 AMPDT, Eric Christopher wrote:
>>>
>>> For some reason I am getting this error even when I only have an
>>> empty 'main' function. So I couldn't create .ll file reproducing
>>> it and I have to debug myself.
>>>
>>> The function causing the problem is stub created in
>>> JIT::runFunction:
2010 Aug 27
2
[LLVMdev] What does this error mean: psuedo instructions should be removed before code emission?
...::run
> (this=0x1e1a300, F=@0x4530c60) at
> /tmp/llvm-svn/llvm/lib/VMCore/PassManager.cpp:1394
> #9 0x0000000802e767ef in llvm::FunctionPassManager::run
> (this=0x4b566c0, F=@0x4530c60) at
> /tmp/llvm-svn/llvm/lib/VMCore/PassManager.cpp:1324
> #10 0x0000000802f50500 in llvm::JIT::jitTheFunction (this=0x327a7e0,
> F=0x4530c60, locked=@0x7fffffff9840) at
> /tmp/llvm-svn/llvm/lib/ExecutionEngine/JIT/JIT.cpp:655
> #11 0x0000000802f5037b in llvm::JIT::runJITOnFunctionUnlocked
> (this=0x327a7e0, F=0x4530c60, locked=@0x7fffffff9840) at
> /tmp/llvm-svn/llvm/lib/ExecutionEngine/JIT/...
2011 Apr 19
2
[LLVMdev] Crash in llvm::JITDwarfEmitter::EmitDwarfTable on 2.8 and 2.9 release but not on trunk?
...t stl_tree.h:1050
#4 0x0000000100ee15f0 in llvm::FPPassManager::runOnFunction () at stl_tree.h:1050
#5 0x0000000100ee178c in llvm::FunctionPassManagerImpl::run () at stl_tree.h:1050
#6 0x0000000100ee1a79 in llvm::FunctionPassManager::run () at stl_tree.h:1050
#7 0x000000010084a29a in llvm::JIT::jitTheFunction () at context.h:491
#8 0x000000010084a821 in llvm::JIT::getPointerToFunction () at context.h:491
#9 0x00000001007924cc in XL::OCompiledUnit::Finalize (this=0x7fff5fbfdee0) at ../tao/xlr/xlr/symbols.cpp:2359
#10 0x000000010079a2dc in XL::Symbols::CompileAll (this=0x10572b740, source=0x104890200, n...
2013 Oct 06
1
[LLVMdev] Resolving a function symbol using JIT.
...PPassManager::runOnFunction(llvm::Function&) + 427
11 lli 0x0000000001168777
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 119
12 lli 0x00000000011686e7
llvm::FunctionPassManager::run(llvm::Function&) + 167
13 lli 0x0000000000ac478f
llvm::JIT::jitTheFunction(llvm::Function*, llvm::MutexGuard const&) + 63
14 lli 0x0000000000ac467e
llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, llvm::MutexGuard
const&) + 94
15 lli 0x0000000000ac4a9e
llvm::JIT::getPointerToFunction(llvm::Function*) + 734
16 lli 0x000000000...
2011 Jan 15
2
[LLVMdev] LLVM GC
...FPPassManager::runOnFunction(llvm::Function&) + 424
8 libLLVM-2.8.so 0x0000003cc33307cb
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 91
9 libLLVM-2.8.so 0x0000003cc33309bd
llvm::FunctionPassManager::run(llvm::Function&) + 173
10 libLLVM-2.8.so 0x0000003cc33e8647
llvm::JIT::jitTheFunction(llvm::Function*, llvm::MutexGuard const&) + 39
11 libLLVM-2.8.so 0x0000003cc33e8a2f
llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, llvm::MutexGuard
const&) + 15
12 libLLVM-2.8.so 0x0000003cc33e8cde
llvm::JIT::getPointerToFunction(llvm::Function*) + 606
13 libLLVM-2.8.so 0x0000003cc...
2011 Apr 19
0
[LLVMdev] Crash in llvm::JITDwarfEmitter::EmitDwarfTable on 2.8 and 2.9 release but not on trunk?
...t; #4 0x0000000100ee15f0 in llvm::FPPassManager::runOnFunction () at stl_tree.h:1050
> #5 0x0000000100ee178c in llvm::FunctionPassManagerImpl::run () at stl_tree.h:1050
> #6 0x0000000100ee1a79 in llvm::FunctionPassManager::run () at stl_tree.h:1050
> #7 0x000000010084a29a in llvm::JIT::jitTheFunction () at context.h:491
> #8 0x000000010084a821 in llvm::JIT::getPointerToFunction () at context.h:491
> #9 0x00000001007924cc in XL::OCompiledUnit::Finalize (this=0x7fff5fbfdee0) at ../tao/xlr/xlr/symbols.cpp:2359
> #10 0x000000010079a2dc in XL::Symbols::CompileAll (this=0x10572b740, source...
2011 Jan 15
2
[LLVMdev] Fw: LLVM GC
...ibLLVM-2.8.so 0x0000003cc33307cb
> > llvm::FunctionPassManagerImpl::run(llvm::Function&) + 91
> > 9 libLLVM-2.8.so 0x0000003cc33309bd
> > llvm::FunctionPassManager::run(llvm::Function&) + 173
> > 10 libLLVM-2.8.so 0x0000003cc33e8647
> > llvm::JIT::jitTheFunction(llvm::Function*, llvm::MutexGuard const&) + 39
> > 11 libLLVM-2.8.so 0x0000003cc33e8a2f
> > llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, llvm::MutexGuard
> > const&) + 15
> > 12 libLLVM-2.8.so 0x0000003cc33e8cde
> > llvm::JIT::getPointerToFunc...
2010 Aug 27
0
[LLVMdev] What does this error mean: psuedo instructions should be removed before code emission?
On Aug 27, 2010, at 11:53 AMPDT, Yuri wrote:
> On 08/27/2010 11:32, Yuri wrote:
>> As I understand only one of TCRETURNri64 and RET should be created.
>> I have sources of rev.112200.
>>
>> Here is the stack when TCRETURNri64 instruction is created:
>> #1 0x0000000802c8b4e2 in llvm::MachineFunction::CreateMachineInstr
>> (this=0x30eb000, TID=@0x803a78940,
2010 Aug 27
2
[LLVMdev] What does this error mean: psuedo instructions should be removed before code emission?
...m::FunctionPassManagerImpl::run
(this=0x1e1a300, F=@0x4530bd0) at
/tmp/llvm-svn/llvm/lib/VMCore/PassManager.cpp:1394
#11 0x0000000802e767ef in llvm::FunctionPassManager::run
(this=0x4b566c0, F=@0x4530bd0) at
/tmp/llvm-svn/llvm/lib/VMCore/PassManager.cpp:1324
#12 0x0000000802f50500 in llvm::JIT::jitTheFunction (this=0x327a7e0,
F=0x4530bd0, locked=@0x7fffffff8b50) at
/tmp/llvm-svn/llvm/lib/ExecutionEngine/JIT/JIT.cpp:655
#13 0x0000000802f5037b in llvm::JIT::runJITOnFunctionUnlocked
(this=0x327a7e0, F=0x4530bd0, locked=@0x7fffffff8b50) at
/tmp/llvm-svn/llvm/lib/ExecutionEngine/JIT/JIT.cpp:633
#14 0x000...
2011 Jan 17
0
[LLVMdev] Fw: LLVM GC
...0x0000003cc33307cb
>>> llvm::FunctionPassManagerImpl::run(llvm::Function&) + 91
>>> 9 libLLVM-2.8.so 0x0000003cc33309bd
>>> llvm::FunctionPassManager::run(llvm::Function&) + 173
>>> 10 libLLVM-2.8.so 0x0000003cc33e8647
>>> llvm::JIT::jitTheFunction(llvm::Function*, llvm::MutexGuard const&) + 39
>>> 11 libLLVM-2.8.so 0x0000003cc33e8a2f
>>> llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, llvm::MutexGuard
>>> const&) + 15
>>> 12 libLLVM-2.8.so 0x0000003cc33e8cde
>>> llvm::JIT::g...
2014 Mar 21
3
[LLVMdev] lli crashes when running cpp programs
...unOnFunction(llvm::Function&) + 385
16 lli
0x000000000129a286
llvm::legacy::FunctionPassManagerImpl::run(llvm::Function&) +
84
17 lli
0x0000000001299e5e llvm::legacy::FunctionPassManager::run(llvm::Function&)
+ 180
18 lli
0x0000000000cf175c llvm::JIT::jitTheFunction(llvm::Function*, llvm::MutexGuard
const&) + 72
19 lli
0x0000000000cf1637 llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*,
llvm::MutexGuard const&) + 89
20 lli
0x0000000000cf1a3a
llvm::JIT::getPointerToFunction(llvm::Function*) + 694
21 lli
0x000000000...
2011 Jan 19
0
[LLVMdev] Shadow Stack
...FPPassManager::runOnFunction(llvm::Function&) + 424
8 libLLVM-2.8.so 0x0000003cc33307cb
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 91
9 libLLVM-2.8.so 0x0000003cc33309bd
llvm::FunctionPassManager::run(llvm::Function&) + 173
10 libLLVM-2.8.so 0x0000003cc33e8647
llvm::JIT::jitTheFunction(llvm::Function*, llvm::MutexGuard const&) + 39
11 libLLVM-2.8.so 0x0000003cc33e8a2f
llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, llvm::MutexGuard
const&) + 15
12 libLLVM-2.8.so 0x0000003cc33e8cde
llvm::JIT::getPointerToFunction(llvm::Function*) + 606
13 libLLVM-2.8.so 0x0000003cc...
2013 Mar 05
0
[LLVMdev] Convert C variable to LLVM IR Variable
Hi Chia Lun Liu,
> The reason why I take such indirect method is that as I know, JIT is not
> able to
>
> do with LLVM GlobalVariable with ThreadLocal type.
did you try mcjit? Run lli with -use-mcjit
Ciao, Duncan.
2013 May 28
2
[LLVMdev] Global variables on LLVM JIT on ARM (Android)
...e/PassManager.cpp:1498
#8 0x40dfc34c in llvm::FunctionPassManagerImpl::run (this=0x1a2ea50,
F=...) at external/llvm/lib/VMCore/PassManager.cpp:1449
#9 0x40dfc5a4 in llvm::FunctionPassManager::run (this=0x1a6c608, F=...) at
external/llvm/lib/VMCore/PassManager.cpp:1379
#10 0x409aa988 in llvm::JIT::jitTheFunction (this=0x1a6c550, F=0x1,
locked=...) at external/llvm/lib/ExecutionEngine/JIT/JIT.cpp:645
#11 0x409aa9ac in llvm::JIT::runJITOnFunctionUnlocked (this=0xdeadbaad,
F=0x1, locked=...) at external/llvm/lib/ExecutionEngine/JIT/JIT.cpp:624
#12 0x409aac50 in llvm::JIT::getPointerToFunction (this=0x1a6c550,...
2013 Mar 05
4
[LLVMdev] Convert C variable to LLVM IR Variable
Hi everyone,
I am doing some work with LLVM IR, I need to use LLVM IR to do operation
on C variables.
Code emission is done by LLVM JIT.
That variable is C thread local , for example
__thread int* gvar;
I think some methods to convert that variable to LLVM IR,
(1) use external function
I know LLVM IR is able to call an external function, so I can write codes
that look like:
int* load()
2014 Sep 02
2
[LLVMdev] Problem linking and JITing code through C++-API
...on&) ()
#4 0x0000000000b214dc in llvm::FPPassManager::runOnFunction(llvm::Function&) ()
#5 0x0000000000b21610 in llvm::FunctionPassManagerImpl::run(llvm::Function&) ()
#6 0x0000000000b216f4 in llvm::FunctionPassManager::run(llvm::Function&) ()
#7 0x00000000006fe26e in llvm::JIT::jitTheFunction(llvm::Function*, llvm::MutexGuard const&) ()
#8 0x00000000006fe8cf in llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, llvm::MutexGuard const&) ()
#9 0x00000000006fead2 in llvm::JIT::getPointerToFunction(llvm::Function*) ()
#10 0x00000000006fd63f in llvm::JIT::getPointerToBasicBlock(l...
2014 Sep 08
2
[LLVMdev] Problem linking and JITing code through C++-API
...14dc in
> llvm::FPPassManager::runOnFunction(llvm::Function&) ()
> #5 0x0000000000b21610 in
> llvm::FunctionPassManagerImpl::run(llvm::Function&) ()
> #6 0x0000000000b216f4 in llvm::FunctionPassManager::run(llvm::Function&)
> ()
> #7 0x00000000006fe26e in llvm::JIT::jitTheFunction(llvm::Function*,
> llvm::MutexGuard const&) ()
> #8 0x00000000006fe8cf in
> llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, llvm::MutexGuard
> const&) ()
> #9 0x00000000006fead2 in llvm::JIT::getPointerToFunction(llvm::Function*)
> ()
> #10 0x00000000006fd63f in...