Lines Matching refs:forwardSlice
31 SetVector<Operation *> *forwardSlice, in getForwardSliceImpl() argument
46 if (forwardSlice->count(userOp) == 0) in getForwardSliceImpl()
47 getForwardSliceImpl(userOp, forwardSlice, filter); in getForwardSliceImpl()
50 if (forwardSlice->count(userOp) == 0) in getForwardSliceImpl()
51 getForwardSliceImpl(userOp, forwardSlice, filter); in getForwardSliceImpl()
54 if (forwardSlice->count(userOp) == 0) in getForwardSliceImpl()
55 getForwardSliceImpl(userOp, forwardSlice, filter); in getForwardSliceImpl()
60 if (forwardSlice->count(userOp) == 0) in getForwardSliceImpl()
61 getForwardSliceImpl(userOp, forwardSlice, filter); in getForwardSliceImpl()
65 forwardSlice->insert(op); in getForwardSliceImpl()
68 void mlir::getForwardSlice(Operation *op, SetVector<Operation *> *forwardSlice, in getForwardSlice() argument
70 getForwardSliceImpl(op, forwardSlice, filter); in getForwardSlice()
73 forwardSlice->remove(op); in getForwardSlice()
78 std::vector<Operation *> v(forwardSlice->takeVector()); in getForwardSlice()
79 forwardSlice->insert(v.rbegin(), v.rend()); in getForwardSlice()
144 SetVector<Operation *> forwardSlice; in getSlice() local
153 forwardSlice.clear(); in getSlice()
154 getForwardSlice(currentOp, &forwardSlice, forwardFilter); in getSlice()
155 slice.insert(forwardSlice.begin(), forwardSlice.end()); in getSlice()