|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/APInt.h 1981 inline bool operator!=(uint64_t V1, const APInt &V2) { return V2 != V1; }
lib/Analysis/BasicAliasAnalysis.cpp 1442 if (GEP1BaseOffset != 0 && DecompGEP1.VarIndices.empty()) {
lib/Analysis/ConstantFolding.cpp 908 if ((Ptr->isNullValue() || BasePtr != 0) &&
981 if (Offset != 0)
lib/Analysis/DependenceAnalysis.cpp 528 if (Xr != 0 || Yr != 0) {
528 if (Xr != 0 || Yr != 0) {
1192 if (Remainder != 0) {
1378 if (Remainder != 0) {
1390 if (Remainder != 0) {
1418 while (R != 0) {
1431 if (R != 0)
2409 if (Remainder != 0) {
2438 while (RunningGCD != 1 && isa<SCEVAddRecExpr>(Inner)) {
2455 while (RunningGCD != 1 && isa<SCEVAddRecExpr>(Inner)) {
2482 if (RunningGCD != 0) {
2485 if (Remainder != 0) {
lib/Analysis/ScalarEvolution.cpp 1829 if (D != 0) {
1883 if (D != 0) {
2016 if (D != 0) {
2161 if (D != 0) {
2281 if (Scale != 1 || AccumulatedConstant != 0 || C->getValue()->isZero())
2281 if (Scale != 1 || AccumulatedConstant != 0 || C->getValue()->isZero())
2593 if (AccumulatedConstant != 0)
2596 if (MulOp.first != 0)
3239 if (StartRem != 0)
8397 assert(A != 0 && "A must be non-zero.");
lib/Analysis/ValueTracking.cpp 2245 return Known.One != 0;
3914 return *V != 0;
3927 if (*Denominator != -1)
lib/CodeGen/SelectionDAG/DAGCombiner.cpp 2058 if (!ShAmtC || ShAmtC->getAPIntValue() != (VT.getScalarSizeInBits() - 1))
5535 if (!C || C->getAPIntValue() != 16)
5977 if (Rem != 0 || ResultAmt != OppLHSAmt)
14656 if ((CurrentUsedBits & UsedBits) != 0)
16446 if (!ShAmt || ShAmt->getAPIntValue() != HalfValBitSize)
18007 if (CS->getAPIntValue() != IdentityIndex)
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 2608 if (DemandedElts != 1)
4171 cast<ConstantSDNode>(Ops[i].getOperand(1))->getAPIntValue() != i) {
9401 HasAnyUndefs = (SplatUndef != 0);
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 3920 if (ElementSize != 1) {
lib/CodeGen/SelectionDAG/TargetLowering.cpp 4587 while ((t = Divisor * Factor) != 1)
5181 NeedToApplyOffset |= A != 0;
lib/ExecutionEngine/Interpreter/Execution.cpp 957 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) {
lib/IR/ConstantFold.cpp 273 if ((ShAmt & 7) != 0)
296 if ((ShAmt & 7) != 0)
lib/Support/APFloat.cpp 3538 while (significand != 0) {
lib/Support/APInt.cpp 716 for (; Val != 0; Val.lshrInPlace(1)) {
1171 for (i = 0; r[i^1] != 0; i ^= 1) {
1184 if (r[i] != 1)
1966 if (*this != 0 && RHS != 0)
1966 if (*this != 0 && RHS != 0)
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp 2369 if ((BitsToBeInserted & ~Known.Zero) != 0)
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp 1729 if (Literal.getLoBits(32) != 0) {
lib/Target/X86/X86ISelLowering.cpp 6898 if (ByteBits != 0 && ByteBits != 255)
6898 if (ByteBits != 0 && ByteBits != 255)
9573 if (!PermIdx || PermIdx->getAPIntValue() != Idx)
12463 else if (ExtIndex0 != 0 || ExtIndex1 != NumElts)
12463 else if (ExtIndex0 != 0 || ExtIndex1 != NumElts)
35050 if (IdentityOp != 0)
37671 if (Diff != 1)
37676 if (FalseC->getAPIntValue() != 0)
38288 if (MaskOK && Mask != 0) {
38346 if (ShiftSize >= Size || ShlConst != Size - ShiftSize)
39800 Shift.getConstantOperandAPInt(1) != (ShiftTy.getSizeInBits() - 1))
39856 ShiftAmt->getAPIntValue() != (Shift.getScalarValueSizeInBits() - 1))
41192 ShiftAmt != 16)
lib/Transforms/InstCombine/InstCombineAddSub.cpp 1902 !DivC->isMinSignedValue() && *DivC != 1) {
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp 559 if ((BCst->getValue() & ECst->getValue()) != 0)
lib/Transforms/InstCombine/InstCombineCompares.cpp 2302 assert(*C2 != 0 && "udiv 0, X should have been simplified already.");
2315 assert(C != 0 && "icmp ult X, 0 should have been simplified already.");
3401 assert(MaskedBits != 0 && "shift by zero should be folded away already.");
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp 223 if (match(NewCst, m_APInt(V)) && *V != V->getBitWidth() - 1)
734 *C1 != C1->getBitWidth() - 1) ||
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp 294 (LHSKnown.One & RHSKnown.One & DemandedMask) != 0) {
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 2057 cast<SCEVConstant>(RecStepForA)->getAPInt() != BCmpTyBytes) {
lib/Transforms/Scalar/LoopStrengthReduce.cpp 684 if (LA.srem(RA) != 0)
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp 560 if (ConstantOffset != 0) return ConstantOffset;
609 if (ConstantOffset != 0)
845 if (ElementSize != 1) {
906 if (ElementSize != 1) {
tools/clang/lib/AST/ExprConstant.cpp 5997 if (Remainder != 0) {
tools/clang/lib/Basic/FixedPoint.cpp 200 } while (FractPart != 0);
tools/clang/lib/CodeGen/CGExprCXX.cpp 770 if (cookieSize != 0) {
861 if (typeSizeMultiplier != 1) {
879 if (arraySizeMultiplier != 1) {
899 if (cookieSize != 0) {
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 1542 if (Alignment != 0) {
tools/clang/lib/Sema/SemaChecking.cpp 6283 if ((Value & 0xFF) != 0)
9272 if (Num->getValue() != 0) return false;
11537 if (LHS->getValue() != 0 && RHS->getValue() != 0)
11537 if (LHS->getValue() != 0 && RHS->getValue() != 0)
13191 if (Size != 1 || !ND) return false;
tools/clang/lib/Sema/SemaDecl.cpp17186 if (IL->getValue() != 1)
tools/clang/lib/Sema/SemaExpr.cpp11196 if (LeftSideValue != 2 && LeftSideValue != 10)
11196 if (LeftSideValue != 2 && LeftSideValue != 10)
tools/clang/lib/StaticAnalyzer/Checkers/CastSizeChecker.cpp 69 else if (ArrayTy->getSize() != 0)
tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp 425 if (RHS != 0)
430 if (LHS != 0)
tools/clang/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp 524 bool ErrorIsReturned = (OpCode == BO_EQ && RHS != NoErr) ||
tools/clang/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp 223 if (!IntLiteral || IntLiteral->getValue() != 0)
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.cpp 45 if (IntLit->getValue() != I)
tools/lldb/source/Utility/Scalar.cpp 2184 if (b->m_integer != 0) {
2195 if (b->m_integer != 0) {
2337 if (b->m_integer != 0) {
2348 if (b->m_integer != 0) {
unittests/ADT/APIntTest.cpp 398 EXPECT_TRUE( APInt(8, 0) != 256);
400 EXPECT_TRUE( APInt(8, 1) != 256);
424 EXPECT_TRUE(u64 != int64max);
425 EXPECT_TRUE(u64 != int64min);
440 EXPECT_TRUE(s64 != uint64max);
442 EXPECT_TRUE(s64 != int64min);
457 EXPECT_TRUE(big != uint64max);
458 EXPECT_TRUE(big != int64max);
459 EXPECT_TRUE(big != int64min);
unittests/IR/ConstantRangeTest.cpp 2115 if ((Num & Known.Zero) != 0 || (~Num & Known.One) != 0)
2115 if ((Num & Known.Zero) != 0 || (~Num & Known.One) != 0)
unittests/Support/KnownBitsTest.cpp 42 if ((Num & Known.Zero) != 0 || (~Num & Known.One) != 0)
42 if ((Num & Known.Zero) != 0 || (~Num & Known.One) != 0)