Home
last modified time | relevance | path

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

12345678

/minix/external/bsd/libc++/dist/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
H A Dallocate_shared_no_variadics.pass.cpp25 struct Zero struct
28 Zero() {++count;} in Zero() function
29 Zero(Zero const &) {++count;} in Zero() function
30 ~Zero() {--count;} in ~Zero() argument
33 int Zero::count = 0;
74 std::shared_ptr<Zero> p = std::allocate_shared<Zero>(Alloc()); in test()
75 assert(Zero::count == 1); in test()
77 assert(Zero::count == 0); in test()
/minix/external/bsd/llvm/dist/clang/test/Analysis/
H A Denum.cpp6 Zero enumerator
10 return Foo::Zero == (Foo)x; // don't crash in pr15703()
18 clang_analyzer_eval(f == Foo::Zero); // expected-warning{{TRUE}} in testCasting()
23 clang_analyzer_eval(f == Foo::Zero); // expected-warning{{FALSE}} in testCasting()
/minix/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.c18 static const float Zero[] = {0.0, -0.0,}; variable
49 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/ in remquof()
91 return Zero[(u_int32_t)sx>>31]; in remquof()
H A Ds_remquo.c20 static const double Zero[] = {0.0, -0.0,}; variable
54 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/ in remquo()
117 return Zero[(u_int32_t)sx>>31]; in remquo()
/minix/external/bsd/llvm/dist/clang/test/SemaTemplate/
H A Dalias-templates.cpp174 template <typename ... Args> using Zero = tuple<DefaultValue<Args> ...>; typedef
175 template <typename ... Args> void f(const Zero<Args ...> &t);
177 f(Zero<int,double,double>()); in f()
185 template <template<int x> class... Args> using Zero = tuple<DefaultValue<Args> ...>; typedef
186 template <template<int x> class... Args> void f(const Zero<Args ...> &t);
188 f(Zero<X,X,X>()); in f()
H A Dalias-church-numerals.cpp9 template<template<typename> class, typename X> using Zero = X; typedef
12 template<template<typename> class F, typename X> using One = Succ<Zero, F, X>;
/minix/external/bsd/llvm/dist/llvm/unittests/CodeGen/
H A DDIEHashTest.cpp104 DIEInteger Zero(0); in TEST() local
106 &Zero); in TEST()
135 DIEInteger Zero(0); in TEST() local
137 &Zero); in TEST()
189 DIEInteger Zero(0); in TEST() local
218 DIEInteger Zero(0); in TEST() local
251 DIEInteger Zero(0); in TEST() local
284 DIEInteger Zero(0); in TEST() local
309 DIEInteger Zero(0); in TEST() local
382 DIEInteger Zero(0); in TEST() local
[all …]
/minix/external/bsd/llvm/dist/clang/include/clang/Basic/
H A DABI.h73 VirtualAdjustment Zero; in isEmpty() local
74 return Equals(Zero); in isEmpty()
141 VirtualAdjustment Zero; in isEmpty() local
142 return Equals(Zero); in isEmpty()
/minix/external/bsd/llvm/dist/llvm/unittests/IR/
H A DConstantsTest.cpp24 Constant* Zero = ConstantInt::get(Int1, 0); in TEST() local
31 EXPECT_EQ(Zero, ConstantExpr::getAdd(One, One)); in TEST()
35 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, One)); in TEST()
39 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, NegOne)); in TEST()
43 EXPECT_EQ(Zero, ConstantExpr::getSub(NegOne, One)); in TEST()
47 EXPECT_EQ(Zero, ConstantExpr::getSub(One, NegOne)); in TEST()
51 EXPECT_EQ(Zero, ConstantExpr::getSub(One, One)); in TEST()
59 EXPECT_EQ(One, ConstantExpr::getShl(One, Zero)); in TEST()
91 EXPECT_EQ(Zero, ConstantExpr::getSRem(NegOne, One)); in TEST()
95 EXPECT_EQ(Zero, ConstantExpr::getURem(NegOne, One)); in TEST()
[all …]
H A DConstantRangeTest.cpp391 ConstantRange Zero(APInt(16, 0)); in TEST_F() local
392 EXPECT_EQ(Zero.multiply(Full), Zero); in TEST_F()
393 EXPECT_EQ(Zero.multiply(Some), Zero); in TEST_F()
394 EXPECT_EQ(Zero.multiply(Wrap), Zero); in TEST_F()
395 EXPECT_EQ(Full.multiply(Zero), Zero); in TEST_F()
396 EXPECT_EQ(Some.multiply(Zero), Zero); in TEST_F()
397 EXPECT_EQ(Wrap.multiply(Zero), Zero); in TEST_F()
/minix/external/bsd/llvm/dist/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp413 Zero = APInt::getNullValue(IntTyBits); in compute()
497 return std::make_pair(Size, Zero); in visitCallSite()
507 return std::make_pair(Size, Zero); in visitCallSite()
514 return std::make_pair(Size, Zero); in visitCallSite()
527 return std::make_pair(Zero, Zero); in visitConstantPointerNull()
561 return std::make_pair(align(Size, GV.getAlignment()), Zero); in visitGlobalVariable()
588 return std::make_pair(Zero, Zero); in visitUndefValue()
609 Zero = ConstantInt::get(IntTy, 0); in compute()
692 return std::make_pair(Size, Zero); in visitAllocaInst()
710 return std::make_pair(FirstArg, Zero); in visitCallSite()
[all …]
/minix/external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/
H A Dor-06.ll6 ; Zero extension to 32 bits, negative constant.
19 ; Zero extension to 64 bits, negative constant.
32 ; Zero extension to 32 bits, positive constant.
45 ; Zero extension to 64 bits, positive constant.
H A Dand-06.ll6 ; Zero extension to 32 bits, negative constant.
19 ; Zero extension to 64 bits, negative constant.
32 ; Zero extension to 32 bits, positive constant.
45 ; Zero extension to 64 bits, positive constant.
H A Dxor-06.ll6 ; Zero extension to 32 bits, negative constant.
19 ; Zero extension to 64 bits, negative constant.
32 ; Zero extension to 32 bits, positive constant.
45 ; Zero extension to 64 bits, positive constant.
H A Dargs-05.ll5 ; Zero extension of something that is already zero-extended.
38 ; Zero extension of something that is already sign-extended.
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp161 ConstantInt *Zero; in generateUnsignedDivisionCode() local
167 Zero = Builder.getInt64(0); in generateUnsignedDivisionCode()
173 Zero = Builder.getInt32(0); in generateUnsignedDivisionCode()
252 Value *Ret0_1 = Builder.CreateICmpEQ(Divisor, Zero); in generateUnsignedDivisionCode()
253 Value *Ret0_2 = Builder.CreateICmpEQ(Dividend, Zero); in generateUnsignedDivisionCode()
261 Value *RetVal = Builder.CreateSelect(Ret0, Zero, Dividend); in generateUnsignedDivisionCode()
275 Value *SkipLoop = Builder.CreateICmpEQ(SR_1, Zero); in generateUnsignedDivisionCode()
321 Value *Tmp12 = Builder.CreateICmpEQ(SR_2, Zero); in generateUnsignedDivisionCode()
345 Carry_1->addIncoming(Zero, Preheader); in generateUnsignedDivisionCode()
357 Carry_2->addIncoming(Zero, BB1); in generateUnsignedDivisionCode()
/minix/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGCXXABI.cpp181 return CharUnits::Zero(); in GetArrayCookieSize()
187 return CharUnits::Zero(); in getArrayCookieSizeImpl()
232 cookieSize = CharUnits::Zero(); in ReadArrayCookie()
274 CharUnits ThisAdjustment = CharUnits::Zero(); in getMemberPointerPathAdjustment()
H A DCGCUDANV.cpp108 llvm::Constant *Zero = llvm::ConstantInt::get(IntTy, 0); in EmitDeviceStubBody() local
109 llvm::Value *CSZero = CGF.Builder.CreateICmpEQ(CS.getInstruction(), Zero); in EmitDeviceStubBody()
/minix/external/bsd/llvm/dist/llvm/test/Assembler/
H A Dinvalid-datalayout3.ll3 ; CHECK: Zero width native integer type in datalayout string
/minix/common/dist/zlib/contrib/dotzlib/DotZLib/
H A DGZipStream.cs57 if (_gzFile == IntPtr.Zero) in GZipStream()
70 if (_gzFile == IntPtr.Zero) in GZipStream()
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp363 APInt Zero(BitWidth, 0); in ComputePHILiveOutRegInfo() local
364 DestLOI.KnownZero = Zero; in ComputePHILiveOutRegInfo()
365 DestLOI.KnownOne = Zero; in ComputePHILiveOutRegInfo()
398 APInt Zero(BitWidth, 0); in ComputePHILiveOutRegInfo() local
399 DestLOI.KnownZero = Zero; in ComputePHILiveOutRegInfo()
400 DestLOI.KnownOne = Zero; in ComputePHILiveOutRegInfo()
/minix/external/bsd/llvm/dist/llvm/lib/Target/Mips/
H A DMipsSEISelDAGToDAG.cpp684 SDValue Zero = CurDAG->getCopyFromReg(CurDAG->getEntryNode(), DL, in selectNode() local
686 Result = CurDAG->getMachineNode(Mips::DMTC1, DL, MVT::f64, Zero); in selectNode()
688 SDValue Zero = CurDAG->getCopyFromReg(CurDAG->getEntryNode(), DL, in selectNode() local
691 Zero, Zero); in selectNode()
693 SDValue Zero = CurDAG->getCopyFromReg(CurDAG->getEntryNode(), DL, in selectNode() local
695 Result = CurDAG->getMachineNode(Mips::BuildPairF64, DL, MVT::f64, Zero, in selectNode()
696 Zero); in selectNode()

12345678