Lines Matching refs:StateNode
1180 struct StateNode { struct in clang::format::__anon985fe27a0111::OptimizingLineFormatter
1181 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode() function
1185 StateNode *Previous; argument
1190 typedef std::pair<OrderedPenalty, StateNode *> QueueItem;
1214 StateNode *RootNode = in analyzeSolutionSpace()
1215 new (Allocator.Allocate()) StateNode(InitialState, false, nullptr); in analyzeSolutionSpace()
1228 StateNode *Node = Queue.top().second; in analyzeSolutionSpace()
1275 void addNextStateToQueue(unsigned Penalty, StateNode *PreviousNode, in addNextStateToQueue()
1282 StateNode *Node = new (Allocator.Allocate()) in addNextStateToQueue()
1283 StateNode(PreviousNode->State, NewLine, PreviousNode); in addNextStateToQueue()
1295 void reconstructPath(LineState &State, StateNode *Best) { in reconstructPath()
1296 llvm::SmallVector<StateNode *> Path; in reconstructPath()
1318 llvm::SpecificBumpPtrAllocator<StateNode> Allocator;