search for: vmp_intrinsic

Displaying 1 result from an estimated 1 matches for "vmp_intrinsic".

Did you mean: my_intrinsic
2009 Mar 04
0
[LLVMdev] Adding Intrinsics for custom processor (frotend, problem)
...ess quite painless and straightforward : A. I define my proprietary intrinsics in an include file something like int __VMPINTR__something(....) ; B. I define a corresponding int_vmp_something in llvms Intrinsics.td . C. I changed Function::getIntrinsicID by adding the following : unsigned vmpi=VMP_intrinsic(Name,Len); if(vmpi) return vmpi; where VMP_intrinsic function code recognizes my proprietary '__VMPINTR__' style intrinsic names. I know also that for Chris or other LLVM tblgen masters it could be quite easy to make this VMP_intrinsic function code tblgened , but I will be content to m...