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.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/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp2522 Value *getSalvageOpsForIcmpOp(ICmpInst *Icmp, uint64_t CurrentLocOps, in getSalvageOpsForIcmpOp() argument
2526 auto *ConstInt = dyn_cast<ConstantInt>(Icmp->getOperand(1)); in getSalvageOpsForIcmpOp()
2532 if (Icmp->isSigned()) in getSalvageOpsForIcmpOp()
2539 handleSSAValueOperands(CurrentLocOps, Opcodes, AdditionalValues, Icmp); in getSalvageOpsForIcmpOp()
2544 uint64_t DwarfIcmpOp = getDwarfOpForIcmpPred(Icmp->getPredicate()); in getSalvageOpsForIcmpOp()
2548 return Icmp->getOperand(0); in getSalvageOpsForIcmpOp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h196 bool replacedSelectWithOperand(SelectInst *SI, const ICmpInst *Icmp,
H A DInstCombineCompares.cpp6407 const ICmpInst *Icmp, in replacedSelectWithOperand() argument
6410 if (isChainSelectCmpBranch(SI) && Icmp->getPredicate() == ICmpInst::ICMP_EQ) { in replacedSelectWithOperand()
6423 if (Succ->getSinglePredecessor() && dominatesAllUses(SI, Icmp, Succ)) { in replacedSelectWithOperand()