Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/
H A DBPFAdjustOpt.cpp120 auto *Icmp = dyn_cast<ICmpInst>(&I); in adjustICmpToBuiltin() local
121 if (!Icmp) in adjustICmpToBuiltin()
124 Value *Op0 = Icmp->getOperand(0); in adjustICmpToBuiltin()
128 auto ConstOp1 = dyn_cast<ConstantInt>(Icmp->getOperand(1)); in adjustICmpToBuiltin()
133 auto Op = Icmp->getPredicate(); in adjustICmpToBuiltin()
150 Icmp->replaceAllUsesWith(NewInst); in adjustICmpToBuiltin()
152 ToBeDeleted = Icmp; in adjustICmpToBuiltin()
/openbsd-src/gnu/llvm/llvm/bindings/ocaml/llvm/
H A Dllvm.ml143 module Icmp = struct module
654 external const_icmp : Icmp.t -> llvalue -> llvalue -> llvalue
1012 external icmp_predicate : llvalue -> Icmp.t option = "llvm_instr_icmp_predicate"
1348 external build_icmp : Icmp.t -> llvalue -> llvalue -> string ->
H A Dllvm.mli162 module Icmp : sig module
1146 val const_icmp : Icmp.t -> llvalue -> llvalue -> llvalue
1798 (** [icmp_predicate i] returns the [Icmp.t] corresponding to an [icmp]
1800 val icmp_predicate : llvalue -> Icmp.t option
2495 val build_icmp : Icmp.t -> llvalue -> llvalue -> string ->
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h191 bool replacedSelectWithOperand(SelectInst *SI, const ICmpInst *Icmp,
H A DInstCombineCompares.cpp5451 const ICmpInst *Icmp, in replacedSelectWithOperand() argument
5454 if (isChainSelectCmpBranch(SI) && Icmp->getPredicate() == ICmpInst::ICMP_EQ) { in replacedSelectWithOperand()
5467 if (Succ->getSinglePredecessor() && dominatesAllUses(SI, Icmp, Succ)) { in replacedSelectWithOperand()