• Home
  • Raw
  • Download

Lines Matching refs:Is

289     if (immediate_type_.Is(I64))  in GetImmediate()
291 if (immediate_type_.Is(F64) || immediate_type_.Is(F32)) return 0; in GetImmediate()
297 if (immediate_type_.Is(I32)) return imm_.u32_; in GetImmediate()
298 if (immediate_type_.Is(F64) || immediate_type_.Is(F32)) return 0; in GetImmediate()
303 if (immediate_type_.Is(F64)) return static_cast<float>(imm_.d_); in GetImmediate()
308 if (immediate_type_.Is(F32)) return static_cast<double>(imm_.f_); in GetImmediate()
312 bool IsInteger32() const { return immediate_type_.Is(I32); } in IsInteger32()
313 bool IsInteger64() const { return immediate_type_.Is(I64); } in IsInteger64()
315 bool IsFloat() const { return immediate_type_.Is(F32); } in IsFloat()
316 bool IsDouble() const { return immediate_type_.Is(F64); } in IsDouble()
318 if (immediate_type_.Is(F32)) return imm_.f_ == 0.0f; in IsFloatZero()
319 if (immediate_type_.Is(F64)) return imm_.d_ == 0.0; in IsFloatZero()
331 return (immediate_type_.Is(I32) && ((imm_.u32_ >> (8 * sizeof(T))) == 0)) || in CanConvert()
332 (immediate_type_.Is(I64) && ((imm_.u64_ >> (8 * sizeof(T))) == 0)) || in CanConvert()
333 (immediate_type_.Is(F32) && (imm_.f_ == 0.0f)) || in CanConvert()
334 (immediate_type_.Is(F64) && (imm_.d_ == 0.0)); in CanConvert()
337 return immediate_type_.Is(I32) || in CanConvert()
338 (immediate_type_.Is(I64) && ((imm_.u64_ >> 32) == 0)) || in CanConvert()
339 (immediate_type_.Is(F32) && (imm_.f_ == 0.0f)) || in CanConvert()
340 (immediate_type_.Is(F64) && (imm_.d_ == 0.0)); in CanConvert()