Displaying 14 results from an estimated 14 matches for "llvmruntime".
2012 May 28
1
[LLVMdev] VMKIT: Error while producing LLVMruntime.inc (using llvm-as and llc)
...ause llvm-as with llc -march=cpp generate wrong
code for
AttrListPtr AttrListPtr::get(ArrayRef< AttributeWithIndex >Attrs)
http://llvm.org/doxygen/classllvm_1_1AttrListPtr.html#a3a19622d131e9f0d981398f54cf6acfc
bellow you can see the faulty generated code
llvm-as ./vmkit/lib/vmkit/Compiler/LLVMRuntime.ll -o - | llc -march=cpp
-cppgen=contents -o - | grep 'AttrListPtr::get'
func_llvm_sqrt_f64_PAL = AttrListPtr::get(Attrs.begin(), Attrs.end());
func_llvm_sin_f64_PAL = AttrListPtr::get(Attrs.begin(), Attrs.end());
func_llvm_cos_f64_PAL = AttrListPtr::get(Attrs.begin(), Attrs.end());...
2012 Jun 07
4
[LLVMdev] VMKIT: Assertion at build
Hi Nicolas,
it looks like there are missing things
$ more lib/j3/LLVMRuntime/LLVMRuntime.inc
// Generated by llvm2cpp - DO NOT MODIFY!
Module* makeLLVMModuleContents(Module *mod) {
mod->setModuleIdentifier("<stdin>");
// Type Definitions
// Function Declarations
// Global Variable Declarations
// Constant Definitions
// Global Variable Definition...
2012 Jun 09
0
[LLVMdev] VMKIT: Assertion at build
On Jun 7, 2012, at 4:32 PM, Foivos S. Zakkak wrote:
> Hi Nicolas,
>
> it looks like there are missing things
>
> $ more lib/j3/LLVMRuntime/LLVMRuntime.inc
> // Generated by llvm2cpp - DO NOT MODIFY!
>
>
> Module* makeLLVMModuleContents(Module *mod) {
>
> mod->setModuleIdentifier("<stdin>");
>
> // Type Definitions
>
> // Function Declarations
>
> // Global Variable Declarati...
2010 Jun 28
2
[LLVMdev] vmkit and llvm 2.8
...nnot get past is this one (the warnings concern me as well):
...
make[3]: Leaving directory `/home/zoewolk/RESEARCH/vmkit/lib/Mvm/Runtime'
make[3]: Entering directory `/home/zoewolk/RESEARCH/vmkit/lib/Mvm/Compiler'
llvm[3]: Compiling JIT.cpp for Debug build
In file included from JIT.cpp:70:
LLVMRuntime.inc:3: error: stray ‘@’ in program
LLVMRuntime.inc:1: error: expected unqualified-id before ‘.’ token
In file included from JIT.cpp:74:
MMTkInline.inc: In function ‘llvm::Function*
mvm::mmtk_runtime::makeLLVMFunction(llvm::Module*)’:
MMTkInline.inc:24: warning: unused variable ‘PointerTy_2’
MMTkInl...
2013 Apr 15
2
[LLVMdev] [vmkit]Problems when modifying J3
Hi all,
I am currently working with vmkit (especially on J3) for a student project,
I want to made some experimentations on J3.
I see in the file lib/j3/VMCore/JavaClass.h that if I want to add some
attributes in the class JavaClass I must change a few thing in
LLVMRuntime/* and in JnjvmModule.cpp.
But JnjvmModule.cpp does not exist anymore. So my first question is : what
is the equivalent of JnjvmModule.cpp right now ?
Secondly, I also want to add attributes in class JavaVirtualClass. When I
do I immediately got this error :
vmjc: JavaClass.cpp:492: j3::JavaObject...
2012 Jun 10
0
[LLVMdev] VMKIT: Assertion at build
...nt variables?)
I hope the first section will help you to create a patch
(i edited my Makefile.rules just before configuring vmkit to make it work)
Thank you
Foivos
On 08/06/12 00:32, Foivos S. Zakkak wrote:
> Hi Nicolas,
>
> it looks like there are missing things
>
> $ more lib/j3/LLVMRuntime/LLVMRuntime.inc
> // Generated by llvm2cpp - DO NOT MODIFY!
>
>
> Module* makeLLVMModuleContents(Module *mod) {
>
> mod->setModuleIdentifier("<stdin>");
>
> // Type Definitions
>
> // Function Declarations
>
> // Global Variable Declarations
&g...
2013 Apr 16
0
[LLVMdev] [vmkit]Problems when modifying J3
Hi Julien,
I also tried to add a field and get the same error as you.
In theory, to add a field in JavaClass or JavaCommonClass you have to
put your field at the end of the declaration list (in order to minimize
index changes in J3Intrinsics)
in C++ code and in LLVMRuntime/runtime-single.ll
We are working on this issue to see what is going wrong.
The problem is the fact that the error is not deterministic which makes
it difficult to solve.
I will tell you more as soon as I solve the issue.
Harris Bakiras
On 04/15/2013 05:25 PM, Julien Pagès wrote:
> Hi all,
&...
2012 Jun 07
0
[LLVMdev] VMKIT: Assertion at build
Hi Fovios,
Do you have a ./lib/j3/LLVMRuntime/LLVMRuntime.inc file being generated?
What does it contain?
Nicolas
On Thu, Jun 7, 2012 at 5:47 PM, Foivos S. Zakkak <foivos at zakkak.net> wrote:
> Still the same.
>
> Is there any chance that the placement of my directories are causing this?
>
> Also the exact command that...
2013 Apr 17
1
[LLVMdev] [vmkit]Problems when modifying J3
...Hi Julien,
>
> I also tried to add a field and get the same error as you.
>
> In theory, to add a field in JavaClass or JavaCommonClass you have to
> put your field at the end of the declaration list (in order to
> minimize index changes in J3Intrinsics)
> in C++ code and in LLVMRuntime/runtime-single.ll
>
> We are working on this issue to see what is going wrong.
> The problem is the fact that the error is not deterministic which
> makes it difficult to solve.
>
> I will tell you more as soon as I solve the issue.
> Harris Bakiras
> On 04/15/2013 05:25 PM...
2012 Jun 07
2
[LLVMdev] VMKIT: Assertion at build
Still the same.
Is there any chance that the placement of my directories are causing this?
Also the exact command that fails is
/home1/public/zakkak/java/vmkit/Release+Asserts/bin/vmjc
-std-compile-opts
-load=/home1/public/zakkak/java/vmkit/Release+Asserts/lib/MMTKRuntime.so
-load=/home1/public/zakkak/java/vmkit/Release+Asserts/lib/MMTKMagic.so
-LowerMagic
2012 Jun 11
2
[LLVMdev] VMKIT: Assertion at build
...create a patch
> (i edited my Makefile.rules just before configuring vmkit to make it work)
>
> Thank you
> Foivos
>
>
> On 08/06/12 00:32, Foivos S. Zakkak wrote:
>
>> Hi Nicolas,
>>
>> it looks like there are missing things
>>
>> $ more lib/j3/LLVMRuntime/**LLVMRuntime.inc
>> // Generated by llvm2cpp - DO NOT MODIFY!
>>
>>
>> Module* makeLLVMModuleContents(Module *mod) {
>>
>> mod->setModuleIdentifier("<**stdin>");
>>
>> // Type Definitions
>>
>> // Function Declarations...
2010 Jun 29
0
[LLVMdev] Fwd: vmkit and llvm 2.8
...nnot get past is this one (the warnings concern me as well):
...
make[3]: Leaving directory `/home/zoewolk/RESEARCH/vmkit/lib/Mvm/Runtime'
make[3]: Entering directory `/home/zoewolk/RESEARCH/vmkit/lib/Mvm/Compiler'
llvm[3]: Compiling JIT.cpp for Debug build
In file included from JIT.cpp:70:
LLVMRuntime.inc:3: error: stray ‘@’ in program
LLVMRuntime.inc:1: error: expected unqualified-id before ‘.’ token
In file included from JIT.cpp:74:
MMTkInline.inc: In function ‘llvm::Function*
mvm::mmtk_runtime::makeLLVMFunction(llvm::Module*)’:
MMTkInline.inc:24: warning: unused variable ‘PointerTy_2’
MMTkInl...
2013 Feb 12
2
[LLVMdev] [vmkit] Errors compiling vmkt
...GCPass'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/chris/vmkit/lib/vmkit/JITGCPass'
make[2]: Leaving directory `/home/chris/vmkit/lib/vmkit'
make[2]: Entering directory `/home/chris/vmkit/lib/j3'
make[3]: Entering directory `/home/chris/vmkit/lib/j3/LLVMRuntime'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/chris/vmkit/lib/j3/LLVMRuntime'
make[3]: Entering directory `/home/chris/vmkit/lib/j3/VMCore'
llvm[3]: Compiling JnjvmClassLoader.cpp for Release+Asserts build (bytecode)
warning: unknown warning option '-...
2013 Feb 12
0
[LLVMdev] [vmkit] Errors compiling vmkt
...Nothing to be done for `all'.
> make[3]: Leaving directory `/home/chris/vmkit/lib/vmkit/JITGCPass'
> make[2]: Leaving directory `/home/chris/vmkit/lib/vmkit'
> make[2]: Entering directory `/home/chris/vmkit/lib/j3'
> make[3]: Entering directory `/home/chris/vmkit/lib/j3/LLVMRuntime'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/chris/vmkit/lib/j3/LLVMRuntime'
> make[3]: Entering directory `/home/chris/vmkit/lib/j3/VMCore'
> llvm[3]: Compiling JnjvmClassLoader.cpp for Release+Asserts build (bytecode)
> warning: unkn...