search for: mwipliez

Displaying 3 results from an estimated 3 matches for "mwipliez".

Did you mean: wipliez
2010 Oct 21
0
[LLVMdev] Re : Source to source translation.
Hello Carlos, I don't think so. LLVM is not a source-to-source translator, but an optimizing compiler based on a portable, typed, assembly-like intermediate representation. One of the primary goals of LLVM is to generate optimized object code on a variety of platforms. Even if you do not use any optimizations, your C++ code would still need to be lowered to LLVM, which makes it very hard
2010 Oct 20
4
[LLVMdev] Source to source translation.
Hello, I'm trying to do a source to source translation from C++ code to C++ code. I want the output to contains some automatically inserted annotations, and the rest of the code exactly the same as it was before the processing. Is this possible with llvm? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Oct 20
1
[LLVMdev] Re : How to assign a constant to a register?
leledumbo, from what you say, I assume you have some kind of representation (AST or a lower-level intermediate representation) from which you generate LLVM assembly. Is this representation in SSA form? If it is, you might want to do a "copy propagation" transformation that replaces the uses of all variables that are assigned a constant value by their definitions. Example: x = 5 y =