Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAdjustOpt.cpp103 auto *Icmp = dyn_cast<ICmpInst>(&I); in adjustICmpToBuiltin() local
104 if (!Icmp) in adjustICmpToBuiltin()
107 Value *Op0 = Icmp->getOperand(0); in adjustICmpToBuiltin()
111 auto ConstOp1 = dyn_cast<ConstantInt>(Icmp->getOperand(1)); in adjustICmpToBuiltin()
116 auto Op = Icmp->getPredicate(); in adjustICmpToBuiltin()
133 Icmp->replaceAllUsesWith(NewInst); in adjustICmpToBuiltin()
135 ToBeDeleted = Icmp; in adjustICmpToBuiltin()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp2494 Value *getSalvageOpsForIcmpOp(ICmpInst *Icmp, uint64_t CurrentLocOps, in getSalvageOpsForIcmpOp() argument
2498 auto *ConstInt = dyn_cast<ConstantInt>(Icmp->getOperand(1)); in getSalvageOpsForIcmpOp()
2504 if (Icmp->isSigned()) in getSalvageOpsForIcmpOp()
2511 handleSSAValueOperands(CurrentLocOps, Opcodes, AdditionalValues, Icmp); in getSalvageOpsForIcmpOp()
2516 uint64_t DwarfIcmpOp = getDwarfOpForIcmpPred(Icmp->getPredicate()); in getSalvageOpsForIcmpOp()
2520 return Icmp->getOperand(0); in getSalvageOpsForIcmpOp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h195 bool replacedSelectWithOperand(SelectInst *SI, const ICmpInst *Icmp,
H A DInstCombineCompares.cpp6078 const ICmpInst *Icmp, in replacedSelectWithOperand() argument
6081 if (isChainSelectCmpBranch(SI) && Icmp->getPredicate() == ICmpInst::ICMP_EQ) { in replacedSelectWithOperand()
6094 if (Succ->getSinglePredecessor() && dominatesAllUses(SI, Icmp, Succ)) { in replacedSelectWithOperand()