Lines Matching full:ir_constant
124 virtual class ir_constant * as_constant() { return NULL; }
145 virtual ir_constant *constant_expression_value() = 0;
186 * \c ir_constant class over-rides this function to return \c true \b only
190 * \sa ir_constant::has_value, ir_rvalue::is_one, ir_rvalue::is_negative_one
198 * \c ir_constant class over-rides this function to return \c true \b only
202 * \sa ir_constant::has_value, ir_rvalue::is_zero, ir_rvalue::is_negative_one
210 * \c ir_constant class over-rides this function to return \c true \b only
214 * \sa ir_constant::has_value, ir_rvalue::is_zero, ir_rvalue::is_one
365 ir_constant *constant_value;
642 virtual ir_constant *constant_expression_value();
879 virtual ir_constant *constant_expression_value();
939 virtual ir_constant *constant_expression_value();
1184 virtual ir_constant *constant_expression_value();
1276 virtual ir_constant *constant_expression_value();
1343 virtual ir_constant *constant_expression_value();
1392 virtual ir_constant *constant_expression_value();
1431 virtual ir_constant *constant_expression_value();
1454 * Data stored in an ir_constant
1464 class ir_constant : public ir_rvalue {
1466 ir_constant(const struct glsl_type *type, const ir_constant_data *data);
1467 ir_constant(bool b);
1468 ir_constant(unsigned int u);
1469 ir_constant(int i);
1470 ir_constant(float f);
1473 * Construct an ir_constant from a list of ir_constant values
1475 ir_constant(const struct glsl_type *type, exec_list *values);
1478 * Construct an ir_constant from a scalar component of another ir_constant
1480 * The new \c ir_constant inherits the type of the component from the
1487 ir_constant(const ir_constant *c, unsigned i);
1490 * Return a new ir_constant of the specified type containing all zeros.
1492 static ir_constant *zero(void *mem_ctx, const glsl_type *type);
1494 virtual ir_constant *clone(void *mem_ctx, struct hash_table *) const;
1496 virtual ir_constant *constant_expression_value();
1498 virtual ir_constant *as_constant()
1524 ir_constant *get_array_element(unsigned i) const;
1526 ir_constant *get_record_field(const char *name);
1531 * \sa ir_constant::is_zero, ir_constant::is_one,
1532 * ir_constant::is_negative_one
1534 bool has_value(const ir_constant *) const;
1550 ir_constant **array_elements;
1559 ir_constant(void);