Lines Matching refs:StateNode
1189 struct StateNode { struct in clang::format::__anond596d1440111::OptimizingLineFormatter
1190 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode() argument
1194 StateNode *Previous; argument
1199 typedef std::pair<OrderedPenalty, StateNode *> QueueItem;
1223 StateNode *RootNode = in analyzeSolutionSpace()
1224 new (Allocator.Allocate()) StateNode(InitialState, false, nullptr); in analyzeSolutionSpace()
1237 StateNode *Node = Queue.top().second; in analyzeSolutionSpace()
1284 void addNextStateToQueue(unsigned Penalty, StateNode *PreviousNode, in addNextStateToQueue()
1291 StateNode *Node = new (Allocator.Allocate()) in addNextStateToQueue()
1292 StateNode(PreviousNode->State, NewLine, PreviousNode); in addNextStateToQueue()
1304 void reconstructPath(LineState &State, StateNode *Best) { in reconstructPath()
1305 llvm::SmallVector<StateNode *> Path; in reconstructPath()
1327 llvm::SpecificBumpPtrAllocator<StateNode> Allocator;