Lines Matching full:shrink
91 #define DEBUG_TYPE "shrink-wrap"
94 STATISTIC(NumCandidates, "Number of shrink-wrapping candidates");
96 "Number of shrink-wrapping candidates dropped because of frequency");
99 EnableShrinkWrapOpt("enable-shrink-wrap", cl::Hidden,
100 cl::desc("enable the shrink-wrapping pass"));
102 "enable-shrink-wrap-region-split", cl::init(true), cl::Hidden,
110 /// shrink-wrapping term for prologue/epilogue placement, this pass
205 /// This function tries to split the restore point if doing so can shrink the
249 /// shrink-wrapping.
252 /// Check if shrink wrapping is enabled for this target and function.
277 StringRef getPassName() const override { return "Shrink Wrapping analysis"; } in getPassName()
279 /// Perform the shrink-wrapping analysis and update
290 INITIALIZE_PASS_BEGIN(ShrinkWrap, DEBUG_TYPE, "Shrink Wrap Pass", false, false)
296 INITIALIZE_PASS_END(ShrinkWrap, DEBUG_TYPE, "Shrink Wrap Pass", false, false) in INITIALIZE_PASS_DEPENDENCY()
659 // from clean blocks and doing so can shrink the save point. in postShrinkWrapping()
730 // Make sure Save and Restore are suitable for shrink-wrapping: in updateSaveRestorePoints()
836 LLVM_DEBUG(dbgs() << "EHPad/inlineasm_br prevents shrink-wrapping\n"); in performShrinkWrapping()
863 LLVM_DEBUG(dbgs() << "No Shrink wrap candidate found\n"); in performShrinkWrapping()
878 assert(!Save && !Restore && "We miss a shrink-wrap opportunity?!"); in performShrinkWrapping()
879 LLVM_DEBUG(dbgs() << "Nothing to shrink-wrap\n"); in performShrinkWrapping()
889 LLVM_DEBUG(dbgs() << "Shrink wrap candidates (#, Name, Freq):\nSave: " in performShrinkWrapping()
965 LLVM_DEBUG(dbgs() << "Final shrink wrap candidates:\nSave: " in runOnMachineFunction()
983 // to use shrink-wrapping. in isShrinkWrapEnabled()
995 // something related to shrink-wrapping. in isShrinkWrapEnabled()
1001 llvm_unreachable("Invalid shrink-wrapping state"); in isShrinkWrapEnabled()