Lines Matching refs:StateNode
1144 struct StateNode { struct in clang::format::__anon5560ac9b0111::OptimizingLineFormatter
1145 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode() argument
1149 StateNode *Previous; argument
1154 typedef std::pair<OrderedPenalty, StateNode *> QueueItem;
1178 StateNode *RootNode = in analyzeSolutionSpace()
1179 new (Allocator.Allocate()) StateNode(InitialState, false, nullptr); in analyzeSolutionSpace()
1192 StateNode *Node = Queue.top().second; in analyzeSolutionSpace()
1239 void addNextStateToQueue(unsigned Penalty, StateNode *PreviousNode, in addNextStateToQueue()
1246 StateNode *Node = new (Allocator.Allocate()) in addNextStateToQueue()
1247 StateNode(PreviousNode->State, NewLine, PreviousNode); in addNextStateToQueue()
1259 void reconstructPath(LineState &State, StateNode *Best) { in reconstructPath()
1260 llvm::SmallVector<StateNode *> Path; in reconstructPath()
1282 llvm::SpecificBumpPtrAllocator<StateNode> Allocator;