Searched refs:DivInst (Results 1 – 1 of 1) sorted by relevance
78 AssertingVH<Instruction> DivInst; member85 : DivInst(DivInst_), RemInst(RemInst_) { in DivRemPairWorklistEntry()86 assert((DivInst->getOpcode() == Instruction::UDiv || in DivRemPairWorklistEntry()87 DivInst->getOpcode() == Instruction::SDiv) && in DivRemPairWorklistEntry()89 assert(DivInst->getType() == RemInst->getType() && "Types should match."); in DivRemPairWorklistEntry()95 Type *getType() const { return DivInst->getType(); } in getType()98 bool isSigned() const { return DivInst->getOpcode() == Instruction::SDiv; } in isSigned()101 Value *getDividend() const { return DivInst->getOperand(0); } in getDividend()102 Value *getDivisor() const { return DivInst->getOperand(1); } in getDivisor()196 auto &DivInst = E.DivInst; in optimizeDivRem() local[all …]