search for: __custom_op

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

2007 Aug 03
1
[LLVMdev] Adding intrinsic with variable argument list HOWTO.
...kind of stuff? Or should I just keep on studying Sparc and other backends? So I added new intrinsic to llvm/include/llvm/TCEInstrinsics.td: def int_tce_customop : Intrinsic<[llvm_void_ty, llvm_ptr_ty, llvm_vararg_ty], [], "llvm.tce.customop">; I made opt pass that converts __custom_op() functions to calls to llvm.tce.customop calls. shell> grep llvm.tce.customop hello2.ll tail call void (i8*, ...)* @llvm.tce.customop( i8* getelementptr ([7 x i8]* @.str, i32 0, i32 0), i32 %tmp78 ) tail call void (i8*, ...)* @llvm.tce.customop( i8* getelementptr ([7 x i8]*...