search for: constantstr

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

Did you mean: constantptr
2004 Jan 06
4
[LLVMdev] 9 Ideas To Better Support Source Language Developers
...w on my list because I regard LLVM _already_ incredibly easy to use as a compiler writer's tool. But, hey, why stop at "incredibly easy" when there's "amazingly trivial" waiting in the wings? ------------------------------------------------------------------ 8. Create a ConstantString class Constant strings are very common occurrences in XPL and probably are in other source languages as well. The current implementation of ConstantArray::get(std::string&) is a bit weak. It creates a ConstantSInt for every character. What if the strings are long and the program creates man...
2004 Jan 07
0
[LLVMdev] 9 Ideas To Better Support Source Language Developers
...n the wings? Developing a new "front-end helper" library could be interesting! The only challange would be to make it general purpose enough that it would actually be useful for multiple languages. > ------------------------------------------------------------------ > 8. Create a ConstantString class > > Constant strings are very common occurrences in XPL and probably are in > other source languages as well. The current implementation of > ConstantArray::get(std::string&) is a bit weak. It creates a > ConstantSInt for every character. What if the strings are long and...
2004 Jan 07
1
[LLVMdev] 9 Ideas To Better Support Source Language Developers
.... I'm building things now that are somewhat framework oriented. If there are specific patterns that arise and could be useful, I'll submit them back to the list at that time for review. > > > ------------------------------------------------------------------ > > 8. Create a ConstantString class > > This is something that might make sense to deal with in the future, but it > has a lot of implications in the compiler and optimizer. Consider it postponed.Reid. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: applicat...