Lines Matching refs:Candidate

188   std::optional<unsigned> GVN = Candidate->getGVN(V);  in findCorrespondingValueIn()
190 std::optional<unsigned> CanonNum = Candidate->getCanonicalNum(*GVN); in findCorrespondingValueIn()
192 Other.Candidate->fromCanonicalNum(*CanonNum); in findCorrespondingValueIn()
193 std::optional<Value *> FoundValueOpt = Other.Candidate->fromGVN(*FirstGVN); in findCorrespondingValueIn()
251 Instruction *BackInst = Candidate->backInstruction(); in splitCandidate()
261 EndInst = Candidate->end()->Inst; in splitCandidate()
273 Instruction *StartInst = (*Candidate->begin()).Inst; in splitCandidate()
279 Candidate->getBasicBlocks(BBSet); in splitCandidate()
367 Candidate->getBasicBlocks(BBSet); in splitCandidate()
407 Instruction *StartInst = (*Candidate->begin()).Inst; in reattachCandidate()
421 Candidate->getBasicBlocks(BBSet); in reattachCandidate()
501 for (IRInstructionData &ID : *Candidate) { in getBenefit()
554 IRSimilarityCandidate &C = *Region.Candidate; in collectRegionsConstants()
866 IRSimilarityCandidate &C = *Region.Candidate; in getCodeExtractorArguments()
937 IRSimilarityCandidate &C = *Region.Candidate; in findExtractedInputToOverallInputMapping()
1178 IRSimilarityCandidate &Cand = *Region.Candidate; in getGVNForPHINode()
1278 IRSimilarityCandidate &C = *Region.Candidate; in findExtractedOutputToOverallOutputMapping()
1656 std::optional<unsigned> GVN = Region.Candidate->getGVN(IVal); in findCanonNumsForPHI()
1658 std::optional<unsigned> CanonNum = Region.Candidate->getCanonicalNum(*GVN); in findCanonNumsForPHI()
1877 Region.Candidate->getGVN(ValueOperand).has_value()) { in replaceArgumentUses()
1889 if (Region.Candidate->getGVN(PN)) in replaceArgumentUses()
2362 IRSimilarityCandidate *IRSC = Region.Candidate; in isCompatibleWithAlreadyOutlinedCode()
2374 if (!Region.Candidate->backInstruction()->isTerminator()) { in isCompatibleWithAlreadyOutlinedCode()
2376 Region.Candidate->backInstruction()->getNextNonDebugInstruction(); in isCompatibleWithAlreadyOutlinedCode()
2378 if (Region.Candidate->end()->Inst != NewEndInst) { in isCompatibleWithAlreadyOutlinedCode()
2379 IRInstructionDataList *IDL = Region.Candidate->front()->IDL; in isCompatibleWithAlreadyOutlinedCode()
2386 IDL->insert(Region.Candidate->end(), *NewEndIRID); in isCompatibleWithAlreadyOutlinedCode()
2518 Region.Candidate->fromCanonicalNum(OutputCanon); in findOutputValueInRegion()
2520 std::optional<Value *> OV = Region.Candidate->fromGVN(*OGVN); in findOutputValueInRegion()
2563 IRSimilarityCandidate &Candidate = *CurrentGroup.Regions[0]->Candidate; in findCostForOutputBlocks() local
2565 Candidate.getBasicBlocks(CandidateBlocks); in findCostForOutputBlocks()
2570 for (IRInstructionData &ID : Candidate) { in findCostForOutputBlocks()
2643 getTTI(*CurrentGroup.Regions[0]->Candidate->getFunction()); in findCostBenefit()
2751 IRInstructionDataList *IDL = Region.Candidate->front()->IDL; in extractSection()
2761 IDL->insert(Region.Candidate->begin(), *Region.NewFront); in extractSection()
2764 IDL->insert(Region.Candidate->end(), *Region.NewBack); in extractSection()
2766 IDL->erase(Region.Candidate->begin(), std::prev(Region.Candidate->end())); in extractSection()
2849 OS->Candidate->getBasicBlocks(BlocksInRegion, BE); in doOutline()
2876 getORE(*CurrentGroup.Regions[0]->Candidate->getFunction()); in doOutline()
2878 IRSimilarityCandidate *C = CurrentGroup.Regions[0]->Candidate; in doOutline()
2892 Region->Candidate->frontInstruction()->getDebugLoc()); in doOutline()
2960 OS->Candidate->getBasicBlocks(BlocksInRegion, BE); in doOutline()
2966 unsigned StartIdx = OS->Candidate->getStartIdx(); in doOutline()
2967 unsigned EndIdx = OS->Candidate->getEndIdx(); in doOutline()
2987 IRSimilarityCandidate *C = CurrentGroup.Regions[0]->Candidate; in doOutline()
2997 Region->Candidate->frontInstruction()->getDebugLoc()); in doOutline()