Home
last modified time | relevance | path

Searched refs:as_literal (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_peephole.cpp104 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()
Dsfn_virtualvalues.h106 virtual LiteralConstant *as_literal() { return nullptr;} in as_literal() function
316 LiteralConstant *as_literal() override { return this;} in as_literal() function
Dsfn_shader.cpp938 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()
Dsfn_optimizer.cpp612 auto literal = src->as_literal(); in visit()