Displaying 3 results from an estimated 3 matches for "intrinsicsxyz".
Did you mean:
intrinsicsx86
2015 Oct 22
2
add intrinsic function support for customized backend
Hi, Gaël,
Thanks for your detailed reply. I tried the pattern matching first,
however, the intrinsic function is matching with a normal function call.
For example, I have the following IR, which contains intrinsic function
"foo":
*****************************************************************************************
*define i32 @test_func() {*
*EntryBlock:*
* %0 = call i32
2018 Apr 09
0
Possibilities with LLVM
Hi Björn,
On 9 April 2018 at 09:43, via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 1.) Can I teach the LLVM new platform depended intrinsics?
> Like I provide assembly code and want to create a custom intrinsic for it.
Yes. You'd add a declaration to include/llvm/IR/IntrinsicsXYZ.td
(where XYZ is your target), and then you can select them with a normal
pattern in your target's .td files.
On the Clang side you'd add it to include/clang/Basic/BuiltinsXYZ.def
and lib/CodeGen/CGBuiltin.cpp. Possibly lib/Sema/SemaChecking.cpp too
if it has strange validity requirements....
2018 Apr 09
3
Possibilities with LLVM
Hello everyone,
I have some questions about the possibilities with the LLVM but I'm not
sure where to gather the information.
1.) Can I teach the LLVM new platform depended intrinsics?
Like I provide assembly code and want to create a custom intrinsic for it.
2.) Does the IR language have some kind of template support?
I'm not sure if this even possible - but I thought about having a