13 #ifndef XACC_XASMCOMPILER_HPP 14 #define XACC_XASMCOMPILER_HPP 16 #include "Compiler.hpp" 25 std::shared_ptr<xacc::IR> compile(
const std::string &src,
26 std::shared_ptr<Accelerator> acc)
override;
28 std::shared_ptr<xacc::IR> compile(
const std::string &src)
override;
29 bool canParse(
const std::string& src)
override;
31 const std::string translate(std::shared_ptr<CompositeInstruction>
function)
override;
32 std::vector<std::string> getKernelBufferNames(
const std::string& src)
override;
35 const std::string
name()
const override {
return "xasm"; }
38 return "The XASM Compiler compiles kernels written in the XACC assembly language.";
virtual ~XASMCompiler()
Definition: xasm_compiler.hpp:44
Definition: Accelerator.hpp:25
const std::string description() const override
Definition: xasm_compiler.hpp:37
Definition: xasm_compiler.hpp:21
Definition: Compiler.hpp:24
const std::string name() const override
Definition: xasm_compiler.hpp:35