Home
last modified time | relevance | path

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

12345678910>>...13

/freebsd-12.1/contrib/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()
43 return Zero.getBitWidth(); in getBitWidth()
67 Zero.clearAllBits(); in resetAll()
74 return Zero.isAllOnesValue(); in isZero()
85 Zero.setAllBits(); in setAllZero()
91 Zero.clearAllBits(); in setAllOnes()
108 Zero.setSignBit(); in makeNonNegative()
137 return Zero.countTrailingOnes(); in countMinTrailingZeros()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp176 APInt IKnownZero = RHSKnown.Zero | LHSKnown.Zero; in SimplifyDemandedUseBits()
210 APInt IKnownZero = RHSKnown.Zero & LHSKnown.Zero; in SimplifyDemandedUseBits()
242 APInt IKnownZero = (RHSKnown.Zero & LHSKnown.Zero) | in SimplifyDemandedUseBits()
263 if (DemandedMask.isSubsetOf(RHSKnown.Zero | LHSKnown.Zero)) { in SimplifyDemandedUseBits()
358 Known.Zero = RHSKnown.Zero & LHSKnown.Zero; in SimplifyDemandedUseBits()
619 Known.Zero = LHSKnown.Zero & LowBits; in SimplifyDemandedUseBits()
711 Known.Zero = LHSKnown.Zero.shl(ShiftAmt) | in SimplifyDemandedUseBits()
787 APInt IKnownZero = RHSKnown.Zero | LHSKnown.Zero; in SimplifyMultipleUseDemandedBits()
818 APInt IKnownZero = RHSKnown.Zero & LHSKnown.Zero; in SimplifyMultipleUseDemandedBits()
848 APInt IKnownZero = (RHSKnown.Zero & LHSKnown.Zero) | in SimplifyMultipleUseDemandedBits()
[all …]
/freebsd-12.1/contrib/llvm/lib/Support/
H A DKnownBits.cpp25 std::swap(RHS.Zero, RHS.One); in computeForAddSub()
29 APInt PossibleSumZero = ~LHS.Zero + ~RHS.Zero + CarryIn; in computeForAddSub()
33 APInt CarryKnownZero = ~(PossibleSumZero ^ LHS.Zero ^ RHS.Zero); in computeForAddSub()
37 APInt LHSKnownUnion = LHS.Zero | LHS.One; in computeForAddSub()
38 APInt RHSKnownUnion = RHS.Zero | RHS.One; in computeForAddSub()
47 KnownOut.Zero = ~std::move(PossibleSumZero) & Known; in computeForAddSub()
H A DCodeGenCoverage.cpp111 uint64_t Zero = 0; in emit() local
114 CoverageFile->os().write((const char *)&Zero, sizeof(unsigned char)); in emit()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DValueTracking.cpp632 Known.Zero |= RHSKnown.Zero; in computeKnownBitsFromAssume()
674 Known.Zero |= RHSKnown.Zero & BKnown.Zero; in computeKnownBitsFromAssume()
703 Known.Zero |= RHSKnown.Zero & BKnown.Zero; in computeKnownBitsFromAssume()
735 Known.Zero |= RHSKnown.Zero; in computeKnownBitsFromAssume()
763 Known.Zero |= RHSKnown.Zero << C; in computeKnownBitsFromAssume()
893 Known.Zero = KZF(Known.Zero, ShiftAmt); in computeKnownBitsFromShiftOperator()
989 Known.Zero |= Known2.Zero; in computeKnownBitsFromOperator()
1011 Known.Zero &= Known2.Zero; in computeKnownBitsFromOperator()
1101 Known.Zero &= Known2.Zero; in computeKnownBitsFromOperator()
1440 Known.Zero &= Known2.Zero; in computeKnownBitsFromOperator()
[all …]
H A DMemoryBuiltins.cpp501 Zero = APInt::getNullValue(IntTyBits); in compute()
569 Zero); in visitAllocaInst()
607 return std::make_pair(Size, Zero); in visitCallSite()
620 return std::make_pair(Size, Zero); in visitCallSite()
632 return Overflow ? unknown() : std::make_pair(Size, Zero); in visitCallSite()
654 return std::make_pair(Zero, Zero); in visitConstantPointerNull()
735 return std::make_pair(Zero, Zero); in visitUndefValue()
756 Zero = ConstantInt::get(IntTy, 0); in compute()
840 return std::make_pair(Size, Zero); in visitAllocaInst()
857 return std::make_pair(FirstArg, Zero); in visitCallSite()
[all …]
/freebsd-12.1/contrib/llvm/tools/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()
113 const llvm::APSInt &Zero = BVF.getValue(0, T); in assumeSymUnsupported() local
115 return assumeSymNE(State, Sym, Zero, Zero); in assumeSymUnsupported()
117 return assumeSymEQ(State, Sym, Zero, Zero); in assumeSymUnsupported()
/freebsd-12.1/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*/ in __ieee754_fmodf()
80 return Zero[(u_int32_t)sx>>31]; in __ieee754_fmodf()
89 return Zero[(u_int32_t)sx>>31]; in __ieee754_fmodf()
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*/ in __ieee754_fmod()
103 return Zero[(u_int32_t)sx>>31]; in __ieee754_fmod()
112 return Zero[(u_int32_t)sx>>31]; in __ieee754_fmod()
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*/ in fmodl()
125 return Zero[sx]; in fmodl()
134 return Zero[sx]; in fmodl()
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*/ in remquof()
93 return Zero[(u_int32_t)sx>>31]; in remquof()
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*/ in remquo()
119 return Zero[(u_int32_t)sx>>31]; in remquo()
H A Ds_remquol.c52 static const long double Zero[] = {0.0L, -0.0L}; variable
99 return Zero[sx]; /* |x|=|y| return x*0*/ in remquol()
141 return Zero[sx]; in remquol()
/freebsd-12.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.lquantzero.d.out1 Zero below the range:
124 Zero just below the range:
247 Zero at the bottom of the range:
394 Zero within the range:
541 Zero at the top of the range:
664 Zero just above the range:
787 Zero above the range:
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DABI.h76 VirtualAdjustment Zero; in isEmpty() local
77 return Equals(Zero); in isEmpty()
144 VirtualAdjustment Zero; in isEmpty() local
145 return Equals(Zero); in isEmpty()
/freebsd-12.1/contrib/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()
/freebsd-12.1/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-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp1642 Zero); in LowerUDIVREM64()
1657 Zero); in LowerUDIVREM64()
1748 SDValue DIV_Hi = DAG.getSelectCC(DL, RHS_Hi, Zero, DIV_Part, Zero, ISD::SETEQ); in LowerUDIVREM64()
1749 SDValue DIV_Lo = Zero; in LowerUDIVREM64()
1905 SDValue Zero = DAG.getConstant(0, DL, VT); in LowerSDIVREM() local
1930 SDValue LHSign = DAG.getSelectCC(DL, LHS, Zero, NegOne, Zero, ISD::SETLT); in LowerSDIVREM()
1931 SDValue RHSign = DAG.getSelectCC(DL, RHS, Zero, NegOne, Zero, ISD::SETLT); in LowerSDIVREM()
2581 SDValue Lo40Set = DAG.getSelectCC(DL, MaskedSig, Zero, Zero, One, ISD::SETEQ); in LowerFP_TO_FP16()
4357 Known.Zero |= ((RHSKnown.Zero.getZExtValue() >> SelBits) & 0xff) << I; in computeKnownBitsForTargetNode()
4361 Known.Zero |= ((LHSKnown.Zero.getZExtValue() >> SelBits) & 0xff) << I; in computeKnownBitsForTargetNode()
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp2349 Known.Zero &= Known2.Zero; in computeKnownBits()
2387 Known.Zero &= Known2.Zero; in computeKnownBits()
2396 Known.Zero &= Known2.Zero; in computeKnownBits()
2561 Known.Zero |= Known2.Zero; in computeKnownBits()
2568 Known.Zero &= Known2.Zero; in computeKnownBits()
2627 Known.Zero &= Known2.Zero; in computeKnownBits()
2638 Known.Zero &= Known2.Zero; in computeKnownBits()
3101 Known.Zero = Known2.Zero; in computeKnownBits()
3124 Known.Zero &= Known2.Zero; in computeKnownBits()
3138 Known.Zero &= Known2.Zero; in computeKnownBits()
[all …]
H A DTargetLowering.cpp543 Known.Zero &= Known2.Zero; in SimplifyDemandedBits()
561 Known.Zero &= Known2.Zero; in SimplifyDemandedBits()
598 Known.Zero &= Known2.Zero; in SimplifyDemandedBits()
605 Known.Zero &= Known2.Zero; in SimplifyDemandedBits()
658 if (DemandedBits.isSubsetOf(Known.Zero | Known2.Zero)) in SimplifyDemandedBits()
670 Known.Zero |= Known2.Zero; in SimplifyDemandedBits()
699 Known.Zero &= Known2.Zero; in SimplifyDemandedBits()
732 KnownOut.Zero = (Known.Zero & Known2.Zero) | (Known.One & Known2.One); in SimplifyDemandedBits()
782 Known.Zero &= Known2.Zero; in SimplifyDemandedBits()
800 Known.Zero &= Known2.Zero; in SimplifyDemandedBits()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonBitTracker.cpp337 RC.fill(0, L, BT::BitValue::Zero); in evaluate()
353 RC.fill(PW, RW, BT::BitValue::Zero); in evaluate()
360 RC.fill(PW, RW, BT::BitValue::Zero); in evaluate()
442 RPC.fill(0, 2, BT::BitValue::Zero); in evaluate()
683 RC[im(2)] = BT::BitValue::Zero; in evaluate()
695 : RC[BX].is(1) ? BT::BitValue::Zero in evaluate()
704 const BT::BitValue Zero = BT::BitValue::Zero; in evaluate() local
705 RegisterCell RZ = RegisterCell(W0).fill(BX, W1, Zero) in evaluate()
706 .fill(W1+(W1-BX), W0, Zero); in evaluate()
970 RC.fill(PW, RW, BT::BitValue::Zero); in evaluate()
[all …]
H A DHexagonAsmPrinter.cpp299 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction() local
301 Inst.addOperand(MCOperand::createExpr(Zero)); in HexagonProcessInstruction()
306 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction() local
308 Inst.addOperand(MCOperand::createExpr(Zero)); in HexagonProcessInstruction()
313 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction() local
315 Inst.addOperand(MCOperand::createExpr(Zero)); in HexagonProcessInstruction()
320 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction() local
322 Inst.addOperand(MCOperand::createExpr(Zero)); in HexagonProcessInstruction()
536 const MCExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction() local
537 const HexagonMCExpr *E = HexagonMCExpr::create(Zero, OutContext); in HexagonProcessInstruction()
H A DBitTracker.h158 Zero, // Bit = 0. enumerator
195 BitValue(bool B) : Type(B ? One : Zero) {} in BitValue()
211 return T == 0 ? Type == Zero in is()
258 return Type == Zero || Type == One; in num()
262 assert(Type == Zero || Type == One);
H A DHexagonConstPropagation.cpp63 Zero = 0x0001, enumerator
473 if (Ps & ConstantProperties::Zero) in print()
1303 bool Zero1 = (Props1 & P::Zero), Zero2 = (Props2 & P::Zero); in evaluateCMPpp()
1733 if (Ps & ConstantProperties::Zero) { in evaluateEXTRACTr()
2147 APInt Zero(BW, 0, false); in evaluate() local
2148 RC.add(intToConst(Zero)); in evaluate()
2212 if (Ps & (P::Zero|P::NaN)) { in evaluate()
2674 if (Ps & ConstantProperties::Zero) in evaluateHexCondMove()
2862 if (!(Ps & (P::Zero|P::NonZero))) in rewriteHexConstDefs()
2968 bool Zero = ((HasC2 && (LS2.properties() & ConstantProperties::Zero)) || in rewriteHexConstUses() local
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCUDANV.cpp200 CharUnits Offset = CharUnits::Zero(); in emitDeviceStubBody()
213 llvm::Constant *Zero = llvm::ConstantInt::get(IntTy, 0); in emitDeviceStubBody() local
214 llvm::Value *CSZero = CGF.Builder.CreateICmpEQ(CS.getInstruction(), Zero); in emitDeviceStubBody()
480 llvm::Constant *Zero = in makeModuleCtorFunction() local
482 llvm::Value *EQZero = CtorBuilder.CreateICmpEQ(HandleValue, Zero); in makeModuleCtorFunction()
613 llvm::Constant *Zero = llvm::Constant::getNullValue(HandleValue->getType()); in makeModuleDtorFunction() local
614 llvm::Value *NEZero = DtorBuilder.CreateICmpNE(HandleValue, Zero); in makeModuleDtorFunction()
619 DtorBuilder.CreateStore(Zero, GpuBinaryAddr); in makeModuleDtorFunction()

12345678910>>...13