/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/ |
D | ARCFrameLowering.cpp | 454 unsigned Reg, int NumBytes, bool IsAdd, in emitRegUpdate() argument 458 Opc = IsAdd ? ARC::ADD_rru6 : ARC::SUB_rru6; in emitRegUpdate() 460 Opc = IsAdd ? ARC::ADD_rrs12 : ARC::SUB_rrs12; in emitRegUpdate() 462 Opc = IsAdd ? ARC::ADD_rrlimm : ARC::SUB_rrlimm; in emitRegUpdate() 486 bool IsAdd = (Old.getOpcode() == ARC::ADJCALLSTACKUP); in eliminateCallFramePseudoInstr() local 487 emitRegUpdate(MBB, I, dl, ARC::SP, Amt, IsAdd, TII); in eliminateCallFramePseudoInstr()
|
/third_party/skia/third_party/externals/tint/src/ast/ |
D | binary_expression.h | 91 bool IsAdd() const { return op == BinaryOp::kAdd; } in IsAdd() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInstructionSelector.cpp | 397 const bool IsAdd = I.getOpcode() == AMDGPU::G_UADDO || in selectG_UADDO_USUBO_UADDE_USUBE() local 406 unsigned NoCarryOpc = IsAdd ? AMDGPU::V_ADD_I32_e64 : AMDGPU::V_SUB_I32_e64; in selectG_UADDO_USUBO_UADDE_USUBE() 407 unsigned CarryOpc = IsAdd ? AMDGPU::V_ADDC_U32_e64 : AMDGPU::V_SUBB_U32_e64; in selectG_UADDO_USUBO_UADDE_USUBE() 422 unsigned NoCarryOpc = IsAdd ? AMDGPU::S_ADD_U32 : AMDGPU::S_SUB_U32; in selectG_UADDO_USUBO_UADDE_USUBE() 423 unsigned CarryOpc = IsAdd ? AMDGPU::S_ADDC_U32 : AMDGPU::S_SUBB_U32; in selectG_UADDO_USUBO_UADDE_USUBE()
|
D | AMDGPUISelDAGToDAG.cpp | 1006 bool IsAdd = Opcode == ISD::ADD || Opcode == ISD::ADDC || Opcode == ISD::ADDE; in SelectADD_SUB_I64() local 1023 unsigned Opc = IsAdd ? AMDGPU::S_ADD_U32 : AMDGPU::S_SUB_U32; in SelectADD_SUB_I64() 1024 unsigned CarryOpc = IsAdd ? AMDGPU::S_ADDC_U32 : AMDGPU::S_SUBB_U32; in SelectADD_SUB_I64()
|
D | SIInstrInfo.cpp | 5352 bool IsAdd = (Inst.getOpcode() == AMDGPU::S_ADD_U64_PSEUDO); in splitScalar64BitAddSub() local 5387 unsigned LoOpc = IsAdd ? AMDGPU::V_ADD_I32_e64 : AMDGPU::V_SUB_I32_e64; in splitScalar64BitAddSub() 5395 unsigned HiOpc = IsAdd ? AMDGPU::V_ADDC_U32_e64 : AMDGPU::V_SUBB_U32_e64; in splitScalar64BitAddSub()
|
D | SIISelLowering.cpp | 3633 bool IsAdd = (MI.getOpcode() == AMDGPU::S_ADD_U64_PSEUDO); in EmitInstrWithCustomInserter() local 3635 unsigned LoOpc = IsAdd ? AMDGPU::S_ADD_U32 : AMDGPU::S_SUB_U32; in EmitInstrWithCustomInserter() 3636 unsigned HiOpc = IsAdd ? AMDGPU::S_ADDC_U32 : AMDGPU::S_SUBB_U32; in EmitInstrWithCustomInserter()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceTargetLoweringX8664.cpp | 4682 bool IsAdd = false; in matchOffsetIndexOrBase() local 4725 IsAdd = true; // treat it as an add if the above conditions hold in matchOffsetIndexOrBase() 4727 IsAdd = ArithInst->getOp() == InstArithmetic::Add; in matchOffsetIndexOrBase() 4736 if (!IsAdd && Var1) in matchOffsetIndexOrBase() 4746 if (!IsAdd && Reloc1) in matchOffsetIndexOrBase() 4756 IsAdd ? Const0->getValue() : -Const0->getValue(); in matchOffsetIndexOrBase() 4763 IsAdd ? Const1->getValue() : -Const1->getValue(); in matchOffsetIndexOrBase()
|
D | IceTargetLoweringX8632.cpp | 5261 bool IsAdd = false; in matchOffsetIndexOrBase() local 5304 IsAdd = true; // treat it as an add if the above conditions hold in matchOffsetIndexOrBase() 5306 IsAdd = ArithInst->getOp() == InstArithmetic::Add; in matchOffsetIndexOrBase() 5315 if (!IsAdd && Var1) in matchOffsetIndexOrBase() 5325 if (!IsAdd && Reloc1) in matchOffsetIndexOrBase() 5335 IsAdd ? Const0->getValue() : -Const0->getValue(); in matchOffsetIndexOrBase() 5342 IsAdd ? Const1->getValue() : -Const1->getValue(); in matchOffsetIndexOrBase()
|
D | IceTargetLoweringMIPS32.cpp | 5248 bool IsAdd = Kind == InstArithmetic::Add; in matchOffsetBase() local 5271 if (!IsAdd && Var1) in matchOffsetBase() 5279 int32_t MoreOffset = IsAdd ? Const0->getValue() : -Const0->getValue(); in matchOffsetBase() 5285 int32_t MoreOffset = IsAdd ? Const1->getValue() : -Const1->getValue(); in matchOffsetBase()
|
D | IceTargetLoweringARM32.cpp | 5511 bool IsAdd = Kind == InstArithmetic::Add; in matchOffsetBase() local 5534 if (!IsAdd && Var1) in matchOffsetBase() 5542 int32_t MoreOffset = IsAdd ? Const0->getValue() : -Const0->getValue(); in matchOffsetBase() 5548 int32_t MoreOffset = IsAdd ? Const1->getValue() : -Const1->getValue(); in matchOffsetBase()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 7397 bool IsAdd = Node->getOpcode() == ISD::UADDO; in expandUADDSUBO() local 7400 unsigned OpcCarry = IsAdd ? ISD::ADDCARRY : ISD::SUBCARRY; in expandUADDSUBO() 7410 Result = DAG.getNode(IsAdd ? ISD::ADD : ISD::SUB, dl, in expandUADDSUBO() 7416 ISD::CondCode CC = IsAdd ? ISD::SETULT : ISD::SETUGT; in expandUADDSUBO() 7426 bool IsAdd = Node->getOpcode() == ISD::SADDO; in expandSADDSUBO() local 7428 Result = DAG.getNode(IsAdd ? ISD::ADD : ISD::SUB, dl, in expandSADDSUBO() 7436 unsigned OpcSat = IsAdd ? ISD::SADDSAT : ISD::SSUBSAT; in expandSADDSUBO() 7454 DAG.getSetCC(dl, OType, RHS, Zero, IsAdd ? ISD::SETLT : ISD::SETGT); in expandSADDSUBO()
|
D | LegalizeDAG.cpp | 3446 bool IsAdd = Node->getOpcode() == ISD::ADDCARRY; in ExpandNode() local 3449 unsigned Op = IsAdd ? ISD::ADD : ISD::SUB; in ExpandNode() 3456 ISD::CondCode CC = IsAdd ? ISD::SETULT : ISD::SETUGT; in ExpandNode() 3470 IsAdd ? DAG.getSetCC(dl, SetCCType, Sum2, Zero, ISD::SETEQ) in ExpandNode()
|
D | DAGCombiner.cpp | 2009 bool IsAdd = N->getOpcode() == ISD::ADD; in foldAddSubBoolOfMaskedVal() local 2010 SDValue C = IsAdd ? N->getOperand(1) : N->getOperand(0); in foldAddSubBoolOfMaskedVal() 2011 SDValue Z = IsAdd ? N->getOperand(0) : N->getOperand(1); in foldAddSubBoolOfMaskedVal() 2036 SDValue C1 = IsAdd ? DAG.getConstant(CN->getAPIntValue() + 1, DL, VT) : in foldAddSubBoolOfMaskedVal() 2038 return DAG.getNode(IsAdd ? ISD::SUB : ISD::ADD, DL, VT, C1, LowBit); in foldAddSubBoolOfMaskedVal() 2050 bool IsAdd = N->getOpcode() == ISD::ADD; in foldAddSubOfSignBit() local 2051 SDValue ConstantOp = IsAdd ? N->getOperand(1) : N->getOperand(0); in foldAddSubOfSignBit() 2052 SDValue ShiftOp = IsAdd ? N->getOperand(0) : N->getOperand(1); in foldAddSubOfSignBit() 2073 auto ShOpcode = IsAdd ? ISD::SRA : ISD::SRL; in foldAddSubOfSignBit() 2075 APInt NewC = IsAdd ? C->getAPIntValue() + 1 : C->getAPIntValue() - 1; in foldAddSubOfSignBit() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 2375 bool IsAdd = Name.contains(".padds"); in UpgradeIntrinsicCall() local 2376 Rep = UpgradeX86AddSubSatIntrinsics(Builder, *CI, true, IsAdd); in UpgradeIntrinsicCall() 2383 bool IsAdd = Name.contains(".paddus"); in UpgradeIntrinsicCall() local 2384 Rep = UpgradeX86AddSubSatIntrinsics(Builder, *CI, false, IsAdd); in UpgradeIntrinsicCall()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 1626 bool IsAdd = II->getIntrinsicID() == Intrinsic::uadd_sat; in computeKnownBitsFromOperator() local 1634 if (IsAdd) in computeKnownBitsFromOperator() 1642 IsAdd, /* NSW */ false, Known, Known2); in computeKnownBitsFromOperator() 1646 if (IsAdd) { in computeKnownBitsFromOperator()
|
/third_party/skia/third_party/externals/tint/src/writer/spirv/ |
D | builder.cc | 1991 if ((expr->IsAdd() || expr->IsSubtract()) && lhs_type->is_float_matrix() && in GenerateBinaryExpression() 2005 expr->IsAdd() ? spv::Op::OpFAdd : spv::Op::OpFSub); in GenerateBinaryExpression() 2049 } else if (expr->IsAdd()) { in GenerateBinaryExpression()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 1768 auto IsSignedSaturateLimit = [&](Value *Limit, bool IsAdd) { in foldOverflowingAddSubSelect() argument 1791 if (IsAdd) { in foldOverflowingAddSubSelect()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | LegalizerHelper.cpp | 4365 const bool IsAdd = MI.getOpcode() == TargetOpcode::G_SADDO; in lowerSADDO_SSUBO() local 4370 if (IsAdd) in lowerSADDO_SSUBO() 4388 IsAdd ? CmpInst::ICMP_SLT : CmpInst::ICMP_SGT, BoolTy, RHS, Zero); in lowerSADDO_SSUBO()
|
/third_party/skia/third_party/externals/tint/src/writer/msl/ |
D | generator_impl.cc | 452 if ((expr->IsAdd() || expr->IsSubtract() || expr->IsMultiply()) && in EmitBinary()
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
D | resolver.cc | 1793 if ((expr->IsAdd() || expr->IsSubtract()) && lhs_mat_elem_type && in Binary()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 1040 bool IsAdd = ROOTNode->getOpcode() == ISD::ADD; in performMADD_MSUBCombine() local 1041 unsigned Opcode = IsAdd ? (IsUnsigned ? MipsISD::MAddu : MipsISD::MAdd) in performMADD_MSUBCombine()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 4558 bool IsAdd = Op->getOpcode() == ISD::SADDSAT; in LowerSADDSUBSAT() local 4563 NewOpcode = IsAdd ? ARMISD::QADD8b : ARMISD::QSUB8b; in LowerSADDSUBSAT() 4566 NewOpcode = IsAdd ? ARMISD::QADD16b : ARMISD::QSUB16b; in LowerSADDSUBSAT()
|