DWIR¶
-
class
DWIR: public virtual xacc::IR¶ Public Functions
-
virtual std::string
toAssemblyString(const std::string &kernelName, const std::string &accBufferVarName)¶ Return a assembly-like string representation of this intermediate representation
- Return
-
virtual void
persist(std::ostream &outStream)¶ Persist this IR instance to the given output stream.
- Parameters
outStream:
-
virtual void
load(std::istream &inStream)¶ Create this IR instance from the given input stream.
- Parameters
inStream:
Add a new kernel to this IR instance.
- Parameters
kernel: The Function instance to add as a new kernel
-
virtual bool
kernelExists(const std::string &name)¶ Return true if the kernel with given name exists in this IR.
- Return
exists True if kernel exists.
- Parameters
name: The name of the kernel to return.
-
virtual std::string