Lines Matching refs:CurFn
319 const auto &CurFn = *WorkList.pop_back_val(); in addAllDependencies() local
320 assert(!CurFn.isDeclaration()); in addAllDependencies()
326 for (auto &CGEntry : *CG[&CurFn]) { in addAllDependencies()
341 SML << "Indirect call detected in " << getName(CurFn) in addAllDependencies()
520 for (auto &CurFn : WorkList) { in doPartitioning() local
524 if (CurFn.HasIndirectCall) { in doPartitioning()
525 SML << "Function with indirect call(s): " << getName(*CurFn.Fn) in doPartitioning()
527 AssignToPartition(0, CurFn); in doPartitioning()
535 if (CurFn.HasNonDuplicatableDependecy) { in doPartitioning()
537 << getName(*CurFn.Fn) << " defaulting to P0\n"; in doPartitioning()
538 AssignToPartition(0, CurFn); in doPartitioning()
543 if (CurFn.isLarge(LargeFnThreshold)) { in doPartitioning()
545 SML << "Large Function: " << getName(*CurFn.Fn) in doPartitioning()
551 float Overlap = calculateOverlap(CurFn.Dependencies, Fns); in doPartitioning()
556 AssignToPartition(PID, CurFn); in doPartitioning()
567 AssignToPartition(PID, CurFn); in doPartitioning()