Home
last modified time | relevance | path

Searched refs:InstIcmp (Results 1 – 21 of 21) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DWasmTranslator.cpp546 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 …]
DIceConverter.cpp410 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 …]
DIceInst.h548 class InstIcmp : public InstHighLevel {
549 InstIcmp() = delete;
550 InstIcmp(const InstIcmp &) = delete;
551 InstIcmp &operator=(const InstIcmp &) = delete;
561 static InstIcmp *create(Cfg *Func, ICond Condition, Variable *Dest, in create()
563 return new (Func->allocate<InstIcmp>()) in create()
564 InstIcmp(Func, Condition, Dest, Source1, Source2); in create()
573 InstIcmp(Cfg *Func, ICond Condition, Variable *Dest, Operand *Source1,
DIceTargetLoweringMIPS32.cpp332 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 …]
DIceTargetLoweringX86BaseImpl.h168 if (llvm::isa<InstIcmp>(Instr)) {
861 } else if (auto *Icmp = llvm::dyn_cast<InstIcmp>(Next)) {
865 NewInst = InstIcmp::create(Func, Icmp->getCondition(),
2579 lowerIcmpAndConsumer(llvm::cast<InstIcmp>(Producer), Br);
3512 void TargetX86Base<TraitsType>::lowerIcmpAndConsumer(const InstIcmp *Icmp,
3535 case InstIcmp::Uge:
3538 case InstIcmp::Ult:
3550 void TargetX86Base<TraitsType>::lowerIcmpVector(const InstIcmp *Icmp) {
3585 InstIcmp::ICond Condition = Icmp->getCondition();
3593 if (Condition == InstIcmp::Ugt || Condition == InstIcmp::Uge ||
[all …]
DIceInst.cpp68 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()
DPNaClTranslator.cpp1981 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 …]
DIceInstrumentation.h67 virtual void instrumentIcmp(LoweringContext &, class InstIcmp *) {} in instrumentIcmp() argument
DIceInstrumentation.cpp85 instrumentIcmp(Context, llvm::cast<InstIcmp>(Instr)); in instrumentInst()
DIceTargetLoweringARM32.h252 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;
DIceTargetLoweringARM32.cpp154 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 …]
DIceTargetLoweringX86Base.h275 void lowerIcmp(const InstIcmp *Instr) override;
1136 void lowerIcmpAndConsumer(const InstIcmp *Icmp, const Inst *Consumer);
1149 void lowerIcmpVector(const InstIcmp *Icmp);
1167 typename std::enable_if<T::Is64Bit, void>::type lowerIcmp64(const InstIcmp *, in lowerIcmp64() argument
1175 lowerIcmp64(const InstIcmp *Icmp, const Inst *Consumer);
DIceTargetLoweringX8632.cpp449 #define X(tag, reverse, str) static const int _table1_##tag = InstIcmp::tag;
DIceTargetLoweringMIPS32.h776 void lowerIcmp(const InstIcmp *Instr) override;
777 void lower64Icmp(const InstIcmp *Instr);
DIceTargetLowering.h409 virtual void lowerIcmp(const InstIcmp *Instr) = 0;
DIceTargetLoweringX8664.cpp784 #define X(tag, reverse, str) static const int _table1_##tag = InstIcmp::tag;
DIceTargetLoweringX8632Traits.h781 static Cond::BrCond getIcmp32Mapping(InstIcmp::ICond Cond) {
DIceTargetLowering.cpp442 lowerIcmp(llvm::cast<InstIcmp>(Instr)); in lower()
DIceTargetLoweringX8664Traits.h863 static Cond::BrCond getIcmp32Mapping(InstIcmp::ICond Cond) {
DIceCfgNode.cpp245 if (llvm::isa<InstIcmp>(InsertionPoint) || in placePhiStores()
/external/swiftshader/src/Reactor/
DSubzeroReactor.cpp1067 static Value *createIntCompare(Ice::InstIcmp::ICond condition, Value *lhs, Value *rhs) in createIntCompare()
1072 auto cmp = Ice::InstIcmp::create(::function, condition, result, lhs, rhs); in createIntCompare()
1080 return createIntCompare(Ice::InstIcmp::Eq, lhs, rhs); in createICmpEQ()
1085 return createIntCompare(Ice::InstIcmp::Ne, lhs, rhs); in createICmpNE()
1090 return createIntCompare(Ice::InstIcmp::Ugt, lhs, rhs); in createICmpUGT()
1095 return createIntCompare(Ice::InstIcmp::Uge, lhs, rhs); in createICmpUGE()
1100 return createIntCompare(Ice::InstIcmp::Ult, lhs, rhs); in createICmpULT()
1105 return createIntCompare(Ice::InstIcmp::Ule, lhs, rhs); in createICmpULE()
1110 return createIntCompare(Ice::InstIcmp::Sgt, lhs, rhs); in createICmpSGT()
1115 return createIntCompare(Ice::InstIcmp::Sge, lhs, rhs); in createICmpSGE()
[all …]