| /arkcompiler/runtime_core/static_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(0U) != binop->GetDstReg()) { in CanConvertToIncI() 59 if (binop->GetSrcReg(0U) == 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() 85 int32_t imm = binop->GetImm() & BITMASK; in CanConvertToIncI() 87 if (binop->GetOpcode() == compiler::Opcode::SubI) { in CanConvertToIncI()
|
| D | common.h | 37 bool CanConvertToIncI(const compiler::BinaryImmOperation *binop);
|
| /arkcompiler/runtime_core/static_core/verification/util/ |
| D | function_traits.h | 86 template <typename BinOp> 89 using Sig = FunctionSignature<BinOp>; 100 explicit NAry(BinOp op) : binop_ {op} {} 126 BinOp binop_;
|
| D | bit_vector.h | 554 template <typename Op, typename Binop, typename... Args> 555 static size_t PowerOfOpThenFold(Op op, Binop binop, const Args &...args) in PowerOfOpThenFold() argument 562 auto getProcessedWord = [&op, &binop, numArgs, &args...](size_t idx) { in PowerOfOpThenFold() 565 …return NAry {binop}(std::tuple<std::decay_t<decltype(args.data_[idx])>...> {unop(args.data_[idx]).… in PowerOfOpThenFold() 646 template <const int V, typename Op, typename BinOp, typename... Args> 647 static auto LazyOpThenFoldThenIndicesOf(Op op, BinOp binop, const Args &...args) in LazyOpThenFoldThenIndicesOf() argument 654 auto getProcessedWord = [op, binop, numArgs, &args...](size_t idx) { in LazyOpThenFoldThenIndicesOf() 657 …Word val = NAry {binop}(std::tuple<std::decay_t<decltype(args.data_[idx])>...> {unop(args.data_[id… in LazyOpThenFoldThenIndicesOf()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | induction_variable_analysis.cpp | 43 TypedBinOp binOp = acc_.GetTypedBinaryOp(valueGate); in IsInductionVariable() local 44 if (binOp != TypedBinOp::TYPED_ADD && binOp != TypedBinOp::TYPED_SUB) { in IsInductionVariable() 82 [[maybe_unused]]TypedBinOp binOp = acc_.GetTypedBinaryOp(valueGate); in GetStartAndStride() local 83 ASSERT(binOp == TypedBinOp::TYPED_ADD || binOp == TypedBinOp::TYPED_SUB); in GetStartAndStride()
|
| D | range_analysis.cpp | 335 auto binOp = acc_.GetTypedBinaryOp(gate); in PrintRangeInfo() local 336 switch (binOp) { in PrintRangeInfo()
|
| D | mcr_gate_meta_data.h | 283 static uint64_t ToValue(ParamType operandType, TypedBinOp binOp) in ToValue() argument 285 return TypedValueBits::Encode(operandType.Value()) | TypedBinOpBits::Encode(binOp); in ToValue()
|
| D | type_info_accessors.cpp | 69 TypedBinOp binOp = accessor.GetTypedBinOp(); in IsTrustedBooleanType() local 70 switch (binOp) { in IsTrustedBooleanType() 123 TypedBinOp binOp = accessor.GetTypedBinOp(); in IsTrustedNumberType() local 124 switch (binOp) { in IsTrustedNumberType()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/ |
| D | inst_templates.yaml | 15 binop: |- 18 % raise "Wrong binop instruction" unless opc 60 % raise "Wrong binop instruction" unless opc 70 % raise "Wrong binop instruction" unless opc
|
| /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/ir/ |
| D | instructions.yaml | 30 Properties of the instruction, such as: arithmetic, binop, throw, etc
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/templates/ |
| D | inst_builder_gen.cpp.erb | 96 /(fdiv|fmod|add|sub|mul|and|or|xor|ashr|shr|shl|neg|not)[2i]?(iv)?$/ => "binop",
|
| /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/static_core/compiler/optimizer/code_generator/ |
| D | encode_visitor.cpp | 65 auto binop = inst->CastTo##opc##I(); \ in ENCODE_INST_WITH_SHIFTED_OPERAND() 68 enc->GetEncoder()->Encode##opc(dst, src0, Imm(binop->GetImm())); \ in ENCODE_INST_WITH_SHIFTED_OPERAND() 91 auto binop = inst->CastTo##opc##I(); \ 94 enc->GetEncoder()->Encode##opc(dst, src0, Imm(binop->GetImm()), IsTypeSigned(type)); \ 192 auto binop = inst->CastToShrI(); in VisitShrI() local 195 enc->GetEncoder()->EncodeShr(dst, src0, Imm(binop->GetImm())); in VisitShrI()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | instructions.yaml | 30 Properties of the instruction, such as: arithmetic, binop, throw, etc
|
| /arkcompiler/runtime_core/static_core/runtime/interpreter/ |
| D | interpreter-inl.h | 3651 << "binop.v v" << vs1 << ", v" << vs2; in HandleBinaryOpV()
|
| /arkcompiler/runtime_core/static_core/libllvmbackend/lowering/ |
| D | llvm_ir_constructor.cpp | 944 auto op = llvm::AtomicRMWInst::BinOp::Or; in EmitAtomicByteOr()
|