Home
last modified time | relevance | path

Searched refs:BlockFrequency (Results 1 – 21 of 21) sorted by relevance

/external/llvm/lib/Support/
DBlockFrequency.cpp21 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 …]
DAndroid.mk13 BlockFrequency.cpp \
DCMakeLists.txt37 BlockFrequency.cpp
/external/llvm/include/llvm/Support/
DBlockFrequency.h25 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/
DBlockFrequencyTest.cpp21 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/
DSpillPlacement.cpp75 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 …]
DSpillPlacement.h63 SmallVector<BlockFrequency, 8> BlockFrequencies;
67 BlockFrequency Threshold;
149 BlockFrequency getBlockFrequency(unsigned Number) const { in getBlockFrequency()
159 void setThreshold(const BlockFrequency &Entry);
DMachineBlockPlacement.cpp418 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 …]
DBranchFolding.h105 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
106 void setBlockFreq(const MachineBasicBlock *MBB, BlockFrequency F);
110 DenseMap<const MachineBasicBlock *, BlockFrequency> MergedBBFreq;
DRegAllocGreedy.cpp293 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 …]
DMachineBlockFrequencyInfo.cpp170 BlockFrequency MachineBlockFrequencyInfo::
181 const BlockFrequency Freq) const { in printBlockFreq()
DBranchFolding.cpp515 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()
DLiveIntervalAnalysis.cpp814 BlockFrequency Freq = MBFI->getBlockFreq(MI->getParent()); in getSpillWeight()
/external/llvm/include/llvm/CodeGen/
DMachineBlockFrequencyInfo.h51 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
58 raw_ostream &printBlockFreq(raw_ostream &OS, const BlockFrequency Freq) const;
DLiveIntervalAnalysis.h41 class BlockFrequency; variable
/external/llvm/include/llvm/Analysis/
DBlockFrequencyInfo.h52 BlockFrequency getBlockFreq(const BasicBlock *BB) const;
56 raw_ostream &printBlockFreq(raw_ostream &OS, const BlockFrequency Freq) const;
DBlockFrequencyInfoImpl.h457 BlockFrequency getBlockFreq(const BlockNode &Node) const;
461 const BlockFrequency &Freq) const;
886 BlockFrequency getBlockFreq(const BlockT *BB) const {
/external/llvm/lib/Analysis/
DBlockFrequencyInfo.cpp149 BlockFrequency BlockFrequencyInfo::getBlockFreq(const BasicBlock *BB) const { in getBlockFreq()
170 printBlockFreq(raw_ostream &OS, const BlockFrequency Freq) const { in printBlockFreq()
DBlockFrequencyInfoImpl.cpp517 BlockFrequency
547 const BlockFrequency &Freq) const { in printBlockFreq()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1274 BlockFrequency ColdEntryFreq;
1291 ColdEntryFreq = BlockFrequency(BFI->getEntryFreq()) * ColdProb; in runOnFunction()
1446 BlockFrequency LoopEntryFreq = BFI->getBlockFreq(L->getLoopPreheader()); in processLoop()
/external/llvm/patches/
D0004-Add-Android-makefiles-for-LLVM.patch1381 + BlockFrequency.cpp \