Home
last modified time | relevance | path

Searched refs:LatchExitingBranch (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanConstruction.cpp724 auto *LatchExitingBranch = cast<VPInstruction>(LatchVPBB->getTerminator()); in handleMaxMinNumReductions() local
725 assert(LatchExitingBranch->getOpcode() == VPInstruction::BranchOnCount && in handleMaxMinNumReductions()
728 Builder.createICmp(CmpInst::ICMP_EQ, LatchExitingBranch->getOperand(0), in handleMaxMinNumReductions()
729 LatchExitingBranch->getOperand(1)); in handleMaxMinNumReductions()
736 LatchExitingBranch->eraseFromParent(); in handleMaxMinNumReductions()
H A DVPlanTransforms.cpp2844 auto *LatchExitingBranch = cast<VPInstruction>(LatchVPBB->getTerminator()); in handleUncountableEarlyExit() local
2845 assert(LatchExitingBranch->getOpcode() == VPInstruction::BranchOnCount && in handleUncountableEarlyExit()
2848 Builder.createICmp(CmpInst::ICMP_EQ, LatchExitingBranch->getOperand(0), in handleUncountableEarlyExit()
2849 LatchExitingBranch->getOperand(1)); in handleUncountableEarlyExit()
2853 LatchExitingBranch->eraseFromParent(); in handleUncountableEarlyExit()