• Home
  • Raw
  • Download

Lines Matching refs:Icmp

863         } else if (auto *Icmp = llvm::dyn_cast<InstIcmp>(Next)) {
864 Operand *Src0 = Icmp->getSrc(0);
865 Operand *Src1 = Icmp->getSrc(1);
867 NewInst = InstIcmp::create(Func, Icmp->getCondition(),
868 Icmp->getDest(), Src0, Src1);
3588 void TargetX86Base<TraitsType>::lowerIcmpAndConsumer(const InstIcmp *Icmp,
3590 Operand *Src0 = legalize(Icmp->getSrc(0));
3591 Operand *Src1 = legalize(Icmp->getSrc(1));
3592 Variable *Dest = Icmp->getDest();
3595 lowerIcmp(Icmp);
3602 lowerIcmp64(Icmp, Consumer);
3608 switch (Icmp->getCondition()) {
3621 setccOrConsumer(Traits::getIcmp32Mapping(Icmp->getCondition()), Dest,
3626 void TargetX86Base<TraitsType>::lowerIcmpVector(const InstIcmp *Icmp) {
3627 Operand *Src0 = legalize(Icmp->getSrc(0));
3628 Operand *Src1 = legalize(Icmp->getSrc(1));
3629 Variable *Dest = Icmp->getDest();
3661 InstIcmp::ICond Condition = Icmp->getCondition();
3744 TargetX86Base<TraitsType>::lowerIcmp64(const InstIcmp *Icmp,
3747 Operand *Src0 = legalize(Icmp->getSrc(0));
3748 Operand *Src1 = legalize(Icmp->getSrc(1));
3749 Variable *Dest = Icmp->getDest();
3750 InstIcmp::ICond Condition = Icmp->getCondition();
6067 if (auto *Icmp = llvm::dyn_cast<InstIcmp>(Instr)) {
6068 if (llvm::isa<Constant>(Icmp->getSrc(0)) ||
6069 llvm::isa<Constant>(Icmp->getSrc(1)))
6071 auto *Var0 = llvm::dyn_cast<Variable>(Icmp->getSrc(0));
6082 auto *Var1 = llvm::dyn_cast<Variable>(Icmp->getSrc(1));
6090 Icmp->reverseConditionAndOperands();
6857 void TargetX86Base<TraitsType>::lowerIcmp(const InstIcmp *Icmp) {
6858 Variable *Dest = Icmp->getDest();
6860 lowerIcmpVector(Icmp);
6863 lowerIcmpAndConsumer(Icmp, Consumer);