Lines Matching refs:Icmp
861 } else if (auto *Icmp = llvm::dyn_cast<InstIcmp>(Next)) {
862 Operand *Src0 = Icmp->getSrc(0);
863 Operand *Src1 = Icmp->getSrc(1);
865 NewInst = InstIcmp::create(Func, Icmp->getCondition(),
866 Icmp->getDest(), Src0, Src1);
3512 void TargetX86Base<TraitsType>::lowerIcmpAndConsumer(const InstIcmp *Icmp,
3514 Operand *Src0 = legalize(Icmp->getSrc(0));
3515 Operand *Src1 = legalize(Icmp->getSrc(1));
3516 Variable *Dest = Icmp->getDest();
3519 lowerIcmp(Icmp);
3526 lowerIcmp64(Icmp, Consumer);
3532 switch (Icmp->getCondition()) {
3545 setccOrConsumer(Traits::getIcmp32Mapping(Icmp->getCondition()), Dest,
3550 void TargetX86Base<TraitsType>::lowerIcmpVector(const InstIcmp *Icmp) {
3551 Operand *Src0 = legalize(Icmp->getSrc(0));
3552 Operand *Src1 = legalize(Icmp->getSrc(1));
3553 Variable *Dest = Icmp->getDest();
3585 InstIcmp::ICond Condition = Icmp->getCondition();
3668 TargetX86Base<TraitsType>::lowerIcmp64(const InstIcmp *Icmp,
3671 Operand *Src0 = legalize(Icmp->getSrc(0));
3672 Operand *Src1 = legalize(Icmp->getSrc(1));
3673 Variable *Dest = Icmp->getDest();
3674 InstIcmp::ICond Condition = Icmp->getCondition();
5988 if (auto *Icmp = llvm::dyn_cast<InstIcmp>(Instr)) {
5989 if (llvm::isa<Constant>(Icmp->getSrc(0)) ||
5990 llvm::isa<Constant>(Icmp->getSrc(1)))
5992 auto *Var0 = llvm::dyn_cast<Variable>(Icmp->getSrc(0));
6003 auto *Var1 = llvm::dyn_cast<Variable>(Icmp->getSrc(1));
6011 Icmp->reverseConditionAndOperands();
6805 void TargetX86Base<TraitsType>::lowerIcmp(const InstIcmp *Icmp) {
6806 Variable *Dest = Icmp->getDest();
6808 lowerIcmpVector(Icmp);
6811 lowerIcmpAndConsumer(Icmp, Consumer);