/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | KnownBits.cpp | 22 "Carry can't be zero and one at the same time"); 48 const KnownBits &LHS, const KnownBits &RHS, const KnownBits &Carry) { 49 assert(Carry.getBitWidth() == 1 && "Carry must be 1-bit"); 51 LHS, RHS, Carry.Zero.getBoolValue(), Carry.One.getBoolValue()); 47 computeForAddCarry( const KnownBits &LHS, const KnownBits &RHS, const KnownBits &Carry) argument
|
H A D | ScaledNumber.cpp | 292 bool Carry = doesRoundUp(Str[Truncate]); 293 if (!Carry) 307 Carry = false; 312 return stripTrailingZeros(std::string(Carry, '1') + Str.substr(0, Truncate));
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | KnownBits.h | 220 /// Compute known bits resulting from adding LHS, RHS and a 1-bit Carry. 222 const KnownBits &LHS, const KnownBits &RHS, const KnownBits &Carry);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 316 Value *Carry = Builder.CreateAnd(Tmp10, One); local 345 Carry_1->addIncoming(Carry, DoWhile); 357 Carry_2->addIncoming(Carry, DoWhile);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | BitTracker.cpp | 437 bool Carry = false; 444 unsigned S = bool(V1) + bool(V2) + Carry; 446 Carry = (S > 1); 451 // If the next bit is same as Carry, the result will be 0 plus the 452 // other bit. The Carry bit will remain unchanged. 453 if (V1.is(Carry)) 455 else if (V2.is(Carry))
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreISelLowering.cpp | 725 SDValue Carry(Lo.getNode(), 1); 728 LHSH, RHSH, Carry); 1648 SDValue Carry = DAG.getConstant(0, dl, VT); local 1651 SDValue Ops[] = { Result, Carry }; 1662 SDValue Carry = DAG.getConstant(0, dl, VT); local 1664 SDValue Ops[] = { Result, Carry }; 1733 SDValue Carry(Result.getNode(), 1); 1734 SDValue Ops[] = { Carry, Result };
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelLowering.cpp | 3638 static bool isAddCarryChain(SDValue Carry) { argument 3639 while (Carry.getOpcode() == ISD::ADDCARRY) 3640 Carry = Carry.getOperand(2); 3641 return Carry.getOpcode() == ISD::UADDO; 3644 static bool isSubBorrowChain(SDValue Carry) { argument 3645 while (Carry.getOpcode() == ISD::SUBCARRY) 3646 Carry = Carry.getOperand(2); 3647 return Carry 3663 SDValue Carry = Op.getOperand(2); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsSEISelDAGToDAG.cpp | 241 SDNode *Carry = CurDAG->getMachineNode( local 246 SDValue(Carry, 0)};
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeIntegerTypes.cpp | 1706 SDValue Carry = N->getOperand(2); local 1709 Carry = PromoteTargetBoolean(Carry, LHS.getValueType()); 1711 return SDValue(DAG.UpdateNodeOperands(N, LHS, RHS, Carry), 0); 2360 SDValue Carry = DAG.getZExtOrTrunc(Cmp1, dl, NVT); local 2361 Hi = DAG.getNode(ISD::ADD, dl, NVT, Hi, Carry); 4017 SDValue Carry = N->getOperand(2); local 4026 SDVTList VTList = DAG.getVTList(LHSLo.getValueType(), Carry.getValueType()); 4027 SDValue LowCmp = DAG.getNode(ISD::SUBCARRY, dl, VTList, LHSLo, RHSLo, Carry);
|
H A D | LegalizeDAG.cpp | 3444 SDValue Carry = Node->getOperand(2); 3461 DAG.getZeroExtendInReg(DAG.getZExtOrTrunc(Carry, dl, VT), dl, MVT::i1); 3473 DAG.getZExtOrTrunc(Carry, dl, SetCCType));
|
H A D | DAGCombiner.cpp | 2496 // (add X, (addcarry Y, 0, Carry)) -> (addcarry X, Y, Carry) 2502 // (add X, Carry) -> (addcarry X, 0, Carry) 2504 if (SDValue Carry = getAsCarry(TLI, N1)) 2506 DAG.getVTList(VT, Carry.getValueType()), N0, 2507 DAG.getConstant(0, DL, VT), Carry); 2654 // (uaddo X, (addcarry Y, 0, Carry)) -> (addcarry X, Y, Carry) 2664 // (uaddo X, Carry) 9066 SDValue Carry = N->getOperand(2); local [all...] |
H A D | SelectionDAG.cpp | 3161 KnownBits Carry(1); 3164 Carry.resetAll(); 3169 // Carry = computeKnownBits(Op.getOperand(2), DemandedElts, Depth + 1); 3170 // Carry = Carry.zextOrTrunc(1, false); 3171 Carry.resetAll(); 3173 Carry.setAllZero(); 3177 Known = KnownBits::computeForAddCarry(Known, Known2, Carry);
|
H A D | TargetLowering.cpp | 5888 SDValue Carry = Next.getValue(1); 5897 Carry); 5900 Zero, Carry);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 4495 // ARMISD::SUBC Carry, 1 4496 SDValue Carry = DAG.getNode(ARMISD::SUBC, DL, local 4499 return Carry.getValue(1); 4507 // using ARMISD:ADDE 0, 0, Carry 6396 SDValue Carry = Op.getOperand(2); local 6404 Carry = DAG.getNode(ISD::SUB, DL, MVT::i32, 6405 DAG.getConstant(1, DL, MVT::i32), Carry); 6407 Carry = ConvertBooleanCarryToCarryFlag(Carry, DAG); 6410 SDValue Cmp = DAG.getNode(ARMISD::SUBE, DL, VTs, LHS, RHS, Carry); 8833 SDValue Carry = Op.getOperand(2); local 14536 SDValue Carry = local [all...] |
H A D | ARMFrameLowering.cpp | 2203 bool Carry = (Value & 0x00FFFFFF); local 2204 Value = ((Value & 0xFF000000) >> 24) + Carry;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcISelLowering.cpp | 2918 SDValue Carry = Hi.getValue(1); local 2926 SDValue Ops[2] = { Dst, Carry };
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 21940 SDValue Carry = Op.getOperand(2); 21948 EVT CarryVT = Carry.getValueType(); 21950 Carry = DAG.getNode(X86ISD::ADD, DL, DAG.getVTList(CarryVT, MVT::i32), 21951 Carry, DAG.getConstant(NegOne, DL, CarryVT)); 21954 SDValue Cmp = DAG.getNode(X86ISD::SBB, DL, VTs, LHS, RHS, Carry.getValue(1)); [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 3445 MachineInstrBuilder Carry = B.buildZExt(NarrowTy, Uaddo.getReg(1)); local 3446 CarrySum = B.buildAdd(NarrowTy, CarrySum, Carry).getReg(0);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 530 /// \arg Carry The carry returned by the llvm.*.with.overflow.*. 535 llvm::Value *&Carry) { 543 Carry = CGF.Builder.CreateExtractValue(Tmp, 1); 3480 llvm::Value *Carry; 3481 llvm::Value *Sum = EmitOverflowIntrinsic(*this, IntrinsicId, X, Y, Carry); 3484 return RValue::get(Carry); 532 EmitOverflowIntrinsic(CodeGenFunction &CGF, const llvm::Intrinsic::ID IntrinsicID, llvm::Value *X, llvm::Value *Y, llvm::Value *&Carry) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 997 bool Carry = NonDemandedBits & ~Sum & (1ULL << (EltSize - 1)); local 998 uint64_t Ones = (Sum + Carry) & NonDemandedBits;
|