This builds the DAG from an ArrayRef of Instructions.
This patch adds a very basic implementation of the Dependency Graph to be used by the vectorizer.