Lines Matching full:instruction
73 // insertFastDiv - Substitutes the div/rem instruction with code that checks the
74 // value of the operands and uses a shorter-faster div/rem instruction when
75 // possible and the longer-slower div/rem instruction otherwise.
83 // Get instruction operands
84 Instruction *Instr = J;
121 Value *ShortDivisorV = FastBuilder.CreateCast(Instruction::Trunc, Divisor,
123 Value *ShortDividendV = FastBuilder.CreateCast(Instruction::Trunc, Dividend,
131 Value *FastQuotientV = FastBuilder.CreateCast(Instruction::ZExt,
134 Value *FastRemainderV = FastBuilder.CreateCast(Instruction::ZExt,
170 // point iterator J at first instruction of successorBB
191 // Get instruction operands
192 Instruction *Instr = J;
205 // Replace all uses of div instruction with quotient phi node
208 // Replace all uses of rem instruction with remainder phi node
230 // Get instruction details
232 bool UseDivOp = Opcode == Instruction::SDiv || Opcode == Instruction::UDiv;
233 bool UseRemOp = Opcode == Instruction::SRem || Opcode == Instruction::URem;
234 bool UseSignedOp = Opcode == Instruction::SDiv ||
235 Opcode == Instruction::SRem;
245 // Get bitwidth of div/rem instruction
254 // Get type for div/rem instruction with bypass bitwidth