• Home
  • Raw
  • Download

Lines Matching refs:cgen_

15     : cgen_(owner), moves_(32, owner->zone()) {}  in LGapResolver()
53 if (!move.IsRedundant()) moves_.Add(move, cgen_->zone()); in BuildInitialMoveList()
138 #define __ ACCESS_MASM(cgen_->masm())
148 Register src = cgen_->ToRegister(source); in EmitMove()
150 Register dst = cgen_->ToRegister(destination); in EmitMove()
154 Operand dst = cgen_->ToOperand(destination); in EmitMove()
159 Operand src = cgen_->ToOperand(source); in EmitMove()
161 Register dst = cgen_->ToRegister(destination); in EmitMove()
165 Operand dst = cgen_->ToOperand(destination); in EmitMove()
173 Register dst = cgen_->ToRegister(destination); in EmitMove()
174 if (cgen_->IsSmiConstant(constant_source)) { in EmitMove()
175 __ Move(dst, cgen_->ToSmi(constant_source)); in EmitMove()
176 } else if (cgen_->IsInteger32Constant(constant_source)) { in EmitMove()
177 int32_t constant = cgen_->ToInteger32(constant_source); in EmitMove()
180 if (cgen_->IsDehoistedKeyConstant(constant_source)) { in EmitMove()
186 __ Move(dst, cgen_->ToHandle(constant_source)); in EmitMove()
189 double v = cgen_->ToDouble(constant_source); in EmitMove()
191 XMMRegister dst = cgen_->ToDoubleRegister(destination); in EmitMove()
200 Operand dst = cgen_->ToOperand(destination); in EmitMove()
201 if (cgen_->IsSmiConstant(constant_source)) { in EmitMove()
202 __ Move(dst, cgen_->ToSmi(constant_source)); in EmitMove()
203 } else if (cgen_->IsInteger32Constant(constant_source)) { in EmitMove()
205 __ movp(dst, Immediate(cgen_->ToInteger32(constant_source))); in EmitMove()
207 __ Move(kScratchRegister, cgen_->ToHandle(constant_source)); in EmitMove()
213 XMMRegister src = cgen_->ToDoubleRegister(source); in EmitMove()
215 __ Movapd(cgen_->ToDoubleRegister(destination), src); in EmitMove()
218 __ Movsd(cgen_->ToOperand(destination), src); in EmitMove()
221 Operand src = cgen_->ToOperand(source); in EmitMove()
223 __ Movsd(cgen_->ToDoubleRegister(destination), src); in EmitMove()
227 __ Movsd(cgen_->ToOperand(destination), xmm0); in EmitMove()
245 Register src = cgen_->ToRegister(source); in EmitSwap()
246 Register dst = cgen_->ToRegister(destination); in EmitSwap()
255 cgen_->ToRegister(source->IsRegister() ? source : destination); in EmitSwap()
257 cgen_->ToOperand(source->IsRegister() ? destination : source); in EmitSwap()
265 Operand src = cgen_->ToOperand(source); in EmitSwap()
266 Operand dst = cgen_->ToOperand(destination); in EmitSwap()
274 XMMRegister source_reg = cgen_->ToDoubleRegister(source); in EmitSwap()
275 XMMRegister destination_reg = cgen_->ToDoubleRegister(destination); in EmitSwap()
284 XMMRegister reg = cgen_->ToDoubleRegister(source->IsDoubleRegister() in EmitSwap()
289 Operand other_operand = cgen_->ToOperand(other); in EmitSwap()