Searched refs:Zero (Results 1 - 25 of 181) sorted by relevance

12345678

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h23 APInt Zero; member in struct:llvm::KnownBits
28 KnownBits(APInt Zero, APInt One) argument
29 : Zero(std::move(Zero)), One(std::move(One)) {}
32 // Default construct Zero and One.
36 KnownBits(unsigned BitWidth) : Zero(BitWidth, 0), One(BitWidth, 0) {}
40 assert(Zero.getBitWidth() == One.getBitWidth() &&
41 "Zero and One should have the same width!");
42 return Zero.getBitWidth();
46 bool hasConflict() const { return Zero
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DKnownBits.cpp29 APInt CarryKnownZero = ~(PossibleSumZero ^ LHS.Zero ^ RHS.Zero);
33 APInt LHSKnownUnion = LHS.Zero | LHS.One;
34 APInt RHSKnownUnion = RHS.Zero | RHS.One;
43 KnownOut.Zero = ~std::move(PossibleSumZero) & Known;
52 LHS, RHS, Carry.Zero.getBoolValue(), Carry.One.getBoolValue());
64 std::swap(RHS.Zero, RHS.One);
88 Zero |= RHS.Zero;
96 Zero
[all...]
H A DCodeGenCoverage.cpp97 uint64_t Zero = 0;
100 CoverageFile->os().write((const char *)&Zero, sizeof(unsigned char));
/freebsd-13-stable/contrib/bmake/unit-tests/
H A Ddirective-for-null.exp1 make: "(stdin)" line 2: Zero byte read from file
3 make: "(stdin)" line 3: Zero byte read from file
H A Dopt-file.exp4 make: "(stdin)" line 1: Zero byte read from file
/freebsd-13-stable/lib/msun/src/
H A De_fmodf.c28 static const float one = 1.0, Zero[] = {0.0, -0.0,}; variable
47 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/
80 return Zero[(u_int32_t)sx>>31];
89 return Zero[(u_int32_t)sx>>31];
H A Ds_remquof.c19 static const float Zero[] = {0.0, -0.0,}; variable
50 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/
93 return Zero[(u_int32_t)sx>>31];
H A De_fmod.c28 static const double one = 1.0, Zero[] = {0.0, -0.0,}; variable
49 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/
103 return Zero[(u_int32_t)sx>>31];
112 return Zero[(u_int32_t)sx>>31];
H A De_fmodl.c52 static const long double one = 1.0, Zero[] = {0.0, -0.0,}; variable
91 return Zero[sx]; /* |x|=|y| return x*0*/
125 return Zero[sx];
134 return Zero[sx];
H A Ds_remquo.c21 static const double Zero[] = {0.0, -0.0,}; variable
55 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/
119 return Zero[(u_int32_t)sx>>31];
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolutionDivision.cpp68 *Remainder = D.Zero;
73 *Quotient = D.Zero;
74 *Remainder = D.Zero;
81 *Remainder = D.Zero;
96 *Quotient = D.Zero;
101 *Remainder = D.Zero;
206 Remainder = Zero;
220 cast<SCEVConstant>(Zero)->getValue();
238 if (R != Zero)
246 Zero
[all...]
H A DValueTracking.cpp288 return (LHSKnown.Zero | RHSKnown.Zero).isAllOnesValue();
503 unsigned TrailBitsKnown0 = (Known.Zero | Known.One).countTrailingOnes();
504 unsigned TrailBitsKnown1 = (Known2.Zero | Known2.One).countTrailingOnes();
518 Known.Zero.setHighBits(LeadZ);
519 Known.Zero |= (~BottomKnown).getLoBits(ResultBitsKnown);
539 Known.Zero.setAllBits();
555 Known.Zero &= ~Range.getUnsignedMax() & Mask;
803 Known.Zero |= RHSKnown.Zero;
[all...]
H A DMemoryBuiltins.cpp602 Zero = APInt::getNullValue(IntTyBits);
662 return std::make_pair(align(Size, I.getAlignment()), Zero);
673 Zero);
686 return std::make_pair(align(Size, A.getParamAlignment()), Zero);
711 return std::make_pair(Size, Zero);
724 return std::make_pair(Size, Zero);
736 return Overflow ? unknown() : std::make_pair(Size, Zero);
758 return std::make_pair(Zero, Zero);
792 return std::make_pair(align(Size, GV.getAlignment()), Zero);
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp82 return getKnownBits(R).Zero;
91 << (Known.Zero | Known.One).toString(16, false) << "\n"
92 << "[" << Depth << "] Zero: 0x" << Known.Zero.toString(16, false)
153 Known.Zero = APInt::getAllOnesValue(BitWidth);
186 Known.Zero &= Known2.Zero;
189 if (Known.One == 0 && Known.Zero == 0)
204 Known.Zero = ~Known.One;
247 // If either the LHS or the RHS are Zero, th
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp105 /// expression. Known.Zero contains all the bits that are known to be zero in
109 /// Known.One and Known.Zero always follow the invariant that:
110 /// Known.One & Known.Zero == 0.
112 /// Known.Zero may only be accurate for those bits set in DemandedMask. Note
113 /// also that the bitwidth of V, DemandedMask, Known.Zero and Known.One must all
171 // If either the LHS or the RHS are Zero, the result is zero.
173 SimplifyDemandedBits(I, 0, DemandedMask & ~RHSKnown.Zero, LHSKnown,
183 if (DemandedMask.isSubsetOf(Known.Zero | Known.One))
188 if (DemandedMask.isSubsetOf(LHSKnown.Zero | RHSKnown.One))
190 if (DemandedMask.isSubsetOf(RHSKnown.Zero | LHSKnow
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRangedConstraintManager.cpp60 const llvm::APSInt &Zero = getBasicVals().getValue(0, DiffTy); local
64 return assumeSymRel(State, Subtraction, Op, Zero);
112 const llvm::APSInt &Zero = BVF.getValue(0, T); local
114 return assumeSymNE(State, Sym, Zero, Zero);
116 return assumeSymEQ(State, Sym, Zero, Zero);
H A DRangeConstraintManager.cpp682 const llvm::APSInt &Zero = ValueFactory.getValue(0, T);
685 const RangeSet FalseRangeSet(RangeFactory, Zero, Zero);
751 llvm::APSInt Zero = ResultType.getZeroValue();
753 bool IsLHSPositiveOrZero = LHS.From() >= Zero;
754 bool IsRHSPositiveOrZero = RHS.From() >= Zero;
756 bool IsLHSNegative = LHS.To() < Zero;
757 bool IsRHSNegative = RHS.To() < Zero;
777 ? ValueFactory.getValue(--Zero)
787 ValueFactory.getValue(--Zero)};
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAMDGPUEmitPrintf.cpp91 auto Zero = Builder.getInt64(0); local
92 return callAppendArgs(Builder, Desc, 1, Arg0, Zero, Zero, Zero, Zero, Zero,
93 Zero, IsLast);
104 auto Zero = Builder.getInt64(0); local
160 LenPhi->addIncoming(Zero, Prev);
/freebsd-13-stable/contrib/googletest/googletest/samples/
H A Dsample1_unittest.cc100 TEST(FactorialTest, Zero) {
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DABI.h75 VirtualAdjustment Zero; local
76 return Equals(Zero);
143 VirtualAdjustment Zero; local
144 return Equals(Zero);
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBoolAssignmentChecker.cpp85 llvm::APSInt Zero = BVF.getValue(0, valTy); local
89 std::tie(StIn, StOut) = CM.assumeInclusiveRangeDual(state, *NV, Zero, One);
/freebsd-13-stable/sys/mips/mips/
H A Dlocore.S185 REG_S zero, CALLFRAME_RA(sp) # Zero out old ra for debugger
186 REG_S zero, CALLFRAME_SP(sp) # Zero out old fp for debugger
201 sw zero, CALLFRAME_SIZ - 8(sp) # Zero out old fp for debugger
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DPointer.cpp86 Offset = CharUnits::Zero();
102 Offset = CharUnits::Zero();
105 Offset = CharUnits::Zero();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGISelKnownBits.h74 return Mask.isSubsetOf(getKnownBits(Val).Zero);
84 Known.Zero.setLowBits(Log2(Alignment));
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolutionDivision.h64 const SCEV *Denominator, *Quotient, *Remainder, *Zero, *One; member in struct:llvm::SCEVDivision

Completed in 139 milliseconds

12345678