Home
last modified time | relevance | path

Searched refs:EdgeWeights (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileLoaderBaseImpl.h177 EdgeWeightMap EdgeWeights;
230 EdgeWeights.clear();
252 << "]: " << EdgeWeights[E] << "\n";
548 return EdgeWeights[E];
648 EdgeWeights[SingleEdge] = BlockWeights[EC];
657 EdgeWeights[UnknownEdge] = 0;
666 EdgeWeights[UnknownEdge] = BlockWeights[OtherEC];
677 EdgeWeights[E] = 0;
683 EdgeWeights[E] = 0;
693 EdgeWeights[SelfReferentialEdge] = 0;
[all …]
H A DSampleProfileInference.h98 void apply(BlockWeightMap &BlockWeights, EdgeWeightMap &EdgeWeights);
122 EdgeWeightMap &EdgeWeights) {
153 EdgeWeights.clear();
224 EdgeWeights[E] = Jump.Flow;
233 for (auto &I : EdgeWeights) {
/llvm-project-15.0.7/bolt/lib/Passes/
H A DMCF.cpp80 void updateEdgeWeight(EdgeWeightMap &EdgeWeights, const BinaryBasicBlock *A,
84 void updateEdgeWeight<BinaryBasicBlock *>(EdgeWeightMap &EdgeWeights, in updateEdgeWeight() argument
88 EdgeWeights[std::make_pair(A, B)] = Weight; in updateEdgeWeight()
93 void updateEdgeWeight<Inverse<BinaryBasicBlock *>>(EdgeWeightMap &EdgeWeights, in updateEdgeWeight() argument
97 EdgeWeights[std::make_pair(B, A)] = Weight; in updateEdgeWeight()
102 void computeEdgeWeights(BinaryBasicBlock *BB, EdgeWeightMap &EdgeWeights) { in computeEdgeWeights() argument
168 updateEdgeWeight<NodeT>(EdgeWeights, BB, Child, Weight); in computeEdgeWeights()
174 void computeEdgeWeights(BinaryFunction &BF, EdgeWeightMap &EdgeWeights) { in computeEdgeWeights() argument
176 computeEdgeWeights<NodeT>(&BB, EdgeWeights); in computeEdgeWeights()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DCFGPrinter.h61 bool EdgeWeights; variable
71 EdgeWeights = !!BPI; // Print EdgeWeights when BPI is available. in DOTFuncInfo()
95 void setEdgeWeights(bool EdgeWeights) { this->EdgeWeights = EdgeWeights; } in setEdgeWeights() argument
97 bool showEdgeWeights() { return EdgeWeights; } in showEdgeWeights()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMIRSampleProfile.cpp182 SumEdgeWeight += EdgeWeights[E]; in setBranchProbs()
212 uint64_t EdgeWeight = EdgeWeights[E]; in setBranchProbs()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp1677 uint64_t Weight = EdgeWeights[E]; in generateMDProfMetadata()