Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp1157 LVI->getPredicateAt(CondCmp->getPredicate(), CondCmp->getOperand(0), in processBlock()
1169 if (CondCmp->use_empty()) in processBlock()
1170 CondCmp->eraseFromParent(); in processBlock()
1178 else if (CondCmp->getParent() == BB) { in processBlock()
1180 ConstantInt::getTrue(CondCmp->getType()) : in processBlock()
1182 replaceFoldableUses(CondCmp, CI); in processBlock()
1193 if (tryToUnfoldSelect(CondCmp, BB)) in processBlock()
1213 if (isa<Constant>(CondCmp->getOperand(1))) in processBlock()
1214 SimplifyValue = CondCmp->getOperand(0); in processBlock()
1610 if (CmpInst *CondCmp = dyn_cast<CmpInst>(V)) { in evaluateOnPredecessorEdge() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DJumpThreading.h162 bool tryToUnfoldSelect(CmpInst *CondCmp, BasicBlock *BB);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp1200 } else if (auto *CondCmp = dyn_cast<CmpInst>(I)) { in simplifyTerminatorLeadingToRet() local
1202 if (BR && BR->isConditional() && CondCmp == BR->getCondition()) { in simplifyTerminatorLeadingToRet()
1206 ConstantInt *CondConst = dyn_cast<ConstantInt>(CondCmp->getOperand(1)); in simplifyTerminatorLeadingToRet()
1207 if (CondConst && CondCmp->getPredicate() == CmpInst::ICMP_EQ) { in simplifyTerminatorLeadingToRet()
1208 Value *V = CondCmp->getOperand(0); in simplifyTerminatorLeadingToRet()