search for: vmpi

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

Did you mean: vmi
2009 Mar 04
0
[LLVMdev] Adding Intrinsics for custom processor (frotend, problem)
...che right now, and also increases build time dramatically, so I'd like to avoid it. What I did was a rather quick-and-dirty hack which I know is non-standard, but nevertheless 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__...