Searched refs:CondCmp (Results 1 – 3 of 3) sorted by relevance
807 if (CmpInst *CondCmp = dyn_cast<CmpInst>(CondInst)) { in ProcessBlock() local813 Constant *CondConst = dyn_cast<Constant>(CondCmp->getOperand(1)); in ProcessBlock()816 LVI->getPredicateAt(CondCmp->getPredicate(), CondCmp->getOperand(0), in ProcessBlock()824 if (CondCmp->use_empty()) in ProcessBlock()825 CondCmp->eraseFromParent(); in ProcessBlock()826 else if (CondCmp->getParent() == BB) { in ProcessBlock()830 ConstantInt::getTrue(CondCmp->getType()) : in ProcessBlock()831 ConstantInt::getFalse(CondCmp->getType()); in ProcessBlock()832 CondCmp->replaceAllUsesWith(CI); in ProcessBlock()833 CondCmp->eraseFromParent(); in ProcessBlock()[all …]
726 if (CmpInst *CondCmp = dyn_cast<CmpInst>(CondInst)) { in ProcessBlock() local731 Constant *CondConst = dyn_cast<Constant>(CondCmp->getOperand(1)); in ProcessBlock()734 (!isa<Instruction>(CondCmp->getOperand(0)) || in ProcessBlock()735 cast<Instruction>(CondCmp->getOperand(0))->getParent() != BB)) { in ProcessBlock()741 LVI->getPredicateOnEdge(CondCmp->getPredicate(), CondCmp->getOperand(0), in ProcessBlock()747 LVI->getPredicateOnEdge(CondCmp->getPredicate(), in ProcessBlock()748 CondCmp->getOperand(0), CondConst, *PI, BB); in ProcessBlock()771 if (CmpInst *CondCmp = dyn_cast<CmpInst>(SimplifyValue)) in ProcessBlock() local772 if (isa<Constant>(CondCmp->getOperand(1))) in ProcessBlock()773 SimplifyValue = CondCmp->getOperand(0); in ProcessBlock()
129 bool TryToUnfoldSelect(CmpInst *CondCmp, BasicBlock *BB);