/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | BlockFrequency.cpp | 18 BlockFrequency &BlockFrequency::operator*=(BranchProbability Prob) { in operator *=() 23 BlockFrequency BlockFrequency::operator*(BranchProbability Prob) const { in operator *() 24 BlockFrequency Freq(Frequency); in operator *() 29 BlockFrequency &BlockFrequency::operator/=(BranchProbability Prob) { in operator /=() 34 BlockFrequency BlockFrequency::operator/(BranchProbability Prob) const { in operator /() 35 BlockFrequency Freq(Frequency); in operator /() 40 BlockFrequency &BlockFrequency::operator+=(BlockFrequency Freq) { in operator +=() 51 BlockFrequency BlockFrequency::operator+(BlockFrequency Freq) const { in operator +() 52 BlockFrequency NewFreq(Frequency); in operator +() 57 BlockFrequency &BlockFrequency::operator-=(BlockFrequency Freq) { in operator -=() [all …]
|
D | CMakeLists.txt | 70 BlockFrequency.cpp
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | BlockFrequency.h | 24 class BlockFrequency { 28 BlockFrequency(uint64_t Freq = 0) : Frequency(Freq) { } in Frequency() 39 BlockFrequency &operator*=(BranchProbability Prob); 40 BlockFrequency operator*(BranchProbability Prob) const; 44 BlockFrequency &operator/=(BranchProbability Prob); 45 BlockFrequency operator/(BranchProbability Prob) const; 48 BlockFrequency &operator+=(BlockFrequency Freq); 49 BlockFrequency operator+(BlockFrequency Freq) const; 52 BlockFrequency &operator-=(BlockFrequency Freq); 53 BlockFrequency operator-(BlockFrequency Freq) const; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | SpillPlacement.cpp | 81 BlockFrequency BiasN; 84 BlockFrequency BiasP; 91 using LinkVector = SmallVector<std::pair<BlockFrequency, unsigned>, 4>; 98 BlockFrequency SumLinkWeights; 116 void clear(const BlockFrequency &Threshold) { in clear() 123 void addLink(unsigned b, BlockFrequency w) { in addLink() 138 void addBias(BlockFrequency freq, BorderConstraint direction) { in addBias() 149 BiasN = BlockFrequency::getMaxFrequency(); in addBias() 156 bool update(const Node nodes[], const BlockFrequency &Threshold) { in update() 158 BlockFrequency SumN = BiasN; in update() [all …]
|
D | MachineBlockPlacement.cpp | 330 BlockFrequency Weight; 464 BlockFrequency TopFallThroughFreq(const MachineBasicBlock *Top, 466 BlockFrequency FallThroughGains(const MachineBasicBlock *NewTop, 476 BlockFrequency &ExitFreq); 481 BlockFrequency ExitFreq, const BlockFilterSet &LoopBlockSet); 731 static bool greaterWithBias(BlockFrequency A, BlockFrequency B, in greaterWithBias() 734 BlockFrequency Gain = A - B; in greaterWithBias() 778 BlockFrequency P = BBFreq * PProb; in isProfitableToTailDup() 779 BlockFrequency Qout = BBFreq * QProb; in isProfitableToTailDup() 800 auto SuccBestPred = BlockFrequency(0); in isProfitableToTailDup() [all …]
|
D | SpillPlacement.h | 63 SmallVector<BlockFrequency, 8> BlockFrequencies; 67 BlockFrequency Threshold; 152 BlockFrequency getBlockFrequency(unsigned Number) const { in getBlockFrequency() 162 void setThreshold(const BlockFrequency &Entry);
|
D | BranchFolding.h | 142 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const; 143 void setBlockFreq(const MachineBasicBlock *MBB, BlockFrequency F); 147 const BlockFrequency Freq) const; 154 DenseMap<const MachineBasicBlock *, BlockFrequency> MergedBBFreq;
|
D | RegAllocGreedy.cpp | 401 BlockFrequency CSRCost; 449 BlockFrequency calcSpillCost(); 450 bool addSplitConstraints(InterferenceCache::Cursor, BlockFrequency&); 459 BlockFrequency calcGlobalSplitCost(GlobalSplitCandidate &, 493 BlockFrequency &BestCost, 526 BlockFrequency Freq; 533 HintInfo(BlockFrequency Freq, unsigned Reg, unsigned PhysReg) in HintInfo() 538 BlockFrequency getBrokenHintFreq(const HintsInfo &, unsigned); 1187 BlockFrequency &Cost) { in addSplitConstraints() 1192 BlockFrequency StaticCost = 0; in addSplitConstraints() [all …]
|
D | MachineBlockFrequencyInfo.cpp | 227 BlockFrequency 260 const BlockFrequency Freq) const { in printBlockFreq()
|
D | BranchFolding.cpp | 504 BlockFrequency 515 BlockFrequency F) { in setBlockFreq() 527 const BlockFrequency Freq) const { in printBlockFreq() 1190 SmallVector<BlockFrequency, 2> EdgeFreqLs(TailMBB.succ_size()); in setCommonTailEdgeWeights() 1191 BlockFrequency AccumulatedMBBFreq; in setCommonTailEdgeWeights() 1198 BlockFrequency BlockFreq = MBBFreqInfo.getBlockFreq(SrcMBB); in setCommonTailEdgeWeights() 1219 std::accumulate(EdgeFreqLs.begin(), EdgeFreqLs.end(), BlockFrequency(0)) in setCommonTailEdgeWeights()
|
D | InlineSpiller.cpp | 1341 std::pair<SmallPtrSet<MachineDomTreeNode *, 16>, BlockFrequency>; in runHoistSpills() 1375 BlockFrequency &SubTreeCost = SpillsInSubTreeMap[*RIt].second; in runHoistSpills() 1385 BlockFrequency &SubTreeCost = SpillsInSubTreeMap[*RIt].second; in runHoistSpills()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | MachineBlockFrequencyInfo.h | 62 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const; 75 raw_ostream &printBlockFreq(raw_ostream &OS, const BlockFrequency Freq) const;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | BlockFrequencyInfo.h | 65 BlockFrequency getBlockFreq(const BasicBlock *BB) const; 97 raw_ostream &printBlockFreq(raw_ostream &OS, const BlockFrequency Freq) const;
|
D | BlockFrequencyInfoImpl.h | 521 BlockFrequency getBlockFreq(const BlockNode &Node) const; 534 const BlockFrequency &Freq) const; 968 BlockFrequency getBlockFreq(const BlockT *BB) const { 1398 BlockFrequency Freq = Graph->getBlockFreq(Node); 1399 BlockFrequency HotFreq = 1400 (BlockFrequency(MaxFrequency) * 1459 BlockFrequency EFreq = BFI->getBlockFreq(Node) * BP; 1460 BlockFrequency HotFreq = BlockFrequency(MaxFrequency) *
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | CodeExtractor.h | 27 class BlockFrequency; variable 223 DenseMap<BasicBlock *, BlockFrequency> &ExitWeights,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopSink.cpp | 83 static BlockFrequency adjustedSumFreq(SmallPtrSetImpl<BasicBlock *> &BBs, in adjustedSumFreq() 85 BlockFrequency T = 0; in adjustedSumFreq() 265 const BlockFrequency PreheaderFreq = BFI.getBlockFreq(Preheader); in sinkLoopInvariantInstructions()
|
D | ConstantHoisting.cpp | 261 std::pair<SetVector<BasicBlock *>, BlockFrequency>; in findBestInsertionSet() 271 BlockFrequency &InsertPtsFreq = InsertPtsMap[Node].second; in findBestInsertionSet() 288 BlockFrequency &ParentPtsFreq = InsertPtsMap[Parent].second; in findBestInsertionSet()
|
D | JumpThreading.cpp | 2151 DenseMap<BasicBlock *, BlockFrequency> FreqMap; in SplitBlockPreds() 2169 BlockFrequency NewBBFreq(0); in SplitBlockPreds()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | BlockFrequencyInfo.cpp | 202 BlockFrequency BlockFrequencyInfo::getBlockFreq(const BasicBlock *BB) const { in getBlockFreq() 269 printBlockFreq(raw_ostream &OS, const BlockFrequency Freq) const { in printBlockFreq()
|
D | BlockFrequencyInfoImpl.cpp | 551 BlockFrequency 623 const BlockFrequency &Freq) const { in printBlockFreq()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | RegBankSelect.h | 78 class BlockFrequency; variable 442 MappingCost(const BlockFrequency &LocalFreq);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | BreakCriticalEdges.cpp | 411 BlockFrequency BlockFreqForDirectSucc; in SplitIndirectBrCriticalEdges() 423 BlockFrequency NewBlockFreqForTarget = in SplitIndirectBrCriticalEdges()
|
D | CodeExtractor.cpp | 1342 DenseMap<BasicBlock *, BlockFrequency> &ExitWeights, in calculateNewCallTerminatorWeights() 1397 BlockFrequency EntryFreq; in extractCodeRegion() 1423 DenseMap<BasicBlock *, BlockFrequency> ExitWeights; in extractCodeRegion() 1431 BlockFrequency &BF = ExitWeights[*SI]; in extractCodeRegion()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | PartialInlining.cpp | 288 BlockFrequency WeightedOutliningRcost, 763 BlockFrequency WeightedOutliningRcost, in shouldPartialInline() 817 BlockFrequency NormWeightedSavings(NonWeightedSavings); in shouldPartialInline() 1338 BlockFrequency WeightedRcost; in tryPartialInline() 1355 WeightedRcost = BlockFrequency(NonWeightedRcost) * RelativeToEntryFreq; in tryPartialInline()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | RegBankSelect.cpp | 938 RegBankSelect::MappingCost::MappingCost(const BlockFrequency &LocalFreq) in MappingCost()
|