search for: 55b4d747

Displaying 3 results from an estimated 3 matches for "55b4d747".

2009 Jul 28
0
[LLVMdev] RFC: Constant Creation API
Hi Owen, What if I want to have global llvm::Type's, that can be used by many LLVMContext's. For example, I'd like to have one LLVMContext per function, and be able to create constants that belong to the context but using a global, shared amongst LLVMContext's, llvm::Type. I know that's not doable right now, but aren't we losing this possibility if we move back to
2009 Jul 28
2
[LLVMdev] RFC: Constant Creation API
...ork properly. Trying to get around this is likely to cause screwy results, as things that should compare as equal won't. Hope that helps, --Owen -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090728/55b4d747/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2620 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090728/55b4d747/attachment.bin>
2009 Jul 24
12
[LLVMdev] RFC: Constant Creation API
So, as you all probably noticed, the APIs for creating constants have been moved (or in a specific cases, are about to be moved) from static methods on Constant to instance methods on LLVMContext. However, as was recently pointed out on llvm-commits and on IRC, this is no longer strictly necessary. Because types have contexts, all of the constant subclasses could be friended to