Searched refs:One (Results 1 - 25 of 100) sorted by relevance

1234

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h24 APInt One; 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!");
46 bool hasConflict() const { return Zero.intersects(One); }
51 return Zero.countPopulation() + One
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DKnownBits.cpp29 APInt CarryKnownOne = PossibleSumOne ^ LHS.One ^ RHS.One;
32 APInt LHSKnownUnion = LHS.Zero | LHS.One;
33 APInt RHSKnownUnion = RHS.Zero | RHS.One;
43 KnownOut.One = std::move(PossibleSumOne) & Known;
51 LHS, RHS, Carry.Zero.getBoolValue(), Carry.One.getBoolValue());
63 std::swap(RHS.Zero, RHS.One);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp88 APInt GISelKnownBits::getKnownOnes(Register R) { return getKnownBits(R).One; }
146 Known.One = *CstVal;
147 Known.Zero = ~Known.One;
176 APInt KnownZeroOut = (Known.Zero & Known2.Zero) | (Known.One & Known2.One);
178 Known.One = (Known.Zero & Known2.One) | (Known.One & Known2.Zero);
218 Known.One &= Known2.One;
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp106 /// Known.One and Known.Zero always follow the invariant that:
107 /// Known.One & Known.Zero == 0.
108 /// That is, a bit can't be both 1 and 0. Note that the bits in Known.One and
110 /// also that the bitwidth of V, DemandedMask, Known.Zero and Known.One must all
179 APInt IKnownOne = RHSKnown.One & LHSKnown.One;
188 if (DemandedMask.isSubsetOf(LHSKnown.Zero | RHSKnown.One))
190 if (DemandedMask.isSubsetOf(RHSKnown.Zero | LHSKnown.One))
198 Known.One = std::move(IKnownOne);
202 // If either the LHS or the RHS are One, th
[all...]
/freebsd-11-stable/contrib/bmake/unit-tests/
H A Dmodmatch.mk29 LIST= One Two Three Four five six seven
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp405 APInt Bottom0 = Known.One;
406 APInt Bottom1 = Known2.One;
410 unsigned TrailBitsKnown0 = (Known.Zero | Known.One).countTrailingOnes();
411 unsigned TrailBitsKnown1 = (Known2.Zero | Known2.One).countTrailingOnes();
427 Known.One |= BottomKnown.getLoBits(ResultBitsKnown);
447 Known.One.setAllBits();
461 Known.One &= Range.getUnsignedMax() & Mask;
711 Known.One |= RHSKnown.One;
723 Known.Zero |= RHSKnown.Zero & MaskKnown.One;
[all...]
H A DDemandedBits.cpp256 AB &= ~Known2.One;
258 AB &= ~(Known.One & ~Known2.One);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DBitTracker.h151 // possible bit values. One extension here is the "Ref" type, which
158 One, // Bit = 1. enumerator in enum:llvm::BitTracker::BitValue::ValueType
194 BitValue(bool B) : Type(B ? One : Zero) {}
211 : (T == 1 ? Type == One : false);
257 return Type == Zero || Type == One;
261 assert(Type == Zero || Type == One);
262 return Type == One;
H A DHexagonAsmPrinter.cpp442 const MCExpr *One = MCConstantExpr::create(1, OutContext); local
443 const MCExpr *Sub = MCBinaryExpr::createSub(Expr, One, OutContext);
478 const MCExpr *One = MCConstantExpr::create(1, OutContext); local
479 const MCExpr *Sub = MCBinaryExpr::createSub(Expr, One, OutContext);
505 const MCExpr *One = MCConstantExpr::create(1, OutContext); local
506 const MCExpr *Sub = MCBinaryExpr::createSub(Expr, One, OutContext);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp161 ConstantInt *One; local
167 One = Builder.getInt64(1);
173 One = Builder.getInt32(1);
271 Value *SR_1 = Builder.CreateAdd(SR, One);
309 Value *Tmp5 = Builder.CreateShl(R_1, One);
312 Value *Tmp8 = Builder.CreateShl(Q_2, One);
316 Value *Carry = Builder.CreateAnd(Tmp10, One);
332 Value *Tmp13 = Builder.CreateShl(Q_3, One);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DFunctionLoweringInfo.h248 LOI.Known.One = Known.One;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DStraightLineStrengthReduce.cpp409 APInt One(Idx->getBitWidth(), 1);
410 Idx = ConstantInt::get(Idx->getContext(), One << Idx->getValue());
414 ConstantInt *One = ConstantInt::get(cast<IntegerType>(I->getType()), 1); local
415 allocateCandidatesAndFindBasis(Candidate::Add, SE->getSCEV(LHS), One, RHS,
493 // One alternative is matching the SCEV of ArrayIdx instead of ArrayIdx
511 APInt One(RHS->getBitWidth(), 1);
513 ConstantInt::get(RHS->getContext(), One << RHS->getValue());
H A DInductiveRangeCheckElimination.cpp869 ConstantInt *One = ConstantInt::get(IndVarTy, 1); local
933 RightValue = B.CreateAdd(RightValue, One);
1000 RightValue = B.CreateSub(RightValue, One);
1077 const SCEV *One = SE.getOne(RTy); local
1082 GreatestSeen = SE.getMinusSCEV(End, One);
1099 Smallest = SE.getAddExpr(End, One);
1100 Greatest = SE.getAddExpr(Start, One);
1665 const SCEV *One = SE.getOne(X->getType());
1668 return One;
1673 const SCEV *NegOne = SE.getNegativeSCEV(One);
[all...]
/freebsd-11-stable/contrib/bmake/mk/
H A Dtarget-flags.mk26 # One must be careful to avoid creating circular references in
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dfp_mul_impl.inc64 // One or both of a or b is denormal. The other (if applicable) is a
79 // Perform a basic multiplication on the significands. One of them must be
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp451 DestLOI.Known.One = Val;
469 DestLOI.Known.One.getBitWidth() == BitWidth &&
484 DestLOI.Known.One &= Val;
502 DestLOI.Known.One &= SrcLOI->Known.One;
H A DTargetLowering.cpp691 if (DemandedBits.isSubsetOf(LHSKnown.Zero | RHSKnown.One))
693 if (DemandedBits.isSubsetOf(RHSKnown.Zero | LHSKnown.One))
704 if (DemandedBits.isSubsetOf(LHSKnown.One | RHSKnown.Zero))
706 if (DemandedBits.isSubsetOf(RHSKnown.One | LHSKnown.Zero))
827 Known.One = cast<ConstantSDNode>(Op)->getAPIntValue();
828 Known.Zero = ~Known.One;
915 Known.One &= KnownVec.One;
949 Known.One.setAllBits();
951 Known.One
3109 SDValue One = DAG.getConstant(1, DL, ShiftVT); local
4941 SDValue One = DAG.getConstant(1, dl, VT); local
[all...]
H A DSelectionDAG.cpp2275 return Mask.isSubsetOf(computeKnownBits(V, Depth).One);
2508 Known.One = C->getAPIntValue();
2509 Known.Zero = ~Known.One;
2514 Known.One = C->getValueAPF().bitcastToAPInt();
2515 Known.Zero = ~Known.One;
2535 Known.Zero.setAllBits(); Known.One.setAllBits();
2551 Known.One &= Known2.One;
2563 Known.Zero.setAllBits(); Known.One.setAllBits();
2589 Known.One
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DRecordLayoutBuilder.cpp680 Alignment(CharUnits::One()), UnpackedAlignment(CharUnits::One()),
681 UnadjustedAlignment(CharUnits::One()),
687 NonVirtualAlignment(CharUnits::One()),
988 CharUnits BaseAlign = Packed ? CharUnits::One() : UnpackedBaseAlign;
1203 ? CharUnits::One()
1237 Alignment = CharUnits::One();
1838 FieldAlign = CharUnits::One();
1924 setSize(CharUnits::One());
1927 setSize(CharUnits::One());
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DCharUnits.h57 /// One - Construct a CharUnits quantity of one.
58 static CharUnits One() { function in class:clang::CharUnits
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp1336 const SDValue One = DAG.getConstant(1, SL, MVT::i32); local
1339 SDValue Hi = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, SL, MVT::i32, Vec, One);
1356 const SDValue One = DAG.getConstant(1, SL, MVT::i32); local
1357 return DAG.getNode(ISD::EXTRACT_VECTOR_ELT, SL, MVT::i32, Vec, One);
1645 SDValue One = DAG.getConstant(1, DL, HalfVT); local
1651 SDValue LHS_Hi = DAG.getNode(ISD::EXTRACT_ELEMENT, DL, HalfVT, LHS, One);
1655 SDValue RHS_Hi = DAG.getNode(ISD::EXTRACT_ELEMENT, DL, HalfVT, RHS, One);
1710 One);
1725 One);
1740 SDValue Mul3_Hi = DAG.getNode(ISD::EXTRACT_ELEMENT, DL, HalfVT, Mul3, One);
2050 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f64); local
2086 const SDValue One = DAG.getConstant(1, SL, MVT::i32); local
2182 const SDValue One = DAG.getConstantFP(1.0, SL, VT); local
2204 const SDValue One = DAG.getConstant(1, SL, MVT::i32); local
2345 const SDValue One = DAG.getConstant(1, SL, MVT::i32); local
2463 SDValue One = DAG.getConstant(1, SL, MVT::i32); local
2630 SDValue One = DAG.getConstant(1, DL, MVT::i32); local
[all...]
H A DAMDGPUCodeGenPrepare.cpp660 ConstantInt *One = Builder.getInt32(1); local
661 Value *JQ = One;
671 JQ = Builder.CreateOr(JQ, One);
777 ConstantInt *One = Builder.getInt32(1); local
852 Value *Quotient_A_One = Builder.CreateAdd(Quotient, One);
855 Value *Quotient_S_One = Builder.CreateSub(Quotient, One);
H A DAMDGPUMCInstLower.cpp116 const MCConstantExpr *One = MCConstantExpr::create(4, Ctx); local
117 SrcBBSym = MCBinaryExpr::createAdd(SrcBBSym, One, Ctx);
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuilder.h131 return CreateAlignedLoad(getInt1Ty(), Addr, CharUnits::One(), Name);
137 return CreateAlignedStore(getInt1(Value), Addr, CharUnits::One());
H A DCGRecordLayoutBuilder.cpp129 return NumBytes == CharUnits::One() ? Type :
617 CharUnits Alignment = CharUnits::One();
618 CharUnits NVAlignment = CharUnits::One();
660 Size.alignTo(Packed ? CharUnits::One() : getAlignment(Member->Data)))

Completed in 547 milliseconds

1234