Lines Matching refs:ir_constant

131    virtual class ir_constant *          as_constant()         { return NULL; }
159 virtual ir_constant *constant_expression_value(struct hash_table *variable_context = NULL);
200 * \c ir_constant class over-rides this function to return \c true \b only
204 * \sa ir_constant::has_value, ir_rvalue::is_one, ir_rvalue::is_negative_one,
205 * ir_constant::is_basis
213 * \c ir_constant class over-rides this function to return \c true \b only
217 * \sa ir_constant::has_value, ir_rvalue::is_zero, ir_rvalue::is_negative_one,
218 * ir_constant::is_basis
226 * \c ir_constant class over-rides this function to return \c true \b only
230 * \sa ir_constant::has_value, ir_rvalue::is_zero, ir_rvalue::is_one
231 * ir_constant::is_basis
239 * \c ir_constant class over-rides this function to return \c true \b only
244 * \sa ir_constant::has_value, ir_rvalue::is_zero, ir_rvalue::is_one,
504 ir_constant *constant_value;
514 ir_constant *constant_initializer;
547 ir_constant *constant_expression_value(exec_list *actual_parameters, struct hash_table *variable_context);
631 ir_constant **result);
823 virtual ir_constant *constant_expression_value(struct hash_table *variable_context = NULL);
1023 * operand0 is the ir_constant uniform block index in the linked shader.
1072 * The "variable_context" hash table links ir_variable * to ir_constant *
1079 virtual ir_constant *constant_expression_value(struct hash_table *variable_context = NULL);
1142 virtual ir_constant *constant_expression_value(struct hash_table *variable_context = NULL);
1371 virtual ir_constant *constant_expression_value(struct hash_table *variable_context = NULL);
1463 virtual ir_constant *constant_expression_value(struct hash_table *variable_context = NULL);
1528 virtual void constant_referenced(struct hash_table *variable_context, ir_constant *&store, int &offset) const = 0;
1539 virtual ir_constant *constant_expression_value(struct hash_table *variable_context = NULL);
1561 virtual void constant_referenced(struct hash_table *variable_context, ir_constant *&store, int &offset) const;
1597 virtual ir_constant *constant_expression_value(struct hash_table *variable_context = NULL);
1619 virtual void constant_referenced(struct hash_table *variable_context, ir_constant *&store, int &offset) const;
1645 virtual ir_constant *constant_expression_value(struct hash_table *variable_context = NULL);
1662 virtual void constant_referenced(struct hash_table *variable_context, ir_constant *&store, int &offset) const;
1677 * Data stored in an ir_constant
1687 class ir_constant : public ir_rvalue {
1689 ir_constant(const struct glsl_type *type, const ir_constant_data *data);
1690 ir_constant(bool b);
1691 ir_constant(unsigned int u);
1692 ir_constant(int i);
1693 ir_constant(float f);
1696 * Construct an ir_constant from a list of ir_constant values
1698 ir_constant(const struct glsl_type *type, exec_list *values);
1701 * Construct an ir_constant from a scalar component of another ir_constant
1703 * The new \c ir_constant inherits the type of the component from the
1710 ir_constant(const ir_constant *c, unsigned i);
1713 * Return a new ir_constant of the specified type containing all zeros.
1715 static ir_constant *zero(void *mem_ctx, const glsl_type *type);
1717 virtual ir_constant *clone(void *mem_ctx, struct hash_table *) const;
1719 virtual ir_constant *constant_expression_value(struct hash_table *variable_context = NULL);
1721 virtual ir_constant *as_constant()
1747 ir_constant *get_array_element(unsigned i) const;
1749 ir_constant *get_record_field(const char *name);
1761 void copy_offset(ir_constant *src, int offset);
1774 void copy_masked_offset(ir_constant *src, int offset, unsigned int mask);
1779 * \sa ir_constant::is_zero, ir_constant::is_one,
1780 * ir_constant::is_negative_one, ir_constant::is_basis
1782 bool has_value(const ir_constant *) const;
1799 ir_constant **array_elements;
1808 ir_constant(void);