HomeSort by: relevance | last modified time | path
    Searched refs:operation (Results 1 - 25 of 166) sorted by relevancy

1 2 3 4 5 6 7

  /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
ir_expression_operation.py 42 type and the result type of the operation is the same as the input type.
53 same type but the result type of the operation is different from the
197 # operation consumes a vector and produces a scalar.
211 # operation consumes a vector and produces a scalar.
325 class operation(object): class in inherits:object
418 operation("bit_not", 1, printable_name="~", source_types=integer_types, c_expression="~ {src0}"),
419 operation("logic_not", 1, printable_name="!", source_types=(bool_type,), c_expression="!{src0}"),
420 operation("neg", 1, source_types=numeric_types, c_expression={'u': "-((int) {src0})", 'u64': "-((int64_t) {src0})", 'default': "-{src0}"}),
421 operation("abs", 1, source_types=signed_numeric_types, c_expression={'i': "{src0} < 0 ? -{src0} : {src0}", 'f': "fabsf({src0})", 'd': "fabs({src0})", 'i64': "{src0} < 0 ? -{src0} : {src0}"}),
422 operation("sign", 1, source_types=signed_numeric_types, c_expression={'i': "({src0} > 0) - ({src0} < 0)", 'f (…)
    [all...]
opt_add_neg_to_sub.h 39 if (ir->operation != ir_binop_add)
45 if (op != NULL && op->operation == ir_unop_neg) {
46 ir->operation = ir_binop_sub;
opt_algebraic.cpp 192 if (expr0 && expr0->operation == ir_binop_add &&
194 expr1 && expr1->operation == ir_binop_add &&
257 if (!ir2 || ir1->operation != ir2->operation)
320 if (ir->operation == ir_binop_mul &&
325 if (matrix_mul && matrix_mul->operation == ir_binop_mul &&
347 switch (ir->operation) {
349 if (op_expr[0] && op_expr[0]->operation == ir_unop_bit_not)
357 switch (op_expr[0]->operation) {
370 if (op_expr[0]->operation == ir_unop_neg)
    [all...]
opt_rebalance_tree.cpp 142 ir_expression_operation operation; member in struct:__anon745::is_reduction_data
166 is_reduction_operation(ir_expression_operation operation)
168 switch (operation) {
250 if (is_reduction_operation(expr->operation)) {
251 if (ird->operation != 0 && ird->operation != expr->operation)
253 ird->operation = expr->operation;
263 ird.operation = (ir_expression_operation)0
    [all...]
lower_vec_index_to_cond_assign.cpp 30 * Most GPUs don't have a native way to do this operation, and this
134 if (expr->operation == ir_unop_interpolate_at_centroid ||
135 expr->operation == ir_binop_interpolate_at_offset ||
136 expr->operation == ir_binop_interpolate_at_sample) {
146 if (!interpolant || interpolant->operation != ir_binop_vector_extract)
151 new(base_ir) ir_expression(expr->operation, vec_input->type,
160 if (expr->operation != ir_binop_vector_extract)
lower_vec_index_to_swizzle.cpp 63 if (expr == NULL || expr->operation != ir_binop_vector_extract)
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
ir_expression_operation.py 42 type and the result type of the operation is the same as the input type.
53 same type but the result type of the operation is different from the
197 # operation consumes a vector and produces a scalar.
211 # operation consumes a vector and produces a scalar.
325 class operation(object): class in inherits:object
418 operation("bit_not", 1, printable_name="~", source_types=integer_types, c_expression="~ {src0}"),
419 operation("logic_not", 1, printable_name="!", source_types=(bool_type,), c_expression="!{src0}"),
420 operation("neg", 1, source_types=numeric_types, c_expression={'u': "-((int) {src0})", 'default': "-{src0}"}),
421 operation("abs", 1, source_types=signed_numeric_types, c_expression={'i': "{src0} < 0 ? -{src0} : {src0}", 'f': "fabsf({src0})", 'd': "fabs({src0})", 'i64': "{src0} < 0 ? -{src0} : {src0}"}),
422 operation("sign", 1, source_types=signed_numeric_types, c_expression={'i': "({src0} > 0) - ({src0} < 0)", 'f (…)
    [all...]
opt_add_neg_to_sub.h 39 if (ir->operation != ir_binop_add)
45 if (op != NULL && op->operation == ir_unop_neg) {
46 ir->operation = ir_binop_sub;
opt_algebraic.cpp 192 if (expr0 && expr0->operation == ir_binop_add &&
194 expr1 && expr1->operation == ir_binop_add &&
257 if (!ir2 || ir1->operation != ir2->operation)
320 if (ir->operation == ir_binop_mul &&
325 if (matrix_mul && matrix_mul->operation == ir_binop_mul &&
347 switch (ir->operation) {
349 if (op_expr[0] && op_expr[0]->operation == ir_unop_bit_not)
357 switch (op_expr[0]->operation) {
370 if (op_expr[0]->operation == ir_unop_neg)
    [all...]
lower_noise.cpp 53 if (expr->operation == ir_unop_noise) {
opt_rebalance_tree.cpp 142 ir_expression_operation operation; member in struct:__anon3380::is_reduction_data
166 is_reduction_operation(ir_expression_operation operation)
168 switch (operation) {
250 if (is_reduction_operation(expr->operation)) {
251 if (ird->operation != 0 && ird->operation != expr->operation)
253 ird->operation = expr->operation;
263 ird.operation = (ir_expression_operation)0
    [all...]
lower_vec_index_to_cond_assign.cpp 30 * Most GPUs don't have a native way to do this operation, and this
134 if (expr->operation == ir_unop_interpolate_at_centroid ||
135 expr->operation == ir_binop_interpolate_at_offset ||
136 expr->operation == ir_binop_interpolate_at_sample) {
146 if (!interpolant || interpolant->operation != ir_binop_vector_extract)
151 new(base_ir) ir_expression(expr->operation, vec_input->type,
160 if (expr->operation != ir_binop_vector_extract)
opt_minmax.cpp 232 * operation.
289 if (expr && (expr->operation == ir_binop_min ||
290 expr->operation == ir_binop_max)) {
293 return combine_range(r0, r1, expr->operation == ir_binop_min);
314 assert(expr->operation == ir_binop_min ||
315 expr->operation == ir_binop_max);
317 bool ismin = expr->operation == ir_binop_min;
386 if (op_expr && (op_expr->operation == ir_binop_min ||
387 op_expr->operation == ir_binop_max)) {
417 if (op_expr && (op_expr->operation == ir_binop_min |
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/vulkan/util/
vk_deferred_operation.c 53 VkDeferredOperationKHR operation,
57 VK_FROM_HANDLE(vk_deferred_operation, op, operation);
68 UNUSED VkDeferredOperationKHR operation)
75 UNUSED VkDeferredOperationKHR operation)
82 UNUSED VkDeferredOperationKHR operation)
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/
nv50_ir_build_util.h 52 inline Instruction *mkOp(operation, DataType, Value *);
53 Instruction *mkOp1(operation, DataType, Value *, Value *);
54 Instruction *mkOp2(operation, DataType, Value *, Value *, Value *);
55 Instruction *mkOp3(operation, DataType, Value *, Value *, Value *, Value *);
57 LValue *mkOp1v(operation, DataType, Value *, Value *);
58 LValue *mkOp2v(operation, DataType, Value *, Value *, Value *);
59 LValue *mkOp3v(operation, DataType, Value *, Value *, Value *, Value *);
62 Instruction *mkStore(operation, DataType, Symbol *, Value *ptr, Value *val);
75 Instruction *mkCvt(operation, DataType, Value *, DataType, Value *);
76 CmpInstruction *mkCmp(operation, CondCode, DataType
    [all...]
nv50_ir_from_common.h 43 uint8_t translateInterpMode(const struct nv50_ir_varying *var, operation& op);
nv50_ir_target_gm107.h 18 virtual bool isOpSupported(operation, DataType) const;
nv50_ir_target_gv100.h 40 virtual bool isOpSupported(operation, DataType) const;
nv50_ir_target_nvc0.h 57 virtual bool isOpSupported(operation, DataType) const;
61 virtual bool isPostMultiplySupported(operation, float, int& e) const;
nv50_ir_target.h 196 operation op;
216 inline const OpInfo& getOpInfo(const operation) const;
224 virtual bool isOpSupported(operation, DataType) const = 0;
229 virtual bool isPostMultiplySupported(operation op, float f,
253 static inline uint8_t getOpSrcNr(operation op)
257 static inline OpClass getOpClass(operation op)
276 const Target::OpInfo& Target::getOpInfo(const operation op) const
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/
nv50_ir_build_util.h 52 inline Instruction *mkOp(operation, DataType, Value *);
53 Instruction *mkOp1(operation, DataType, Value *, Value *);
54 Instruction *mkOp2(operation, DataType, Value *, Value *, Value *);
55 Instruction *mkOp3(operation, DataType, Value *, Value *, Value *, Value *);
57 LValue *mkOp1v(operation, DataType, Value *, Value *);
58 LValue *mkOp2v(operation, DataType, Value *, Value *, Value *);
59 LValue *mkOp3v(operation, DataType, Value *, Value *, Value *, Value *);
62 Instruction *mkStore(operation, DataType, Symbol *, Value *ptr, Value *val);
74 Instruction *mkCvt(operation, DataType, Value *, DataType, Value *);
75 CmpInstruction *mkCmp(operation, CondCode, DataType
    [all...]
nv50_ir_from_common.h 43 uint8_t translateInterpMode(const struct nv50_ir_varying *var, operation& op);
nv50_ir_target_gm107.h 18 virtual bool isOpSupported(operation, DataType) const;
nv50_ir_target_nvc0.h 57 virtual bool isOpSupported(operation, DataType) const;
61 virtual bool isPostMultiplySupported(operation, float, int& e) const;
nv50_ir_target.h 194 operation op;
214 inline const OpInfo& getOpInfo(const operation) const;
222 virtual bool isOpSupported(operation, DataType) const = 0;
227 virtual bool isPostMultiplySupported(operation op, float f,
251 static inline uint8_t getOpSrcNr(operation op)
255 static inline OpClass getOpClass(operation op)
274 const Target::OpInfo& Target::getOpInfo(const operation op) const

Completed in 19 milliseconds

1 2 3 4 5 6 7