Lines Matching refs:SlowDivOrRem
79 Instruction *SlowDivOrRem = nullptr; member in __anon67aa081a0111::FastDivInsertionTask
93 return SlowDivOrRem->getOpcode() == Instruction::SDiv || in isSignedOp()
94 SlowDivOrRem->getOpcode() == Instruction::SRem; in isSignedOp()
98 return SlowDivOrRem->getOpcode() == Instruction::SDiv || in isDivisionOp()
99 SlowDivOrRem->getOpcode() == Instruction::UDiv; in isDivisionOp()
102 Type *getSlowType() { return SlowDivOrRem->getType(); } in getSlowType()
119 SlowDivOrRem = I; in FastDivInsertionTask()
127 IntegerType *SlowType = dyn_cast<IntegerType>(SlowDivOrRem->getType()); in FastDivInsertionTask()
157 Value *Dividend = SlowDivOrRem->getOperand(0); in getReplacement()
158 Value *Divisor = SlowDivOrRem->getOperand(1); in getReplacement()
238 const DataLayout &DL = SlowDivOrRem->getModule()->getDataLayout(); in getValueRange()
266 Builder.SetCurrentDebugLocation(SlowDivOrRem->getDebugLoc()); in createSlowBB()
268 Value *Dividend = SlowDivOrRem->getOperand(0); in createSlowBB()
269 Value *Divisor = SlowDivOrRem->getOperand(1); in createSlowBB()
290 Builder.SetCurrentDebugLocation(SlowDivOrRem->getDebugLoc()); in createFastBB()
292 Value *Dividend = SlowDivOrRem->getOperand(0); in createFastBB()
293 Value *Divisor = SlowDivOrRem->getOperand(1); in createFastBB()
316 Builder.SetCurrentDebugLocation(SlowDivOrRem->getDebugLoc()); in createDivRemPhiNodes()
333 Builder.SetCurrentDebugLocation(SlowDivOrRem->getDebugLoc()); in insertOperandRuntimeCheck()
354 Value *Dividend = SlowDivOrRem->getOperand(0); in insertFastDivAndRem()
355 Value *Divisor = SlowDivOrRem->getOperand(1); in insertFastDivAndRem()
376 IRBuilder<> Builder(SlowDivOrRem); in insertFastDivAndRem()
398 if (BCI->getParent() == SlowDivOrRem->getParent() && in insertFastDivAndRem()
403 Builder.SetCurrentDebugLocation(SlowDivOrRem->getDebugLoc()); in insertFastDivAndRem()
418 BasicBlock *SuccessorBB = MainBB->splitBasicBlock(SlowDivOrRem); in insertFastDivAndRem()
435 BasicBlock *SuccessorBB = MainBB->splitBasicBlock(SlowDivOrRem); in insertFastDivAndRem()