Lines Matching refs:LoadedSlices
13573 static void adjustCostForPairing(SmallVectorImpl<LoadedSlice> &LoadedSlices, in adjustCostForPairing() argument
13575 unsigned NumberOfSlices = LoadedSlices.size(); in adjustCostForPairing()
13582 llvm::sort(LoadedSlices, [](const LoadedSlice &LHS, const LoadedSlice &RHS) { in adjustCostForPairing()
13586 const TargetLowering &TLI = LoadedSlices[0].DAG->getTargetLoweringInfo(); in adjustCostForPairing()
13594 Second = &LoadedSlices[CurrSlice]; in adjustCostForPairing()
13639 static bool isSlicingProfitable(SmallVectorImpl<LoadedSlice> &LoadedSlices, in isSlicingProfitable() argument
13641 unsigned NumberOfSlices = LoadedSlices.size(); in isSlicingProfitable()
13658 const LoadedSlice &LS = LoadedSlices[CurrSlice]; in isSlicingProfitable()
13669 adjustCostForPairing(LoadedSlices, GlobalSlicingCost); in isSlicingProfitable()
13692 SmallVector<LoadedSlice, 4> LoadedSlices; in SliceUpLoad() local
13741 LoadedSlices.push_back(LS); in SliceUpLoad()
13745 if (!isSlicingProfitable(LoadedSlices, UsedBits, ForCodeSize)) in SliceUpLoad()
13756 LSIt = LoadedSlices.begin(), in SliceUpLoad()
13757 LSItEnd = LoadedSlices.end(); in SliceUpLoad()