search for: leaflang

Displaying 20 results from an estimated 45 matches for "leaflang".

2018 Apr 18
4
A struct {i8,i64} has size == 12, clang says size 16
...ool c;         long int b;     } vpt_data;     int main() {         vpt_data v;         vpt_test(v);         auto a = sizeof(v);         auto off = offsetof(vpt_data,b);     } 16 is stored to `a` and 8 to `off`. -- edA-qa mort-ora-y http://mortoray.com/ Creator of the Leaf language http://leaflang.org/ Streaming algorithms, AI, and design on Twitch https://www.twitch.tv/mortoray Twitter edaqa
2018 Apr 18
2
A struct {i8, i64} has size == 12, clang says size 16
...v); >> auto a = sizeof(v); >> auto off = offsetof(vpt_data,b); >> } > >> 16 is stored to `a` and 8 to `off`. >> -- >> edA-qa mort-ora-y >> http://mortoray.com/ >> Creator of the Leaf language >> http://leaflang.org/ >> Streaming algorithms, AI, and design on Twitch >> https://www.twitch.tv/mortoray >> Twitter >> edaqa > >> _______________________________________________ >> LLVM Developers mailing list >> llvm-dev at lists.llvm.org >> htt...
2018 Apr 18
0
A struct {i8, i64} has size == 12, clang says size 16
...vpt_data v; > vpt_test(v); > auto a = sizeof(v); > auto off = offsetof(vpt_data,b); > } > 16 is stored to `a` and 8 to `off`. > -- > edA-qa mort-ora-y > http://mortoray.com/ > Creator of the Leaf language > http://leaflang.org/ > Streaming algorithms, AI, and design on Twitch > https://www.twitch.tv/mortoray > Twitter > edaqa > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailma...
2018 Apr 19
0
A struct {i8, i64} has size == 12, clang says size 16
...; >> auto off = offsetof(vpt_data,b); > >> } > > > >> 16 is stored to `a` and 8 to `off`. > >> -- > >> edA-qa mort-ora-y > >> http://mortoray.com/ > >> Creator of the Leaf language > >> http://leaflang.org/ > >> Streaming algorithms, AI, and design on Twitch > >> https://www.twitch.tv/mortoray > >> Twitter > >> edaqa > > > >> _______________________________________________ > >> LLVM Developers mailing list > >>...
2013 Nov 10
0
[LLVMdev] Announcing Leaf v0
I'm proud to announce Leaf <http://leaflang.org/>, a soon to be great new programming language. I've been working over a year on it now, though it's nowhere near completion. Consider this a pre-alpha prototype stage announcement. ;) A lot of my progress is due entirely to LLVM. So while Leaf has a host of features <http://lea...
2018 Mar 17
1
Migration from 3.8 to 6.0 questions (segfault most concerning)
...there a new way to do the passes now? There docs still reference `tool_output_file*`*, but it appears the new name, in the header, is `ToolOutputFile`. https://llvm.org/doxygen/classllvm_1_1tool__output__file.html -- edA-qa mort-ora-y http://mortoray.com/ Creator of the Leaf language http://leaflang.org/ Streaming algorithms, AI, and design on Twitch https://www.twitch.tv/mortoray Twitter edaqa -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180317/61d4882b/attachment-0001.html>
2016 Jul 03
2
clib `open` writes a linefeed to stdout when used in the JIT
...2* %f8686688__f br label %defer_block_25 Where elsewhere I have `declare i32 @open(i8*, i32, i32)`. Any ideas on what could possible be causing this? I'm using LLVM3.8 with GCC 5.3.1 on Ubuntu 16.04. -- edA-qa mort-ora-y http://mortoray.com/ Leaf - the language we always wanted http://leaflang.org/
2018 May 05
4
Slow IR compilation/JIT, profiling points to LLVM?
...TALL_PREFIX="/opt/llvm/install" The overall time split, from valgrind, between shared libraries in my code is:     80.48%, libLLVM-6.0.so     8.83% libc-2.23.so     2.34% libleaf_lang.so (my front-end) -- edA-qa mort-ora-y http://mortoray.com/ Creator of the Leaf language http://leaflang.org/ Streaming algorithms, AI, and design on Twitch https://www.twitch.tv/mortoray Twitter edaqa
2018 Apr 19
2
How to set Target/Triple of ExecutionEngine
...ng the triple `x86_64-pc-linux-gnu`, the same as clang on the machine, but getting different alignments. I'm assuming the above is somehow not creating the correct layout. Perhaps there's an ordering issue? -- edA-qa mort-ora-y http://mortoray.com/ Creator of the Leaf language http://leaflang.org/ Streaming algorithms, AI, and design on Twitch https://www.twitch.tv/mortoray Twitter edaqa
2016 Jun 11
3
SegFault creating a ExecutionEngine
...in runner::execute (this=this at entry=0x7fffffffdbc0, m=std::shared_ptr (count 2, weak 0) 0x682200) at src/bin/leaf.cpp:544 #11 0x0000000000415ac8 in main (argc=3, argv=0x7fffffffdde8) at src/bin/leaf.cpp:265 -- edA-qa mort-ora-y http://mortoray.com/ Leaf - the language we always wanted http://leaflang.org/
2018 Apr 19
1
How to set Target/Triple of ExecutionEngine
..., but getting different alignments. I'm assuming the above is > > somehow not creating the correct layout. Perhaps there's an ordering > issue? > > > > -- > edA-qa mort-ora-y > http://mortoray.com/ > > Creator of the Leaf language > http://leaflang.org/ > > Streaming algorithms, AI, and design on Twitch > https://www.twitch.tv/mortoray > > Twitter > edaqa > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/...
2013 Nov 19
2
[LLVMdev] struct alignment question
...fields in a structure on their own? That is, can I cast a pointer within a main structure to an equivalent type? X = { a, b, c, d, e } Y = { c, d, e } y = BitCast( StructGEP( some_x, 2 ), Y* ) Is that a valid cast? -- edA-qa mort-ora-y Leaf Creator Leaf - the language we always wanted http://leaflang.org/
2013 Nov 19
1
[LLVMdev] struct alignment question
...ng. Yes, I forgot about the simple scenario. If I force the alignment on "c" should I be okay? That is, if I force it to the maximum alignment for the platform will { c, d, e } always have the same layout? -- edA-qa mort-ora-y Leaf Creator Leaf - the language we always wanted http://leaflang.org/
2013 Dec 02
1
[LLVMdev] must store instructions really have the exact same type pointer?
...nager already has lots of extra code just trying to merge types, but I seem to have missed one. If the assert were removed would the code actually work? Could the assert perhaps do a more logical check of equivalence? -- edA-qa mort-ora-y Leaf Creator Leaf - the language we always wanted http://leaflang.org/
2013 Dec 12
1
[LLVMdev] trouble building with clang, doxygen file missing
...ocs/doxygen.cfg.in Even if I "--enable-doxygen=no --enable-docs=no" I still get this error. Attempting to remove the clang "docs" directory also doesn't help, something is still looking for it. -- edA-qa mort-ora-y Leaf Creator Leaf - the language we always wanted http://leaflang.org/
2018 May 05
2
Slow IR compilation/JIT, profiling points to LLVM?
...39;m assuming I need the flag for (it's been a long time since I experimented with it) If there is no way I guess I'll have to produce two versions of LLVM.  I still commonly get type errors in my LLVM IR. -- edA-qa mort-ora-y http://mortoray.com/ Creator of the Leaf language http://leaflang.org/ Streaming algorithms, AI, and design on Twitch https://www.twitch.tv/mortoray Twitter edaqa
2018 May 05
0
Slow IR compilation/JIT, profiling points to LLVM?
...ime split, from valgrind, between shared libraries in my > code is: > > 80.48%, libLLVM-6.0.so > 8.83% libc-2.23.so > 2.34% libleaf_lang.so (my front-end) > > -- > edA-qa mort-ora-y > http://mortoray.com/ > > Creator of the Leaf language > http://leaflang.org/ > > Streaming algorithms, AI, and design on Twitch > https://www.twitch.tv/mortoray > > Twitter > edaqa > > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-...
2018 Apr 18
3
Why does clang do a memcpy? Is the cast not enough? (ABI function args)
..._______ >>>> LLVM Developers mailing list >>>> llvm-dev at lists.llvm.org >>>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >>>> >>> >> > -- edA-qa mort-ora-y http://mortoray.com/ Creator of the Leaf language http://leaflang.org/ Streaming algorithms, AI, and design on Twitch https://www.twitch.tv/mortoray Twitter edaqa
2018 Apr 19
0
How to set Target/Triple of ExecutionEngine
...x86_64-pc-linux-gnu`, the same as clang on the > machine, but getting different alignments. I'm assuming the above is > somehow not creating the correct layout. Perhaps there's an ordering issue? > -- edA-qa mort-ora-y http://mortoray.com/ Creator of the Leaf language http://leaflang.org/ Streaming algorithms, AI, and design on Twitch https://www.twitch.tv/mortoray Twitter edaqa
2016 Jun 05
2
Migration help required for 3.3 to 3.8
...he replacement, or do I not need it anymore (I believe it was required to be run for other passes). `linkInModule` used to provide an error message output. Is there a way to get the error now that it is gone? -- edA-qa mort-ora-y http://mortoray.com/ Leaf - the language we always wanted http://leaflang.org/