| /arkcompiler/runtime_core/bytecode_optimizer/ |
| D | common.cpp | 48 bool CanConvertToIncI(const compiler::BinaryImmOperation *binop) in CanConvertToIncI() argument 50 ASSERT(binop->GetBasicBlock()->GetGraph()->IsRegAllocApplied()); in CanConvertToIncI() 51 …ASSERT(binop->GetOpcode() == compiler::Opcode::AddI || binop->GetOpcode() == compiler::Opcode::Sub… in CanConvertToIncI() 54 if (binop->GetSrcReg(0) != binop->GetDstReg()) { in CanConvertToIncI() 59 if (binop->GetSrcReg(0) == compiler::ACC_REG_ID) { in CanConvertToIncI() 65 for (const auto &user : binop->GetUsers()) { in CanConvertToIncI() 73 …if (uinst->GetInput(index).GetInst() == binop && uinst->GetSrcReg(index) == compiler::ACC_REG_ID) { in CanConvertToIncI() 83 int32_t imm = binop->GetImm() & bitmask; in CanConvertToIncI() 85 if (binop->GetOpcode() == compiler::Opcode::SubI) { in CanConvertToIncI()
|
| D | common.h | 36 bool CanConvertToIncI(const compiler::BinaryImmOperation *binop);
|
| /arkcompiler/runtime_core/verification/util/ |
| D | function_traits.h | 86 template <typename BinOp> 89 using sig = function_signature<BinOp>; 100 n_ary(BinOp op) : binop {op} {} 104 return binop(lhs, rhs); 110 return binop(lhs, operator()(std::forward<Args>(args)...)); 126 BinOp binop;
|
| D | bit_vector.h | 547 template <typename Op, typename Binop, typename... Args> 548 static size_t power_of_op_then_fold(Op op, Binop binop, const Args &... args) in power_of_op_then_fold() argument 555 auto get_processed_word = [&op, &binop, num_args, &args...](size_t idx) { in power_of_op_then_fold() 558 …return n_ary {binop}(std::tuple<std::decay_t<decltype(args.data_[idx])>...> {unop(args.data_[idx])… in power_of_op_then_fold() 640 template <const int V, typename Op, typename BinOp, typename... Args> 641 static auto lazy_op_then_fold_then_indices_of(Op op, BinOp binop, const Args &... args) in lazy_op_then_fold_then_indices_of() argument 647 auto get_processed_word = [op, binop, num_args, &args...](size_t idx) { in lazy_op_then_fold_then_indices_of() 650 …Word val = n_ary {binop}(std::tuple<std::decay_t<decltype(args.data_[idx])>...> {unop(args.data_[i… in lazy_op_then_fold_then_indices_of()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | gate_meta_data_builder.h | 116 const GateMetaData* TypedBinaryOp(uint64_t value, TypedBinOp binOp) in TypedBinaryOp() argument 118 return new (chunk_) TypedBinaryMegaData(value, binOp); in TypedBinaryOp()
|
| D | circuit.h | 129 const GateMetaData* TypedBinaryOp(uint64_t value, TypedBinOp binOp) in TypedBinaryOp() argument 131 return metaBuilder_.TypedBinaryOp(value, binOp); in TypedBinaryOp()
|
| D | gate_meta_data.h | 515 TypedBinaryMegaData(uint64_t value, TypedBinOp binOp) in TypedBinaryMegaData() argument 517 binOp_(binOp) in TypedBinaryMegaData()
|
| D | circuit_builder.cpp | 289 GateRef CircuitBuilder::TypedBinaryOperator(MachineType type, TypedBinOp binOp, GateType typeLeft, … in TypedBinaryOperator() argument 293 return GetCircuit()->NewGate(circuit_->TypedBinaryOp(operandTypes, binOp), in TypedBinaryOperator()
|
| D | circuit_builder.h | 230 …GateRef TypedBinaryOperator(MachineType type, TypedBinOp binOp, GateType typeLeft, GateType typeRi…
|
| /arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
| D | inst_templates.yaml | 15 binop: |- 18 % raise "Wrong binop instruction" unless opc
|
| /arkcompiler/runtime_core/compiler/optimizer/templates/ |
| D | inst_builder_gen.cpp.erb | 106 /(fdiv|fmod|add|sub|mul|and|or|xor|ashr|shr|shl|neg|not)[2i]?$/ => "binop",
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | instructions.yaml | 30 Properties of the instruction, such as: arithmetic, binop, throw, etc
|
| /arkcompiler/runtime_core/compiler/optimizer/code_generator/ |
| D | codegen.cpp | 2366 …auto binop = inst->CastTo##opc##I(); … in ENCODE_INST_WITH_SHIFTED_OPERAND() 2371 …enc->GetEncoder()->Encode##opc(dst, src0, enc->GetCodegen()->ConvertImm(binop->GetImm(), DataType:… in ENCODE_INST_WITH_SHIFTED_OPERAND() 2470 auto binop = inst->CastToShrI(); in VisitShrI() local 2475 …enc->GetEncoder()->EncodeShr(dst, src0, enc->GetCodegen()->ConvertImm(binop->GetImm(), DataType::I… in VisitShrI()
|