Searched refs:VisitedInsts (Results 1 – 2 of 2) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | IVDescriptors.cpp | 232 SmallPtrSet<Instruction *, 8> VisitedInsts; in AddReductionVar() local 247 Start = lookThroughAnd(Phi, RecurrenceType, VisitedInsts, CastInsts); in AddReductionVar() 251 VisitedInsts.insert(Start); in AddReductionVar() 292 !VisitedInsts.count(dyn_cast<Instruction>(Cur->getOperand(0)))) in AddReductionVar() 312 hasMultipleUsesOf(Cur, VisitedInsts, 2)) in AddReductionVar() 317 Kind != RK_FloatMinMax && hasMultipleUsesOf(Cur, VisitedInsts, 1)) in AddReductionVar() 321 if (IsAPhi && Cur != Phi && !areAllUsesIn(Cur, VisitedInsts)) in AddReductionVar() 370 if (VisitedInsts.insert(UI).second) { in AddReductionVar()
|
D | BranchProbabilityInfo.cpp | 547 SmallPtrSet<PHINode*, 8> VisitedInsts; in computeUnlikelySuccessors() local 550 VisitedInsts.insert(CmpPHI); in computeUnlikelySuccessors() 562 if (VisitedInsts.insert(PN).second) in computeUnlikelySuccessors()
|