Home
last modified time | relevance | path

Searched refs:AddSub (Results 1 – 25 of 32) sorted by relevance

12

/external/tensorflow/tensorflow/lite/micro/
Dall_ops_resolver.cc78 AddSub(); in AllOpsResolver()
Dmicro_mutable_op_resolver.h422 TfLiteStatus AddSub() { in AddSub() function
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp660 ARM_AM::AddrOpc AddSub = ARM_AM::add; in SelectLdStSOReg() local
662 AddSub = ARM_AM::sub; in SelectLdStSOReg()
668 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, in SelectLdStSOReg()
691 ARM_AM::AddrOpc AddSub = N.getOpcode() == ISD::SUB ? ARM_AM::sub:ARM_AM::add; in SelectLdStSOReg() local
752 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, ShOpcVal), in SelectLdStSOReg()
771 ARM_AM::AddrOpc AddSub = ARM_AM::add; in SelectAddrMode2Worker() local
773 AddSub = ARM_AM::sub; in SelectAddrMode2Worker()
779 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, in SelectAddrMode2Worker()
822 ARM_AM::AddrOpc AddSub = ARM_AM::add; in SelectAddrMode2Worker() local
824 AddSub = ARM_AM::sub; in SelectAddrMode2Worker()
[all …]
DARMLoadStoreOptimizer.cpp1377 ARM_AM::AddrOpc AddSub = Offset < 0 ? ARM_AM::sub : ARM_AM::add; in MergeBaseUpdateLoadStore() local
1400 int Imm = ARM_AM::getAM2Opc(AddSub, Bytes, ARM_AM::no_shift); in MergeBaseUpdateLoadStore()
1417 int Imm = ARM_AM::getAM2Opc(AddSub, Bytes, ARM_AM::no_shift); in MergeBaseUpdateLoadStore()
2109 ARM_AM::AddrOpc AddSub = ARM_AM::add; in CanFormLdStDWord() local
2111 AddSub = ARM_AM::sub; in CanFormLdStDWord()
2117 Offset = ARM_AM::getAM3Opc(AddSub, OffImm); in CanFormLdStDWord()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86BaseInfo.h114 AddSub, enumerator
261 return FirstMacroFusionInstKind::AddSub; in classifyFirstOpcodeInMacroFusion()
338 case X86::FirstMacroFusionInstKind::AddSub: in isMacroFused()
/external/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
DX86BaseInfo.h119 AddSub, enumerator
266 return FirstMacroFusionInstKind::AddSub; in classifyFirstOpcodeInMacroFusion()
343 case X86::FirstMacroFusionInstKind::AddSub: in isMacroFused()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp688 ARM_AM::AddrOpc AddSub = ARM_AM::add; in SelectLdStSOReg() local
690 AddSub = ARM_AM::sub; in SelectLdStSOReg()
696 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, in SelectLdStSOReg()
719 ARM_AM::AddrOpc AddSub = N.getOpcode() == ISD::SUB ? ARM_AM::sub:ARM_AM::add; in SelectLdStSOReg() local
782 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, ShOpcVal), in SelectLdStSOReg()
793 ARM_AM::AddrOpc AddSub = (AM == ISD::PRE_INC || AM == ISD::POST_INC) in SelectAddrMode2OffsetReg() local
818 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, ShOpcVal), in SelectAddrMode2OffsetReg()
829 ARM_AM::AddrOpc AddSub = (AM == ISD::PRE_INC || AM == ISD::POST_INC) in SelectAddrMode2OffsetImmPre() local
833 if (AddSub == ARM_AM::sub) Val *= -1; in SelectAddrMode2OffsetImmPre()
849 ARM_AM::AddrOpc AddSub = (AM == ISD::PRE_INC || AM == ISD::POST_INC) in SelectAddrMode2OffsetImm() local
[all …]
DARMLoadStoreOptimizer.cpp1439 ARM_AM::AddrOpc AddSub = Offset < 0 ? ARM_AM::sub : ARM_AM::add; in MergeBaseUpdateLoadStore() local
1464 int Imm = ARM_AM::getAM2Opc(AddSub, Bytes, ARM_AM::no_shift); in MergeBaseUpdateLoadStore()
1488 int Imm = ARM_AM::getAM2Opc(AddSub, Bytes, ARM_AM::no_shift); in MergeBaseUpdateLoadStore()
2202 ARM_AM::AddrOpc AddSub = ARM_AM::add; in CanFormLdStDWord() local
2204 AddSub = ARM_AM::sub; in CanFormLdStDWord()
2210 Offset = ARM_AM::getAM3Opc(AddSub, OffImm); in CanFormLdStDWord()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/tool/locale/
DLocaleDistanceBuilder.java348 AddSub r = new AddSub(desiredScript, supportedScript, dt); in addSubtables()
451 private static final class AddSub implements Predicate<DistanceTable> { class in LocaleDistanceBuilder
456 AddSub(String desiredSub, String supportedSub, DistanceTable distanceTableToCopy) { in AddSub() method in LocaleDistanceBuilder.AddSub
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/locale/
DLocaleDistanceBuilder.java345 AddSub r = new AddSub(desiredScript, supportedScript, dt); in addSubtables()
448 private static final class AddSub implements Predicate<DistanceTable> { class in LocaleDistanceBuilder
453 AddSub(String desiredSub, String supportedSub, DistanceTable distanceTableToCopy) { in AddSub() method in LocaleDistanceBuilder.AddSub
/external/llvm-project/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp708 ARM_AM::AddrOpc AddSub = ARM_AM::add; in SelectLdStSOReg() local
710 AddSub = ARM_AM::sub; in SelectLdStSOReg()
716 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, in SelectLdStSOReg()
739 ARM_AM::AddrOpc AddSub = N.getOpcode() == ISD::SUB ? ARM_AM::sub:ARM_AM::add; in SelectLdStSOReg() local
802 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, ShOpcVal), in SelectLdStSOReg()
813 ARM_AM::AddrOpc AddSub = (AM == ISD::PRE_INC || AM == ISD::POST_INC) in SelectAddrMode2OffsetReg() local
838 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, ShOpcVal), in SelectAddrMode2OffsetReg()
849 ARM_AM::AddrOpc AddSub = (AM == ISD::PRE_INC || AM == ISD::POST_INC) in SelectAddrMode2OffsetImmPre() local
853 if (AddSub == ARM_AM::sub) Val *= -1; in SelectAddrMode2OffsetImmPre()
869 ARM_AM::AddrOpc AddSub = (AM == ISD::PRE_INC || AM == ISD::POST_INC) in SelectAddrMode2OffsetImm() local
[all …]
DARMLoadStoreOptimizer.cpp1491 ARM_AM::AddrOpc AddSub = Offset < 0 ? ARM_AM::sub : ARM_AM::add; in MergeBaseUpdateLoadStore() local
1516 int Imm = ARM_AM::getAM2Opc(AddSub, Bytes, ARM_AM::no_shift); in MergeBaseUpdateLoadStore()
1540 int Imm = ARM_AM::getAM2Opc(AddSub, Bytes, ARM_AM::no_shift); in MergeBaseUpdateLoadStore()
2256 ARM_AM::AddrOpc AddSub = ARM_AM::add; in CanFormLdStDWord() local
2258 AddSub = ARM_AM::sub; in CanFormLdStDWord()
2264 Offset = ARM_AM::getAM3Opc(AddSub, OffImm); in CanFormLdStDWord()
/external/cldr/tools/java/org/unicode/cldr/draft/
DXLocaleDistance.java501 AddSub r = new AddSub(desiredScript, supportedScript, dt); in addSubtables()
621 static class AddSub implements Predicate<DistanceNode> { class in XLocaleDistance
626 AddSub(String desiredSub, String supportedSub, StringDistanceTable distanceTableToCopy) { in AddSub() method in XLocaleDistance.AddSub
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp2158 BinaryOperator *AddSub; in matchSAddSubSat() local
2161 if (!match(MinMax2, m_SMax(m_BinOp(AddSub), m_APInt(MinValue)))) in matchSAddSubSat()
2165 if (!match(MinMax2, m_SMin(m_BinOp(AddSub), m_APInt(MaxValue)))) in matchSAddSubSat()
2183 if (MinMax2->hasNUsesOrMore(3) || AddSub->hasNUsesOrMore(3)) in matchSAddSubSat()
2190 if(!match(AddSub, m_BinOp(m_SExt(m_Value(A)), m_SExt(m_Value(B))))) in matchSAddSubSat()
2200 if (AddSub->getOpcode() == Instruction::Add) in matchSAddSubSat()
2202 else if (AddSub->getOpcode() == Instruction::Sub) in matchSAddSubSat()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp2203 BinaryOperator *AddSub; in matchSAddSubSat() local
2206 if (!match(MinMax2, m_SMax(m_BinOp(AddSub), m_APInt(MinValue)))) in matchSAddSubSat()
2210 if (!match(MinMax2, m_SMin(m_BinOp(AddSub), m_APInt(MaxValue)))) in matchSAddSubSat()
2228 if (MinMax2->hasNUsesOrMore(3) || AddSub->hasNUsesOrMore(3)) in matchSAddSubSat()
2235 if(!match(AddSub, m_BinOp(m_SExt(m_Value(A)), m_SExt(m_Value(B))))) in matchSAddSubSat()
2245 if (AddSub->getOpcode() == Instruction::Add) in matchSAddSubSat()
2247 else if (AddSub->getOpcode() == Instruction::Sub) in matchSAddSubSat()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp2122 ARM_AM::AddrOpc AddSub = Val < 0 ? ARM_AM::sub : ARM_AM::add; in addAddrMode2Operands() local
2126 Val = ARM_AM::getAM2Opc(AddSub, Val, ARM_AM::no_shift); in addAddrMode2Operands()
2143 ARM_AM::AddrOpc AddSub = Val < 0 ? ARM_AM::sub : ARM_AM::add; in addAM2OffsetImmOperands() local
2147 Val = ARM_AM::getAM2Opc(AddSub, Val, ARM_AM::no_shift); in addAM2OffsetImmOperands()
2166 ARM_AM::AddrOpc AddSub = Val < 0 ? ARM_AM::sub : ARM_AM::add; in addAddrMode3Operands() local
2170 Val = ARM_AM::getAM3Opc(AddSub, Val); in addAddrMode3Operands()
2194 ARM_AM::AddrOpc AddSub = Val < 0 ? ARM_AM::sub : ARM_AM::add; in addAM3OffsetOperands() local
2198 Val = ARM_AM::getAM3Opc(AddSub, Val); in addAM3OffsetOperands()
2216 ARM_AM::AddrOpc AddSub = Val < 0 ? ARM_AM::sub : ARM_AM::add; in addAddrMode5Operands() local
2220 Val = ARM_AM::getAM5Opc(AddSub, Val); in addAddrMode5Operands()
[all …]
/external/vixl/src/aarch64/
Dmacro-assembler-aarch64.cc1798 AddSub(rd, rn, imm_operand, S, op); in AddSubMacro()
1801 AddSub(rd, rn, temp, S, op); in AddSubMacro()
1804 AddSub(rd, rn, operand, S, op); in AddSubMacro()
Dassembler-aarch64.cc472 AddSub(rd, rn, operand, LeaveFlags, ADD); in add()
479 AddSub(rd, rn, operand, SetFlags, ADD); in adds()
492 AddSub(rd, rn, operand, LeaveFlags, SUB); in sub()
499 AddSub(rd, rn, operand, SetFlags, SUB); in subs()
5337 void Assembler::AddSub(const Register& rd, in AddSub() function in vixl::aarch64::Assembler
Dassembler-aarch64.h6796 void AddSub(const Register& rd,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp2811 ARM_AM::AddrOpc AddSub = Val < 0 ? ARM_AM::sub : ARM_AM::add; in addAddrMode2Operands() local
2815 Val = ARM_AM::getAM2Opc(AddSub, Val, ARM_AM::no_shift); in addAddrMode2Operands()
2832 ARM_AM::AddrOpc AddSub = Val < 0 ? ARM_AM::sub : ARM_AM::add; in addAM2OffsetImmOperands() local
2836 Val = ARM_AM::getAM2Opc(AddSub, Val, ARM_AM::no_shift); in addAM2OffsetImmOperands()
2855 ARM_AM::AddrOpc AddSub = Val < 0 ? ARM_AM::sub : ARM_AM::add; in addAddrMode3Operands() local
2859 Val = ARM_AM::getAM3Opc(AddSub, Val); in addAddrMode3Operands()
2883 ARM_AM::AddrOpc AddSub = Val < 0 ? ARM_AM::sub : ARM_AM::add; in addAM3OffsetOperands() local
2887 Val = ARM_AM::getAM3Opc(AddSub, Val); in addAM3OffsetOperands()
2905 ARM_AM::AddrOpc AddSub = Val < 0 ? ARM_AM::sub : ARM_AM::add; in addAddrMode5Operands() local
2909 Val = ARM_AM::getAM5Opc(AddSub, Val); in addAddrMode5Operands()
[all …]
/external/llvm-project/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp2877 ARM_AM::AddrOpc AddSub = Val < 0 ? ARM_AM::sub : ARM_AM::add; in addAddrMode2Operands() local
2881 Val = ARM_AM::getAM2Opc(AddSub, Val, ARM_AM::no_shift); in addAddrMode2Operands()
2898 ARM_AM::AddrOpc AddSub = Val < 0 ? ARM_AM::sub : ARM_AM::add; in addAM2OffsetImmOperands() local
2902 Val = ARM_AM::getAM2Opc(AddSub, Val, ARM_AM::no_shift); in addAM2OffsetImmOperands()
2921 ARM_AM::AddrOpc AddSub = Val < 0 ? ARM_AM::sub : ARM_AM::add; in addAddrMode3Operands() local
2925 Val = ARM_AM::getAM3Opc(AddSub, Val); in addAddrMode3Operands()
2949 ARM_AM::AddrOpc AddSub = Val < 0 ? ARM_AM::sub : ARM_AM::add; in addAM3OffsetOperands() local
2953 Val = ARM_AM::getAM3Opc(AddSub, Val); in addAM3OffsetOperands()
2971 ARM_AM::AddrOpc AddSub = Val < 0 ? ARM_AM::sub : ARM_AM::add; in addAddrMode5Operands() local
2975 Val = ARM_AM::getAM5Opc(AddSub, Val); in addAddrMode5Operands()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DSVEInstrFormats.td164 def SVEAddSubImmOperand8 : SVEShiftedImmOperand<8, "AddSub", "isSVEAddSubImm<int8_t>">;
165 def SVEAddSubImmOperand16 : SVEShiftedImmOperand<16, "AddSub", "isSVEAddSubImm<int16_t>">;
166 def SVEAddSubImmOperand32 : SVEShiftedImmOperand<32, "AddSub", "isSVEAddSubImm<int32_t>">;
167 def SVEAddSubImmOperand64 : SVEShiftedImmOperand<64, "AddSub", "isSVEAddSubImm<int64_t>">;
/external/llvm-project/llvm/lib/Target/AArch64/
DSVEInstrFormats.td172 def SVEAddSubImmOperand8 : SVEShiftedImmOperand<8, "AddSub", "isSVEAddSubImm<int8_t>">;
173 def SVEAddSubImmOperand16 : SVEShiftedImmOperand<16, "AddSub", "isSVEAddSubImm<int16_t>">;
174 def SVEAddSubImmOperand32 : SVEShiftedImmOperand<32, "AddSub", "isSVEAddSubImm<int32_t>">;
175 def SVEAddSubImmOperand64 : SVEShiftedImmOperand<64, "AddSub", "isSVEAddSubImm<int64_t>">;
/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.td614 defm ADD : AddSub<0, "add", "sub", add>;
615 defm SUB : AddSub<1, "sub", "add">;
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp6592 if (SDValue AddSub = LowerToAddSub(BV, Subtarget, DAG)) in LowerBUILD_VECTOR() local
6593 return AddSub; in LowerBUILD_VECTOR()
26053 if (SDValue AddSub = combineShuffleToAddSub(N, Subtarget, DAG)) in combineShuffle() local
26054 return AddSub; in combineShuffle()

12