Lines Matching defs:constant
46 kConstant, // load a constant value into a register.
54 int32_t value; // i32 constant value or stack offset, depending on kind.
57 static RegisterLoad Const(WasmValue constant) {
58 if (constant.type().kind() == kI32) {
59 return {kConstant, kI32, constant.to_i32()};
61 DCHECK_EQ(kI64, constant.type().kind());
62 int32_t i32_const = static_cast<int32_t>(constant.to_i64());
63 DCHECK_EQ(constant.to_i64(), i32_const);
118 asm_->Spill(dst.offset(), src.constant());
135 LoadConstant(dst, src.constant());
630 LoadConstant(reg, slot.constant());
650 static_cast<int32_t>(half == kLowWord ? slot.constant().to_i64()
651 : slot.constant().to_i64() >> 32);
709 LoadConstant(reg, slot.constant());
727 LoadConstant(reg, slot.constant());
731 Spill(slot.offset(), slot.constant());
877 Spill(slot->offset(), slot->constant());