#include "llvm/Transforms/Vectorize/SandboxVectorizer/Passes/BottomUpVec.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/SandboxIR/Function.h"
#include "llvm/SandboxIR/Instruction.h"
usingnamespacellvm::sandboxir;
namespace llvm::sandboxir {
static llvm::SmallVector<Value *, 4> collectSeeds(BasicBlock &BB) { … }
static SmallVector<Value *, 4> getOperand(ArrayRef<Value *> Bndl,
unsigned OpIdx) { … }
}
void BottomUpVec::vectorizeRec(ArrayRef<Value *> Bndl) { … }
void BottomUpVec::tryVectorize(ArrayRef<Value *> Bndl) { … }
bool BottomUpVec::runOnFunction(Function &F) { … }