| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/ |
| D | KnownBits.cpp | 31 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 …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
| D | KnownBits.h | 24 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 …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineSimplifyDemanded.cpp | 164 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 …]
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| D | RangedConstraintManager.cpp | 63 const llvm::APSInt &Zero = getBasicVals().getValue(0, DiffTy); in assumeSym() local 67 return assumeSymRel(State, Subtraction, Op, Zero); in assumeSym() 80 const llvm::APSInt &Zero = getBasicVals().getValue(0, ExprType); in assumeSym() local 83 return assumeSymNE(State, CanonicalEquality, Zero, Zero); in assumeSym() 86 return assumeSymEQ(State, CanonicalEquality, Zero, Zero); in assumeSym() 139 const llvm::APSInt &Zero = BVF.getValue(0, T); in assumeSymUnsupported() local 141 return assumeSymNE(State, Sym, Zero, Zero); in assumeSymUnsupported() 143 return assumeSymEQ(State, Sym, Zero, Zero); in assumeSymUnsupported()
|
| D | RangeConstraintManager.cpp | 1211 const llvm::APSInt &Zero = ValueFactory.getValue(0, T); in getFalseRange() local 1212 return RangeSet(RangeFactory, Zero); in getFalseRange() 1228 llvm::APSInt Zero = ResultType.getZeroValue(); in VisitBinaryOperator() local 1230 bool IsLHSPositiveOrZero = LHS.From() >= Zero; in VisitBinaryOperator() 1231 bool IsRHSPositiveOrZero = RHS.From() >= Zero; in VisitBinaryOperator() 1233 bool IsLHSNegative = LHS.To() < Zero; in VisitBinaryOperator() 1234 bool IsRHSNegative = RHS.To() < Zero; in VisitBinaryOperator() 1254 ? ValueFactory.getValue(--Zero) in VisitBinaryOperator() 1264 ValueFactory.getValue(--Zero)}; in VisitBinaryOperator() 1273 if (!LHS.Includes(Zero) || !RHS.Includes(Zero)) { in VisitBinaryOperator() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/ |
| D | ScalarEvolutionDivision.cpp | 68 *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 …]
|
| D | DemandedBits.cpp | 266 AB &= ~Known2.Zero; in determineLiveOperandBits() 268 AB &= ~(Known.Zero & ~Known2.Zero); in determineLiveOperandBits() 551 APInt Bound = (LHS.Zero & RHS.Zero) | (LHS.One & RHS.One); in determineLiveOperandBitsAddCarry() 568 NeededToMaintainCarryZero = LHS.Zero | ~RHS.Zero; in determineLiveOperandBitsAddCarry() 571 NeededToMaintainCarryZero = RHS.Zero | ~LHS.Zero; in determineLiveOperandBitsAddCarry() 576 APInt PossibleSumZero = ~LHS.Zero + ~RHS.Zero + !CarryZero; in determineLiveOperandBitsAddCarry() 610 NRHS.Zero = RHS.One; in determineLiveOperandBitsSub() 611 NRHS.One = RHS.Zero; in determineLiveOperandBitsSub()
|
| D | MemoryBuiltins.cpp | 613 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 …]
|
| D | ValueTracking.cpp | 459 Known.Zero.setAllBits(); in computeKnownBitsFromRangeMetadata() 475 Known.Zero &= ~UnsignedMax & Mask; in computeKnownBitsFromRangeMetadata() 644 Known.Zero.setLowBits(Log2_32(RK.ArgValue)); in computeKnownBitsFromAssume() 711 Known.Zero |= RHSKnown.Zero; in computeKnownBitsFromAssume() 724 Known.Zero |= RHSKnown.Zero & MaskKnown.One; in computeKnownBitsFromAssume() 737 Known.Zero |= RHSKnown.One & MaskKnown.One; in computeKnownBitsFromAssume() 738 Known.One |= RHSKnown.Zero & MaskKnown.One; in computeKnownBitsFromAssume() 750 Known.Zero |= RHSKnown.Zero & BKnown.Zero; in computeKnownBitsFromAssume() 751 Known.One |= RHSKnown.One & BKnown.Zero; in computeKnownBitsFromAssume() 763 Known.Zero |= RHSKnown.One & BKnown.Zero; in computeKnownBitsFromAssume() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| D | AMDGPUEmitPrintf.cpp | 88 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()
|
| D | IntegerDivision.cpp | 160 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()
|
| /freebsd-12-stable/lib/msun/src/ |
| D | e_fmodf.c | 28 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 fmodf() 80 return Zero[(u_int32_t)sx>>31]; in fmodf() 89 return Zero[(u_int32_t)sx>>31]; in fmodf()
|
| D | e_fmod.c | 28 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 fmod() 103 return Zero[(u_int32_t)sx>>31]; in fmod() 112 return Zero[(u_int32_t)sx>>31]; in fmod()
|
| D | e_fmodl.c | 52 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()
|
| D | s_remquof.c | 19 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()
|
| D | s_remquo.c | 21 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()
|
| /freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/ |
| D | tst.lquantzero.d.out | 1 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-stable/contrib/llvm-project/clang/include/clang/Basic/ |
| D | Thunk.h | 58 VirtualAdjustment Zero; in isEmpty() local 59 return Equals(Zero); in isEmpty() 125 VirtualAdjustment Zero; in isEmpty() local 126 return Equals(Zero); in isEmpty()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| D | GISelKnownBits.cpp | 82 return getKnownBits(R).Zero; in getKnownZeroes() 91 << toString(Known.Zero | Known.One, 16, false) << "\n" in dumpResult() 92 << "[" << Depth << "] Zero: 0x" << toString(Known.Zero, 16, false) in dumpResult() 124 Mask.Zero = APInt::getBitsSetFrom( in extractBits() 181 Known.Zero.setAllBits(); Known.One.setAllBits(); in computeKnownBitsImpl() 202 Known.Zero = APInt::getAllOnesValue(BitWidth); in computeKnownBitsImpl() 237 if (Known.One == 0 && Known.Zero == 0) in computeKnownBitsImpl() 374 Known.Zero.setBitsFrom(1); in computeKnownBitsImpl() 410 Known.Zero.setBitsFrom((*MI.memoperands_begin())->getSizeInBits()); in computeKnownBitsImpl() 466 Known.Zero.setBitsFrom(SrcBitWidth); in computeKnownBitsImpl() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
| D | X86PartialReduction.cpp | 161 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()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| D | FixedPointBuilder.h | 53 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()
|
| /freebsd-12-stable/sys/mips/mips/ |
| D | locore.S | 185 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-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| D | AMDGPUISelLowering.cpp | 1514 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in split64BitValue() local 1517 SDValue Lo = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, SL, MVT::i32, Vec, Zero); in split64BitValue() 1527 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in getLoHalf64() local 1528 return DAG.getNode(ISD::EXTRACT_VECTOR_ELT, SL, MVT::i32, Vec, Zero); in getLoHalf64() 1833 SDValue Zero = DAG.getConstant(0, DL, HalfVT); in LowerUDIVREM64() local 1837 SDValue LHS_Lo = DAG.getNode(ISD::EXTRACT_ELEMENT, DL, HalfVT, LHS, Zero); in LowerUDIVREM64() 1841 SDValue RHS_Lo = DAG.getNode(ISD::EXTRACT_ELEMENT, DL, HalfVT, RHS, Zero); in LowerUDIVREM64() 1850 SDValue DIV = DAG.getBuildVector(MVT::v2i32, DL, {Res.getValue(0), Zero}); in LowerUDIVREM64() 1851 SDValue REM = DAG.getBuildVector(MVT::v2i32, DL, {Res.getValue(1), Zero}); in LowerUDIVREM64() 1897 Zero); in LowerUDIVREM64() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| D | HexagonBitTracker.cpp | 325 return rr0(RegisterCell(W0).fill(0, W0, BT::BitValue::Zero), Outputs); in evaluate() 334 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() 680 RC[im(2)] = BT::BitValue::Zero; in evaluate() 692 : RC[BX].is(1) ? BT::BitValue::Zero in evaluate() 701 const BT::BitValue Zero = BT::BitValue::Zero; in evaluate() local 702 RegisterCell RZ = RegisterCell(W0).fill(BX, W1, Zero) in evaluate() 703 .fill(W1+(W1-BX), W0, Zero); in evaluate() [all …]
|
| D | HexagonAsmPrinter.cpp | 291 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction() local 293 Inst.addOperand(MCOperand::createExpr(Zero)); in HexagonProcessInstruction() 298 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction() local 300 Inst.addOperand(MCOperand::createExpr(Zero)); in HexagonProcessInstruction() 305 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction() local 307 Inst.addOperand(MCOperand::createExpr(Zero)); in HexagonProcessInstruction() 312 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction() local 314 Inst.addOperand(MCOperand::createExpr(Zero)); in HexagonProcessInstruction() 528 const MCExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction() local 529 const HexagonMCExpr *E = HexagonMCExpr::create(Zero, OutContext); in HexagonProcessInstruction()
|