Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAdjustOpt.cpp102 auto *Icmp = dyn_cast<ICmpInst>(&I); in adjustICmpToBuiltin() local
103 if (!Icmp) in adjustICmpToBuiltin()
106 Value *Op0 = Icmp->getOperand(0); in adjustICmpToBuiltin()
110 auto ConstOp1 = dyn_cast<ConstantInt>(Icmp->getOperand(1)); in adjustICmpToBuiltin()
115 auto Op = Icmp->getPredicate(); in adjustICmpToBuiltin()
132 Icmp->replaceAllUsesWith(NewInst); in adjustICmpToBuiltin()
134 ToBeDeleted = Icmp; in adjustICmpToBuiltin()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp2563 Value *getSalvageOpsForIcmpOp(ICmpInst *Icmp, uint64_t CurrentLocOps, in getSalvageOpsForIcmpOp() argument
2567 auto *ConstInt = dyn_cast<ConstantInt>(Icmp->getOperand(1)); in getSalvageOpsForIcmpOp()
2573 if (Icmp->isSigned()) in getSalvageOpsForIcmpOp()
2580 handleSSAValueOperands(CurrentLocOps, Opcodes, AdditionalValues, Icmp); in getSalvageOpsForIcmpOp()
2585 uint64_t DwarfIcmpOp = getDwarfOpForIcmpPred(Icmp->getPredicate()); in getSalvageOpsForIcmpOp()
2589 return Icmp->getOperand(0); in getSalvageOpsForIcmpOp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h197 bool replacedSelectWithOperand(SelectInst *SI, const ICmpInst *Icmp,
H A DInstCombineCompares.cpp6812 const ICmpInst *Icmp, in replacedSelectWithOperand() argument
6815 if (isChainSelectCmpBranch(SI) && Icmp->getPredicate() == ICmpInst::ICMP_EQ) { in replacedSelectWithOperand()
6828 if (Succ->getSinglePredecessor() && dominatesAllUses(SI, Icmp, Succ)) { in replacedSelectWithOperand()