Searched refs:Icmp (Results 1 – 7 of 7) sorted by relevance
120 auto *Icmp = dyn_cast<ICmpInst>(&I); in adjustICmpToBuiltin() local121 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()
282 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 in1046 insist (Some Icmp.Ne = icmp_predicate c);1049 let c = build_icmp Icmp.Sle p2 p1 "build_icmp_sle" atentry in1050 insist (Some Icmp.Sle = icmp_predicate c);1105 let inst46 = build_icmp Icmp.Eq p1 p2 "build_icmp" atentry in
168 let cmpi = Llvm.build_icmp Llvm.Icmp.Ne zero arg0 "cmpi" builder in
143 module Icmp = struct module654 external const_icmp : Icmp.t -> llvalue -> llvalue -> llvalue1016 external icmp_predicate : llvalue -> Icmp.t option = "llvm_instr_icmp_predicate"1363 external build_icmp : Icmp.t -> llvalue -> llvalue -> string ->
162 module Icmp : sig module1148 val const_icmp : Icmp.t -> llvalue -> llvalue -> llvalue1810 (** [icmp_predicate i] returns the [Icmp.t] corresponding to an [icmp]1812 val icmp_predicate : llvalue -> Icmp.t option2540 val build_icmp : Icmp.t -> llvalue -> llvalue -> string ->
189 bool replacedSelectWithOperand(SelectInst *SI, const ICmpInst *Icmp,
5452 const ICmpInst *Icmp, in replacedSelectWithOperand() argument5455 if (isChainSelectCmpBranch(SI) && Icmp->getPredicate() == ICmpInst::ICMP_EQ) { in replacedSelectWithOperand()5468 if (Succ->getSinglePredecessor() && dominatesAllUses(SI, Icmp, Succ)) { in replacedSelectWithOperand()