Hi,guys: I am interested to use the IR information to modify the AST of the source code But I am not sure whether the LLVM support or not. Thanks, yao -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150327/e56f19a4/attachment.html>
I think your question needs a bit more information - what do you want to modify in the AST, based on what IR information? Overall, what are you trying to achieve? [Maybe there is a "better" way to do that] -- Mats On 27 March 2015 at 08:24, yao <xiaoyaollvm at 126.com> wrote:> Hi,guys: > > I am interested to use the IR information to modify the AST of the source > code > But I am not sure whether the LLVM support or not. > > Thanks, > yao > > > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
kewuzhang
2015-Mar-27 14:22 UTC
[LLVMdev] Does llvm intrinsic function allow "complicated" arguments?
Hi Guys, I see an intrinsic function call like this "call float @ir.sample_complex.f32(float a, int bitcast (i16 337203 to i32) , i32 1, <2 x float> %62, float %61) “, Then I got trouble to process the third operand "int bitcast (i16 337203 to i32)”, the second operand I got is “constant 337203”. I think something is messed up, but the getOperand(i) is llvm core function. So I suspect the above intrinsic call is legal or not? any suggestions? best kevin
Seemingly Similar Threads
- [LLVMdev] Use the IR information to modify the AST
- [LLVMdev] How to convert the .s file(assemble) to .ll (IR)
- [LLVMdev] Does llvm intrinsic function allow "complicated" arguments?
- [LLVMdev] How to build the 32bit version of llvm in the ubuntu 64bit
- [LLVMdev] llmv3.0 CBackend convert IR to IR error