Lines Matching refs:BasicBlock
57 BranchProbability getEdgeProbability(const BasicBlock *Src,
63 BranchProbability getEdgeProbability(const BasicBlock *Src,
64 const BasicBlock *Dst) const;
70 bool isEdgeHot(const BasicBlock *Src, const BasicBlock *Dst) const;
76 BasicBlock *getHotSucc(BasicBlock *BB) const;
83 raw_ostream &printEdgeProbability(raw_ostream &OS, const BasicBlock *Src,
84 const BasicBlock *Dst) const;
92 uint32_t getEdgeWeight(const BasicBlock *Src,
99 uint32_t getEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst) const;
107 void setEdgeWeight(const BasicBlock *Src, unsigned IndexInSuccessors,
113 typedef std::pair<const BasicBlock *, unsigned> Edge;
132 SmallPtrSet<BasicBlock *, 16> PostDominatedByUnreachable;
135 SmallPtrSet<BasicBlock *, 16> PostDominatedByColdCall;
138 uint32_t getSumForBlock(const BasicBlock *BB) const;
140 bool calcUnreachableHeuristics(BasicBlock *BB);
141 bool calcMetadataWeights(BasicBlock *BB);
142 bool calcColdCallHeuristics(BasicBlock *BB);
143 bool calcPointerHeuristics(BasicBlock *BB);
144 bool calcLoopBranchHeuristics(BasicBlock *BB);
145 bool calcZeroHeuristics(BasicBlock *BB);
146 bool calcFloatingPointHeuristics(BasicBlock *BB);
147 bool calcInvokeHeuristics(BasicBlock *BB);