Home
last modified time | relevance | path

Searched refs:CarryIn (Results 1 – 19 of 19) sorted by relevance

/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h554 const SrcOp &CarryIn) { in buildUAdde() argument
556 {Op0, Op1, CarryIn}); in buildUAdde()
562 const SrcOp &CarryIn) { in buildUSube() argument
564 {Op0, Op1, CarryIn}); in buildUSube()
570 const SrcOp &CarryIn) { in buildSAdde() argument
572 {Op0, Op1, CarryIn}); in buildSAdde()
578 const SrcOp &CarryIn) { in buildSSube() argument
580 {Op0, Op1, CarryIn}); in buildSSube()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIPeepholeSDWA.cpp902 MachineOperand *CarryIn = TII->getNamedOperand(MISucc, AMDGPU::OpName::src2); in pseudoOpConvertToVOP2() local
903 if (!CarryIn) in pseudoOpConvertToVOP2()
908 if (!MRI->hasOneUse(CarryIn->getReg()) || !MRI->use_empty(CarryOut->getReg())) in pseudoOpConvertToVOP2()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIPeepholeSDWA.cpp906 MachineOperand *CarryIn = TII->getNamedOperand(MISucc, AMDGPU::OpName::src2); in pseudoOpConvertToVOP2() local
907 if (!CarryIn) in pseudoOpConvertToVOP2()
912 if (!MRI->hasOneUse(CarryIn->getReg()) || !MRI->use_empty(CarryOut->getReg())) in pseudoOpConvertToVOP2()
DAMDGPUISelDAGToDAG.cpp1140 SDValue CarryIn = N->getOperand(3); in SelectDIV_FMAS() local
1143 TRI->getVCC(), CarryIn, SDValue()); in SelectDIV_FMAS()
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dsdwa-ops.mir120 # test for CarryIn used more than once, should reject
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp404 const SrcOp &CarryIn) { in buildUAdde() argument
406 {Op0, Op1, CarryIn}); in buildUAdde()
DLegalizerHelper.cpp731 Register CarryIn; in narrowScalar() local
740 Src2Regs[i], CarryIn); in narrowScalar()
744 CarryIn = CarryOut; in narrowScalar()
2228 Register CarryIn = MI.getOperand(4).getReg(); in lower() local
2234 MIRBuilder.buildZExt(ZExtCarryIn, CarryIn); in lower()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp416 SDValue visitADDCARRYLike(SDValue N0, SDValue N1, SDValue CarryIn, SDNode *N);
2854 SDValue CarryIn = N->getOperand(2); in visitADDE() local
2861 N1, N0, CarryIn); in visitADDE()
2864 if (CarryIn.getOpcode() == ISD::CARRY_FALSE) in visitADDE()
2873 SDValue CarryIn = N->getOperand(2); in visitADDCARRY() local
2880 return DAG.getNode(ISD::ADDCARRY, DL, N->getVTList(), N1, N0, CarryIn); in visitADDCARRY()
2883 if (isNullConstant(CarryIn)) { in visitADDCARRY()
2892 EVT CarryVT = CarryIn.getValueType(); in visitADDCARRY()
2893 SDValue CarryExt = DAG.getBoolExtOrTrunc(CarryIn, DL, VT, CarryVT); in visitADDCARRY()
2900 if (SDValue Combined = visitADDCARRYLike(N0, N1, CarryIn, N)) in visitADDCARRY()
[all …]
DTargetLowering.cpp7894 SDValue CarryIn = DAG.getConstant(0, dl, Node->getValueType(1)); in expandUADDSUBO() local
7896 { LHS, RHS, CarryIn }); in expandUADDSUBO()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp387 SDValue visitADDCARRYLike(SDValue N0, SDValue N1, SDValue CarryIn, SDNode *N);
2669 SDValue CarryIn = N->getOperand(2); in visitADDE() local
2676 N1, N0, CarryIn); in visitADDE()
2679 if (CarryIn.getOpcode() == ISD::CARRY_FALSE) in visitADDE()
2688 SDValue CarryIn = N->getOperand(2); in visitADDCARRY() local
2695 return DAG.getNode(ISD::ADDCARRY, DL, N->getVTList(), N1, N0, CarryIn); in visitADDCARRY()
2698 if (isNullConstant(CarryIn)) { in visitADDCARRY()
2707 EVT CarryVT = CarryIn.getValueType(); in visitADDCARRY()
2708 SDValue CarryExt = DAG.getBoolExtOrTrunc(CarryIn, DL, VT, CarryVT); in visitADDCARRY()
2715 if (SDValue Combined = visitADDCARRYLike(N0, N1, CarryIn, N)) in visitADDCARRY()
[all …]
DTargetLowering.cpp7402 SDValue CarryIn = DAG.getConstant(0, dl, Node->getValueType(1)); in expandUADDSUBO() local
7404 { LHS, RHS, CarryIn }); in expandUADDSUBO()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h489 const SrcOp &CarryIn);
/external/llvm/lib/Analysis/
DValueTracking.cpp272 APInt CarryIn(BitWidth, 0); in computeKnownBitsAddSub() local
276 CarryIn.setBit(0); in computeKnownBitsAddSub()
279 APInt PossibleSumZero = ~LHSKnownZero + ~KnownZero2 + CarryIn; in computeKnownBitsAddSub()
280 APInt PossibleSumOne = LHSKnownOne + KnownOne2 + CarryIn; in computeKnownBitsAddSub()
/external/llvm-project/llvm/lib/Target/X86/
DX86InstCombineIntrinsic.cpp536 Value *CarryIn = II.getArgOperand(0); in simplifyX86addcarry() local
546 if (match(CarryIn, PatternMatch::m_ZeroInt())) { in simplifyX86addcarry()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp878 Register CarryIn; in narrowScalar() local
887 Src2Regs[i], CarryIn); in narrowScalar()
891 CarryIn = CarryOut; in narrowScalar()
2997 Register CarryIn = MI.getOperand(4).getReg(); in lower() local
3001 auto ZExtCarryIn = MIRBuilder.buildZExt(Ty, CarryIn); in lower()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp2533 SDValue CarryIn = N->getOperand(FirstInputOp + 2); in SelectMVE_VADCSBC() local
2534 ConstantSDNode *CarryInConstant = dyn_cast<ConstantSDNode>(CarryIn); in SelectMVE_VADCSBC()
2541 Ops.push_back(CarryIn); in SelectMVE_VADCSBC()
/external/llvm-project/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp2598 SDValue CarryIn = N->getOperand(FirstInputOp + 2); in SelectMVE_VADCSBC() local
2599 ConstantSDNode *CarryInConstant = dyn_cast<ConstantSDNode>(CarryIn); in SelectMVE_VADCSBC()
2606 Ops.push_back(CarryIn); in SelectMVE_VADCSBC()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp648 Value *CarryIn = II.getArgOperand(0); in simplifyX86addcarry() local
658 if (match(CarryIn, m_ZeroInt())) { in simplifyX86addcarry()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp1824 SDValue CarryIn = N->getOperand(2); in visitADDE() local
1831 N1, N0, CarryIn); in visitADDE()
1834 if (CarryIn.getOpcode() == ISD::CARRY_FALSE) in visitADDE()
1993 SDValue CarryIn = N->getOperand(2); in visitSUBE() local
1996 if (CarryIn.getOpcode() == ISD::CARRY_FALSE) in visitSUBE()