Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DDirectedGraph.h32 explicit DGEdge(NodeType &N) : TargetNode(N) {} in DGEdge()
34 : TargetNode(E.TargetNode) {} in DGEdge()
36 TargetNode = E.TargetNode;
48 const NodeType &getTargetNode() const { return TargetNode; } in getTargetNode()
55 void setTargetNode(const NodeType &N) { TargetNode = N; } in setTargetNode()
68 NodeType &TargetNode; variable
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp162 assert(OtherW.TargetNode.isValid()); in combineWeight()
168 assert(W.TargetNode == OtherW.TargetNode); in combineWeight()
180 return L.TargetNode < R.TargetNode; in combineWeightsBySorting()
190 for (++L; L != E && I->TargetNode == L->TargetNode; ++L) in combineWeightsBySorting()
204 combineWeight(Combined[W.TargetNode.Index], W); in combineWeightsByHashing()
281 assert(W.TargetNode.isValid()); in normalize()
459 Working[W.TargetNode.Index].getMass() += Taken; in distributeMass()
476 OuterLoop->Exits.push_back(std::make_pair(W.TargetNode, Taken)); in distributeMass()
477 LLVM_DEBUG(debugAssign(*this, D, W.TargetNode, Taken, "exit")); in distributeMass()
867 Working[W.TargetNode.Index].getMass() = Taken; in adjustLoopHeaderMass()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/xray/
H A 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()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DExtractVariable.cpp459 const SelectionTree::Node *TargetNode = N; in computeExtractedExpr() local
467 TargetNode = Call; in computeExtractedExpr()
474 if (!TargetNode || !eligibleForExtraction(TargetNode)) in computeExtractedExpr()
476 return TargetNode; in computeExtractedExpr()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DGraphWriter.h289 if (NodeRef TargetNode = *EI) { in writeEdge() local
296 (unsigned)std::distance(GTraits::child_begin(TargetNode), TargetIt); in writeEdge()
304 static_cast<const void*>(TargetNode), DestPort, in writeEdge()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGPrinter.cpp62 SDNode *TargetNode = *I; in getEdgeTarget() local
63 SDNodeIterator NI = SDNodeIterator::begin(TargetNode); in getEdgeTarget()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h368 BlockNode TargetNode; member
372 Weight(DistType Type, BlockNode TargetNode, uint64_t Amount) in Weight()
373 : Type(Type), TargetNode(TargetNode), Amount(Amount) {} in Weight()
/llvm-project-15.0.7/llvm/lib/Support/
H A DVirtualFileSystem.cpp1010 auto TargetNode = lookupNode(Target, /*FollowFinalSymlink=*/true); in addHardLink() local
1013 if (!TargetNode || NewLinkNode || !isa<detail::InMemoryFile>(*TargetNode)) in addHardLink()
1019 *cast<detail::InMemoryFile>(*TargetNode)); in addHardLink()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp1497 BranchWeights[Weight.TargetNode.Index] = Weight.Amount; in calculateNewCallTerminatorWeights()
1499 EdgeProbabilities[Weight.TargetNode.Index] = BP; in calculateNewCallTerminatorWeights()