Lines Matching full:udiv
77 /// code generated, e.g. at the urem instruction. This will generate a udiv in
78 /// the process, and Builder's insert point will be pointing at the udiv (if
86 // ; %quotient = udiv i32 %dividend, %divisor
93 if (Instruction *UDiv = dyn_cast<Instruction>(Quotient))
94 Builder.SetInsertPoint(UDiv);
101 /// code generated, e.g. at the sdiv instruction. This will generate a udiv in
102 /// the process, and Builder's insert point will be pointing at the udiv (if
128 // ; %q_mag = udiv i32 %u_dvnd, %u_dvsr
142 if (Instruction *UDiv = dyn_cast<Instruction>(Q_Mag))
143 Builder.SetInsertPoint(UDiv);
150 /// point where the caller wants code generated, e.g. at the udiv instruction.
221 "udiv-end");
223 "udiv-loop-exit", F, End);
225 "udiv-do-while", F, End);
227 "udiv-preheader", F, End);
229 "udiv-bb1", F, End);
370 /// the generated code. This currently generates code using the udiv expansion,
417 // Expand the udiv
418 if (BinaryOperator *UDiv = dyn_cast<BinaryOperator>(Builder.GetInsertPoint())) {
419 assert(UDiv->getOpcode() == Instruction::UDiv && "Non-udiv in expansion?");
420 expandDivision(UDiv);
436 Div->getOpcode() == Instruction::UDiv) &&
448 // Lower the code to unsigned division, and reset Div to point to the udiv.
458 // If we didn't actually generate an udiv instruction, we're done
586 Div->getOpcode() == Instruction::UDiv) &&
634 Div->getOpcode() == Instruction::UDiv) &&