Lines Matching refs:ir_constant

625 ir_constant::ir_constant()  in ir_constant()  function in ir_constant
631 ir_constant::ir_constant(const struct glsl_type *type, in ir_constant() function in ir_constant
644 ir_constant::ir_constant(float f, unsigned vector_elements) in ir_constant() function in ir_constant
657 ir_constant::ir_constant(double d, unsigned vector_elements) in ir_constant() function in ir_constant
670 ir_constant::ir_constant(unsigned int u, unsigned vector_elements) in ir_constant() function in ir_constant
683 ir_constant::ir_constant(int integer, unsigned vector_elements) in ir_constant() function in ir_constant
696 ir_constant::ir_constant(uint64_t u64, unsigned vector_elements) in ir_constant() function in ir_constant
709 ir_constant::ir_constant(int64_t int64, unsigned vector_elements) in ir_constant() function in ir_constant
722 ir_constant::ir_constant(bool b, unsigned vector_elements) in ir_constant() function in ir_constant
735 ir_constant::ir_constant(const ir_constant *c, unsigned i) in ir_constant() function in ir_constant
751 ir_constant::ir_constant(const struct glsl_type *type, exec_list *value_list) in ir_constant() function in ir_constant
766 this->const_elements = ralloc_array(this, ir_constant *, type->length); in ir_constant()
768 foreach_in_list(ir_constant, value, value_list) { in ir_constant()
780 ir_constant *value = (ir_constant *) (value_list->get_head_raw()); in ir_constant()
901 value = (ir_constant *) value->next; in ir_constant()
905 ir_constant *
906 ir_constant::zero(void *mem_ctx, const glsl_type *type) in zero()
911 ir_constant *c = new(mem_ctx) ir_constant; in zero()
916 c->const_elements = ralloc_array(c, ir_constant *, type->length); in zero()
919 c->const_elements[i] = ir_constant::zero(c, type->fields.array); in zero()
923 c->const_elements = ralloc_array(c, ir_constant *, type->length); in zero()
927 ir_constant::zero(mem_ctx, type->fields.structure[i].type); in zero()
935 ir_constant::get_bool_component(unsigned i) const in get_bool_component()
955 ir_constant::get_float_component(unsigned i) const in get_float_component()
975 ir_constant::get_double_component(unsigned i) const in get_double_component()
995 ir_constant::get_int_component(unsigned i) const in get_int_component()
1015 ir_constant::get_uint_component(unsigned i) const in get_uint_component()
1035 ir_constant::get_int64_component(unsigned i) const in get_int64_component()
1055 ir_constant::get_uint64_component(unsigned i) const in get_uint64_component()
1074 ir_constant *
1075 ir_constant::get_array_element(unsigned i) const in get_array_element()
1097 ir_constant *
1098 ir_constant::get_record_field(int idx) in get_record_field()
1107 ir_constant::copy_offset(ir_constant *src, int offset) in copy_offset()
1165 ir_constant::copy_masked_offset(ir_constant *src, int offset, unsigned int mask) in copy_masked_offset()
1208 ir_constant::has_value(const ir_constant *c) const in has_value()
1261 ir_constant::is_value(float f, int i) const in is_value()
1314 ir_constant::is_zero() const in is_zero()
1320 ir_constant::is_one() const in is_one()
1326 ir_constant::is_negative_one() const in is_negative_one()
1332 ir_constant::is_uint16_constant() const in is_uint16_constant()
1908 ir_constant *constant = ir->as_constant(); in steal_memory()