| /llvm-project/llvm/lib/Analysis/ |
| H A D | BlockFrequencyInfoImpl.cpp | 163 assert(OtherW.TargetNode.isValid()); in combineWeight() 169 assert(W.TargetNode == OtherW.TargetNode); in combineWeight() 181 return L.TargetNode < R.TargetNode; in combineWeightsBySorting() 191 for (++L; L != E && I->TargetNode == L->TargetNode; ++L) in combineWeightsBySorting() 205 combineWeight(Combined[W.TargetNode.Index], W); in combineWeightsByHashing() 282 assert(W.TargetNode.isValid()); in normalize() 460 Working[W.TargetNode.Index].getMass() += Taken; in distributeMass() 461 LLVM_DEBUG(debugAssign(*this, D, W.TargetNode, Taken, nullptr)); in distributeMass() 470 OuterLoop->BackedgeMass[OuterLoop->getHeaderIndex(W.TargetNode)] += Taken; in distributeMass() 471 LLVM_DEBUG(debugAssign(*this, D, W.TargetNode, Taken, "back")); in distributeMass() [all …]
|
| /llvm-project/llvm/include/llvm/ADT/ |
| H A D | DirectedGraph.h | 32 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/compiler-rt/lib/xray/ |
| H A D | xray_function_call_trie.h | 542 FunctionCallTrie::Node *TargetNode; in mergeInto() member 569 DCHECK_NE(NT.TargetNode, nullptr); in mergeInto() 572 NT.TargetNode->CallCount += NT.OrigNode->CallCount; in mergeInto() 573 NT.TargetNode->CumulativeLocalTime += NT.OrigNode->CumulativeLocalTime; in mergeInto() 575 auto TargetCallee = NT.TargetNode->Callees.find_element( in mergeInto() 581 NT.TargetNode, NodeIdPairArray(*O.NodeIdPairAllocator), 0u, 0u, in mergeInto() 588 NT.TargetNode->Callees.AppendEmplace(NewTargetNode, Callee.FId); in mergeInto()
|
| /llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | ExtractVariable.cpp | 546 const SelectionTree::Node *TargetNode = N; in computeExtractedExpr() 554 TargetNode = Call; in computeExtractedExpr() 561 if (!TargetNode || !eligibleForExtraction(TargetNode)) 563 return TargetNode; 541 const SelectionTree::Node *TargetNode = N; computeExtractedExpr() local
|
| /llvm-project/llvm/include/llvm/Support/ |
| H A D | GraphWriter.h | 289 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/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGPrinter.cpp | 62 SDNode *TargetNode = *I; in getEdgeTarget() local 63 SDNodeIterator NI = SDNodeIterator::begin(TargetNode); in getEdgeTarget()
|
| /llvm-project/llvm/include/llvm/Analysis/ |
| H A D | BlockFrequencyInfoImpl.h | 369 BlockNode TargetNode; member 373 Weight(DistType Type, BlockNode TargetNode, uint64_t Amount) in Weight() 374 : Type(Type), TargetNode(TargetNode), Amount(Amount) {} in Weight() 408 /// Combines multiple edges to the same \a Weight::TargetNode and scales
|
| /llvm-project/llvm/lib/Support/ |
| H A D | VirtualFileSystem.cpp | 1047 auto TargetNode = lookupNode(Target, /*FollowFinalSymlink=*/true); 1050 if (!TargetNode || NewLinkNode || !isa<detail::InMemoryFile>(*TargetNode)) in addSymbolicLink() 1056 *cast<detail::InMemoryFile>(*TargetNode)); in addSymbolicLink() 1035 auto TargetNode = lookupNode(Target, /*FollowFinalSymlink=*/true); addHardLink() local
|
| /llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CodeExtractor.cpp | 1199 BranchWeights[Weight.TargetNode.Index] = Weight.Amount; in emitCallAndSwitchStatement() 1201 EdgeProbabilities[Weight.TargetNode.Index] = BP; in emitCallAndSwitchStatement()
|