@@ -834,7 +834,7 @@ struct BBAddrMap {
834834 bool OmitBBEntries : 1 ;
835835 bool CallsiteEndOffsets : 1 ;
836836 bool BBHash : 1 ;
837- bool PropellerCfg : 1 ;
837+ bool PostLinkCfg : 1 ;
838838
839839 bool hasPGOAnalysis () const { return FuncEntryCount || BBFreq || BrProb; }
840840
@@ -849,7 +849,7 @@ struct BBAddrMap {
849849 (static_cast <uint8_t >(OmitBBEntries) << 4 ) |
850850 (static_cast <uint8_t >(CallsiteEndOffsets) << 5 ) |
851851 (static_cast <uint8_t >(BBHash) << 6 ) |
852- (static_cast <uint8_t >(PropellerCfg ) << 7 );
852+ (static_cast <uint8_t >(PostLinkCfg ) << 7 );
853853 }
854854
855855 // Decodes from minimum bit width representation and validates no
@@ -870,11 +870,11 @@ struct BBAddrMap {
870870 bool operator ==(const Features &Other) const {
871871 return std::tie (FuncEntryCount, BBFreq, BrProb, MultiBBRange,
872872 OmitBBEntries, CallsiteEndOffsets, BBHash,
873- PropellerCfg ) ==
873+ PostLinkCfg ) ==
874874 std::tie (Other.FuncEntryCount , Other.BBFreq , Other.BrProb ,
875875 Other.MultiBBRange , Other.OmitBBEntries ,
876876 Other.CallsiteEndOffsets , Other.BBHash ,
877- Other.PropellerCfg );
877+ Other.PostLinkCfg );
878878 }
879879 };
880880
@@ -1017,25 +1017,25 @@ struct PGOAnalysisMap {
10171017 uint32_t ID;
10181018 // / Branch Probability of the edge to this successor taken from MBPI.
10191019 BranchProbability Prob;
1020- // / Raw edge count from Propeller .
1021- uint32_t PropellerFreq ;
1020+ // / Raw edge count from the post link profile .
1021+ uint64_t PostLinkFreq ;
10221022
10231023 bool operator ==(const SuccessorEntry &Other) const {
1024- return std::tie (ID, Prob, PropellerFreq ) ==
1025- std::tie (Other.ID , Other.Prob , Other.PropellerFreq );
1024+ return std::tie (ID, Prob, PostLinkFreq ) ==
1025+ std::tie (Other.ID , Other.Prob , Other.PostLinkFreq );
10261026 }
10271027 };
10281028
10291029 // / Block frequency taken from MBFI
10301030 BlockFrequency BlockFreq;
1031- // / Raw block count taken from Propeller.
1032- uint32_t PropellerBlockFreq = 0 ;
1031+ // / Raw block count taken from the post linke profile
1032+ uint64_t PostLinkBlockFreq = 0 ;
10331033 // / List of successors of the current block
10341034 llvm::SmallVector<SuccessorEntry, 2 > Successors;
10351035
10361036 bool operator ==(const PGOBBEntry &Other) const {
1037- return std::tie (BlockFreq, PropellerBlockFreq , Successors) ==
1038- std::tie (Other.BlockFreq , PropellerBlockFreq , Other.Successors );
1037+ return std::tie (BlockFreq, PostLinkBlockFreq , Successors) ==
1038+ std::tie (Other.BlockFreq , PostLinkBlockFreq , Other.Successors );
10391039 }
10401040 };
10411041
0 commit comments