Lines Matching refs:ir_constant
526 ir_constant::ir_constant() in ir_constant() function in ir_constant
531 ir_constant::ir_constant(const struct glsl_type *type, in ir_constant() function in ir_constant
542 ir_constant::ir_constant(float f) in ir_constant() function in ir_constant
552 ir_constant::ir_constant(unsigned int u) in ir_constant() function in ir_constant
562 ir_constant::ir_constant(int i) in ir_constant() function in ir_constant
572 ir_constant::ir_constant(bool b) in ir_constant() function in ir_constant
582 ir_constant::ir_constant(const ir_constant *c, unsigned i) in ir_constant() function in ir_constant
596 ir_constant::ir_constant(const struct glsl_type *type, exec_list *value_list) in ir_constant() function in ir_constant
605 this->array_elements = ralloc_array(this, ir_constant *, type->length); in ir_constant()
608 ir_constant *value = (ir_constant *) node; in ir_constant()
634 ir_constant *value = (ir_constant *) (value_list->head); in ir_constant()
728 value = (ir_constant *) value->next; in ir_constant()
732 ir_constant *
733 ir_constant::zero(void *mem_ctx, const glsl_type *type) in zero()
738 ir_constant *c = new(mem_ctx) ir_constant; in zero()
743 c->array_elements = ralloc_array(c, ir_constant *, type->length); in zero()
746 c->array_elements[i] = ir_constant::zero(c, type->element_type()); in zero()
751 ir_constant *comp = ir_constant::zero(mem_ctx, type->fields.structure[i].type); in zero()
760 ir_constant::get_bool_component(unsigned i) const in get_bool_component()
777 ir_constant::get_float_component(unsigned i) const in get_float_component()
794 ir_constant::get_int_component(unsigned i) const in get_int_component()
811 ir_constant::get_uint_component(unsigned i) const in get_uint_component()
827 ir_constant *
828 ir_constant::get_array_element(unsigned i) const in get_array_element()
850 ir_constant *
851 ir_constant::get_record_field(const char *name) in get_record_field()
872 return (ir_constant *) node; in get_record_field()
876 ir_constant::copy_offset(ir_constant *src, int offset) in copy_offset()
910 ir_constant *const orig = (ir_constant *) node; in copy_offset()
932 ir_constant::copy_masked_offset(ir_constant *src, int offset, unsigned int mask) in copy_masked_offset()
966 ir_constant::has_value(const ir_constant *c) const in has_value()
986 const ir_constant *const a_field = (ir_constant *) a_node; in has_value()
987 const ir_constant *const b_field = (ir_constant *) b_node; in has_value()
1027 ir_constant::is_zero() const in is_zero()
1064 ir_constant::is_one() const in is_one()
1101 ir_constant::is_negative_one() const in is_negative_one()
1137 ir_constant::is_basis() const in is_basis()
1649 ir_constant *constant = ir->as_constant(); in steal_memory()
1662 ir_constant *field = (ir_constant *)iter.get(); in steal_memory()