Home
last modified time | relevance | path

Searched refs:VisitedInsts (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp202 SmallPtrSet<Instruction *, 8> VisitedInsts; in AddReductionVar() local
217 Start = lookThroughAnd(Phi, RecurrenceType, VisitedInsts, CastInsts); in AddReductionVar()
221 VisitedInsts.insert(Start); in AddReductionVar()
257 !VisitedInsts.count(dyn_cast<Instruction>(Cur->getOperand(0)))) in AddReductionVar()
271 hasMultipleUsesOf(Cur, VisitedInsts)) in AddReductionVar()
275 if (IsAPhi && Cur != Phi && !areAllUsesIn(Cur, VisitedInsts)) in AddReductionVar()
319 if (VisitedInsts.insert(UI).second) { in AddReductionVar()
352 IsSigned, VisitedInsts, CastInsts)) in AddReductionVar()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DIVDescriptors.cpp232 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()
DBranchProbabilityInfo.cpp547 SmallPtrSet<PHINode*, 8> VisitedInsts; in computeUnlikelySuccessors() local
550 VisitedInsts.insert(CmpPHI); in computeUnlikelySuccessors()
562 if (VisitedInsts.insert(PN).second) in computeUnlikelySuccessors()
/external/llvm-project/llvm/lib/Analysis/
DIVDescriptors.cpp232 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()
DBranchProbabilityInfo.cpp731 SmallPtrSet<PHINode*, 8> VisitedInsts; in computeUnlikelySuccessors() local
734 VisitedInsts.insert(CmpPHI); in computeUnlikelySuccessors()
746 if (VisitedInsts.insert(PN).second) in computeUnlikelySuccessors()