search for: builtinsxyz

Displaying 2 results from an estimated 2 matches for "builtinsxyz".

Did you mean: builtinsx86
2018 Apr 09
0
Possibilities with LLVM
...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. > 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 template > function and when jitting th...
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