Home
last modified time | relevance | path

Searched refs:TargetNode (Results 1 – 18 of 18) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp141 assert(OtherW.TargetNode.isValid()); in combineWeight()
147 assert(W.TargetNode == OtherW.TargetNode); in combineWeight()
159 return L.TargetNode < R.TargetNode; in combineWeightsBySorting()
169 for (++L; L != E && I->TargetNode == L->TargetNode; ++L) in combineWeightsBySorting()
183 combineWeight(Combined[W.TargetNode.Index], W); in combineWeightsByHashing()
260 assert(W.TargetNode.isValid()); in normalize()
438 Working[W.TargetNode.Index].getMass() += Taken; in distributeMass()
439 LLVM_DEBUG(debugAssign(*this, D, W.TargetNode, Taken, nullptr)); in distributeMass()
448 OuterLoop->BackedgeMass[OuterLoop->getHeaderIndex(W.TargetNode)] += Taken; in distributeMass()
449 LLVM_DEBUG(debugAssign(*this, D, W.TargetNode, Taken, "back")); in distributeMass()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp147 assert(OtherW.TargetNode.isValid()); in combineWeight()
153 assert(W.TargetNode == OtherW.TargetNode); in combineWeight()
165 return L.TargetNode < R.TargetNode; in combineWeightsBySorting()
175 for (++L; L != E && I->TargetNode == L->TargetNode; ++L) in combineWeightsBySorting()
189 combineWeight(Combined[W.TargetNode.Index], W); in combineWeightsByHashing()
266 assert(W.TargetNode.isValid()); in normalize()
444 Working[W.TargetNode.Index].getMass() += Taken; in distributeMass()
445 LLVM_DEBUG(debugAssign(*this, D, W.TargetNode, Taken, nullptr)); in distributeMass()
454 OuterLoop->BackedgeMass[OuterLoop->getHeaderIndex(W.TargetNode)] += Taken; in distributeMass()
455 LLVM_DEBUG(debugAssign(*this, D, W.TargetNode, Taken, "back")); in distributeMass()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DDirectedGraph.h31 explicit DGEdge(NodeType &N) : TargetNode(N) {} in DGEdge()
33 : TargetNode(E.TargetNode) {} in DGEdge()
35 TargetNode = E.TargetNode;
45 const NodeType &getTargetNode() const { return TargetNode; } in getTargetNode()
52 void setTargetNode(const NodeType &N) { TargetNode = N; } in setTargetNode()
65 NodeType &TargetNode; variable
/external/llvm-project/llvm/include/llvm/ADT/
DDirectedGraph.h31 explicit DGEdge(NodeType &N) : TargetNode(N) {} in DGEdge()
33 : TargetNode(E.TargetNode) {} in DGEdge()
35 TargetNode = E.TargetNode;
45 const NodeType &getTargetNode() const { return TargetNode; } in getTargetNode()
52 void setTargetNode(const NodeType &N) { TargetNode = N; } in setTargetNode()
65 NodeType &TargetNode; variable
/external/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp121 assert(OtherW.TargetNode.isValid()); in combineWeight()
127 assert(W.TargetNode == OtherW.TargetNode); in combineWeight()
140 const Weight &R) { return L.TargetNode < R.TargetNode; }); in combineWeightsBySorting()
149 for (++L; L != E && I->TargetNode == L->TargetNode; ++L) in combineWeightsBySorting()
162 combineWeight(Combined[W.TargetNode.Index], W); in combineWeightsByHashing()
239 assert(W.TargetNode.isValid()); in normalize()
413 Working[W.TargetNode.Index].getMass() += Taken; in distributeMass()
414 DEBUG(debugAssign(*this, D, W.TargetNode, Taken, nullptr)); in distributeMass()
423 OuterLoop->BackedgeMass[OuterLoop->getHeaderIndex(W.TargetNode)] += Taken; in distributeMass()
424 DEBUG(debugAssign(*this, D, W.TargetNode, Taken, "back")); in distributeMass()
[all …]
/external/llvm-project/compiler-rt/lib/xray/
Dxray_function_call_trie.h546 FunctionCallTrie::Node *TargetNode; in mergeInto() member
573 DCHECK_NE(NT.TargetNode, nullptr); in mergeInto()
576 NT.TargetNode->CallCount += NT.OrigNode->CallCount; in mergeInto()
577 NT.TargetNode->CumulativeLocalTime += NT.OrigNode->CumulativeLocalTime; in mergeInto()
579 auto TargetCallee = NT.TargetNode->Callees.find_element( in mergeInto()
585 NT.TargetNode, NodeIdPairArray(*O.NodeIdPairAllocator), 0u, 0u, in mergeInto()
592 NT.TargetNode->Callees.AppendEmplace(NewTargetNode, Callee.FId); in mergeInto()
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DExtractVariable.cpp416 const SelectionTree::Node *TargetNode = N; in computeExtractedExpr() local
424 TargetNode = Call; in computeExtractedExpr()
431 if (!TargetNode || !eligibleForExtraction(TargetNode)) in computeExtractedExpr()
433 return TargetNode; in computeExtractedExpr()
/external/llvm-project/llvm/include/llvm/Support/
DGraphWriter.h239 if (NodeRef TargetNode = *EI) { in writeEdge() local
246 (unsigned)std::distance(GTraits::child_begin(TargetNode), TargetIt); in writeEdge()
254 static_cast<const void*>(TargetNode), DestPort, in writeEdge()
/external/llvm/include/llvm/Support/
DGraphWriter.h241 if (NodeType *TargetNode = *EI) { in writeEdge() local
248 (unsigned)std::distance(GTraits::child_begin(TargetNode), TargetIt); in writeEdge()
256 static_cast<const void*>(TargetNode), DestPort, in writeEdge()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DGraphWriter.h239 if (NodeRef TargetNode = *EI) { in writeEdge() local
246 (unsigned)std::distance(GTraits::child_begin(TargetNode), TargetIt); in writeEdge()
254 static_cast<const void*>(TargetNode), DestPort, in writeEdge()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGPrinter.cpp69 SDNode *TargetNode = *I; in getEdgeTarget() local
70 SDNodeIterator NI = SDNodeIterator::begin(TargetNode); in getEdgeTarget()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGPrinter.cpp66 SDNode *TargetNode = *I; in getEdgeTarget() local
67 SDNodeIterator NI = SDNodeIterator::begin(TargetNode); in getEdgeTarget()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGPrinter.cpp66 SDNode *TargetNode = *I; in getEdgeTarget() local
67 SDNodeIterator NI = SDNodeIterator::begin(TargetNode); in getEdgeTarget()
/external/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h337 BlockNode TargetNode;
340 Weight(DistType Type, BlockNode TargetNode, uint64_t Amount)
341 : Type(Type), TargetNode(TargetNode), Amount(Amount) {}
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h359 BlockNode TargetNode; member
363 Weight(DistType Type, BlockNode TargetNode, uint64_t Amount) in Weight()
364 : Type(Type), TargetNode(TargetNode), Amount(Amount) {} in Weight()
/external/llvm-project/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h363 BlockNode TargetNode; member
367 Weight(DistType Type, BlockNode TargetNode, uint64_t Amount) in Weight()
368 : Type(Type), TargetNode(TargetNode), Amount(Amount) {} in Weight()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp1376 BranchWeights[Weight.TargetNode.Index] = Weight.Amount; in calculateNewCallTerminatorWeights()
1378 BPI->setEdgeProbability(CodeReplacer, Weight.TargetNode.Index, BP); in calculateNewCallTerminatorWeights()
/external/llvm-project/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp1437 BranchWeights[Weight.TargetNode.Index] = Weight.Amount; in calculateNewCallTerminatorWeights()
1439 EdgeProbabilities[Weight.TargetNode.Index] = BP; in calculateNewCallTerminatorWeights()