Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp1084 LVI->getPredicateAt(CondCmp->getPredicate(), CondCmp->getOperand(0), in processBlock()
1096 ConstantInt::getTrue(CondCmp->getType()) : in processBlock()
1097 ConstantInt::getFalse(CondCmp->getType()); in processBlock()
1098 if (replaceFoldableUses(CondCmp, CI, BB)) in processBlock()
1104 if (tryToUnfoldSelect(CondCmp, BB)) in processBlock()
1119 if (CmpInst *CondCmp = dyn_cast<CmpInst>(SimplifyValue)) in processBlock() local
1120 if (isa<Constant>(CondCmp->getOperand(1))) in processBlock()
1121 SimplifyValue = CondCmp->getOperand(0); in processBlock()
1537 if (CmpInst *CondCmp = dyn_cast<CmpInst>(V)) { in evaluateOnPredecessorEdge() local
1538 if (CondCmp->getParent() == BB) { in evaluateOnPredecessorEdge()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DJumpThreading.h161 bool tryToUnfoldSelect(CmpInst *CondCmp, BasicBlock *BB);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp1371 if (auto *CondCmp = dyn_cast<CmpInst>(I)) { in simplifyTerminatorLeadingToRet() local
1375 GetFirstValidInstruction(CondCmp->getNextNode())); in simplifyTerminatorLeadingToRet()
1376 if (!BR || !BR->isConditional() || CondCmp != BR->getCondition()) in simplifyTerminatorLeadingToRet()
1382 ConstantInt *Cond0 = TryResolveConstant(CondCmp->getOperand(0)); in simplifyTerminatorLeadingToRet()
1383 auto *Cond1 = dyn_cast<ConstantInt>(CondCmp->getOperand(1)); in simplifyTerminatorLeadingToRet()
1391 CondCmp->getPredicate(), Cond0, Cond1, DL)); in simplifyTerminatorLeadingToRet()