File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,17 @@ class BottomUpVec final : public FunctionPass {
30
30
// / Creates and returns a vector instruction that replaces the instructions in
31
31
// / \p Bndl. \p Operands are the already vectorized operands.
32
32
Value *createVectorInstr (ArrayRef<Value *> Bndl, ArrayRef<Value *> Operands);
33
+ // / Erases all dead instructions from the dead instruction candidates
34
+ // / collected during vectorization.
33
35
void tryEraseDeadInstrs ();
36
+ // / Packs all elements of \p ToPack into a vector and returns that vector.
34
37
Value *createPack (ArrayRef<Value *> ToPack);
38
+ // / Recursively try to vectorize \p Bndl and its operands.
35
39
Value *vectorizeRec (ArrayRef<Value *> Bndl, unsigned Depth);
40
+ // / Entry point for vectorization starting from \p Seeds.
36
41
bool tryVectorize (ArrayRef<Value *> Seeds);
37
42
38
- // The PM containing the pipeline of region passes.
43
+ // / The PM containing the pipeline of region passes.
39
44
RegionPassManager RPM;
40
45
41
46
public:
You can’t perform that action at this time.
0 commit comments