@@ -47,12 +47,6 @@ struct BBPosition {
4747 unsigned CallsiteIndex;
4848};
4949
50- struct PrefetchHint {
51- BBPosition SitePosition;
52- StringRef TargetFunctionName;
53- BBPosition TargetPosition;
54- };
55-
5650// This represents the raw input profile for one function.
5751struct FunctionPathAndClusterInfo {
5852 // BB Cluster information specified by `UniqueBBID`s.
@@ -61,7 +55,6 @@ struct FunctionPathAndClusterInfo {
6155 // the edge a -> b (a is not cloned). The index of the path in this vector
6256 // determines the `UniqueBBID::CloneID` of the cloned blocks in that path.
6357 SmallVector<SmallVector<unsigned >> ClonePaths;
64- SmallVector<PrefetchHint> PrefetchHints;
6558 SmallVector<BBPosition> PrefetchTargets;
6659 // Node counts for each basic block.
6760 DenseMap<UniqueBBID, uint64_t > NodeCounts;
@@ -99,9 +92,6 @@ class BasicBlockSectionsProfileReader {
9992 uint64_t getEdgeCount (StringRef FuncName, const UniqueBBID &SrcBBID,
10093 const UniqueBBID &SinkBBID) const ;
10194
102- SmallVector<PrefetchHint>
103- getPrefetchHintsForFunction (StringRef FuncName) const ;
104-
10595 SmallVector<BBPosition>
10696 getPrefetchTargetsForFunction (StringRef FuncName) const ;
10797
@@ -213,8 +203,6 @@ class BasicBlockSectionsProfileReaderWrapperPass : public ImmutablePass {
213203
214204 uint64_t getEdgeCount (StringRef FuncName, const UniqueBBID &SrcBBID,
215205 const UniqueBBID &DestBBID) const ;
216- SmallVector<PrefetchHint>
217- getPrefetchHintsForFunction (StringRef FuncName) const ;
218206
219207 SmallVector<BBPosition>
220208 getPrefetchTargetsForFunction (StringRef FuncName) const ;
0 commit comments