Searched refs:CondCmp (Results 1 – 2 of 2) sorted by relevance
1096 if (CmpInst *CondCmp = dyn_cast<CmpInst>(CondInst)) { in ProcessBlock() local1102 Constant *CondConst = dyn_cast<Constant>(CondCmp->getOperand(1)); in ProcessBlock()1114 LVI->getPredicateAt(CondCmp->getPredicate(), CondCmp->getOperand(0), in ProcessBlock()1125 if (CondCmp->use_empty()) in ProcessBlock()1126 CondCmp->eraseFromParent(); in ProcessBlock()1134 else if (CondCmp->getParent() == BB) { in ProcessBlock()1136 ConstantInt::getTrue(CondCmp->getType()) : in ProcessBlock()1137 ConstantInt::getFalse(CondCmp->getType()); in ProcessBlock()1138 ReplaceFoldableUses(CondCmp, CI); in ProcessBlock()1147 if (TryToUnfoldSelect(CondCmp, BB)) in ProcessBlock()[all …]
154 bool TryToUnfoldSelect(CmpInst *CondCmp, BasicBlock *BB);