Home
last modified time | relevance | path

Searched refs:Zero (Results 1 – 25 of 772) sorted by relevance

12345678910>>...31

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DKnownBits.h24 APInt Zero; member
29 KnownBits(APInt Zero, APInt One) in KnownBits()
30 : Zero(std::move(Zero)), One(std::move(One)) {} in KnownBits()
37 KnownBits(unsigned BitWidth) : Zero(BitWidth, 0), One(BitWidth, 0) {} in KnownBits()
41 assert(Zero.getBitWidth() == One.getBitWidth() && in getBitWidth()
43 return Zero.getBitWidth(); in getBitWidth()
47 bool hasConflict() const { return Zero.intersects(One); } in hasConflict()
52 return Zero.countPopulation() + One.countPopulation() == getBitWidth(); in isConstant()
63 bool isUnknown() const { return Zero.isNullValue() && One.isNullValue(); } in isUnknown()
67 Zero.clearAllBits(); in resetAll()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DKnownBits.cpp31 APInt CarryKnownZero = ~(PossibleSumZero ^ LHS.Zero ^ RHS.Zero); in computeForAddCarry()
35 APInt LHSKnownUnion = LHS.Zero | LHS.One; in computeForAddCarry()
36 APInt RHSKnownUnion = RHS.Zero | RHS.One; in computeForAddCarry()
45 KnownOut.Zero = ~std::move(PossibleSumZero) & Known; in computeForAddCarry()
54 LHS, RHS, Carry.Zero.getBoolValue(), Carry.One.getBoolValue()); in computeForAddCarry()
66 std::swap(RHS.Zero, RHS.One); in computeForAddSub()
99 Result.Zero = Zero << ExtBits; in sextInReg()
101 Result.Zero.ashrInPlace(ExtBits); in sextInReg()
108 unsigned N = (Zero | Val).countLeadingOnes(); in makeGE()
114 return KnownBits(Zero, One | MaskedVal); in makeGE()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/contrib/
H A Dparanoia.cc955 FLOAT Zero; member
1030 Zero = long(0); in main()
1054 TstCond (Failure, (Zero + Zero == Zero), "0+0 != 0"); in main()
1055 TstCond (Failure, (One - One == Zero), "1-1 != 0"); in main()
1056 TstCond (Failure, (One > Zero), "1 <= 0"); in main()
1059 Z = -Zero; in main()
1060 if (Z != Zero) in main()
1071 TstCond (Failure, (Four + Two * (-Two) == Zero), "4 + 2*(-2) != 0"); in main()
1072 TstCond (Failure, (Four - Three - One == Zero), "4-3-1 != 0"); in main()
1074 TstCond (Failure, (MinusOne == (Zero - One)), "-1 != 0-1"); in main()
[all …]
/netbsd-src/external/gpl3/gcc/dist/contrib/
H A Dparanoia.cc955 FLOAT Zero; member
1030 Zero = long(0); in main()
1054 TstCond (Failure, (Zero + Zero == Zero), "0+0 != 0"); in main()
1055 TstCond (Failure, (One - One == Zero), "1-1 != 0"); in main()
1056 TstCond (Failure, (One > Zero), "1 <= 0"); in main()
1059 Z = -Zero; in main()
1060 if (Z != Zero) in main()
1071 TstCond (Failure, (Four + Two * (-Two) == Zero), "4 + 2*(-2) != 0"); in main()
1072 TstCond (Failure, (Four - Three - One == Zero), "4-3-1 != 0"); in main()
1074 TstCond (Failure, (MinusOne == (Zero - One)), "-1 != 0-1"); in main()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DRangedConstraintManager.cpp61 const llvm::APSInt &Zero = getBasicVals().getValue(0, DiffTy); in assumeSym() local
65 return assumeSymRel(State, Subtraction, Op, Zero); in assumeSym()
78 const llvm::APSInt &Zero = getBasicVals().getValue(0, ExprType); in assumeSym() local
81 return assumeSymNE(State, CanonicalEquality, Zero, Zero); in assumeSym()
84 return assumeSymEQ(State, CanonicalEquality, Zero, Zero); in assumeSym()
132 const llvm::APSInt &Zero = BVF.getValue(0, T); in assumeSymUnsupported() local
134 return assumeSymNE(State, Sym, Zero, Zero); in assumeSymUnsupported()
136 return assumeSymEQ(State, Sym, Zero, Zero); in assumeSymUnsupported()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp164 SimplifyDemandedBits(I, 0, DemandedMask & ~RHSKnown.Zero, LHSKnown, in SimplifyDemandedUseBits()
174 if (DemandedMask.isSubsetOf(Known.Zero | Known.One)) in SimplifyDemandedUseBits()
179 if (DemandedMask.isSubsetOf(LHSKnown.Zero | RHSKnown.One)) in SimplifyDemandedUseBits()
181 if (DemandedMask.isSubsetOf(RHSKnown.Zero | LHSKnown.One)) in SimplifyDemandedUseBits()
185 if (ShrinkDemandedConstant(I, 1, DemandedMask & ~LHSKnown.Zero)) in SimplifyDemandedUseBits()
203 if (DemandedMask.isSubsetOf(Known.Zero | Known.One)) in SimplifyDemandedUseBits()
208 if (DemandedMask.isSubsetOf(LHSKnown.One | RHSKnown.Zero)) in SimplifyDemandedUseBits()
210 if (DemandedMask.isSubsetOf(RHSKnown.One | LHSKnown.Zero)) in SimplifyDemandedUseBits()
241 if (DemandedMask.isSubsetOf(Known.Zero | Known.One)) in SimplifyDemandedUseBits()
246 if (DemandedMask.isSubsetOf(RHSKnown.Zero)) in SimplifyDemandedUseBits()
[all …]
/netbsd-src/sys/arch/arm/dts/
H A Dsun8i-h2-plus-bananapi-p2-zero.dts30 * Device tree for Banana Pi BPI-P2 Zero. The P2 Zero is essentially an
31 * M2 Zero with the following additions:
41 model = "Banana Pi BPI-P2-Zero";
66 * signal is wired up between the P2 Zero and the M2 Zero, on
67 * which the P2 Zero is based.
69 * The M2 Zero device tree file claims that early samples of
70 * the M2 Zero were wired active-low, but that the production
71 * of the board is wired active-high; as such, the M2 Zero
74 * However, the P2 Zero has been observed in the wild to have
76 * an early-vs-late situation like the M2 Zero, but for now we
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DScalarEvolutionDivision.cpp68 *Remainder = D.Zero; in divide()
73 *Quotient = D.Zero; in divide()
74 *Remainder = D.Zero; in divide()
81 *Remainder = D.Zero; in divide()
96 *Quotient = D.Zero; in divide()
101 *Remainder = D.Zero; in divide()
206 Remainder = Zero; in visitMulExpr()
219 RewriteMap[cast<SCEVUnknown>(Denominator)->getValue()] = Zero; in visitMulExpr()
236 if (R != Zero) in visitMulExpr()
244 Zero = SE.getZero(Denominator->getType()); in SCEVDivision()
[all …]
H A DDemandedBits.cpp266 AB &= ~Known2.Zero; in determineLiveOperandBits()
268 AB &= ~(Known.Zero & ~Known2.Zero); in determineLiveOperandBits()
510 APInt Bound = (LHS.Zero & RHS.Zero) | (LHS.One & RHS.One); in determineLiveOperandBitsAddCarry()
527 NeededToMaintainCarryZero = LHS.Zero | ~RHS.Zero; in determineLiveOperandBitsAddCarry()
530 NeededToMaintainCarryZero = RHS.Zero | ~LHS.Zero; in determineLiveOperandBitsAddCarry()
535 APInt PossibleSumZero = ~LHS.Zero + ~RHS.Zero + !CarryZero; in determineLiveOperandBitsAddCarry()
569 NRHS.Zero = RHS.One; in determineLiveOperandBitsSub()
570 NRHS.One = RHS.Zero; in determineLiveOperandBitsSub()
H A DMemoryBuiltins.cpp613 Zero = APInt::getNullValue(IntTyBits); in compute()
673 return std::make_pair(align(Size, I.getAlignment()), Zero); in visitAllocaInst()
684 Zero); in visitAllocaInst()
698 return std::make_pair(align(Size, A.getParamAlignment()), Zero); in visitArgument()
723 return std::make_pair(Size, Zero); in visitCallBase()
736 return std::make_pair(Size, Zero); in visitCallBase()
748 return Overflow ? unknown() : std::make_pair(Size, Zero); in visitCallBase()
770 return std::make_pair(Zero, Zero); in visitConstantPointerNull()
804 return std::make_pair(align(Size, GV.getAlignment()), Zero); in visitGlobalVariable()
851 return std::make_pair(Zero, Zero); in visitUndefValue()
[all …]
H A DValueTracking.cpp458 Known.Zero.setAllBits(); in computeKnownBitsFromRangeMetadata()
474 Known.Zero &= ~UnsignedMax & Mask; in computeKnownBitsFromRangeMetadata()
643 Known.Zero.setLowBits(Log2_32(RK.ArgValue)); in computeKnownBitsFromAssume()
710 Known.Zero |= RHSKnown.Zero; in computeKnownBitsFromAssume()
723 Known.Zero |= RHSKnown.Zero & MaskKnown.One; in computeKnownBitsFromAssume()
736 Known.Zero |= RHSKnown.One & MaskKnown.One; in computeKnownBitsFromAssume()
737 Known.One |= RHSKnown.Zero & MaskKnown.One; in computeKnownBitsFromAssume()
749 Known.Zero |= RHSKnown.Zero & BKnown.Zero; in computeKnownBitsFromAssume()
750 Known.One |= RHSKnown.One & BKnown.Zero; in computeKnownBitsFromAssume()
762 Known.Zero |= RHSKnown.One & BKnown.Zero; in computeKnownBitsFromAssume()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DAMDGPUEmitPrintf.cpp88 auto Zero = Builder.getInt64(0); in appendArg() local
89 return callAppendArgs(Builder, Desc, 1, Arg0, Zero, Zero, Zero, Zero, Zero, in appendArg()
90 Zero, IsLast); in appendArg()
101 auto Zero = Builder.getInt64(0); in getStrlenWithNull() local
157 LenPhi->addIncoming(Zero, Prev); in getStrlenWithNull()
H A DIntegerDivision.cpp160 ConstantInt *Zero; in generateUnsignedDivisionCode() local
166 Zero = Builder.getInt64(0); in generateUnsignedDivisionCode()
172 Zero = Builder.getInt32(0); in generateUnsignedDivisionCode()
251 Value *Ret0_1 = Builder.CreateICmpEQ(Divisor, Zero); in generateUnsignedDivisionCode()
252 Value *Ret0_2 = Builder.CreateICmpEQ(Dividend, Zero); in generateUnsignedDivisionCode()
260 Value *RetVal = Builder.CreateSelect(Ret0, Zero, Dividend); in generateUnsignedDivisionCode()
274 Value *SkipLoop = Builder.CreateICmpEQ(SR_1, Zero); in generateUnsignedDivisionCode()
320 Value *Tmp12 = Builder.CreateICmpEQ(SR_2, Zero); in generateUnsignedDivisionCode()
344 Carry_1->addIncoming(Zero, Preheader); in generateUnsignedDivisionCode()
356 Carry_2->addIncoming(Zero, BB1); in generateUnsignedDivisionCode()
/netbsd-src/lib/libm/src/
H A De_fmodf.c30 static const float one = 1.0, Zero[] = {0.0, -0.0,}; variable
49 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/ in __ieee754_fmodf()
82 return Zero[(u_int32_t)sx>>31]; in __ieee754_fmodf()
91 return Zero[(u_int32_t)sx>>31]; in __ieee754_fmodf()
H A De_fmod.c27 static const double one = 1.0, Zero[] = {0.0, -0.0,}; variable
52 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/ in __strong_alias()
106 return Zero[(u_int32_t)sx>>31]; in __strong_alias()
115 return Zero[(u_int32_t)sx>>31]; in __strong_alias()
H A De_fmodl.c60 static const long double one = 1.0, Zero[] = {0.0, -0.0,}; variable
98 return Zero[sx]; /* |x|=|y| return x*0*/ in __ieee754_fmodl()
132 return Zero[sx]; in __ieee754_fmodl()
141 return Zero[sx]; in __ieee754_fmodl()
H A Ds_remquof.c24 static const float Zero[] = {0.0, -0.0,};
55 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/ in remquof()
97 return Zero[(u_int32_t)sx>>31]; in remquof()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DThunk.h58 VirtualAdjustment Zero; in isEmpty() local
59 return Equals(Zero); in isEmpty()
125 VirtualAdjustment Zero; in isEmpty() local
126 return Equals(Zero); in isEmpty()
/netbsd-src/external/gpl3/gcc.old/dist/libquadmath/math/
H A Dfmodq.c23 static const __float128 one = 1.0, Zero[] = {0.0, -0.0,}; variable
44 return Zero[(uint64_t)sx>>63]; /* |x|=|y| return x*0*/ in fmodq()
98 return Zero[(uint64_t)sx>>63]; in fmodq()
107 return Zero[(uint64_t)sx>>63]; in fmodq()
/netbsd-src/external/gpl3/gcc/dist/libquadmath/math/
H A Dfmodq.c23 static const __float128 one = 1.0, Zero[] = {0.0, -0.0,}; variable
44 return Zero[(uint64_t)sx>>63]; /* |x|=|y| return x*0*/ in fmodq()
98 return Zero[(uint64_t)sx>>63]; in fmodq()
107 return Zero[(uint64_t)sx>>63]; in fmodq()
/netbsd-src/sys/arch/arm/dts/overlays/
H A Dsunxi-h3-h5-orangepi-zero-nas.dts30 * Overlay for the Orange Pi Zero NAS expansion board for Orange Pi Zero
31 * and Orange Pi Zero Plus.
33 …* https://www.aliexpress.com/item/Orange-Pi-Zero-NAS-Expansion-board-Interface-board-Development-b…
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp81 return getKnownBits(R).Zero; in getKnownZeroes()
90 << (Known.Zero | Known.One).toString(16, false) << "\n" in dumpResult()
91 << "[" << Depth << "] Zero: 0x" << Known.Zero.toString(16, false) in dumpResult()
166 Known.Zero.setAllBits(); Known.One.setAllBits(); in computeKnownBitsImpl()
187 Known.Zero = APInt::getAllOnesValue(BitWidth); in computeKnownBitsImpl()
222 if (Known.One == 0 && Known.Zero == 0) in computeKnownBitsImpl()
359 Known.Zero.setBitsFrom(1); in computeKnownBitsImpl()
395 Known.Zero.setBitsFrom((*MI.memoperands_begin())->getSizeInBits()); in computeKnownBitsImpl()
451 Known.Zero.setBitsFrom(SrcBitWidth); in computeKnownBitsImpl()
620 Mask = Known.Zero; in computeNumSignBits()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp161 Value *Zero = Constant::getNullValue(MAdd->getType()); in tryMAddReplacement() local
162 Value *Concat = Builder.CreateShuffleVector(MAdd, Zero, ConcatMask); in tryMAddReplacement()
240 Value *Zero = Constant::getNullValue(Op0->getType()); in trySADReplacement() local
241 Op0 = Builder.CreateShuffleVector(Op0, Zero, ConcatMask); in trySADReplacement()
242 Op1 = Builder.CreateShuffleVector(Op1, Zero, ConcatMask); in trySADReplacement()
291 Value *Zero = Constant::getNullValue(Ops[0]->getType()); in trySADReplacement() local
292 Ops[0] = Builder.CreateShuffleVector(Ops[0], Zero, ConcatMask); in trySADReplacement()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DFixedPointBuilder.h53 Value *Zero = Constant::getNullValue(Result->getType()); in Convert() local
54 Value *IsNegative = B.CreateICmpSLT(Result, Zero); in Convert()
213 Constant *Zero = Constant::getNullValue(Result->getType()); in CreateFloatingToFixed() local
215 B.CreateSelect(B.CreateICmpSLT(Result, Zero), Zero, Result, "satmin"); in CreateFloatingToFixed()
271 Constant *Zero = Constant::getNullValue(Result->getType()); in CreateSub() local
273 B.CreateSelect(B.CreateICmpSLT(Result, Zero), Zero, Result, "satmin"); in CreateSub()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp1459 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in split64BitValue() local
1462 SDValue Lo = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, SL, MVT::i32, Vec, Zero); in split64BitValue()
1472 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in getLoHalf64() local
1473 return DAG.getNode(ISD::EXTRACT_VECTOR_ELT, SL, MVT::i32, Vec, Zero); in getLoHalf64()
1778 SDValue Zero = DAG.getConstant(0, DL, HalfVT); in LowerUDIVREM64() local
1782 SDValue LHS_Lo = DAG.getNode(ISD::EXTRACT_ELEMENT, DL, HalfVT, LHS, Zero); in LowerUDIVREM64()
1786 SDValue RHS_Lo = DAG.getNode(ISD::EXTRACT_ELEMENT, DL, HalfVT, RHS, Zero); in LowerUDIVREM64()
1795 SDValue DIV = DAG.getBuildVector(MVT::v2i32, DL, {Res.getValue(0), Zero}); in LowerUDIVREM64()
1796 SDValue REM = DAG.getBuildVector(MVT::v2i32, DL, {Res.getValue(1), Zero}); in LowerUDIVREM64()
1842 Zero); in LowerUDIVREM64()
[all …]

12345678910>>...31