Lines Matching defs:OutputMappings
521 /// Check the \p OutputMappings structure for value \p Input, if it exists
525 /// \param OutputMappings [in] - The mapping of values to their renamed value
530 static Value *findOutputMapping(const DenseMap<Value *, Value *> OutputMappings,
533 OutputMappings.find(Input);
534 if (OutputMapping != OutputMappings.end())
806 /// \param [in] OutputMappings - The mapping of values that have been replaced
812 const DenseMap<Value *, Value *> &OutputMappings,
819 if (OutputMappings.contains(Input))
820 Input = OutputMappings.find(Input)->second;
830 /// \param [in] OutputMappings - The mapping of values that have been replaced
833 /// \p OutputMappings that will be extracted.
836 const DenseMap<Value *, Value *> &OutputMappings,
841 if (OutputMappings.contains(Input))
842 Input = OutputMappings.find(Input)->second;
860 /// \param [in] OutputMappings - The mapping of values that have been replaced
867 DenseSet<unsigned> &NotSame, DenseMap<Value *, Value *> &OutputMappings,
915 mapInputsToGVNs(C, OverallInputs, OutputMappings, InputGVNs);
917 remapExtractedInputs(PremappedInputs.getArrayRef(), OutputMappings,
1408 getCodeExtractorArguments(Region, Inputs, NotSame, OutputMappings, ArgInputs,
1631 /// \param OutputMappings [in] - The mapping of output values from outlined
1639 const DenseMap<Value *, Value *> &OutputMappings,
1656 IVal = findOutputMapping(OutputMappings, IVal);
1675 /// \param OutputMappings [in] - The mapping of output values from outlined
1683 const DenseMap<Value *, Value *> &OutputMappings,
1696 findCanonNumsForPHI(&PN, Region, OutputMappings, PNCanonNums,
1715 findCanonNumsForPHI(&CurrPN, *FirstRegion, OutputMappings, CurrentCanonNums,
1781 IncomingVal = findOutputMapping(OutputMappings, IncomingVal);
1805 const DenseMap<Value *, Value *> &OutputMappings,
1916 OutputMappings, UsedPHIs);
2069 /// \param [in] OutputMappings - OutputMappings the mapping of values that have
2076 const DenseMap<Value *, Value *> &OutputMappings,
2244 /// \param [in] OutputMappings - Extracted functions to erase from module
2250 const DenseMap<Value *, Value *> &OutputMappings) {
2270 replaceArgumentUses(*CurrentOS, NewBBs, OutputMappings, true);
2305 OutputMappings);
2319 replaceArgumentUses(*CurrentOS, NewBBs, OutputMappings);
2321 CurrentGroup.EndBBs, OutputMappings,
2699 if (!OutputMappings.contains(Outputs[*OutputIdx])) {
2702 OutputMappings.insert(std::make_pair(LI, Outputs[*OutputIdx]));
2704 Value *Orig = OutputMappings.find(Outputs[*OutputIdx])->second;
2707 OutputMappings.insert(std::make_pair(LI, Orig));