Lines Matching defs:TreeEntry
2216 struct TreeEntry { struct in llvm::slpvectorizer::BoUpSLP
2217 using VecTreeTy = SmallVector<std::unique_ptr<TreeEntry>, 8>;
2218 TreeEntry(VecTreeTy &Container) : Container(Container) {} in TreeEntry() function
2221 bool isSame(ArrayRef<Value *> VL) const { in isSame()
2251 bool hasEqualOperands(const TreeEntry &TE) const { in hasEqualOperands()
2275 unsigned getVectorFactor() const { in getVectorFactor()
2282 ValueList Scalars;
2285 Value *VectorizedValue = nullptr;
2290 enum EntryState { Vectorize, ScatterVectorize, NeedToGather };
2291 EntryState State;
2294 SmallVector<int, 4> ReuseShuffleIndices;
2297 SmallVector<unsigned, 4> ReorderIndices;
2305 VecTreeTy &Container;
2309 SmallVector<EdgeInfo, 1> UserTreeIndices;
2312 int Idx = -1;
2318 SmallVector<ValueList, 2> Operands;
2321 Instruction *MainOp = nullptr;
2322 Instruction *AltOp = nullptr;
2326 void setOperand(unsigned OpIdx, ArrayRef<Value *> OpVL) { in setOperand()
2337 void setOperandsInOrder() { in setOperandsInOrder()
2355 void reorderOperands(ArrayRef<int> Mask) { in reorderOperands()
2361 ValueList &getOperand(unsigned OpIdx) { in getOperand()
2367 ArrayRef<Value *> getOperand(unsigned OpIdx) const { in getOperand()
2373 unsigned getNumOperands() const { return Operands.size(); } in getNumOperands()
2376 Value *getSingleOperand(unsigned OpIdx) const { in getSingleOperand()
2383 bool isAltShuffle() const { return MainOp != AltOp; } in isAltShuffle()
2385 bool isOpcodeOrAlt(Instruction *I) const { in isOpcodeOrAlt()
2394 Value *isOneOf(Value *Op) const { in isOneOf()
2401 void setOperations(const InstructionsState &S) { in setOperations()
2406 Instruction *getMainOp() const { in getMainOp()
2410 Instruction *getAltOp() const { in getAltOp()
2415 unsigned getOpcode() const { in getOpcode()
2419 unsigned getAltOpcode() const { in getAltOpcode()
2425 int findLaneForValue(Value *V) const { in findLaneForValue()
2440 LLVM_DUMP_METHOD void dump() const { in dump()
3254 using TreeEntry = BoUpSLP::TreeEntry; typedef
3315 using TreeEntry = BoUpSLP::TreeEntry; typedef