Lines Matching full:ir_constant
44 dot(ir_constant *op0, ir_constant *op1)
55 ir_constant *
61 ir_constant *op[Elements(this->operands)] = { NULL, };
97 return new(ctx) ir_constant(op[0]->has_value(op[1]));
99 return new(ctx) ir_constant(!op[0]->has_value(op[1]));
815 return new(ctx) ir_constant(this->type, &data);
819 ir_constant *
827 ir_constant *
830 ir_constant *v = this->val->constant_expression_value();
850 return new(ctx) ir_constant(this->type, &data);
856 ir_constant *
876 ir_constant *
879 ir_constant *array = this->array->constant_expression_value();
880 ir_constant *idx = this->array_index->constant_expression_value();
917 return new(ctx) ir_constant(column_type, &data);
921 return new(ctx) ir_constant(array, component);
931 ir_constant *
934 ir_constant *v = this->record->constant_expression_value();
940 ir_constant *
948 ir_constant *
949 ir_constant::constant_expression_value()
955 ir_constant *
971 ir_constant *op[3];
973 ir_constant *constant = ((ir_rvalue *) n)->constant_expression_value();
986 * - Return an ir_constant directly.
1001 return new(mem_ctx) ir_constant(false);
1003 return new(mem_ctx) ir_constant(true);
1008 return new(mem_ctx) ir_constant(true);
1010 return new(mem_ctx) ir_constant(false);
1042 return ir_constant::zero(mem_ctx, this->type);
1096 return new(mem_ctx) ir_constant(sqrtf(length_squared));
1098 return new(mem_ctx) ir_constant(dot(op[0], op[1]));
1133 return ir_constant::zero(mem_ctx, this->type);
1171 return new(mem_ctx) ir_constant(sqrtf(dot(op[0], op[0])));
1239 return ir_constant::zero(mem_ctx, this->type);
1290 return ir_constant::zero(mem_ctx, this->type);
1354 return new(mem_ctx) ir_constant(this->type, &data);