Lines Matching refs:GVN
184 Optional<unsigned> GVN = Candidate->getGVN(V); in findCorrespondingValueIn() local
185 assert(GVN && "No GVN for incoming value"); in findCorrespondingValueIn()
186 Optional<unsigned> CanonNum = Candidate->getCanonicalNum(*GVN); in findCorrespondingValueIn()
458 constantMatches(Value *V, unsigned GVN, in constantMatches() argument
472 GVNToConstant.insert(std::make_pair(GVN, CST)); in constantMatches()
558 unsigned GVN = GVNOpt.value(); in collectRegionsConstants() local
561 if (NotSame.contains(GVN)) { in collectRegionsConstants()
571 Optional<bool> ConstantMatches = constantMatches(V, GVN, GVNToConstant); in collectRegionsConstants()
582 if (GVNToConstant.find(GVN) != GVNToConstant.end()) in collectRegionsConstants()
585 NotSame.insert(GVN); in collectRegionsConstants()
780 unsigned GVN = *C.getGVN(V); in findConstants() local
782 if (NotSame.contains(GVN) && !Seen.contains(GVN)) { in findConstants()
783 Inputs.push_back(GVN); in findConstants()
784 Seen.insert(GVN); in findConstants()
1196 unsigned GVN = *OGVN; in getGVNForPHINode() local
1197 OGVN = Cand.getCanonicalNum(GVN); in getGVNForPHINode()
1225 GVN = *OGVN; in getGVNForPHINode()
1226 OGVN = Cand.getCanonicalNum(GVN); in getGVNForPHINode()
1356 Optional<unsigned> GVN; in findExtractedOutputToOverallOutputMapping() local
1367 GVN = getGVNForPHINode(Region, PN, BlocksInRegion, AggArgIdx); in findExtractedOutputToOverallOutputMapping()
1368 if (!GVN) in findExtractedOutputToOverallOutputMapping()
1374 GVN = C.getGVN(Output); in findExtractedOutputToOverallOutputMapping()
1375 GVN = C.getCanonicalNum(*GVN); in findExtractedOutputToOverallOutputMapping()
1381 Region.GVNStores.push_back(*GVN); in findExtractedOutputToOverallOutputMapping()
1649 Optional<unsigned> GVN = Region.Candidate->getGVN(IVal); in findCanonNumsForPHI() local
1650 assert(GVN && "No GVN for incoming value"); in findCanonNumsForPHI()
1651 Optional<unsigned> CanonNum = Region.Candidate->getCanonicalNum(*GVN); in findCanonNumsForPHI()