/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceTimerTree.cpp | 38 Nodes.resize(1); // Reserve Nodes[0] for the root node (sentinel). in TimerStack() 84 for (const TimerTreeNode &SrcNode : Src.Nodes) { in mergeFrom() 93 Nodes[MyIndex].Time += SrcNode.Time; in mergeFrom() 94 Nodes[MyIndex].UpdateCount += SrcNode.UpdateCount; in mergeFrom() 112 Path.push_back(Mapping[Nodes[Index].Interior]); in getPath() 113 assert(Nodes[Index].Parent < Index); in getPath() 114 Index = Nodes[Index].Parent; in getPath() 123 if (Nodes[Parent].Children.size() <= ID) in getChildIndex() 124 Nodes[Paren in getChildIndex() [all...] |
H A D | IceLiveness.h | 80 return NumGlobals + Nodes[Node->getIndex()].NumLocals; in getNumVarsInNode() 83 return Nodes[Node->getIndex()].NumNonDeadPhis; in getNumNonDeadPhis() 88 return Nodes[Index].LiveIn; in getLiveIn() 93 return Nodes[Index].LiveOut; in getLiveOut() 99 return &Nodes[Index].LiveBegin; in getLiveBegin() 104 return &Nodes[Index].LiveEnd; in getLiveEnd() 129 /// Resize Nodes so that Nodes[Index] is valid. 131 if (Index >= Nodes.size()) { in resize() 132 assert(false && "The Nodes arra in resize() 142 LivenessVector<LivenessNode> Nodes; global() member in Ice::Liveness [all...] |
H A D | IceLiveness.cpp | 44 Nodes.resize(NumNodes); in initInternal() 55 ++Nodes[Index].NumLocals; in initInternal() 66 LivenessNode &N = Nodes[(*I)->getIndex()]; in initInternal() 90 LiveIndex = Nodes[NodeIndex].NumLocals++; in initInternal() 91 Nodes[NodeIndex].LiveToVarMap[LiveIndex] = Var; in initInternal() 112 LivenessNode &Node = Nodes[(*I)->getIndex()]; in initInternal() 139 return Nodes[NodeIndex].LiveToVarMap[LiveIndex - NumGlobals]; in getVariable()
|
H A D | IceCfg.cpp | 98 SizeT LabelIndex = Nodes.size(); in makeNode() 100 Nodes.push_back(Node); in makeNode() 105 assert(Nodes.size() == NewNodes.size()); in swapNodes() 106 Nodes.swap(NewNodes); in swapNodes() 108 Nodes[I]->resetIndex(I); in swapNodes() 226 for (auto *Node : Nodes) { in fixPhiNodes() 243 for (CfgNode *Node : Nodes) { in computeInOutEdges() 258 CfgNode *Node = Nodes[Index]; in computeInOutEdges() 269 Nodes[Dest] = Nodes[Sourc in computeInOutEdges() [all...] |
H A D | IceLoopAnalyzer.cpp | 145 const NodeList &Nodes = Func->getNodes(); in LoopAnalyzer() local 149 AllNodes.reserve(Nodes.size()); in LoopAnalyzer() 150 WorkStack.reserve(Nodes.size()); in LoopAnalyzer() 151 LoopStack.reserve(Nodes.size()); in LoopAnalyzer() 154 for (CfgNode *Node : Nodes) in LoopAnalyzer()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | DirectedGraph.h | 176 explicit DirectedGraph(NodeType &N) : Nodes() { addNode(N); } in DirectedGraph() 177 DirectedGraph(const DGraphType &G) : Nodes(G.Nodes) {} in DirectedGraph() 178 DirectedGraph(DGraphType &&RHS) : Nodes(std::move(RHS.Nodes)) {} in DirectedGraph() 180 Nodes = G.Nodes; in operator =() 184 Nodes = std::move(G.Nodes); in operator =() 188 const_iterator begin() const { return Nodes 268 NodeListTy Nodes; global() variable [all...] |
H A D | IntervalMap.h | 333 /// @param Nodes Number of nodes. 337 void adjustSiblingSizes(NodeT *Node[], unsigned Nodes, in adjustSiblingSizes() argument 340 for (int n = Nodes - 1; n; --n) { in adjustSiblingSizes() 354 if (Nodes == 0) in adjustSiblingSizes() 358 for (unsigned n = 0; n != Nodes - 1; ++n) { in adjustSiblingSizes() 361 for (unsigned m = n + 1; m != Nodes; ++m) { in adjustSiblingSizes() 373 for (unsigned n = 0; n != Nodes; n++) in adjustSiblingSizes() 386 /// Elements + Grow <= Nodes * Capacity. 403 /// @param Nodes The number of nodes. 406 /// @param CurSize Array[Nodes] o [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | IntervalMap.cpp | 119 IdxPair distribute(unsigned Nodes, unsigned Elements, unsigned Capacity, in distribute() argument 122 assert(Elements + Grow <= Nodes * Capacity && "Not enough room for elements"); in distribute() 124 if (!Nodes) in distribute() 128 const unsigned PerNode = (Elements + Grow) / Nodes; in distribute() 129 const unsigned Extra = (Elements + Grow) % Nodes; in distribute() 130 IdxPair PosPair = IdxPair(Nodes, 0); in distribute() 132 for (unsigned n = 0; n != Nodes; ++n) { in distribute() 134 if (PosPair.first == Nodes && Sum > Position) in distribute() 141 assert(PosPair.first < Nodes && "Bad algebra"); in distribute() 148 for (unsigned n = 0; n != Nodes; in distribute() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
H A D | CallGraphSCCPass.h | 90 std::vector<CallGraphNode *> Nodes; member in llvm::CallGraphSCC 96 Nodes.assign(NewNodes.begin(), NewNodes.end()); in initialize() 99 bool isSingular() const { return Nodes.size() == 1; } in isSingular() 100 unsigned size() const { return Nodes.size(); } in size() 108 iterator begin() const { return Nodes.begin(); } in begin() 109 iterator end() const { return Nodes.end(); } in end()
|
H A D | BlockFrequencyInfoImpl.h | 223 NodeList Nodes; ///< Header and the members of the loop. member 229 : Parent(Parent), Nodes(1, Header), BackedgeMass(1) {} in LoopData() 234 : Parent(Parent), Nodes(FirstHeader, LastHeader) { in LoopData() 235 NumHeaders = Nodes.size(); in LoopData() 236 Nodes.insert(Nodes.end(), FirstOther, LastOther); in LoopData() 242 return std::binary_search(Nodes.begin(), Nodes.begin() + NumHeaders, in isHeader() 244 return Node == Nodes[0]; in isHeader() 247 BlockNode getHeader() const { return Nodes[ 616 std::vector<IrrNode> Nodes; global() member 859 DenseMap<const BlockT *, BlockNode> Nodes; global() member in llvm::BlockFrequencyInfoImpl [all...] |
H A D | IntervalIterator.h | 73 Int->Nodes.push_back(BB); in addNodeToInterval() 84 Int->Nodes.insert(Int->Nodes.end(), I->Nodes.begin(), I->Nodes.end()); in addNodeToInterval()
|
H A D | LazyCallGraph.h | 436 SmallVector<Node *, 1> Nodes; member in llvm::LazyCallGraph::Edge::SCC 439 SCC(RefSCC &OuterRefSCC, NodeRangeT &&Nodes) in SCC() argument 440 : OuterRefSCC(&OuterRefSCC), Nodes(std::forward<NodeRangeT>(Nodes)) {} in SCC() 444 Nodes.clear(); in clear() 462 OS << "..., " << *C.Nodes.back(); in operator <<() 488 iterator begin() const { return Nodes.begin(); } in begin() 489 iterator end() const { return Nodes.end(); } in end() 491 int size() const { return Nodes.size(); } in size() 1196 void buildSCCs(RefSCC &RC, node_stack_range Nodes); [all...] |
H A D | Interval.h | 48 Nodes.push_back(Header); in Interval() 53 /// Nodes - The basic blocks in this interval. 54 std::vector<BasicBlock*> Nodes; member in llvm::Interval 67 for (BasicBlock *Node : Nodes) in contains() 72 //return find(Nodes.begin(), Nodes.end(), BB) != Nodes.end(); in contains()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | MachinePipeliner.h | 318 SetVector<SUnit *> Nodes; member in llvm::NodeSet 331 NodeSet(iterator S, iterator E) : Nodes(S, E), HasRecurrence(true) { in NodeSet() 333 for (unsigned i = 0, e = Nodes.size(); i < e; ++i) in NodeSet() 334 for (const SDep &Succ : Nodes[i]->Succs) in NodeSet() 335 if (Nodes.count(Succ.getSUnit())) in NodeSet() 339 bool insert(SUnit *SU) { return Nodes.insert(SU); } in insert() 341 void insert(iterator S, iterator E) { Nodes.insert(S, E); } in insert() 344 return Nodes.remove_if(P); in remove_if() 347 unsigned count(SUnit *SU) const { return Nodes.count(SU); } in count() 351 unsigned size() const { return Nodes [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | substitutionTypeNoMergeOfAssignableType.js | 14 type Nodes<T = any> = { 20 function makeEntityStore<T extends Record<string, Entity>>(config: T): Nodes<T> { 21 return {} as Nodes<T>
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/PBQP/ |
H A D | Graph.h | 168 NodeVector Nodes; 181 assert(NId < Nodes.size() && "Out of bound NodeId"); in getNode() 182 return Nodes[NId]; in getNode() 185 assert(NId < Nodes.size() && "Out of bound NodeId"); 186 return Nodes[NId]; 197 Nodes[NId] = std::move(N); 199 NId = Nodes.size(); 200 Nodes.push_back(std::move(N)); 239 : CurNId(CurNId), EndNId(G.Nodes.size()), FreeNodeIds(G.FreeNodeIds) { 289 NodeItr end() const { return NodeItr(G.Nodes [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/ |
H A D | graphcycles_test.cc | 34 using Nodes = std::vector<int>; 77 static void PrintGCEdges(Nodes *nodes, const IdMap &id, GraphCycles *gc) { in PrintGCEdges() 89 static void PrintTransitiveClosure(Nodes *nodes, Edges *edges) { in PrintTransitiveClosure() 102 static void PrintGCTransitiveClosure(Nodes *nodes, const IdMap &id, in PrintGCTransitiveClosure() 115 static void CheckTransitiveClosure(Nodes *nodes, Edges *edges, const IdMap &id, in CheckTransitiveClosure() 136 static void CheckEdges(Nodes *nodes, Edges *edges, const IdMap &id, in CheckEdges() 169 static int RandomNode(RandomEngine* rng, Nodes *nodes) { in RandomNode() 193 Nodes nodes; in TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 151 NodeVect Nodes; member in __anon24604::HexagonCommonGEP 377 Nodes.push_back(N); in processGepInst() 392 Nodes.push_back(Nx); in processGepInst() 430 LLVM_DEBUG(dbgs() << "Gep nodes after initial collection:\n" << Nodes); in collect() 433 static void invert_find_roots(const NodeVect &Nodes, NodeChildrenMap &NCM, in invert_find_roots() argument 437 for (const_iterator I = Nodes.begin(), E = Nodes.end(); I != E; ++I) { in invert_find_roots() 449 NodeSet &Nodes) { in nodes_for_root() 452 Nodes.insert(Root); in nodes_for_root() 461 Nodes in nodes_for_root() 448 nodes_for_root(GepNode *Root, NodeChildrenMap &NCM, NodeSet &Nodes) nodes_for_root() argument [all...] |
H A D | HexagonISelDAGToDAG.h | 143 void ppSimplifyOrSelect0(std::vector<SDNode*> &&Nodes); 144 void ppAddrReorderAddShl(std::vector<SDNode*> &&Nodes); 145 void ppAddrRewriteAndSrl(std::vector<SDNode*> &&Nodes); 146 void ppHoistZextI1(std::vector<SDNode*> &&Nodes);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | BlockFrequencyInfoImpl.cpp | 404 for (const BlockNode &M : Loop.Nodes) { in packageLoop() 510 for (const BlockNode &N : Loop.Nodes) { in unwrapLoop() 632 Nodes.reserve(OuterLoop.Nodes.size()); in addNodesInLoop() 633 for (auto N : OuterLoop.Nodes) in addNodesInLoop() 647 for (auto &I : Nodes) in indexNodes() 766 for (const auto &N : Loop->Nodes) in createIrreducibleLoop() 798 auto O = OuterLoop.Nodes.begin() + 1; in updateLoopWithIrreducible() 799 for (auto I = O, E = OuterLoop.Nodes.end(); I != E; ++I) in updateLoopWithIrreducible() 802 OuterLoop.Nodes in updateLoopWithIrreducible() [all...] |
H A D | CallGraph.cpp | 93 SmallVector<CallGraphNode *, 16> Nodes; in print() local 94 Nodes.reserve(FunctionMap.size()); in print() 97 Nodes.push_back(I.second.get()); in print() 99 llvm::sort(Nodes, [](CallGraphNode *LHS, CallGraphNode *RHS) { in print() 107 for (CallGraphNode *CN : Nodes) in print()
|
H A D | LazyCallGraph.cpp | 234 assert(!Nodes.empty() && "Can't have an empty SCC!"); in verify() 236 for (Node *N : Nodes) { in verify() 657 TargetSCC.Nodes.append(C->Nodes.begin(), C->Nodes.end()); 658 for (Node *N : C->Nodes) 743 Worklist.swap(OldSCC.Nodes); 758 OldSCC.Nodes.push_back(&TargetN); 808 OldSCC.Nodes.push_back(N); 809 OldSCC.Nodes [all...] |
H A D | DDG.cpp | 85 auto &Nodes = cast<const PiBlockDDGNode>(&N)->getNodes(); in operator <<() local 87 for (const DDGNode *N : Nodes) in operator <<() 88 OS << *N << (++Count == Nodes.size() ? "" : "\n"); in operator <<() 211 for (auto *N : Nodes) { in ~DataDependenceGraph()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | graph.h | 71 template <typename... Nodes, 73 std::conjunction_v<std::is_convertible<Nodes, Node*>...>>> 74 Node* NewNode(const Operator* op, Nodes... nodes) { in NewNode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
H A D | CGProfile.cpp | 87 std::vector<Metadata *> Nodes; in addModuleFlags() local 94 Nodes.push_back(MDNode::get(Context, Vals)); in addModuleFlags() 97 M.addModuleFlag(Module::Append, "CG Profile", MDNode::get(Context, Nodes)); in addModuleFlags()
|