Home
last modified time | relevance | path

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

12345678910>>...15

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h24 APInt Zero; member
30 : Zero(std::move(Zero)), One(std::move(One)) {} in KnownBits()
85 Zero.setAllBits(); in setAllZero()
116 Zero.setSignBit(); in makeNonNegative()
138 return ~Zero; in getMaxValue()
211 Zero.insertBits(SubBits.Zero, BitPosition); in insertBits()
225 return KnownBits(Zero.concat(Lo.Zero), One.concat(Lo.One)); in concat()
303 return KnownBits(Zero & RHS.Zero, One & RHS.One); in intersectWith()
313 return KnownBits(Zero | RHS.Zero, One | RHS.One); in unionWith()
324 return (LHS.Zero | RHS.Zero).isAllOnes(); in haveNoCommonBitsSet()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DKnownBits.cpp31 APInt CarryKnownZero = ~(PossibleSumZero ^ LHS.Zero ^ RHS.Zero); in computeForAddCarry()
111 Result.Zero = Zero << ExtBits; in sextInReg()
157 APInt Zero = Val.Zero; in smax() local
172 Zero.setBitVal(SignBitPosition, Val.Zero[SignBitPosition]); in smin()
192 Known.Zero = LHS.Zero.ushl_ov(ShiftAmt, ShiftedOutZero); in shl()
368 if (LHS.One.intersects(RHS.Zero) || RHS.One.intersects(LHS.Zero)) in eq()
609 Res.Zero = ~C; in computeForSatAddSub()
948 Zero |= RHS.Zero; in operator &=()
956 Zero &= RHS.Zero; in operator |=()
964 APInt Z = (Zero & RHS.Zero) | (One & RHS.One); in operator ^=()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRangedConstraintManager.cpp45 const llvm::APSInt &Zero = getBasicVals().getValue(0, SIE->getType()); in assumeSym() local
46 return assumeSymRel(State, SIE, (Assumption ? BO_NE : BO_EQ), Zero); in assumeSym()
68 const llvm::APSInt &Zero = getBasicVals().getValue(0, DiffTy); in assumeSym() local
72 return assumeSymRel(State, Subtraction, Op, Zero); in assumeSym()
85 const llvm::APSInt &Zero = getBasicVals().getValue(0, ExprType); in assumeSym() local
88 return assumeSymNE(State, CanonicalEquality, Zero, Zero); in assumeSym()
91 return assumeSymEQ(State, CanonicalEquality, Zero, Zero); in assumeSym()
145 const llvm::APSInt &Zero = BVF.getValue(0, T); in assumeSymUnsupported() local
147 return assumeSymNE(State, Sym, Zero, Zero); in assumeSymUnsupported()
149 return assumeSymEQ(State, Sym, Zero, Zero); in assumeSymUnsupported()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolutionDivision.cpp66 *Remainder = D.Zero; in divide()
71 *Quotient = D.Zero; in divide()
72 *Remainder = D.Zero; in divide()
79 *Remainder = D.Zero; in divide()
94 *Quotient = D.Zero; in divide()
99 *Remainder = D.Zero; in divide()
208 Remainder = Zero; in visitMulExpr()
221 RewriteMap[cast<SCEVUnknown>(Denominator)->getValue()] = Zero; in visitMulExpr()
238 if (R != Zero) in visitMulExpr()
246 Zero = SE.getZero(Denominator->getType()); in SCEVDivision()
[all …]
H A DDemandedBits.cpp234 AB &= ~Known2.Zero; in determineLiveOperandBits()
236 AB &= ~(Known.Zero & ~Known2.Zero); in determineLiveOperandBits()
507 APInt Bound = (LHS.Zero & RHS.Zero) | (LHS.One & RHS.One); in determineLiveOperandBitsAddCarry()
524 NeededToMaintainCarryZero = LHS.Zero | ~RHS.Zero; in determineLiveOperandBitsAddCarry()
527 NeededToMaintainCarryZero = RHS.Zero | ~LHS.Zero; in determineLiveOperandBitsAddCarry()
532 APInt PossibleSumZero = ~LHS.Zero + ~RHS.Zero + !CarryZero; in determineLiveOperandBitsAddCarry()
566 NRHS.Zero = RHS.One; in determineLiveOperandBitsSub()
567 NRHS.One = RHS.Zero; in determineLiveOperandBitsSub()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp315 if (DemandedMask.isSubsetOf(RHSKnown.Zero | LHSKnown.Zero)) { in SimplifyDemandedUseBits()
740 Known.Zero.lshrInPlace(ShiftAmt); in SimplifyDemandedUseBits()
790 Known.Zero.lshrInPlace(ShiftAmt); in SimplifyDemandedUseBits()
796 if (Known.Zero[BitWidth-ShiftAmt-1] || in SimplifyDemandedUseBits()
807 Known.Zero &= ~HighBits; in SimplifyDemandedUseBits()
854 Known.Zero = LHSKnown.Zero & LowBits; in SimplifyDemandedUseBits()
860 Known.Zero |= ~LowBits; in SimplifyDemandedUseBits()
1012 Known.Zero = LHSKnown.Zero.shl(ShiftAmt) | in SimplifyDemandedUseBits()
1061 Known.Zero.setLowBits(Log2(Alignment)); in SimplifyDemandedUseBits()
1278 Known.Zero.setLowBits(ShlAmt - 1); in simplifyShrShlDemandedBits()
[all …]
/freebsd-14.2/lib/msun/src/
H A De_fmodf.c25 static const float one = 1.0, Zero[] = {0.0, -0.0,}; variable
44 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/ in fmodf()
77 return Zero[(u_int32_t)sx>>31]; in fmodf()
86 return Zero[(u_int32_t)sx>>31]; in fmodf()
H A De_fmod.c25 static const double one = 1.0, Zero[] = {0.0, -0.0,}; variable
46 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/ in fmod()
100 return Zero[(u_int32_t)sx>>31]; in fmod()
109 return Zero[(u_int32_t)sx>>31]; in fmod()
H A De_fmodl.c49 static const long double one = 1.0, Zero[] = {0.0, -0.0,}; variable
88 return Zero[sx]; /* |x|=|y| return x*0*/ in fmodl()
122 return Zero[sx]; in fmodl()
131 return Zero[sx]; in fmodl()
H A Ds_remquof.c16 static const float Zero[] = {0.0, -0.0,}; variable
47 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/ in remquof()
90 return Zero[(u_int32_t)sx>>31]; in remquof()
H A Ds_remquo.c18 static const double Zero[] = {0.0, -0.0,}; variable
52 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/ in remquo()
116 return Zero[(u_int32_t)sx>>31]; in remquo()
/freebsd-14.2/sys/contrib/device-tree/Bindings/mtd/
H A Dfsmc-nand.txt16 are valid. Zero means one clockcycle, 15 means 16 clock
21 Only valid for write transactions. Zero means zero cycles,
24 when writing) after the command deassertation. Zero means
27 NAND flash in response to SMWAITn. Zero means 1 cycle,
30 command is asserted. Zero means one cycle, 255 means 256
/freebsd-14.2/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-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp90 return getKnownBits(R).Zero; in getKnownZeroes()
99 << toString(Known.Zero | Known.One, 16, false) << "\n" in dumpResult()
132 Mask.Zero = APInt::getBitsSetFrom( in extractBits()
189 Known.Zero.setAllBits(); Known.One.setAllBits(); in computeKnownBitsImpl()
210 Known.Zero = APInt::getAllOnes(BitWidth); in computeKnownBitsImpl()
382 Known.Zero.setBitsFrom(1); in computeKnownBitsImpl()
474 Known.Zero.setBitsFrom(SrcBitWidth); in computeKnownBitsImpl()
483 Known.Zero.setLowBits(LogOfAlign); in computeKnownBitsImpl()
538 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsImpl()
587 Known.Zero.setBitsFrom(1); in computeKnownBitsImpl()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.h578 static inline unsigned getAUTOpcodeForKey(AArch64PACKey::ID K, bool Zero) { in getAUTOpcodeForKey() argument
581 case IA: return Zero ? AArch64::AUTIZA : AArch64::AUTIA; in getAUTOpcodeForKey()
582 case IB: return Zero ? AArch64::AUTIZB : AArch64::AUTIB; in getAUTOpcodeForKey()
583 case DA: return Zero ? AArch64::AUTDZA : AArch64::AUTDA; in getAUTOpcodeForKey()
584 case DB: return Zero ? AArch64::AUTDZB : AArch64::AUTDB; in getAUTOpcodeForKey()
590 static inline unsigned getPACOpcodeForKey(AArch64PACKey::ID K, bool Zero) { in getPACOpcodeForKey() argument
593 case IA: return Zero ? AArch64::PACIZA : AArch64::PACIA; in getPACOpcodeForKey()
594 case IB: return Zero ? AArch64::PACIZB : AArch64::PACIB; in getPACOpcodeForKey()
595 case DA: return Zero ? AArch64::PACDZA : AArch64::PACDA; in getPACOpcodeForKey()
596 case DB: return Zero ? AArch64::PACDZB : AArch64::PACDB; in getPACOpcodeForKey()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerAtomic.cpp84 Constant *Zero = ConstantInt::get(Loaded->getType(), 0); in buildAtomicRMWValue() local
85 return Builder.CreateSelect(Cmp, Zero, Inc, "new"); in buildAtomicRMWValue()
88 Constant *Zero = ConstantInt::get(Loaded->getType(), 0); in buildAtomicRMWValue() local
92 Value *CmpEq0 = Builder.CreateICmpEQ(Loaded, Zero); in buildAtomicRMWValue()
H A DAMDGPUEmitPrintf.cpp79 auto Zero = Builder.getInt64(0); in appendArg() local
80 return callAppendArgs(Builder, Desc, 1, Arg0, Zero, Zero, Zero, Zero, Zero, in appendArg()
81 Zero, IsLast); in appendArg()
92 auto Zero = Builder.getInt64(0); in getStrlenWithNull() local
148 LenPhi->addIncoming(Zero, Prev); in getStrlenWithNull()
/freebsd-14.2/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
/freebsd-14.2/sys/contrib/device-tree/Bindings/regulator/
H A Dregulator.yaml123 hardware performs emergency shutdown. Zero can be passed to disable
130 Zero can be passed to disable error detection and value '1' indicates
136 damaged. Recovery actions should be initiated. Zero can be passed to
142 hardware performs emergency shutdown. Zero can be passed to disable
150 Zero can be passed to disable error detection and value '1' indicates
157 damaged. Recovery actions should be initiated. Zero can be passed to
164 hardware performs emergency shutdown. Zero can be passed to disable
172 Zero can be passed to disable error detection and value '1' indicates
179 it gets damaged. Recovery actions should be initiated. Zero can be passed
186 hardware performs emergency shutdown. Zero can be passed to disable
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DFixedPointBuilder.h55 Value *Zero = Constant::getNullValue(Result->getType()); in Convert() local
56 Value *IsNegative = B.CreateICmpSLT(Result, Zero); in Convert()
215 Constant *Zero = Constant::getNullValue(Result->getType()); in CreateFloatingToFixed() local
217 B.CreateSelect(B.CreateICmpSLT(Result, Zero), Zero, Result, "satmin"); in CreateFloatingToFixed()
273 Constant *Zero = Constant::getNullValue(Result->getType()); in CreateSub() local
275 B.CreateSelect(B.CreateICmpSLT(Result, Zero), Zero, Result, "satmin"); in CreateSub()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp207 Value *Zero = Constant::getNullValue(MAdd->getType()); in tryMAddReplacement() local
208 Value *Concat = Builder.CreateShuffleVector(MAdd, Zero, ConcatMask); in tryMAddReplacement()
291 Value *Zero = Constant::getNullValue(Op0->getType()); in trySADReplacement() local
292 Op0 = Builder.CreateShuffleVector(Op0, Zero, ConcatMask); in trySADReplacement()
293 Op1 = Builder.CreateShuffleVector(Op1, Zero, ConcatMask); in trySADReplacement()
342 Value *Zero = Constant::getNullValue(Ops[0]->getType()); in trySADReplacement() local
343 Ops[0] = Builder.CreateShuffleVector(Ops[0], Zero, ConcatMask); in trySADReplacement()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DFunctionPointer.h32 return APValue(static_cast<Expr *>(nullptr), CharUnits::Zero(), {}, in toAPValue()
35 return APValue(Func->getDecl(), CharUnits::Zero(), {}, in toAPValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64GlobalISelUtils.cpp71 auto Zero = in tryEmitBZero() local
73 if (!Zero || Zero->Value.getSExtValue() != 0) in tryEmitBZero()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitTracker.cpp334 RC.fill(0, L, BT::BitValue::Zero); in evaluate()
350 RC.fill(PW, RW, BT::BitValue::Zero); in evaluate()
357 RC.fill(PW, RW, BT::BitValue::Zero); in evaluate()
439 RPC.fill(0, 2, BT::BitValue::Zero); in evaluate()
685 RC[im(2)] = BT::BitValue::Zero; in evaluate()
697 : RC[BX].is(1) ? BT::BitValue::Zero in evaluate()
706 const BT::BitValue Zero = BT::BitValue::Zero; in evaluate() local
707 RegisterCell RZ = RegisterCell(W0).fill(BX, W1, Zero) in evaluate()
708 .fill(W1+(W1-BX), W0, Zero); in evaluate()
972 RC.fill(PW, RW, BT::BitValue::Zero); in evaluate()
[all …]

12345678910>>...15