search for: __llvm__custom_op_

Displaying 4 results from an estimated 4 matches for "__llvm__custom_op_".

2007 Jul 31
3
[LLVMdev] Adding custom operation intrinsic for ASIP architectures.
...n that the best way would be to write new custom operation intrinsic and optimization pass for raising certain type of function calls to those intrinsics (similar to raising mallocs). Basically our custom operation are like calls, with operand name and multiple inputs and outputs. e.g. C code: __llvm__custom_op_add(a,b,c) would be raised to customop add(i32 %tmp1, i32 %tmp24 , i32 %tmp25). Those "__llvm__custom_op_" prefixed function will not have function body, but pure declarations in C code level. Comments are welcome, especially if there anyone else, that needs this kind of functionality...
2007 Aug 01
0
[LLVMdev] Adding custom operation intrinsic for ASIP architectures.
...be to write new custom operation intrinsic and optimization > pass for raising certain type of function calls to those intrinsics > (similar to raising mallocs). > > Basically our custom operation are like calls, with operand name and > multiple inputs and outputs. e.g. C code: > __llvm__custom_op_add(a,b,c) would be raised to customop add(i32 %tmp1, > i32 %tmp24 , i32 %tmp25). Those "__llvm__custom_op_" prefixed function > will not have function body, but pure declarations in C code level. > > Comments are welcome, especially if there anyone else, that needs this > k...
2007 Aug 01
1
[LLVMdev] Adding custom operation intrinsic for ASIP architectures.
.... I think you want to convert macro-inclusions (that invoke certain custom instructions through inline assembly) to LLVM parlance. Let's study this more closely. > > Basically our custom operation are like calls, with operand name and > multiple inputs and outputs. e.g. C code: > __llvm__custom_op_add(a,b,c) would be raised to customop add(i32 %tmp1, > i32 %tmp24 , i32 %tmp25). Those "__llvm__custom_op_" prefixed function > will not have function body, but pure declarations in C code level. What is the mechanism to first insert the __llvm__custom_op IR operations? Are these a...
2007 Aug 01
2
[LLVMdev] Adding custom operation intrinsic for ASIP architectures.
...operation intrinsic and optimization >> pass for raising certain type of function calls to those intrinsics >> (similar to raising mallocs). >> >> Basically our custom operation are like calls, with operand name and >> multiple inputs and outputs. e.g. C code: >> __llvm__custom_op_add(a,b,c) would be raised to customop add(i32 %tmp1, >> i32 %tmp24 , i32 %tmp25). Those "__llvm__custom_op_" prefixed function >> will not have function body, but pure declarations in C code level. >> >> Comments are welcome, especially if there anyone else, that n...