/external/llvm/lib/Support/ |
D | BlockFrequency.cpp | 21 BlockFrequency &BlockFrequency::operator*=(const BranchProbability &Prob) { in operator *=() 26 const BlockFrequency 27 BlockFrequency::operator*(const BranchProbability &Prob) const { in operator *() 28 BlockFrequency Freq(Frequency); in operator *() 33 BlockFrequency &BlockFrequency::operator/=(const BranchProbability &Prob) { in operator /=() 38 BlockFrequency BlockFrequency::operator/(const BranchProbability &Prob) const { in operator /() 39 BlockFrequency Freq(Frequency); in operator /() 44 BlockFrequency &BlockFrequency::operator+=(const BlockFrequency &Freq) { in operator +=() 55 const BlockFrequency 56 BlockFrequency::operator+(const BlockFrequency &Prob) const { in operator +() [all …]
|
D | Android.mk | 13 BlockFrequency.cpp \
|
D | CMakeLists.txt | 37 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*=(const BranchProbability &Prob); 41 const BlockFrequency operator*(const BranchProbability &Prob) const; 45 BlockFrequency &operator/=(const BranchProbability &Prob); 46 BlockFrequency operator/(const BranchProbability &Prob) const; 49 BlockFrequency &operator+=(const BlockFrequency &Freq); 50 const BlockFrequency operator+(const BlockFrequency &Freq) const; 53 BlockFrequency &operator>>=(const unsigned count); 55 bool operator<(const BlockFrequency &RHS) 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 | 75 BlockFrequency BiasN; 77 BlockFrequency BiasP; 84 typedef SmallVector<std::pair<BlockFrequency, unsigned>, 4> LinkVector; 91 BlockFrequency SumLinkWeights; 109 void clear(const BlockFrequency &Threshold) { in clear() 116 void addLink(unsigned b, BlockFrequency w) { in addLink() 131 void addBias(BlockFrequency freq, BorderConstraint direction) { in addBias() 142 BiasN = BlockFrequency::getMaxFrequency(); in addBias() 149 bool update(const Node nodes[], const BlockFrequency &Threshold) { in update() 151 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 | 418 BlockFrequency CandidateEdgeFreq = in selectBestSuccessor() 425 BlockFrequency PredEdgeFreq = in selectBestSuccessor() 475 BlockFrequency BestFreq; in selectBestCandidateBlock() 484 BlockFrequency CandidateFreq = MBFI->getBlockFreq(MBB); in selectBestCandidateBlock() 597 BlockFrequency BestPredFreq; in findBestLoopTop() 608 BlockFrequency PredFreq = MBFI->getBlockFreq(Pred); in findBestLoopTop() 651 BlockFrequency BestExitEdgeFreq; in findBestLoopExit() 673 BlockFrequency OldBestExitEdgeFreq = BestExitEdgeFreq; in findBestLoopExit() 709 BlockFrequency ExitEdgeFreq = MBFI->getBlockFreq(MBB) * SuccProb; in findBestLoopExit() 1073 BlockFrequency EntryFreq = MBFI->getBlockFreq(F.begin()); in buildCFGChains() [all …]
|
D | BranchFolding.h | 105 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const; 106 void setBlockFreq(const MachineBasicBlock *MBB, BlockFrequency F); 110 DenseMap<const MachineBasicBlock *, BlockFrequency> MergedBBFreq;
|
D | RegAllocGreedy.cpp | 293 BlockFrequency CSRCost; 334 BlockFrequency calcSpillCost(); 335 bool addSplitConstraints(InterferenceCache::Cursor, BlockFrequency&); 338 BlockFrequency calcGlobalSplitCost(GlobalSplitCandidate&); 360 BlockFrequency &BestCost, 391 BlockFrequency Freq; 397 HintInfo(BlockFrequency Freq, unsigned Reg, unsigned PhysReg) in HintInfo() 401 BlockFrequency getBrokenHintFreq(const HintsInfo &, unsigned); 901 BlockFrequency &Cost) { in addSplitConstraints() 906 BlockFrequency StaticCost = 0; in addSplitConstraints() [all …]
|
D | MachineBlockFrequencyInfo.cpp | 170 BlockFrequency MachineBlockFrequencyInfo:: 181 const BlockFrequency Freq) const { in printBlockFreq()
|
D | BranchFolding.cpp | 515 BlockFrequency 526 BlockFrequency F) { in setBlockFreq() 1056 SmallVector<BlockFrequency, 2> EdgeFreqLs(TailMBB.succ_size()); in setCommonTailEdgeWeights() 1057 BlockFrequency AccumulatedMBBFreq; in setCommonTailEdgeWeights() 1064 BlockFrequency BlockFreq = MBBFreqInfo.getBlockFreq(SrcMBB); in setCommonTailEdgeWeights()
|
D | LiveIntervalAnalysis.cpp | 814 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 | 52 BlockFrequency getBlockFreq(const BasicBlock *BB) const; 56 raw_ostream &printBlockFreq(raw_ostream &OS, const BlockFrequency Freq) const;
|
D | BlockFrequencyInfoImpl.h | 457 BlockFrequency getBlockFreq(const BlockNode &Node) const; 461 const BlockFrequency &Freq) const; 886 BlockFrequency getBlockFreq(const BlockT *BB) const {
|
/external/llvm/lib/Analysis/ |
D | BlockFrequencyInfo.cpp | 149 BlockFrequency BlockFrequencyInfo::getBlockFreq(const BasicBlock *BB) const { in getBlockFreq() 170 printBlockFreq(raw_ostream &OS, const BlockFrequency Freq) const { in printBlockFreq()
|
D | BlockFrequencyInfoImpl.cpp | 517 BlockFrequency 547 const BlockFrequency &Freq) const { in printBlockFreq()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 1274 BlockFrequency ColdEntryFreq; 1291 ColdEntryFreq = BlockFrequency(BFI->getEntryFreq()) * ColdProb; in runOnFunction() 1446 BlockFrequency LoopEntryFreq = BFI->getBlockFreq(L->getLoopPreheader()); in processLoop()
|
/external/llvm/patches/ |
D | 0004-Add-Android-makefiles-for-LLVM.patch | 1381 + BlockFrequency.cpp \
|