Searched refs:binop (Results 1 - 14 of 14) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_opcodes.py447 def binop(name, ty, alg_props, const_expr): function
483 binop("fadd", tfloat, commutative + associative, "src0 + src1")
484 binop("iadd", tint, commutative + associative, "src0 + src1")
485 binop("iadd_sat", tint, commutative, """
490 binop("uadd_sat", tuint, commutative,
492 binop("isub_sat", tint, "", """
497 binop("usub_sat", tuint, "", "src0 < src1 ? 0 : src0 - src1")
499 binop("fsub", tfloat, "", "src0 - src1")
500 binop("isub", tint, "", "src0 - src1")
502 binop("fmu
[all...]
H A Dnir.c667 nir_alu_binop_identity(nir_op binop, unsigned bit_size) argument
671 switch (binop) {
H A Dnir.h2714 nir_const_value nir_alu_binop_identity(nir_op binop, unsigned bit_size);
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_opcodes.py559 def binop(name, ty, alg_props, const_expr): function
620 binop("fadd", tfloat, _2src_commutative + associative,"""
630 binop("iadd", tint, _2src_commutative + associative, "(uint64_t)src0 + (uint64_t)src1")
631 binop("iadd_sat", tint, _2src_commutative, """
636 binop("uadd_sat", tuint, _2src_commutative,
638 binop("isub_sat", tint, "", """
643 binop("usub_sat", tuint, "", "src0 < src1 ? 0 : src0 - src1")
645 binop("fsub", tfloat, "", """
655 binop("isub", tint, "", "src0 - src1")
660 binop("uabs_usu
[all...]
H A Dnir.c888 nir_alu_binop_identity(nir_op binop, unsigned bit_size) argument
892 switch (binop) {
H A Dnir.h3980 nir_const_value nir_alu_binop_identity(nir_op binop, unsigned bit_size);
/xsrc/external/mit/MesaLib.old/dist/src/amd/common/
H A Dac_llvm_helper.cpp182 llvm::AtomicRMWInst::BinOp binop; local in function:ac_build_atomic_rmw
185 binop = llvm::AtomicRMWInst::Xchg;
188 binop = llvm::AtomicRMWInst::Add;
191 binop = llvm::AtomicRMWInst::Sub;
194 binop = llvm::AtomicRMWInst::And;
197 binop = llvm::AtomicRMWInst::Nand;
200 binop = llvm::AtomicRMWInst::Or;
203 binop = llvm::AtomicRMWInst::Xor;
206 binop = llvm::AtomicRMWInst::Max;
209 binop
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/llvm/
H A Dac_llvm_helper.cpp267 llvm::AtomicRMWInst::BinOp binop; local in function:ac_build_atomic_rmw
270 binop = llvm::AtomicRMWInst::Xchg;
273 binop = llvm::AtomicRMWInst::Add;
276 binop = llvm::AtomicRMWInst::Sub;
279 binop = llvm::AtomicRMWInst::And;
282 binop = llvm::AtomicRMWInst::Nand;
285 binop = llvm::AtomicRMWInst::Or;
288 binop = llvm::AtomicRMWInst::Xor;
291 binop = llvm::AtomicRMWInst::Max;
294 binop
[all...]
/xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/
H A Ddxil_dump_decls.h59 dump_instr_binop(struct dxil_dumper *d, struct dxil_instr_binop *binop);
H A Ddxil_internal.h232 struct dxil_instr_binop binop; member in union:dxil_instr::__anonbc4bc12e070a
H A Ddxil_dump.c398 case INSTR_BINOP: dump_instr_binop(d, &instr->binop); break;
422 dump_instr_binop(struct dxil_dumper *d, struct dxil_instr_binop *binop) argument
424 const char *str = binop->opcode < DXIL_BINOP_INSTR_COUNT ?
425 binop_strings[binop->opcode] : "INVALID";
428 dump_instr_print_operands(d, 2, binop->operands);
H A Ddxil_module.c2595 instr->binop.opcode = opcode;
2596 instr->binop.operands[0] = op0;
2597 instr->binop.operands[1] = op1;
2598 instr->binop.flags = flags;
2976 assert(instr->value.id > instr->binop.operands[0]->id);
2977 assert(instr->value.id > instr->binop.operands[1]->id);
2979 if (instr->binop.flags) {
2982 instr->value.id - instr->binop.operands[0]->id,
2983 instr->value.id - instr->binop.operands[1]->id,
2984 instr->binop
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dbuiltin_functions.cpp995 ir_function_signature *binop(builtin_available_predicate avail,
5014 builtin_builder::binop(builtin_available_predicate avail, function in class:builtin_builder
5039 return binop(&AVAIL, OPCODE, return_type, param0_type, param1_type); \
5385 return binop(always_available, ir_binop_pow, type, type, type);
5412 return binop(avail, ir_binop_mod, x_type, x_type, y_type);
5434 return binop(avail, ir_binop_min, x_type, x_type, y_type);
5441 return binop(avail, ir_binop_max, x_type, x_type, y_type);
5595 return binop(is_nir, ir_binop_atan2, x_type, x_type, x_type);
5848 return binop(avail, ir_binop_mul, type, type, type);
5850 return binop(avai
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dbuiltin_functions.cpp907 ir_function_signature *binop(builtin_available_predicate avail,
4524 builtin_builder::binop(builtin_available_predicate avail, function in class:builtin_builder
4549 return binop(&AVAIL, OPCODE, return_type, param0_type, param1_type); \
4897 return binop(always_available, ir_binop_pow, type, type, type);
4923 return binop(avail, ir_binop_mod, x_type, x_type, y_type);
4945 return binop(avail, ir_binop_min, x_type, x_type, y_type);
4952 return binop(avail, ir_binop_max, x_type, x_type, y_type);
5353 return binop(avail, ir_binop_mul, type, type, type);
5355 return binop(avail, ir_binop_dot,
5865 return binop(avai
[all...]

Completed in 56 milliseconds