Lines Matching refs:BT

81 template <typename BT> class SampleProfileLoaderBaseImpl {
87 using InstructionT = typename afdo_detail::IRTraits<BT>::InstructionT;
88 using BasicBlockT = typename afdo_detail::IRTraits<BT>::BasicBlockT;
90 typename afdo_detail::IRTraits<BT>::BlockFrequencyInfoT;
91 using FunctionT = typename afdo_detail::IRTraits<BT>::FunctionT;
92 using LoopT = typename afdo_detail::IRTraits<BT>::LoopT;
93 using LoopInfoPtrT = typename afdo_detail::IRTraits<BT>::LoopInfoPtrT;
95 typename afdo_detail::IRTraits<BT>::DominatorTreePtrT;
97 typename afdo_detail::IRTraits<BT>::PostDominatorTreePtrT;
99 typename afdo_detail::IRTraits<BT>::PostDominatorTreeT;
101 typename afdo_detail::IRTraits<BT>::OptRemarkEmitterT;
103 typename afdo_detail::IRTraits<BT>::OptRemarkAnalysisT;
104 using PredRangeT = typename afdo_detail::IRTraits<BT>::PredRangeT;
105 using SuccRangeT = typename afdo_detail::IRTraits<BT>::SuccRangeT;
120 return afdo_detail::IRTraits<BT>::getFunction(F);
123 return afdo_detail::IRTraits<BT>::getEntryBB(F);
126 return afdo_detail::IRTraits<BT>::getPredecessors(BB);
129 return afdo_detail::IRTraits<BT>::getSuccessors(BB);
227 template <typename BT>
228 void SampleProfileLoaderBaseImpl<BT>::clearFunctionData(bool ResetDT) {
249 template <typename BT>
250 void SampleProfileLoaderBaseImpl<BT>::printEdgeWeight(raw_ostream &OS, Edge E) {
259 template <typename BT>
260 void SampleProfileLoaderBaseImpl<BT>::printBlockEquivalence(
271 template <typename BT>
272 void SampleProfileLoaderBaseImpl<BT>::printBlockWeight(
291 template <typename BT>
293 SampleProfileLoaderBaseImpl<BT>::getInstWeight(const InstructionT &Inst) {
297 template <typename BT>
299 SampleProfileLoaderBaseImpl<BT>::getInstWeightImpl(const InstructionT &Inst) {
349 template <typename BT>
351 SampleProfileLoaderBaseImpl<BT>::getBlockWeight(const BasicBlockT *BB) {
370 template <typename BT>
371 bool SampleProfileLoaderBaseImpl<BT>::computeBlockWeights(FunctionT &F) {
396 template <typename BT>
397 const FunctionSamples *SampleProfileLoaderBaseImpl<BT>::findFunctionSamples(
433 template <typename BT>
434 void SampleProfileLoaderBaseImpl<BT>::findEquivalencesFor(
477 template <typename BT>
478 void SampleProfileLoaderBaseImpl<BT>::findEquivalenceClasses(FunctionT &F) {
538 template <typename BT>
539 uint64_t SampleProfileLoaderBaseImpl<BT>::visitEdge(Edge E,
564 template <typename BT>
565 bool SampleProfileLoaderBaseImpl<BT>::propagateThroughEdges(
714 template <typename BT>
715 void SampleProfileLoaderBaseImpl<BT>::buildEdges(FunctionT &F) {
754 template <typename BT>
755 void SampleProfileLoaderBaseImpl<BT>::propagateWeights(FunctionT &F) {
809 template <typename BT>
810 void SampleProfileLoaderBaseImpl<BT>::applyProfi(
813 auto Infer = SampleProfileInference<BT>(F, Successors, SampleBlockWeights);
863 template <typename BT>
864 bool SampleProfileLoaderBaseImpl<BT>::computeAndPropagateWeights(
885 template <typename BT>
886 void SampleProfileLoaderBaseImpl<BT>::initWeightPropagation(
913 template <typename BT>
914 void SampleProfileLoaderBaseImpl<BT>::finalizeWeightPropagation(
934 template <typename BT>
935 void SampleProfileLoaderBaseImpl<BT>::emitCoverageRemarks(FunctionT &F) {
976 template <typename BT>
977 unsigned SampleProfileLoaderBaseImpl<BT>::getFunctionLoc(FunctionT &F) {
994 template <typename BT>
995 void SampleProfileLoaderBaseImpl<BT>::computeDominanceAndLoopInfo(