search for: __planschicall

Displaying 2 results from an estimated 2 matches for "__planschicall".

2018 Apr 09
3
Possibilities with LLVM
...I thought about having a template function and when jitting the IR it could instantiate that template with the now known data - okay writing this already sounds weird and I'm not sure if I could explain what I wanted. 3.) Can I implement my own custom calling convention? Like my own "__planschiCall" or something? When these things are possible - are there any documentation or tutorials for this? And how does Clang learn about all these custom things? Kind regards Björn Als GmbH eingetragen im Handelsregister Bad Homburg v.d.H. HRB 9816, USt.ID-Nr. DE 114 165 789 Geschäftsführer: Dr....
2018 Apr 09
0
Possibilities with LLVM
...the > now known data - okay writing this already sounds weird and I'm not sure if > I could explain what I wanted. No template support, I'm afraid. That would be handled by a language's front-end. > 3.) Can I implement my own custom calling convention? Like my own > "__planschiCall" or something? Yes. The easiest way would be to use a simple numbered calling convention "cc N" in the LLVM IR. Then you just have to add support to lib/Target/XYZ/XYZISelLowering.cpp and the corresponding calling convention .td file (the name varies a bit). ISelLowering usually jus...