Lines Matching refs:DivTy

158   IntegerType *DivTy = cast<IntegerType>(Dividend->getType());  in generateUnsignedDivisionCode()  local
159 unsigned BitWidth = DivTy->getBitWidth(); in generateUnsignedDivisionCode()
169 NegOne = ConstantInt::getSigned(DivTy, -1); in generateUnsignedDivisionCode()
175 NegOne = ConstantInt::getSigned(DivTy, -1); in generateUnsignedDivisionCode()
184 DivTy); in generateUnsignedDivisionCode()
306 PHINode *Carry_1 = Builder.CreatePHI(DivTy, 2); in generateUnsignedDivisionCode()
307 PHINode *SR_3 = Builder.CreatePHI(DivTy, 2); in generateUnsignedDivisionCode()
308 PHINode *R_1 = Builder.CreatePHI(DivTy, 2); in generateUnsignedDivisionCode()
309 PHINode *Q_2 = Builder.CreatePHI(DivTy, 2); in generateUnsignedDivisionCode()
331 PHINode *Carry_2 = Builder.CreatePHI(DivTy, 2); in generateUnsignedDivisionCode()
332 PHINode *Q_3 = Builder.CreatePHI(DivTy, 2); in generateUnsignedDivisionCode()
341 PHINode *Q_5 = Builder.CreatePHI(DivTy, 2); in generateUnsignedDivisionCode()
589 Type *DivTy = Div->getType(); in expandDivisionUpTo32Bits() local
590 assert(!DivTy->isVectorTy() && "Div over vectors not supported"); in expandDivisionUpTo32Bits()
592 unsigned DivTyBitWidth = DivTy->getIntegerBitWidth(); in expandDivisionUpTo32Bits()
618 Trunc = Builder.CreateTrunc(ExtDiv, DivTy); in expandDivisionUpTo32Bits()
637 Type *DivTy = Div->getType(); in expandDivisionUpTo64Bits() local
638 assert(!DivTy->isVectorTy() && "Div over vectors not supported"); in expandDivisionUpTo64Bits()
640 unsigned DivTyBitWidth = DivTy->getIntegerBitWidth(); in expandDivisionUpTo64Bits()
667 Trunc = Builder.CreateTrunc(ExtDiv, DivTy); in expandDivisionUpTo64Bits()