Lines Matching refs:StateNode
982 struct StateNode { struct in clang::format::__anonb93c45f80111::OptimizingLineFormatter
983 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode() argument
987 StateNode *Previous; argument
992 typedef std::pair<OrderedPenalty, StateNode *> QueueItem;
1016 StateNode *Node = in analyzeSolutionSpace()
1017 new (Allocator.Allocate()) StateNode(InitialState, false, nullptr); in analyzeSolutionSpace()
1026 StateNode *Node = Queue.top().second; in analyzeSolutionSpace()
1072 void addNextStateToQueue(unsigned Penalty, StateNode *PreviousNode, in addNextStateToQueue()
1079 StateNode *Node = new (Allocator.Allocate()) in addNextStateToQueue()
1080 StateNode(PreviousNode->State, NewLine, PreviousNode); in addNextStateToQueue()
1092 void reconstructPath(LineState &State, StateNode *Best) { in reconstructPath()
1093 std::deque<StateNode *> Path; in reconstructPath()
1115 llvm::SpecificBumpPtrAllocator<StateNode> Allocator;