aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOutliner.cpp
diff options
context:
space:
mode:
authorVyacheslav Levytskyy <vyacheslav.levytskyy@intel.com>2024-09-10 15:51:20 +0200
committerGitHub <noreply@github.com>2024-09-10 15:51:20 +0200
commitbca2b6d23f69c21d933f461ea69a2add9ae6a623 (patch)
tree96407260bd5a68bef83be1579dee9a5a25de5b7e /llvm/lib/CodeGen/MachineOutliner.cpp
parent69828c4230c6845be853c09fec1ba6325e6737b4 (diff)
downloadllvm-bca2b6d23f69c21d933f461ea69a2add9ae6a623.zip
llvm-bca2b6d23f69c21d933f461ea69a2add9ae6a623.tar.gz
llvm-bca2b6d23f69c21d933f461ea69a2add9ae6a623.tar.bz2
[SPIR-V] Expose an API call to initialize SPIRV target and translate input LLVM IR module to SPIR-V (#107216)
The goal of this PR is to facilitate integration of SPIRV Backend into misc 3rd party tools and libraries by means of exposing an API call that translate LLVM module to SPIR-V and write results into a string as binary SPIR-V output, providing diagnostics on fail and means of configuring translation in a style of command line options. An example of a use case may be Khronos Translator that provides bidirectional translation LLVM IR <=> SPIR-V, where LLVM IR => SPIR-V step may be substituted by the call to SPIR-V Backend API, implemented by this PR.
Diffstat (limited to 'llvm/lib/CodeGen/MachineOutliner.cpp')
0 files changed, 0 insertions, 0 deletions