Commit c77d9bd8 authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

Making IRTransformation Identifiable

parent f35602fd
......@@ -855,8 +855,6 @@ EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS = */eigen/*
EXCLUDE_PATTERNS += */fire/*
EXCLUDE_PATTERNS += */rapidjson/*
EXCLUDE_PATTERNS += */boost-dll/*
EXCLUDE_PATTERNS += */cmr/*
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
# (namespaces, classes, functions, etc.) that should be excluded from the
......
......@@ -30,7 +30,6 @@
**********************************************************************************/
#ifndef QUANTUM_GATE_ACCELERATORS_SIMPLEACCELERATOR_HPP_
#define QUANTUM_GATE_ACCELERATORS_SIMPLEACCELERATOR_HPP_
#include <boost/dll/alias.hpp>
#include "Accelerator.hpp"
#include "InstructionIterator.hpp"
......
......@@ -31,7 +31,6 @@
#ifndef QUANTUM_AQC_COMPILER_EMBEDDINGALGORITHM_HPP_
#define QUANTUM_AQC_COMPILER_EMBEDDINGALGORITHM_HPP_
#include <boost/dll.hpp>
#include <map>
#include <list>
#include <memory>
......
......@@ -40,7 +40,6 @@
#include "IRTransformation.hpp"
#include "Function.hpp"
#include "OptionsProvider.hpp"
#include <boost/dll/alias.hpp>
#include "Graph.hpp"
#include "Identifiable.hpp"
......
......@@ -34,7 +34,6 @@
#include <memory>
#include <iostream>
#include "IR.hpp"
#include <boost/dll/alias.hpp>
#include "Accelerator.hpp"
#include "Identifiable.hpp"
......
......@@ -32,10 +32,11 @@
#define XACC_COMPILER_IRTRANSLATION_HPP_
#include "IR.hpp"
#include "Identifiable.hpp"
namespace xacc {
class IRTransformation {
class IRTransformation : public Identifiable {
public:
virtual std::shared_ptr<IR> transform(std::shared_ptr<IR> ir) = 0;
virtual ~IRTransformation() {}
......
......@@ -35,6 +35,7 @@
#include "Utils.hpp"
#include "RuntimeOptions.hpp"
#include "Identifiable.hpp"
#include "OptionsProvider.hpp"
#include "xacc_config.hpp"
#include <boost/algorithm/string.hpp>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment