/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 | 562 class InstIcmp : public InstHighLevel { 563 InstIcmp() = delete; 564 InstIcmp(const InstIcmp &) = delete; 565 InstIcmp &operator=(const InstIcmp &) = delete; 575 static InstIcmp *create(Cfg *Func, ICond Condition, Variable *Dest, in create() 577 return new (Func->allocate<InstIcmp>()) in create() 578 InstIcmp(Func, Condition, Dest, Source1, Source2); in create() 587 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() 3104 const InstIcmp *CompareInst = llvm::cast<InstIcmp>(Producer); in lowerBr() 3126 case InstIcmp::Eq: in lowerBr() 3127 case InstIcmp::Ne: in lowerBr() 3128 case InstIcmp::Sgt: in lowerBr() 3129 case InstIcmp::Sge: in lowerBr() 3130 case InstIcmp::Slt: in lowerBr() 3131 case InstIcmp::Sle: in lowerBr() 3153 case InstIcmp::Eq: { in lowerBr() [all …]
|
D | IceTargetLoweringX86BaseImpl.h | 181 if (llvm::isa<InstIcmp>(Instr)) { 863 } else if (auto *Icmp = llvm::dyn_cast<InstIcmp>(Next)) { 867 NewInst = InstIcmp::create(Func, Icmp->getCondition(), 2636 lowerIcmpAndConsumer(llvm::cast<InstIcmp>(Producer), Br); 3588 void TargetX86Base<TraitsType>::lowerIcmpAndConsumer(const InstIcmp *Icmp, 3611 case InstIcmp::Uge: 3614 case InstIcmp::Ult: 3626 void TargetX86Base<TraitsType>::lowerIcmpVector(const InstIcmp *Icmp) { 3661 InstIcmp::ICond Condition = Icmp->getCondition(); 3669 if (Condition == InstIcmp::Ugt || Condition == InstIcmp::Uge || [all …]
|
D | IceInstrumentation.h | 67 virtual void instrumentIcmp(LoweringContext &, class InstIcmp *) {} in instrumentIcmp() argument
|
D | IceInst.cpp | 62 InstIcmp::ICond Reverse; 64 #define X(tag, reverse, str) {str, InstIcmp::ICond::reverse}, 368 InstIcmp::InstIcmp(Cfg *Func, ICond Condition, Variable *Dest, Operand *Source1, in InstIcmp() function in Ice::InstIcmp 805 void InstIcmp::dump(const Cfg *Func) const { in dump() 1081 void InstIcmp::reverseConditionAndOperands() { in reverseConditionAndOperands()
|
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 | 153 CondARM32::Cond getIcmp32Mapping(InstIcmp::ICond Cond) { in getIcmp32Mapping() 177 static constexpr int _icmp_hl_##tag = InstIcmp::tag; 3586 lowerIcmpCond(llvm::cast<InstIcmp>(Producer))); in lowerInt1ForBranch() 4441 TargetARM32::lowerInt64IcmpCond(InstIcmp::ICond Condition, Operand *Src0, in lowerInt64IcmpCond() 4454 if ((Condition == InstIcmp::Eq || Condition == InstIcmp::Ne) && in lowerInt64IcmpCond() 4566 TargetARM32::lowerInt32IcmpCond(InstIcmp::ICond Condition, Operand *Src0, in lowerInt32IcmpCond() 4579 if ((Condition == InstIcmp::Eq || Condition == InstIcmp::Ne) && Value == 0) { in lowerInt32IcmpCond() 4603 TargetARM32::lowerInt8AndInt16IcmpCond(InstIcmp::ICond Condition, Operand *Src0, in lowerInt8AndInt16IcmpCond() 4622 if ((Condition == InstIcmp::Eq || Condition == InstIcmp::Ne) && Value == 0) { in lowerInt8AndInt16IcmpCond() 4647 TargetARM32::CondWhenTrue TargetARM32::lowerIcmpCond(const InstIcmp *Instr) { in lowerIcmpCond() [all …]
|
D | IceTargetLoweringX86Base.h | 275 void lowerIcmp(const InstIcmp *Instr) override; 1132 void lowerIcmpAndConsumer(const InstIcmp *Icmp, const Inst *Consumer); 1145 void lowerIcmpVector(const InstIcmp *Icmp); 1163 typename std::enable_if<T::Is64Bit, void>::type lowerIcmp64(const InstIcmp *, in lowerIcmp64() argument 1171 lowerIcmp64(const InstIcmp *Icmp, const Inst *Consumer);
|
D | IceTargetLoweringX8632.cpp | 486 #define X(tag, reverse, str) static const int _table1_##tag = InstIcmp::tag;
|
D | IceTargetLowering.h | 402 virtual void lowerIcmp(const InstIcmp *Instr) = 0;
|
D | IceTargetLoweringMIPS32.h | 776 void lowerIcmp(const InstIcmp *Instr) override; 777 void lower64Icmp(const InstIcmp *Instr);
|
D | IceTargetLoweringX8664.cpp | 862 #define X(tag, reverse, str) static const int _table1_##tag = InstIcmp::tag;
|
D | IceTargetLowering.cpp | 429 lowerIcmp(llvm::cast<InstIcmp>(Instr)); in lower()
|
D | IceTargetLoweringX8632Traits.h | 724 static Cond::BrCond getIcmp32Mapping(InstIcmp::ICond Cond) {
|
D | IceTargetLoweringX8664Traits.h | 818 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 | 1726 static Value *createIntCompare(Ice::InstIcmp::ICond condition, Value *lhs, Value *rhs) in createIntCompare() 1731 auto cmp = Ice::InstIcmp::create(::function, condition, result, lhs, rhs); in createIntCompare() 1740 return createIntCompare(Ice::InstIcmp::Eq, lhs, rhs); in createICmpEQ() 1746 return createIntCompare(Ice::InstIcmp::Ne, lhs, rhs); in createICmpNE() 1752 return createIntCompare(Ice::InstIcmp::Ugt, lhs, rhs); in createICmpUGT() 1758 return createIntCompare(Ice::InstIcmp::Uge, lhs, rhs); in createICmpUGE() 1764 return createIntCompare(Ice::InstIcmp::Ult, lhs, rhs); in createICmpULT() 1770 return createIntCompare(Ice::InstIcmp::Ule, lhs, rhs); in createICmpULE() 1776 return createIntCompare(Ice::InstIcmp::Sgt, lhs, rhs); in createICmpSGT() 1782 return createIntCompare(Ice::InstIcmp::Sge, lhs, rhs); in createICmpSGE() [all …]
|