/external/llvm/lib/Support/ |
D | BlockFrequency.cpp | 20 BlockFrequency &BlockFrequency::operator*=(BranchProbability Prob) { in operator *=() 25 BlockFrequency BlockFrequency::operator*(BranchProbability Prob) const { in operator *() 26 BlockFrequency Freq(Frequency); in operator *() 31 BlockFrequency &BlockFrequency::operator/=(BranchProbability Prob) { in operator /=() 36 BlockFrequency BlockFrequency::operator/(BranchProbability Prob) const { in operator /() 37 BlockFrequency Freq(Frequency); in operator /() 42 BlockFrequency &BlockFrequency::operator+=(BlockFrequency Freq) { in operator +=() 53 BlockFrequency BlockFrequency::operator+(BlockFrequency Freq) const { in operator +() 54 BlockFrequency NewFreq(Frequency); in operator +() 59 BlockFrequency &BlockFrequency::operator-=(BlockFrequency Freq) { in operator -=() [all …]
|
D | Android.mk | 13 BlockFrequency.cpp \
|
D | CMakeLists.txt | 38 BlockFrequency.cpp
|
/external/llvm/include/llvm/Support/ |
D | BlockFrequency.h | 25 class BlockFrequency { 29 BlockFrequency(uint64_t Freq = 0) : Frequency(Freq) { } in Frequency() 40 BlockFrequency &operator*=(BranchProbability Prob); 41 BlockFrequency operator*(BranchProbability Prob) const; 45 BlockFrequency &operator/=(BranchProbability Prob); 46 BlockFrequency operator/(BranchProbability Prob) const; 49 BlockFrequency &operator+=(BlockFrequency Freq); 50 BlockFrequency operator+(BlockFrequency Freq) const; 53 BlockFrequency &operator-=(BlockFrequency Freq); 54 BlockFrequency operator-(BlockFrequency Freq) const; [all …]
|
/external/llvm/unittests/Support/ |
D | BlockFrequencyTest.cpp | 21 BlockFrequency Freq(1); in TEST() 26 Freq = BlockFrequency(1); in TEST() 32 BlockFrequency Freq(1); in TEST() 37 Freq = BlockFrequency(1); in TEST() 43 BlockFrequency Freq(3); in TEST() 48 Freq = BlockFrequency(3); in TEST() 54 BlockFrequency Freq(UINT64_MAX); in TEST() 59 Freq = BlockFrequency(UINT64_MAX); in TEST() 67 BlockFrequency Freq(Big); in TEST() 72 Freq = BlockFrequency(Big); in TEST() [all …]
|
/external/llvm/lib/CodeGen/ |
D | SpillPlacement.cpp | 74 BlockFrequency BiasN; 76 BlockFrequency BiasP; 83 typedef SmallVector<std::pair<BlockFrequency, unsigned>, 4> LinkVector; 90 BlockFrequency SumLinkWeights; 108 void clear(const BlockFrequency &Threshold) { in clear() 115 void addLink(unsigned b, BlockFrequency w) { in addLink() 130 void addBias(BlockFrequency freq, BorderConstraint direction) { in addBias() 141 BiasN = BlockFrequency::getMaxFrequency(); in addBias() 148 bool update(const Node nodes[], const BlockFrequency &Threshold) { in update() 150 BlockFrequency SumN = BiasN; in update() [all …]
|
D | SpillPlacement.h | 63 SmallVector<BlockFrequency, 8> BlockFrequencies; 67 BlockFrequency Threshold; 149 BlockFrequency getBlockFrequency(unsigned Number) const { in getBlockFrequency() 159 void setThreshold(const BlockFrequency &Entry);
|
D | MachineBlockPlacement.cpp | 471 BlockFrequency CandidateEdgeFreq = in selectBestSuccessor() 478 BlockFrequency PredEdgeFreq = in selectBestSuccessor() 528 BlockFrequency BestFreq; in selectBestCandidateBlock() 537 BlockFrequency CandidateFreq = MBFI->getBlockFreq(MBB); in selectBestCandidateBlock() 650 BlockFrequency BestPredFreq; in findBestLoopTop() 661 BlockFrequency PredFreq = MBFI->getBlockFreq(Pred); in findBestLoopTop() 704 BlockFrequency BestExitEdgeFreq; in findBestLoopExit() 726 BlockFrequency OldBestExitEdgeFreq = BestExitEdgeFreq; in findBestLoopExit() 756 BlockFrequency ExitEdgeFreq = MBFI->getBlockFreq(MBB) * SuccProb; in findBestLoopExit() 860 BlockFrequency SmallestRotationCost = BlockFrequency::getMaxFrequency(); in rotateLoopWithProfile() [all …]
|
D | BranchFolding.h | 106 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const; 107 void setBlockFreq(const MachineBasicBlock *MBB, BlockFrequency F); 111 DenseMap<const MachineBasicBlock *, BlockFrequency> MergedBBFreq;
|
D | RegAllocGreedy.cpp | 306 BlockFrequency CSRCost; 347 BlockFrequency calcSpillCost(); 348 bool addSplitConstraints(InterferenceCache::Cursor, BlockFrequency&); 351 BlockFrequency calcGlobalSplitCost(GlobalSplitCandidate&); 373 BlockFrequency &BestCost, 404 BlockFrequency Freq; 410 HintInfo(BlockFrequency Freq, unsigned Reg, unsigned PhysReg) in HintInfo() 414 BlockFrequency getBrokenHintFreq(const HintsInfo &, unsigned); 933 BlockFrequency &Cost) { in addSplitConstraints() 938 BlockFrequency StaticCost = 0; in addSplitConstraints() [all …]
|
D | MachineBlockFrequencyInfo.cpp | 170 BlockFrequency MachineBlockFrequencyInfo:: 181 const BlockFrequency Freq) const { in printBlockFreq()
|
D | BranchFolding.cpp | 525 BlockFrequency 536 BlockFrequency F) { in setBlockFreq() 1074 SmallVector<BlockFrequency, 2> EdgeFreqLs(TailMBB.succ_size()); in setCommonTailEdgeWeights() 1075 BlockFrequency AccumulatedMBBFreq; in setCommonTailEdgeWeights() 1082 BlockFrequency BlockFreq = MBBFreqInfo.getBlockFreq(SrcMBB); in setCommonTailEdgeWeights() 1103 std::accumulate(EdgeFreqLs.begin(), EdgeFreqLs.end(), BlockFrequency(0)) in setCommonTailEdgeWeights()
|
D | LiveIntervalAnalysis.cpp | 844 BlockFrequency Freq = MBFI->getBlockFreq(MI->getParent()); in getSpillWeight()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineBlockFrequencyInfo.h | 51 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const; 58 raw_ostream &printBlockFreq(raw_ostream &OS, const BlockFrequency Freq) const;
|
D | LiveIntervalAnalysis.h | 41 class BlockFrequency; variable
|
/external/llvm/include/llvm/Analysis/ |
D | BlockFrequencyInfo.h | 46 BlockFrequency getBlockFreq(const BasicBlock *BB) const; 57 raw_ostream &printBlockFreq(raw_ostream &OS, const BlockFrequency Freq) const;
|
D | BlockFrequencyInfoImpl.h | 478 BlockFrequency getBlockFreq(const BlockNode &Node) const; 484 const BlockFrequency &Freq) const; 915 BlockFrequency getBlockFreq(const BlockT *BB) const {
|
/external/llvm/lib/Analysis/ |
D | BlockFrequencyInfo.cpp | 128 BlockFrequency BlockFrequencyInfo::getBlockFreq(const BasicBlock *BB) const { in getBlockFreq() 155 printBlockFreq(raw_ostream &OS, const BlockFrequency Freq) const { in printBlockFreq()
|
D | BlockFrequencyInfoImpl.cpp | 520 BlockFrequency 557 const BlockFrequency &Freq) const { in printBlockFreq()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 180 BlockFrequency ColdEntryFreq; 454 ColdEntryFreq = BlockFrequency(BFI.getEntryFreq()) * ColdProb; in runOnLoop() 527 BlockFrequency LoopEntryFreq = BFI.getBlockFreq(loopHeader); in processCurrentLoop()
|
D | JumpThreading.cpp | 1604 BlockFrequency PredBBFreq(0); in SplitBlockPreds()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 1616 BlockFrequency ColdEntryFreq; 1634 ColdEntryFreq = BlockFrequency(BFI->getEntryFreq()) * ColdProb; in runOnFunction() 1782 BlockFrequency LoopEntryFreq = BFI->getBlockFreq(L->getLoopPreheader()); in processLoop()
|