Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/test/Bindings/OCaml/
H A Dcore.ml282 ignore (define_global "const_icmp" (const_icmp Icmp.Sle foldbomb five) m);
333 (const_icmp Icmp.Sle foldbomb five)
1045 let c = build_icmp Icmp.Ne p1 p2 "build_icmp_ne" atentry in
1046 insist (Some Icmp.Ne = icmp_predicate c);
1049 let c = build_icmp Icmp.Sle p2 p1 "build_icmp_sle" atentry in
1050 insist (Some Icmp.Sle = icmp_predicate c);
1105 let inst46 = build_icmp Icmp.Eq p1 p2 "build_icmp" atentry in
H A Ddebuginfo.ml168 let cmpi = Llvm.build_icmp Llvm.Icmp.Ne zero arg0 "cmpi" builder in
/llvm-project-15.0.7/llvm/bindings/ocaml/llvm/
H A Dllvm.ml143 module Icmp = struct module
654 external const_icmp : Icmp.t -> llvalue -> llvalue -> llvalue
1016 external icmp_predicate : llvalue -> Icmp.t option = "llvm_instr_icmp_predicate"
1363 external build_icmp : Icmp.t -> llvalue -> llvalue -> string ->
H A Dllvm.mli162 module Icmp : sig module
1148 val const_icmp : Icmp.t -> llvalue -> llvalue -> llvalue
1810 (** [icmp_predicate i] returns the [Icmp.t] corresponding to an [icmp]
1812 val icmp_predicate : llvalue -> Icmp.t option
2540 val build_icmp : Icmp.t -> llvalue -> llvalue -> string ->
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h189 bool replacedSelectWithOperand(SelectInst *SI, const ICmpInst *Icmp,
H A DInstCombineCompares.cpp5452 const ICmpInst *Icmp, in replacedSelectWithOperand() argument
5455 if (isChainSelectCmpBranch(SI) && Icmp->getPredicate() == ICmpInst::ICMP_EQ) { in replacedSelectWithOperand()
5468 if (Succ->getSinglePredecessor() && dominatesAllUses(SI, Icmp, Succ)) { in replacedSelectWithOperand()