Home
last modified time | relevance | path

Searched refs:Carry (Results 1 – 25 of 53) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DScaledNumber.cpp292 bool Carry = doesRoundUp(Str[Truncate]); in toString() local
293 if (!Carry) in toString()
307 Carry = false; in toString()
312 return stripTrailingZeros(std::string(Carry, '1') + Str.substr(0, Truncate)); in toString()
H A DKnownBits.cpp51 const KnownBits &LHS, const KnownBits &RHS, const KnownBits &Carry) { in computeForAddCarry() argument
52 assert(Carry.getBitWidth() == 1 && "Carry must be 1-bit"); in computeForAddCarry()
54 LHS, RHS, Carry.Zero.getBoolValue(), Carry.One.getBoolValue()); in computeForAddCarry()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp1970 SDValue Carry = Op.getOperand(2); in LowerSETCCCARRY() local
1977 EVT CarryVT = Carry.getValueType(); in LowerSETCCCARRY()
1979 Carry = DAG.getNode(M68kISD::ADD, DL, DAG.getVTList(CarryVT, MVT::i32), Carry, in LowerSETCCCARRY()
3254 SDValue Carry = CCR.getOperand(0); in combineCarryThroughADD() local
3255 while (Carry.getOpcode() == ISD::TRUNCATE || in combineCarryThroughADD()
3258 Carry.getOpcode() == ISD::ANY_EXTEND || in combineCarryThroughADD()
3259 (Carry.getOpcode() == ISD::AND && in combineCarryThroughADD()
3260 isOneConstant(Carry.getOperand(1)))) in combineCarryThroughADD()
3261 Carry = Carry.getOperand(0); in combineCarryThroughADD()
3262 if (Carry.getOpcode() == M68kISD::SETCC || in combineCarryThroughADD()
[all …]
H A DM68kInstrControl.td54 /// CC—Carry clear GE—Greater than or equal
56 /// CS—Carry set GT—Greater than
H A DM68kInstrInfo.td419 def MxCONDcc : PatLeaf<(i8 4)>; // Carry Clear
420 def MxCONDcs : PatLeaf<(i8 5)>; // Carry Set
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp316 Value *Carry = Builder.CreateAnd(Tmp10, One); in generateUnsignedDivisionCode() local
345 Carry_1->addIncoming(Carry, DoWhile); in generateUnsignedDivisionCode()
357 Carry_2->addIncoming(Carry, DoWhile); in generateUnsignedDivisionCode()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCV.td76 "'Zbc' (Carry-Less 'B' Instructions)">;
79 "'Zbc' (Carry-Less 'B' Instructions)">;
H A DRISCVScheduleV.td90 // 11.4. Vector Integer Arithmetic with Carry or Borrow Instructions
312 // 11.4. Vector Integer Arithmetic with Carry or Borrow Instructions
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DBitTracker.cpp437 bool Carry = false; in eADD() local
444 unsigned S = bool(V1) + bool(V2) + Carry; in eADD()
446 Carry = (S > 1); in eADD()
453 if (V1.is(Carry)) in eADD()
455 else if (V2.is(Carry)) in eADD()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp724 SDValue Carry(Lo.getNode(), 1); in ExpandADDSUB() local
727 LHSH, RHSH, Carry); in ExpandADDSUB()
1647 SDValue Carry = DAG.getConstant(0, dl, VT); in PerformDAGCombine() local
1650 SDValue Ops[] = { Result, Carry }; in PerformDAGCombine()
1661 SDValue Carry = DAG.getConstant(0, dl, VT); in PerformDAGCombine() local
1663 SDValue Ops[] = { Result, Carry }; in PerformDAGCombine()
1732 SDValue Carry(Result.getNode(), 1); in PerformDAGCombine() local
1733 SDValue Ops[] = { Carry, Result }; in PerformDAGCombine()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h300 const KnownBits &LHS, const KnownBits &RHS, const KnownBits &Carry);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiInstrFormats.td61 // (Carry), according to the result. If the flags are updated, they are
136 // (Zero), `N' (Negative), `V' (oVerflow), and `C' (Carry), according to
H A DLanaiInstrInfo.td363 // Carry using addition and subtraction
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp3756 static bool isAddCarryChain(SDValue Carry) { in isAddCarryChain() argument
3757 while (Carry.getOpcode() == ISD::ADDCARRY) in isAddCarryChain()
3758 Carry = Carry.getOperand(2); in isAddCarryChain()
3759 return Carry.getOpcode() == ISD::UADDO; in isAddCarryChain()
3763 while (Carry.getOpcode() == ISD::SUBCARRY) in isSubBorrowChain()
3764 Carry = Carry.getOperand(2); in isSubBorrowChain()
3765 return Carry.getOpcode() == ISD::USUBO; in isSubBorrowChain()
3781 SDValue Carry = Op.getOperand(2); in lowerADDSUBCARRY() local
3790 if (!isAddCarryChain(Carry)) in lowerADDSUBCARRY()
3798 if (!isSubBorrowChain(Carry)) in lowerADDSUBCARRY()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DREADME_P9.txt131 - Vector Multiply-by-10 (& Write Carry) Unsigned Quadword:
137 - Vector Multiply-by-10 Extended (& Write Carry) Unsigned Quadword:
H A DPPCRegisterInfo.td282 // Carry bit. In the architecture this is really bit 0 of the XER register
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEISelDAGToDAG.cpp241 SDNode *Carry = CurDAG->getMachineNode( in selectAddE() local
246 SDValue(Carry, 0)}; in selectAddE()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp1960 SDValue Carry = N->getOperand(2); in PromoteIntOp_ADDSUBCARRY() local
1963 Carry = PromoteTargetBoolean(Carry, LHS.getValueType()); in PromoteIntOp_ADDSUBCARRY()
1965 return SDValue(DAG.UpdateNodeOperands(N, LHS, RHS, Carry), 0); in PromoteIntOp_ADDSUBCARRY()
2684 SDValue Carry = DAG.getZExtOrTrunc(Cmp1, dl, NVT); in ExpandIntRes_ADDSUB() local
2685 Hi = DAG.getNode(ISD::ADD, dl, NVT, Hi, Carry); in ExpandIntRes_ADDSUB()
4494 SDValue Carry = N->getOperand(2); in ExpandIntOp_SETCCCARRY() local
4503 SDVTList VTList = DAG.getVTList(LHSLo.getValueType(), Carry.getValueType()); in ExpandIntOp_SETCCCARRY()
4504 SDValue LowCmp = DAG.getNode(ISD::SUBCARRY, dl, VTList, LHSLo, RHSLo, Carry); in ExpandIntOp_SETCCCARRY()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ScheduleSLM.td452 // Carry-less multiplication instructions.
H A DX86ScheduleAtom.td481 // Carry-less multiplication instructions.
H A DX86Schedule.td475 // Carry-less multiplication instructions.
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp4902 SDValue Carry = DAG.getNode(ARMISD::SUBC, DL, in ConvertBooleanCarryToCarryFlag() local
4905 return Carry.getValue(1); in ConvertBooleanCarryToCarryFlag()
6762 SDValue Carry = Op.getOperand(2); in LowerSETCCCARRY() local
6770 Carry = DAG.getNode(ISD::SUB, DL, MVT::i32, in LowerSETCCCARRY()
6773 Carry = ConvertBooleanCarryToCarryFlag(Carry, DAG); in LowerSETCCCARRY()
9524 SDValue Carry = Op.getOperand(2); in LowerADDSUBCARRY() local
9531 Carry = ConvertBooleanCarryToCarryFlag(Carry, DAG); in LowerADDSUBCARRY()
9542 Carry = DAG.getNode(ISD::SUB, DL, MVT::i32, in LowerADDSUBCARRY()
9545 Carry = ConvertBooleanCarryToCarryFlag(Carry, DAG); in LowerADDSUBCARRY()
9555 Carry = DAG.getNode(ISD::SUB, DL, MVT::i32, in LowerADDSUBCARRY()
[all …]
H A DARMFrameLowering.cpp2397 bool Carry = (Value & 0x00FFFFFF); in alignToARMConstant() local
2398 Value = ((Value & 0xFF000000) >> 24) + Carry; in alignToARMConstant()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCInstrFormats.td152 // (Zero/Negative/Carry/oVerflow).
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSOPInstructions.td464 let Defs = [SCC] in { // Carry out goes to SCC
477 let Uses = [SCC] in { // Carry in comes from SCC

123