[DivergenceAnalysis] Separated definition of class into header.
authorMarcello Maggioni <hayarms@gmail.com>
Mon, 21 Sep 2015 17:58:14 +0000 (17:58 +0000)
committerMarcello Maggioni <hayarms@gmail.com>
Mon, 21 Sep 2015 17:58:14 +0000 (17:58 +0000)
commiteaf5bf99007d4de97304492cd698255c65103bac
treef60c32a6128facfe5857e198d4890bdc002980b9
parent9f85a3a7378593c70bf948e6f057ae4a288e5ba8
[DivergenceAnalysis] Separated definition of class into header.

The definition of the DivergenceAnalysis pass was in a CPP
file and wasn't accessible to users of the analysis to get it
through "getAnalysis<>()".
This patch extracts the definition into a separate header that
can be used by users of the analysis to fetch the results.

Patch by Volkan Keles (vkeles@apple.com)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248186 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/DivergenceAnalysis.h [new file with mode: 0644]
lib/Analysis/DivergenceAnalysis.cpp