Searched refs:as_literal (Results 1 – 4 of 4) sorted by relevance
104 if (value->as_literal() && in src_is_zero()105 value->as_literal()->value() == 0) in src_is_zero()117 if (value->as_literal() && in src_is_one()118 value->as_literal()->value() == 0x3f800000) in src_is_one()
106 virtual LiteralConstant *as_literal() { return nullptr;} in as_literal() function316 LiteralConstant *as_literal() override { return this;} in as_literal() function
938 if (address->as_literal()) { in emit_store_scratch()939 offset = address->as_literal()->value(); in emit_store_scratch()984 if (addr->as_literal()) { in emit_load_scratch()985 offset = addr->as_literal()->value(); in emit_load_scratch()
612 auto literal = src->as_literal(); in visit()