Lines Matching full:extracted

71 /// deduplication of extracted regions with the same structure.
77 /// replace the extracted function for each region.
609 // We are adding an extracted argument to decide between which output path in collectGVNStoreSets()
634 // All extracted functions _should_ have the same return type at this point in createFunction()
784 // extracted into arguments. in findConstants()
808 /// \param [out] EndInputNumbers - The global value numbers for the extracted
829 /// \param [in] ArgInputs - The inputs to be extracted by the code extractor.
833 /// \p OutputMappings that will be extracted.
838 // Get the global value number for each input that will be extracted as an in remapExtractedInputs()
848 /// Using the code extractor, we collect the inputs to the extracted function.
855 /// \param [out] InputGVNs - The global value numbers for the extracted
862 /// \param [out] ArgInputs - The values of the inputs to the extracted function.
863 /// \param [out] Outputs - The set of values extracted by the CodeExtractor
876 // may need to be remapped due to the extracted output values replacing in getCodeExtractorArguments()
879 // the correct set of extracted outputs will be in the final Outputs ValueSet. in getCodeExtractorArguments()
899 // Find if any values are going to be sunk into the function when extracted in getCodeExtractorArguments()
927 /// the arguments of the extracted function with the arguments of the new
933 /// \param [in] ArgInputs - The values of the arguments to the extracted
946 // This counts the argument number in the extracted function. in findExtractedInputToOverallInputMapping()
949 // Find the mapping of the extracted arguments to the arguments for the in findExtractedInputToOverallInputMapping()
951 // function to account for the extracted constants, we have two different in findExtractedInputToOverallInputMapping()
952 // counters as we find extracted arguments, and as we come across overall in findExtractedInputToOverallInputMapping()
955 // Additionally, in our first pass, for the first extracted function, in findExtractedInputToOverallInputMapping()
957 // numbering overrides any discovered location for the extracted code. in findExtractedInputToOverallInputMapping()
996 // It is not a constant, we create the mapping from extracted argument list in findExtractedInputToOverallInputMapping()
1304 // This counts the argument number in the extracted function. in findExtractedOutputToOverallOutputMapping()
1423 /// Replace the extracted function in the Region with a call to the overall
1425 /// remapping the values passed to the extracted function as arguments to the
1429 /// \param [in] Region - The regions of extracted code to be replaced with a new
1454 // we need to use our previously mappings off extracted argument to overall in replaceCalledFunction()
1474 // If we found the mapping from the extracted function to the overall in replaceCalledFunction()
1492 // Add a nullptr value if the argument is not found in the extracted in replaceCalledFunction()
1593 /// \param Region - The extracted Region corresponding to the outlined function.
1609 /// \param Region - The extracted Region corresponding to the outlined function.
1635 /// \param ReplacedWithOutlinedCall - A flag to use the extracted function call
1692 // We have to use the extracted function since we have merged this region into in findOrCreatePHIInBlock()
1793 // Within an extracted function, replace the argument uses of the extracted
1796 /// \param [in] Region - The region of extracted code to be changed.
1808 assert(Region.ExtractedFunction && "Region has no extracted function?"); in replaceArgumentUses()
1819 "No mapping from extracted to outlined?"); in replaceArgumentUses()
1933 /// Within an extracted function, replace the constants that need to be lifted
1936 /// \param Region [in] - The region of extracted code to be changed.
2068 /// \param [in] EndBBs - the final blocks of the extracted function.
2148 /// matches the needed stores for the extracted section.
2151 /// \param [in] EndBBs - The final blocks of the extracted function.
2234 /// the extracted regions of a certain structure from the first region in the
2235 /// list of regions. Replace this first region's extracted function with the
2242 /// \param [in,out] FuncsToRemove - Extracted functions to erase from module
2244 /// \param [in] OutputMappings - Extracted functions to erase from module
2253 // Move first extracted function's instructions into new function. in fillOverallFunction()
2264 // Create a new set of output blocks for the first extracted function. in fillOverallFunction()
2287 // Replace the call to the extracted function with the outlined function. in fillOverallFunction()
2290 // We only delete the extracted functions at the end since we may need to in fillOverallFunction()
2700 LLVM_DEBUG(dbgs() << "Mapping extracted output " << *LI << " to " in updateOutputMapping()
2705 LLVM_DEBUG(dbgs() << "Mapping extracted output " << *Orig << " to " in updateOutputMapping()
2795 // Sort them by size of extracted sections in doOutline()