<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Also a newbie myself. However afaik: 1&3 should be possible , as for the 2nd, I have no idea what do you mean <br><br><div id="AppleMailSignature">Zhang</div><div><br>On 9 Apr 2018, at 09:43, via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br><br></div><blockquote type="cite"><div><font size="2" face="sans-serif">Hello everyone,</font>
<br>
<br><font size="2" face="sans-serif">I have some questions about the possibilities
with the LLVM but I'm not sure where to gather the information.</font>
<br>
<br><font size="2" face="sans-serif">1.) Can I teach the LLVM new platform
depended intrinsics?</font>
<br><font size="2" face="sans-serif">Like I provide assembly code and want
to create a custom intrinsic for it.</font>
<br>
<br><font size="2" face="sans-serif">2.) Does the IR language have some kind
of template support?</font>
<br><font size="2" face="sans-serif">I'm not sure if this even possible -
but 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.</font>
<br>
<br><font size="2" face="sans-serif">3.) Can I implement my own custom calling
convention? Like my own "__planschiCall" or something?</font>
<br>
<br><font size="2" face="sans-serif">When these things are possible - are
there any documentation or tutorials for this? And how does Clang learn
about all these custom things?</font>
<br>
<br><font size="2" face="sans-serif">Kind regards</font>
<br><font size="2" face="sans-serif">Björn</font>
<br><font size="2" face="sans-serif"><br>
Als GmbH eingetragen im Handelsregister Bad Homburg v.d.H. HRB 9816, USt.ID-Nr.
DE 114 165 789<br>
Geschäftsführer: Dr. Hiroshi Nakamura, Dr. Robert Plank, Markus Bode, Heiko
Lampert, Hiroshi Kawamura, Takashi Nagano, Takeshi Fukushima.<br>
<br>
</font>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>LLVM Developers mailing list</span><br><span><a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a></span><br><span><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a></span><br></div></blockquote></body></html>