File tree 19 files changed +36
-212
lines changed
Transforms/Vectorize/SandboxVectorizer
Transforms/Vectorize/SandboxVectorizer
Transforms/Vectorize/SandboxVectorizer 19 files changed +36
-212
lines changed Original file line number Diff line number Diff line change 18
18
#include " llvm/IR/GlobalValue.h"
19
19
#include " llvm/IR/GlobalVariable.h"
20
20
#include " llvm/SandboxIR/Argument.h"
21
+ #include " llvm/SandboxIR/BasicBlock.h"
21
22
#include " llvm/SandboxIR/Context.h"
22
23
#include " llvm/SandboxIR/Type.h"
23
24
#include " llvm/SandboxIR/User.h"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ class IntegerType;
31
31
class FunctionType ;
32
32
class ArrayType ;
33
33
class StructType ;
34
+ class TargetExtType ;
34
35
class Module ;
35
36
#define DEF_INSTR (ID, OPCODE, CLASS ) class CLASS ;
36
37
#define DEF_CONST (ID, CLASS ) class CLASS ;
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ namespace llvm::sandboxir {
22
22
class Context ;
23
23
class FuncletPadInst ;
24
24
class Type ;
25
+ class GlobalValue ;
26
+ class GlobalObject ;
27
+ class Module ;
28
+ class UnaryInstruction ;
25
29
26
30
// / Iterator for the `Use` edges of a Value's users.
27
31
// / \Returns a `Use` when dereferenced.
Original file line number Diff line number Diff line change 20
20
#ifndef LLVM_TRANSFORMS_VECTORIZE_SANDBOXVECTORIZER_INSTRINTERVAL_H
21
21
#define LLVM_TRANSFORMS_VECTORIZE_SANDBOXVECTORIZER_INSTRINTERVAL_H
22
22
23
- #include " llvm/SandboxIR/SandboxIR .h"
23
+ #include " llvm/ADT/ArrayRef .h"
24
24
#include < iterator>
25
25
26
26
namespace llvm ::sandboxir {
Original file line number Diff line number Diff line change 12
12
#ifndef LLVM_TRANSFORMS_VECTORIZE_SANDBOXVECTORIZER_LEGALITY_H
13
13
#define LLVM_TRANSFORMS_VECTORIZE_SANDBOXVECTORIZER_LEGALITY_H
14
14
15
- #include " llvm/SandboxIR/SandboxIR .h"
15
+ #include " llvm/ADT/ArrayRef .h"
16
16
17
17
namespace llvm ::sandboxir {
18
18
19
19
class LegalityAnalysis ;
20
+ class Value ;
20
21
21
22
enum class LegalityResultID {
22
23
Widen, // /> Vectorize by combining scalars to a vector.
Original file line number Diff line number Diff line change 7
7
// ===----------------------------------------------------------------------===//
8
8
9
9
#include " llvm/SandboxIR/Module.h"
10
- #include " llvm/SandboxIR/SandboxIR.h"
10
+ #include " llvm/SandboxIR/Constant.h"
11
+ #include " llvm/SandboxIR/Context.h"
12
+ #include " llvm/SandboxIR/Value.h"
11
13
12
14
using namespace llvm ::sandboxir;
13
15
Original file line number Diff line number Diff line change 7
7
// ===----------------------------------------------------------------------===//
8
8
9
9
#include " llvm/SandboxIR/PassManager.h"
10
- #include " llvm/SandboxIR/SandboxIR.h"
11
10
12
11
using namespace llvm ::sandboxir;
13
12
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
- #include " llvm/SandboxIR/SandboxIR.h"
10
9
#include " llvm/ADT/SmallPtrSet.h"
11
10
#include " llvm/ADT/SmallVector.h"
12
11
#include " llvm/IR/Constants.h"
13
12
#include " llvm/SandboxIR/Argument.h"
14
13
#include " llvm/SandboxIR/BasicBlock.h"
14
+ #include " llvm/SandboxIR/Context.h"
15
+ #include " llvm/SandboxIR/User.h"
15
16
#include " llvm/Support/Debug.h"
16
17
#include < sstream>
17
18
Original file line number Diff line number Diff line change 7
7
// ===----------------------------------------------------------------------===//
8
8
9
9
#include " llvm/SandboxIR/Type.h"
10
- #include " llvm/SandboxIR/SandboxIR .h"
10
+ #include " llvm/SandboxIR/Context .h"
11
11
12
12
using namespace llvm ::sandboxir;
13
13
Original file line number Diff line number Diff line change 8
8
9
9
#include " llvm/SandboxIR/Value.h"
10
10
#include " llvm/SandboxIR/Context.h"
11
- #include " llvm/SandboxIR/SandboxIR .h"
11
+ #include " llvm/SandboxIR/User .h"
12
12
#include < sstream>
13
13
14
14
namespace llvm ::sandboxir {
Original file line number Diff line number Diff line change 8
8
9
9
#include " llvm/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizer.h"
10
10
#include " llvm/Analysis/TargetTransformInfo.h"
11
+ #include " llvm/SandboxIR/Constant.h"
11
12
#include " llvm/SandboxIR/PassManager.h"
12
- #include " llvm/SandboxIR/SandboxIR.h"
13
13
#include " llvm/Support/CommandLine.h"
14
14
#include " llvm/Transforms/Vectorize/SandboxVectorizer/Passes/BottomUpVec.h"
15
15
Original file line number Diff line number Diff line change 9
9
#include " llvm/SandboxIR/Pass.h"
10
10
#include " llvm/AsmParser/Parser.h"
11
11
#include " llvm/IR/Module.h"
12
+ #include " llvm/SandboxIR/Constant.h"
13
+ #include " llvm/SandboxIR/Context.h"
12
14
#include " llvm/SandboxIR/PassManager.h"
13
- #include " llvm/SandboxIR/SandboxIR.h"
14
15
#include " llvm/Support/SourceMgr.h"
15
16
#include " gtest/gtest.h"
16
17
Original file line number Diff line number Diff line change 8
8
9
9
#include " llvm/SandboxIR/Region.h"
10
10
#include " llvm/AsmParser/Parser.h"
11
- #include " llvm/SandboxIR/SandboxIR.h"
11
+ #include " llvm/SandboxIR/Constant.h"
12
+ #include " llvm/SandboxIR/Context.h"
13
+ #include " llvm/SandboxIR/Instruction.h"
12
14
#include " llvm/Support/SourceMgr.h"
13
15
#include " gmock/gmock-matchers.h"
14
16
#include " gtest/gtest.h"
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
- #include " llvm/SandboxIR/SandboxIR.h"
10
9
#include " llvm/AsmParser/Parser.h"
11
10
#include " llvm/IR/BasicBlock.h"
12
11
#include " llvm/IR/Constants.h"
13
12
#include " llvm/IR/DataLayout.h"
14
13
#include " llvm/IR/Function.h"
15
14
#include " llvm/IR/Instruction.h"
16
15
#include " llvm/IR/Module.h"
16
+ #include " llvm/SandboxIR/BasicBlock.h"
17
+ #include " llvm/SandboxIR/Constant.h"
18
+ #include " llvm/SandboxIR/Instruction.h"
19
+ #include " llvm/SandboxIR/Module.h"
17
20
#include " llvm/SandboxIR/Utils.h"
21
+ #include " llvm/SandboxIR/Value.h"
18
22
#include " llvm/Support/SourceMgr.h"
19
23
#include " gmock/gmock-matchers.h"
20
24
#include " gtest/gtest.h"
Original file line number Diff line number Diff line change 14
14
#include " llvm/IR/Function.h"
15
15
#include " llvm/IR/Instruction.h"
16
16
#include " llvm/IR/Module.h"
17
- #include " llvm/SandboxIR/SandboxIR.h"
17
+ #include " llvm/SandboxIR/Constant.h"
18
+ #include " llvm/SandboxIR/Context.h"
18
19
#include " llvm/Support/SourceMgr.h"
19
20
#include " gtest/gtest.h"
20
21
Original file line number Diff line number Diff line change 13
13
#include " llvm/IR/Function.h"
14
14
#include " llvm/IR/Instruction.h"
15
15
#include " llvm/IR/Module.h"
16
- #include " llvm/SandboxIR/SandboxIR.h"
16
+ #include " llvm/SandboxIR/Constant.h"
17
+ #include " llvm/SandboxIR/Context.h"
17
18
#include " llvm/Support/SourceMgr.h"
18
19
#include " gtest/gtest.h"
19
20
Original file line number Diff line number Diff line change 8
8
9
9
#include " llvm/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.h"
10
10
#include " llvm/AsmParser/Parser.h"
11
- #include " llvm/SandboxIR/SandboxIR.h"
11
+ #include " llvm/SandboxIR/Constant.h"
12
+ #include " llvm/SandboxIR/Context.h"
13
+ #include " llvm/SandboxIR/Instruction.h"
12
14
#include " llvm/Support/SourceMgr.h"
13
15
#include " gmock/gmock-matchers.h"
14
16
#include " gtest/gtest.h"
Original file line number Diff line number Diff line change 8
8
9
9
#include " llvm/Transforms/Vectorize/SandboxVectorizer/Interval.h"
10
10
#include " llvm/AsmParser/Parser.h"
11
+ #include " llvm/SandboxIR/Constant.h"
12
+ #include " llvm/SandboxIR/Context.h"
11
13
#include " llvm/SandboxIR/Instruction.h"
12
14
#include " llvm/Support/SourceMgr.h"
13
15
#include " gtest/gtest.h"
You can’t perform that action at this time.
0 commit comments