Lines Matching refs:FuncInfo
46 void StokeInfo::checkInstr(const BinaryFunction &BF, StokeFuncInfo &FuncInfo) { in checkInstr() argument
58 FuncInfo.Omitted = true; in checkInstr()
63 FuncInfo.HasCall = true; in checkInstr()
67 FuncInfo.Omitted = true; in checkInstr()
76 FuncInfo.StackOut = true; in checkInstr()
79 FuncInfo.HeapOut = true; in checkInstr()
82 FuncInfo.HasRipAddr = true; in checkInstr()
88 RegAnalysis &RA, StokeFuncInfo &FuncInfo) { in checkFunction() argument
96 FuncInfo.FuncName = Name; in checkFunction()
97 FuncInfo.Offset = BF.getFileOffset(); in checkFunction()
98 FuncInfo.Size = BF.getMaxSize(); in checkFunction()
99 FuncInfo.NumInstrs = BF.getNumNonPseudos(); in checkFunction()
100 FuncInfo.NumBlocks = BF.size(); in checkFunction()
102 if (FuncInfo.NumInstrs > 500) in checkFunction()
105 FuncInfo.IsLoopFree = BF.isLoopFree(); in checkFunction()
106 if (!FuncInfo.IsLoopFree) { in checkFunction()
108 FuncInfo.NumLoops = BLI.OuterLoops; in checkFunction()
109 FuncInfo.MaxLoopDepth = BLI.MaximumDepth; in checkFunction()
112 FuncInfo.HotSize = BF.estimateHotSize(); in checkFunction()
113 FuncInfo.TotalSize = BF.estimateSize(); in checkFunction()
114 FuncInfo.Score = BF.getFunctionScore(); in checkFunction()
116 checkInstr(BF, FuncInfo); in checkFunction()
130 getRegNameFromBitVec(BF.getBinaryContext(), LiveInBV, &FuncInfo.DefIn); in checkFunction()
135 getRegNameFromBitVec(BF.getBinaryContext(), LiveOutBV, &FuncInfo.LiveOut); in checkFunction()
172 StokeFuncInfo FuncInfo; in runOnFunctions() local
174 FuncInfo.printCsvHeader(Outfile); in runOnFunctions()
177 FuncInfo.reset(); in runOnFunctions()
178 if (checkFunction(BF.second, DInfo, RA, FuncInfo)) in runOnFunctions()
179 FuncInfo.printData(Outfile); in runOnFunctions()