Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp165 bool TryToUnfoldSelect(CmpInst *CondCmp, BasicBlock *BB);
808 if (CmpInst *CondCmp = dyn_cast<CmpInst>(CondInst)) { in ProcessBlock() local
814 Constant *CondConst = dyn_cast<Constant>(CondCmp->getOperand(1)); in ProcessBlock()
817 LVI->getPredicateAt(CondCmp->getPredicate(), CondCmp->getOperand(0), in ProcessBlock()
825 if (CondCmp->use_empty()) in ProcessBlock()
826 CondCmp->eraseFromParent(); in ProcessBlock()
827 else if (CondCmp->getParent() == BB) { in ProcessBlock()
831 ConstantInt::getTrue(CondCmp->getType()) : in ProcessBlock()
832 ConstantInt::getFalse(CondCmp->getType()); in ProcessBlock()
833 CondCmp->replaceAllUsesWith(CI); in ProcessBlock()
[all …]