Skip to content

Commit

Permalink
Finish fixing includes
Browse files Browse the repository at this point in the history
  • Loading branch information
boomanaiden154 committed Jan 15, 2024
1 parent 25123c7 commit 895a8bd
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
12 changes: 8 additions & 4 deletions gematria/datasets/find_accessed_addrs_exegesis.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,18 @@

#include "gematria/datasets/find_accessed_addrs_exegesis.h"

#include "BenchmarkRunner.h"
#include "LlvmState.h"
#include "Target.h"
#include "TargetSelect.h"
// Use the absolute path for headers from llvm-exegesis as there is no
// canonical include path within LLVM as they are not properly exposed through
// a library and could potentially be confused with other LLVM includes.

#include "X86.h"
#include "X86InstrInfo.h"
#include "X86RegisterInfo.h"
#include "gematria/llvm/disassembler.h"
#include "llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h"
#include "llvm/tools/llvm-exegesis/lib/LlvmState.h"
#include "llvm/tools/llvm-exegesis/lib/Target.h"
#include "llvm/tools/llvm-exegesis/lib/TargetSelect.h"

using namespace llvm;
using namespace llvm::exegesis;
Expand Down
8 changes: 6 additions & 2 deletions gematria/datasets/find_accessed_addrs_exegesis.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,15 @@
#include <cstdint>
#include <vector>

#include "BenchmarkRunner.h"
#include "LlvmState.h"
// Use the absolute path for headers from llvm-exegesis as there is no
// canonical include path within LLVM as they are not properly exposed through
// a library and could potentially be confused with other LLVM includes.

#include "gematria/datasets/find_accessed_addrs.h"
#include "gematria/llvm/llvm_architecture_support.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h"
#include "llvm/tools/llvm-exegesis/lib/LlvmState.h"

using namespace llvm;
using namespace llvm::exegesis;
Expand Down
7 changes: 5 additions & 2 deletions gematria/datasets/find_accessed_addrs_exegesis_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@

#include "gematria/datasets/find_accessed_addrs_exegesis.h"

#include "TargetSelect.h"
// Use the absolute path for headers from llvm-exegesis as there is no
// canonical include path within LLVM as they are not properly exposed through
// a library and could potentially be confused with other LLVM includes.

#include "absl/log/check.h"
#include "gematria/llvm/asm_parser.h"
#include "gematria/llvm/llvm_architecture_support.h"
#include "gtest/gtest.h"
#include "llvm/MC/MCCodeEmitter.h"
// #include "llvm/Testing/Support/Error.h"
#include "llvm/tools/llvm-exegesis/lib/TargetSelect.h"

using namespace llvm;
using namespace llvm::exegesis;
Expand Down

0 comments on commit 895a8bd

Please sign in to comment.