Lines Matching refs:StateNode
874 struct StateNode { struct in clang::format::__anon847ac5d30111::OptimizingLineFormatter
875 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode() argument
879 StateNode *Previous; argument
884 typedef std::pair<OrderedPenalty, StateNode *> QueueItem;
908 StateNode *Node = in analyzeSolutionSpace()
909 new (Allocator.Allocate()) StateNode(InitialState, false, nullptr); in analyzeSolutionSpace()
918 StateNode *Node = Queue.top().second; in analyzeSolutionSpace()
964 void addNextStateToQueue(unsigned Penalty, StateNode *PreviousNode, in addNextStateToQueue()
971 StateNode *Node = new (Allocator.Allocate()) in addNextStateToQueue()
972 StateNode(PreviousNode->State, NewLine, PreviousNode); in addNextStateToQueue()
984 void reconstructPath(LineState &State, StateNode *Best) { in reconstructPath()
985 std::deque<StateNode *> Path; in reconstructPath()
1007 llvm::SpecificBumpPtrAllocator<StateNode> Allocator;