/external/swiftshader/third_party/subzero/src/ |
D | WasmTranslator.cpp | 546 InstIcmp::create(Func, InstIcmp::Ne, TmpDest, Left, Right)); in Binop() 556 InstIcmp::create(Func, InstIcmp::Eq, TmpDest, Left, Right)); in Binop() 566 InstIcmp::create(Func, InstIcmp::Slt, TmpDest, Left, Right)); in Binop() 576 InstIcmp::create(Func, InstIcmp::Sle, TmpDest, Left, Right)); in Binop() 586 InstIcmp::create(Func, InstIcmp::Uge, TmpDest, Left, Right)); in Binop() 596 InstIcmp::create(Func, InstIcmp::Ule, TmpDest, Left, Right)); in Binop() 606 InstIcmp::create(Func, InstIcmp::Ult, TmpDest, Left, Right)); in Binop() 616 InstIcmp::create(Func, InstIcmp::Sge, TmpDest, Left, Right)); in Binop() 626 InstIcmp::create(Func, InstIcmp::Sgt, TmpDest, Left, Right)); in Binop() 636 InstIcmp::create(Func, InstIcmp::Ugt, TmpDest, Left, Right)); in Binop() [all …]
|
D | IceConverter.cpp | 410 Ice::InstIcmp::ICond Cond; in convertICmpInstruction() 415 Cond = Ice::InstIcmp::Eq; in convertICmpInstruction() 418 Cond = Ice::InstIcmp::Ne; in convertICmpInstruction() 421 Cond = Ice::InstIcmp::Ugt; in convertICmpInstruction() 424 Cond = Ice::InstIcmp::Uge; in convertICmpInstruction() 427 Cond = Ice::InstIcmp::Ult; in convertICmpInstruction() 430 Cond = Ice::InstIcmp::Ule; in convertICmpInstruction() 433 Cond = Ice::InstIcmp::Sgt; in convertICmpInstruction() 436 Cond = Ice::InstIcmp::Sge; in convertICmpInstruction() 439 Cond = Ice::InstIcmp::Slt; in convertICmpInstruction() [all …]
|
D | IceInst.h | 558 class InstIcmp : public InstHighLevel { 559 InstIcmp() = delete; 560 InstIcmp(const InstIcmp &) = delete; 561 InstIcmp &operator=(const InstIcmp &) = delete; 571 static InstIcmp *create(Cfg *Func, ICond Condition, Variable *Dest, in create() 573 return new (Func->allocate<InstIcmp>()) in create() 574 InstIcmp(Func, Condition, Dest, Source1, Source2); in create() 583 InstIcmp(Cfg *Func, ICond Condition, Variable *Dest, Operand *Source1,
|
D | IceTargetLoweringMIPS32.cpp | 332 InstIcmp::ICond Cond = llvm::cast<InstIcmp>(Instr)->getCondition(); in genTargetHelperCallFor() 349 Context.insert<InstIcmp>(Cond, Dst, Op0, Op1); in genTargetHelperCallFor() 3119 const InstIcmp *CompareInst = llvm::cast<InstIcmp>(Producer); in lowerBr() 3141 case InstIcmp::Eq: in lowerBr() 3142 case InstIcmp::Ne: in lowerBr() 3143 case InstIcmp::Sgt: in lowerBr() 3144 case InstIcmp::Sge: in lowerBr() 3145 case InstIcmp::Slt: in lowerBr() 3146 case InstIcmp::Sle: in lowerBr() 3168 case InstIcmp::Eq: { in lowerBr() [all …]
|
D | IceTargetLoweringX86BaseImpl.h | 181 if (llvm::isa<InstIcmp>(Instr)) { 874 } else if (auto *Icmp = llvm::dyn_cast<InstIcmp>(Next)) { 878 NewInst = InstIcmp::create(Func, Icmp->getCondition(), 2632 lowerIcmpAndConsumer(llvm::cast<InstIcmp>(Producer), Br); 3584 void TargetX86Base<TraitsType>::lowerIcmpAndConsumer(const InstIcmp *Icmp, 3607 case InstIcmp::Uge: 3610 case InstIcmp::Ult: 3622 void TargetX86Base<TraitsType>::lowerIcmpVector(const InstIcmp *Icmp) { 3657 InstIcmp::ICond Condition = Icmp->getCondition(); 3665 if (Condition == InstIcmp::Ugt || Condition == InstIcmp::Uge || [all …]
|
D | IceInst.cpp | 68 InstIcmp::ICond Reverse; 71 { str, InstIcmp::ICond::reverse } \ 376 InstIcmp::InstIcmp(Cfg *Func, ICond Condition, Variable *Dest, Operand *Source1, in InstIcmp() function in Ice::InstIcmp 813 void InstIcmp::dump(const Cfg *Func) const { in dump() 1089 void InstIcmp::reverseConditionAndOperands() { in reverseConditionAndOperands()
|
D | IceInstrumentation.h | 67 virtual void instrumentIcmp(LoweringContext &, class InstIcmp *) {} in instrumentIcmp() argument
|
D | PNaClTranslator.cpp | 1981 Ice::InstIcmp::ICond &Cond) const { in convertNaClBitcICmpOpToIce() 1984 Cond = Ice::InstIcmp::Eq; in convertNaClBitcICmpOpToIce() 1987 Cond = Ice::InstIcmp::Ne; in convertNaClBitcICmpOpToIce() 1990 Cond = Ice::InstIcmp::Ugt; in convertNaClBitcICmpOpToIce() 1993 Cond = Ice::InstIcmp::Uge; in convertNaClBitcICmpOpToIce() 1996 Cond = Ice::InstIcmp::Ult; in convertNaClBitcICmpOpToIce() 1999 Cond = Ice::InstIcmp::Ule; in convertNaClBitcICmpOpToIce() 2002 Cond = Ice::InstIcmp::Sgt; in convertNaClBitcICmpOpToIce() 2005 Cond = Ice::InstIcmp::Sge; in convertNaClBitcICmpOpToIce() 2008 Cond = Ice::InstIcmp::Slt; in convertNaClBitcICmpOpToIce() [all …]
|
D | IceInstrumentation.cpp | 85 instrumentIcmp(Context, llvm::cast<InstIcmp>(Instr)); in instrumentInst()
|
D | IceTargetLoweringARM32.h | 252 CondWhenTrue lowerInt8AndInt16IcmpCond(InstIcmp::ICond Condition, 254 CondWhenTrue lowerInt32IcmpCond(InstIcmp::ICond Condition, Operand *Src0, 256 CondWhenTrue lowerInt64IcmpCond(InstIcmp::ICond Condition, Operand *Src0, 258 CondWhenTrue lowerIcmpCond(InstIcmp::ICond Condition, Operand *Src0, 260 CondWhenTrue lowerIcmpCond(const InstIcmp *Instr); 261 void lowerIcmp(const InstIcmp *Instr) override;
|
D | IceTargetLoweringARM32.cpp | 154 CondARM32::Cond getIcmp32Mapping(InstIcmp::ICond Cond) { in getIcmp32Mapping() 178 static constexpr int _icmp_hl_##tag = InstIcmp::tag; 3589 lowerIcmpCond(llvm::cast<InstIcmp>(Producer))); in lowerInt1ForBranch() 4445 TargetARM32::lowerInt64IcmpCond(InstIcmp::ICond Condition, Operand *Src0, in lowerInt64IcmpCond() 4458 if ((Condition == InstIcmp::Eq || Condition == InstIcmp::Ne) && in lowerInt64IcmpCond() 4570 TargetARM32::lowerInt32IcmpCond(InstIcmp::ICond Condition, Operand *Src0, in lowerInt32IcmpCond() 4583 if ((Condition == InstIcmp::Eq || Condition == InstIcmp::Ne) && Value == 0) { in lowerInt32IcmpCond() 4607 TargetARM32::lowerInt8AndInt16IcmpCond(InstIcmp::ICond Condition, Operand *Src0, in lowerInt8AndInt16IcmpCond() 4626 if ((Condition == InstIcmp::Eq || Condition == InstIcmp::Ne) && Value == 0) { in lowerInt8AndInt16IcmpCond() 4651 TargetARM32::CondWhenTrue TargetARM32::lowerIcmpCond(const InstIcmp *Instr) { in lowerIcmpCond() [all …]
|
D | IceTargetLoweringX86Base.h | 275 void lowerIcmp(const InstIcmp *Instr) override; 1146 void lowerIcmpAndConsumer(const InstIcmp *Icmp, const Inst *Consumer); 1159 void lowerIcmpVector(const InstIcmp *Icmp); 1177 typename std::enable_if<T::Is64Bit, void>::type lowerIcmp64(const InstIcmp *, in lowerIcmp64() argument 1185 lowerIcmp64(const InstIcmp *Icmp, const Inst *Consumer);
|
D | IceTargetLoweringX8632.cpp | 491 #define X(tag, reverse, str) static const int _table1_##tag = InstIcmp::tag;
|
D | IceTargetLoweringMIPS32.h | 776 void lowerIcmp(const InstIcmp *Instr) override; 777 void lower64Icmp(const InstIcmp *Instr);
|
D | IceTargetLowering.h | 409 virtual void lowerIcmp(const InstIcmp *Instr) = 0;
|
D | IceTargetLoweringX8664.cpp | 863 #define X(tag, reverse, str) static const int _table1_##tag = InstIcmp::tag;
|
D | IceTargetLoweringX8632Traits.h | 799 static Cond::BrCond getIcmp32Mapping(InstIcmp::ICond Cond) {
|
D | IceTargetLowering.cpp | 442 lowerIcmp(llvm::cast<InstIcmp>(Instr)); in lower()
|
D | IceTargetLoweringX8664Traits.h | 890 static Cond::BrCond getIcmp32Mapping(InstIcmp::ICond Cond) {
|
D | IceCfgNode.cpp | 245 if (llvm::isa<InstIcmp>(InsertionPoint) || in placePhiStores()
|
/external/swiftshader/src/Reactor/ |
D | SubzeroReactor.cpp | 1625 static Value *createIntCompare(Ice::InstIcmp::ICond condition, Value *lhs, Value *rhs) in createIntCompare() 1630 auto cmp = Ice::InstIcmp::create(::function, condition, result, lhs, rhs); in createIntCompare() 1639 return createIntCompare(Ice::InstIcmp::Eq, lhs, rhs); in createPtrEQ() 1645 return createIntCompare(Ice::InstIcmp::Eq, lhs, rhs); in createICmpEQ() 1651 return createIntCompare(Ice::InstIcmp::Ne, lhs, rhs); in createICmpNE() 1657 return createIntCompare(Ice::InstIcmp::Ugt, lhs, rhs); in createICmpUGT() 1663 return createIntCompare(Ice::InstIcmp::Uge, lhs, rhs); in createICmpUGE() 1669 return createIntCompare(Ice::InstIcmp::Ult, lhs, rhs); in createICmpULT() 1675 return createIntCompare(Ice::InstIcmp::Ule, lhs, rhs); in createICmpULE() 1681 return createIntCompare(Ice::InstIcmp::Sgt, lhs, rhs); in createICmpSGT() [all …]
|