|
29 | 29 | #ifndef LLVM_ANALYSIS_IR2VEC_H |
30 | 30 | #define LLVM_ANALYSIS_IR2VEC_H |
31 | 31 |
|
32 | | -#include "llvm/Support/Compiler.h" |
33 | 32 | #include "llvm/ADT/DenseMap.h" |
34 | 33 | #include "llvm/IR/PassManager.h" |
35 | 34 | #include "llvm/Support/CommandLine.h" |
| 35 | +#include "llvm/Support/Compiler.h" |
36 | 36 | #include "llvm/Support/ErrorOr.h" |
37 | 37 | #include "llvm/Support/JSON.h" |
38 | 38 | #include <map> |
@@ -116,7 +116,8 @@ struct Embedding { |
116 | 116 |
|
117 | 117 | /// Returns true if the embedding is approximately equal to the RHS embedding |
118 | 118 | /// within the specified tolerance. |
119 | | - LLVM_ABI bool approximatelyEquals(const Embedding &RHS, double Tolerance = 1e-6) const; |
| 119 | + LLVM_ABI bool approximatelyEquals(const Embedding &RHS, |
| 120 | + double Tolerance = 1e-6) const; |
120 | 121 | }; |
121 | 122 |
|
122 | 123 | using InstEmbeddingsMap = DenseMap<const Instruction *, Embedding>; |
@@ -226,7 +227,7 @@ class IR2VecVocabResult { |
226 | 227 | LLVM_ABI const ir2vec::Vocab &getVocabulary() const; |
227 | 228 | LLVM_ABI unsigned getDimension() const; |
228 | 229 | LLVM_ABI bool invalidate(Module &M, const PreservedAnalyses &PA, |
229 | | - ModuleAnalysisManager::Invalidator &Inv) const; |
| 230 | + ModuleAnalysisManager::Invalidator &Inv) const; |
230 | 231 | }; |
231 | 232 |
|
232 | 233 | /// This analysis provides the vocabulary for IR2Vec. The vocabulary provides a |
|
0 commit comments