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

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp1089 if (CmpInst *CondCmp = dyn_cast<CmpInst>(CondInst)) {
1095 Constant *CondConst = dyn_cast<Constant>(CondCmp->getOperand(1));
1103 LVI->getPredicateAt(CondCmp->getPredicate(), CondCmp->getOperand(0),
1114 if (CondCmp->use_empty())
1115 CondCmp->eraseFromParent();
1123 else if (CondCmp->getParent() == BB) {
1125 ConstantInt::getTrue(CondCmp->getType()) :
1126 ConstantInt::getFalse(CondCmp->getType());
1127 ReplaceFoldableUses(CondCmp, C
2711 TryToUnfoldSelect(CmpInst *CondCmp, BasicBlock *BB) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DJumpThreading.h159 bool TryToUnfoldSelect(CmpInst *CondCmp, BasicBlock *BB);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp958 } else if (auto *CondCmp = dyn_cast<CmpInst>(I)) {
960 if (BR && BR->isConditional() && CondCmp == BR->getCondition()) {
964 ConstantInt *CondConst = dyn_cast<ConstantInt>(CondCmp->getOperand(1));
965 if (CondConst && CondCmp->getPredicate() == CmpInst::ICMP_EQ) {
966 Value *V = CondCmp->getOperand(0);

Completed in 113 milliseconds