llvm
Generating LLVM code for 'lambda', 'define'
So I now have a fairly complete LISP (scheme) interpreter written in haskell.Just for fun I want to try to have it compile down to LLVM.Most of the code generation seems pretty straight forward, but I[详细]
2023-03-13 16:51 分类:问答AOT compilation or native code compilation of Scala?
My scala application needs to perform simple operations over large arrays of integers & doubles, and performance is a bottleneck.I\'ve struggled to put my finger on exactly when certain optimizati[详细]
2023-03-13 16:49 分类:问答turn off clang optimization, remove phi instruction
1) Is it possible to turn off any optimization in clang? 2) Is there a way to remove any phi instruction from generated llvm code?[详细]
2023-03-13 08:44 分类:问答Generate ObjC code using LLVM
I h开发者_如何学JAVAave been reading this article on implementing fast forwarding in Objective C using LLVM and had an idea for doing something similar. Is it possible to generate Objective C code to[详细]
2023-03-13 07:01 分类:问答LLVM assembly: assign integer constant to register
I\'m writing a compiler that uses LLVM as a backend, and my compiler generates the following LLVM assembly code[详细]
2023-03-13 06:27 分类:问答Live values in LLVM
Suppose I have in my CFG (among others) two basic blocks A and B, with an edge from A to B. I need to do the following:[详细]
2023-03-12 17:23 分类:问答Why do I get a faster binary with XCode's llvm vs. clang++ from MacPorts?
I have written a benchmark method to test my C++ program (which searches a game tree), and I am noticing that compiling with the \"LLVM compiler 2.0\" option in XCode 4.0.2 gives me a significantly fa[详细]
2023-03-12 16:32 分类:问答How to disable the "local declaration of 'foo' hides instance variable" warning?
I understand wha开发者_JAVA技巧t the warning says. This is exactly how scoping rules work. I appreciate that some people want a nanny. I don\'t. How can I disable this warning?You can\'t disable this[详细]
2023-03-12 15:53 分类:问答Garbage Collection redefined in LLVM 3?
I was reading about the fact that LLVM v3 uses a static analysis of the code to implement a sort of automatic garbage collection that is prepared and done during compilation.[详细]
2023-03-11 22:04 分类:问答Which functionality/feature in Scala only exists as a concession to the underlying platform and should be removed if targeting something else?
A while ago I read about Scala for LLVM and I kept wondering which things in the Scala language/specification/library) only exist to make the JVM happy or improve interop with Java.[详细]
2023-03-11 15:58 分类:问答