|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/APSInt.h 261 return APSInt(static_cast<const APInt&>(*this) | RHS, IsUnsigned);
lib/Analysis/ConstantFolding.cpp 666 StrVal = (StrVal << 8) | SingleChar;
671 StrVal = (StrVal << 8) | SingleChar;
675 StrVal = (StrVal << 8) | SingleChar;
726 if ((Known1.One | Known0.Zero).isAllOnesValue()) {
730 if ((Known0.One | Known1.Zero).isAllOnesValue()) {
lib/Analysis/ValueTracking.cpp 210 return (LHSKnown.Zero | RHSKnown.Zero).isAllOnesValue();
408 unsigned TrailBitsKnown0 = (Known.Zero | Known.One).countTrailingOnes();
409 unsigned TrailBitsKnown1 = (Known2.Zero | Known2.One).countTrailingOnes();
lib/CodeGen/GlobalISel/GISelKnownBits.cpp 369 << (Known.Zero | Known.One).toString(16, false) << "\n"
lib/CodeGen/GlobalISel/Utils.cpp 361 return C1 | C2;
lib/CodeGen/SelectionDAG/DAGCombiner.cpp 5635 DAG.getConstant(LHSMask | RHSMask, DL, VT));
6043 ((NegC->getAPIntValue() | Known.Zero).countTrailingOnes() >= Bits)) {
6064 ((PosC->getAPIntValue() | Known.Zero).countTrailingOnes() >=
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp 1928 if (((Known.Zero|Known.One) & HighBitMask) == 0)
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 2183 DemandedBits.isSubsetOf(computeKnownBits(V.getOperand(0)).Zero |
2314 UndefElts = UndefLHS | UndefRHS;
4701 case ISD::OR: return std::make_pair(C1 | C2, true);
9416 SplatValue = HighValue | LowValue;
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp10081 DL, MVT::i1, Or, DAG.getConstant(BigValue | SmallValue, DL, VT),
lib/CodeGen/SelectionDAG/TargetLowering.cpp 665 if (DemandedBits.isSubsetOf(LHSKnown.Zero | RHSKnown.One))
667 if (DemandedBits.isSubsetOf(RHSKnown.Zero | LHSKnown.One))
678 if (DemandedBits.isSubsetOf(LHSKnown.One | RHSKnown.Zero))
680 if (DemandedBits.isSubsetOf(RHSKnown.One | LHSKnown.Zero))
1065 if (DemandedBits.isSubsetOf(Known2.Zero | Known.One))
1067 if (DemandedBits.isSubsetOf(Known.Zero | Known2.One))
1070 if (DemandedBits.isSubsetOf(Known.Zero | Known2.Zero))
1114 if (DemandedBits.isSubsetOf(Known2.One | Known.Zero))
1116 if (DemandedBits.isSubsetOf(Known.One | Known2.Zero))
1171 if (DemandedBits.isSubsetOf(Known.Zero | Known2.Zero))
1791 if (SimplifyDemandedBits(Op.getOperand(0), ~InMask | DemandedBits, Known,
1970 (C->getAPIntValue() | HighMask).isAllOnesValue()) {
1997 if (DemandedBits.isSubsetOf(Known.Zero | Known.One)) {
lib/ExecutionEngine/ExecutionEngine.cpp 807 case Instruction::Or: GV.IntVal = LHS.IntVal | RHS.IntVal; break;
lib/ExecutionEngine/Interpreter/Execution.cpp 794 case Instruction::Or: INTEGER_VECTOR_OPERATION(|) break;
836 case Instruction::Or: R.IntVal = Src1.IntVal | Src2.IntVal; break;
2086 case Instruction::Or: Dest.IntVal = Op0.IntVal | Op1.IntVal; break;
lib/IR/ConstantFold.cpp 1251 return ConstantInt::get(CI1->getContext(), C1V | C2V);
lib/Support/KnownBits.cpp 32 APInt LHSKnownUnion = LHS.Zero | LHS.One;
33 APInt RHSKnownUnion = RHS.Zero | RHS.One;
34 APInt CarryKnownUnion = std::move(CarryKnownZero) | CarryKnownOne;
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp 1879 (SignificantDstMask | SignificantBitsToBeInserted).isAllOnesValue();
lib/Target/ARM/ARMISelLowering.cpp12554 APInt NewFromMask = FromMask1 | FromMask2;
12555 APInt NewToMask = ToMask1 | ToMask2;
lib/Target/Hexagon/HexagonConstPropagation.cpp 1491 Result = A1 | A2;
2535 const Constant *C = intToConst(HV | LV);
lib/Target/PowerPC/PPCISelLowering.cpp 2313 if (~(LHSKnown.Zero | RHSKnown.Zero) == 0) {
lib/Target/X86/X86ISelDAGToDAG.cpp 3917 APInt NegMaskVal = MaskVal | HighZeros;
lib/Target/X86/X86ISelLowering.cpp32979 assert((UndefElts | ZeroElts | ConstantElts).isAllOnesValue());
32979 assert((UndefElts | ZeroElts | ConstantElts).isAllOnesValue());
34276 KnownZero = LHSZero | RHSZero;
35028 if (DemandedElts.isSubsetOf(ShuffleUndef | ShuffleZero))
lib/Transforms/InstCombine/InstCombineAddSub.cpp 1258 if ((XorRHS->getValue() | LHSKnown.Zero).isAllOnesValue())
1826 if ((*Op0C | RHSKnown.Zero).isAllOnesValue())
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp 508 APInt BorD = BCst->getValue() | DCst->getValue();
509 APInt BandBxorDorE = (BCst->getValue() & (BCst->getValue() ^ DCst->getValue())) |
703 APInt NewMask = BCst->getValue() | DCst->getValue();
1244 Value *NewAnd = Builder.CreateAnd(V, Low | AndC->getValue());
1245 APInt N = SmallC->getValue().zext(BigBitSize) | BigC->getValue();
2512 Builder.getInt(C1->getValue()|C2->getValue()));
2520 Builder.getInt(C1->getValue()|C2->getValue()));
2531 Builder.getInt(C1->getValue()|C2->getValue()));
lib/Transforms/InstCombine/InstCombineCalls.cpp 891 APInt Val = V00 | V10;
lib/Transforms/InstCombine/InstCombineCasts.cpp 936 APInt KnownBits = KnownLHS.Zero | KnownLHS.One;
lib/Transforms/InstCombine/InstCombineCompares.cpp 107 APInt UnknownBits = ~(Known.Zero|Known.One);
112 Max = Known.One|UnknownBits;
129 APInt UnknownBits = ~(Known.Zero|Known.One);
134 Max = Known.One|UnknownBits;
1549 if ((Known.Zero | Known.One).countLeadingOnes() >= SrcBits - DstBits) {
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp 175 APInt IKnownZero = RHSKnown.Zero | LHSKnown.Zero;
181 if (DemandedMask.isSubsetOf(IKnownZero|IKnownOne))
186 if (DemandedMask.isSubsetOf(LHSKnown.Zero | RHSKnown.One))
188 if (DemandedMask.isSubsetOf(RHSKnown.Zero | LHSKnown.One))
211 APInt IKnownOne = RHSKnown.One | LHSKnown.One;
215 if (DemandedMask.isSubsetOf(IKnownZero|IKnownOne))
220 if (DemandedMask.isSubsetOf(LHSKnown.One | RHSKnown.Zero))
222 if (DemandedMask.isSubsetOf(RHSKnown.One | LHSKnown.Zero))
249 if (DemandedMask.isSubsetOf(IKnownZero|IKnownOne))
262 if (DemandedMask.isSubsetOf(RHSKnown.Zero | LHSKnown.Zero)) {
273 if (DemandedMask.isSubsetOf(RHSKnown.Zero|RHSKnown.One) &&
754 if (DemandedMask.isSubsetOf(Known.Zero|Known.One))
785 APInt IKnownZero = RHSKnown.Zero | LHSKnown.Zero;
791 if (DemandedMask.isSubsetOf(IKnownZero|IKnownOne))
797 if (DemandedMask.isSubsetOf(LHSKnown.Zero | RHSKnown.One))
799 if (DemandedMask.isSubsetOf(RHSKnown.Zero | LHSKnown.One))
818 APInt IKnownOne = RHSKnown.One | LHSKnown.One;
822 if (DemandedMask.isSubsetOf(IKnownZero|IKnownOne))
828 if (DemandedMask.isSubsetOf(LHSKnown.One | RHSKnown.Zero))
830 if (DemandedMask.isSubsetOf(RHSKnown.One | LHSKnown.Zero))
854 if (DemandedMask.isSubsetOf(IKnownZero|IKnownOne))
876 if (DemandedMask.isSubsetOf(Known.Zero|Known.One))
lib/Transforms/Utils/SimplifyCFG.cpp 557 C->getValue() | Mask));
572 if (Mask.isPowerOf2() && (C->getValue() | Mask) == C->getValue()) {
4487 Bits - (Known.Zero | Known.One).countPopulation();
tools/clang/lib/Analysis/CFG.cpp 992 (BitOp->getOpcode() == BO_Or && (L2 | L1) != L1)) {
tools/clang/lib/Sema/SemaDecl.cpp17331 FlagBits = FlagBits.zextOrSelf(EVal.getBitWidth()) | EVal;
tools/lldb/source/Utility/Scalar.cpp 2304 result.m_integer = a->m_integer | b->m_integer;
unittests/ADT/APIntTest.cpp 266 EXPECT_EQ(zero, zero | zero);
267 EXPECT_EQ(one, one | zero);
268 EXPECT_EQ(one, zero | one);
269 EXPECT_EQ(one, one | one);
270 EXPECT_EQ(zero, zero | zero);
271 EXPECT_EQ(neg_one, neg_one | zero);
272 EXPECT_EQ(neg_one, zero | neg_one);
273 EXPECT_EQ(neg_one, neg_one | neg_one);
817 APInt OrLL = Ten | Twelve;
824 APInt OrRL = getRValue("A", RawDataL) | Twelve;