reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/APInt.h
  405   bool isNullValue() const { return !*this; }
  477   bool getBoolValue() const { return !!*this; }
include/llvm/IR/PatternMatch.h
  432   bool isValue(const APInt &C) { return !C || C.isPowerOf2(); }
lib/Analysis/BasicAliasAnalysis.cpp
  626       if (!!Scale) {
 1970     if (!!Scale) {
lib/Analysis/DemandedBits.cpp
  367       InputIsKnownDead = !AOut && !isAlwaysLive(UserI);
lib/Analysis/Loads.cpp
   45     return APBaseAlign.uge(APAlign) && !(Offset & (APAlign - 1));
lib/Analysis/MemoryBuiltins.cpp
  672     if (!Size)
lib/Analysis/ScalarEvolution.cpp
 3218           if (!StepInt.urem(DivInt) &&
 3232           if (StartC && !DivInt.urem(StepInt) &&
 6269         if ((LZ != 0 || TZ != 0) && !((~A & ~Known.Zero) & EffectiveMask)) {
 8970         if (!RA)
lib/Analysis/ScalarEvolutionExpander.cpp
  285       if (!C->getAPInt().srem(FC->getAPInt())) {
lib/Analysis/ValueTracking.cpp
 1432     if (Depth < MaxDepth - 1 && !Known.Zero && !Known.One) {
 1432     if (Depth < MaxDepth - 1 && !Known.Zero && !Known.One) {
 1451         if (!Known.Zero && !Known.One)
 1451         if (!Known.Zero && !Known.One)
 2630       if (!!DemandedLHS)
 2632       if (!!DemandedRHS) {
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 2209     if (!OffsetAI)
lib/CodeGen/GlobalISel/GISelKnownBits.cpp
  115   if (!DemandedElts)
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 5950   if (!OppShiftCst || !OppShiftCst->getAPIntValue() ||
 5951       !OppLHSCst || !OppLHSCst->getAPIntValue() ||
 5952       !ExtractFromCst || !ExtractFromCst->getAPIntValue())
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
 1833   if (!Amt) {
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 2244   if (!DemandedElts)
 2333          (AllowUndefs || !UndefElts);
 2460   if (!DemandedElts)
 2518     if (!!DemandedLHS) {
 2527     if (!!DemandedRHS) {
 2544       if (!!DemandedSub) {
 2568       if (!!DemandedSubElts) {
 2575       if (!!DemandedSrcElts) {
 3197       if (!!VectorElts) {
 3427   if (!DemandedElts)
 3480     if (!!DemandedLHS)
 3482     if (!!DemandedRHS) {
 3783       if (!!VectorElts) {
 3844       if (!DemandedSub)
 3863       if (!!DemandedSubElts) {
 3869       if (!!DemandedSrcElts) {
 9434   if (!DemandedElts)
lib/CodeGen/SelectionDAG/TargetLowering.cpp
  867     if (!!DemandedVecElts) {
  903     if (!!SubElts) {
  907     if (!!BaseElts) {
  941       if (!!DemandedSubElts) {
  972     if (!!DemandedLHS || !!DemandedRHS) {
  972     if (!!DemandedLHS || !!DemandedRHS) {
  978       if (!!DemandedLHS) {
  985       if (!!DemandedRHS) {
 1771         if (!(HighBits & DemandedBits)) {
 2279     if (!BaseElts && !Base.isUndef())
lib/IR/ConstantRange.cpp
  677     if (!Upper) // special case: [X, 0) -- not really wrapping around
lib/IR/MDBuilder.cpp
  293   if (!mdconst::extract<ConstantInt>(ImmutabilityFlagNode)->getValue())
lib/Support/APInt.cpp
  731   if (!A) return B;
  732   if (!B) return A;
lib/Target/AArch64/AArch64FastISel.cpp
 4928   if ((VT != MVT::i32 && VT != MVT::i64) || !C ||
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
 2449   if (!NUsefulBits) {
lib/Target/Hexagon/HexagonConstPropagation.cpp
 3033         if (constToInt(LS1.Value, M1) && !~M1)
 3038         if (constToInt(LS2.Value, M1) && !~M1)
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 2037     if (!OffsetAI)
lib/Target/X86/X86ISelLowering.cpp
 7935     if (!ZeroMask)
31555     if (!!DemandedLHS) {
31560     if (!!DemandedRHS) {
31655           if (!DemandedOps[i])
31697     if (!!DemandedLHS)
31699     if (!!DemandedRHS)
31790           if (!DemandedOps[i])
32971     if (!Bits) {
lib/Transforms/InstCombine/InstCombineCompares.cpp
 1107   assert(!!C && "C should not be zero!");
 1177   if (!AP1)
 1228   if (!AP1 && AP2TrailingZeros != 0)
 2004     } else if (!C) {
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  908   if (!ShlOp1 || !ShrOp1)
  908   if (!ShlOp1 || !ShrOp1)
lib/Transforms/InstCombine/InstructionCombining.cpp
 2194       if (!Offset) {
tools/clang/include/clang/Sema/Sema.h
10608                      !!Condition.get()->EvaluateKnownConstInt(S.Context)) {}
tools/clang/lib/AST/Expr.cpp
 3782     if (Lit && !Lit->getValue())
tools/clang/lib/AST/ExprConstant.cpp
  445       if (Invalid || !N) return;
 1602       if (!Index)
 3991         Value = !Value;
 8302       if (StopAtNull && !Char.getInt())
 8351     if (!N)
10573     if (!Val)
10603     if (!Val)
10742       if (!Char.getInt())
10893       if (StopAtNull && !Char1.getInt())
10895       assert(!(StopAtNull && !Char2.getInt()));
tools/clang/lib/CodeGen/CGExpr.cpp
 1616   if (!Min) {
tools/clang/lib/CodeGen/CGExprConstant.cpp
  259         assert((!(CI->getValue() & UpdateMask) || AllowOverwrite) &&
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
10335       if (!VLENVal) {
10349           if (!!ParamAttr.StrideOrArg)
10359         if (!!ParamAttr.Alignment)
10489       if (!!ParamAttr.StrideOrArg && ParamAttr.StrideOrArg != 1)
10500     if (!!ParamAttr.Alignment)
tools/clang/lib/Lex/PPExpressions.cpp
  469     Result.Val = !Result.Val;
tools/clang/lib/Sema/SemaDecl.cpp
17344   return !(FlagMask & Val) || (AllowMask && !(FlagMask & ~Val));
17344   return !(FlagMask & Val) || (AllowMask && !(FlagMask & ~Val));
tools/clang/lib/Sema/SemaDeclAttr.cpp
 3718   if (!(TmpAttr.isAlignas() && !Alignment)) {
 3935   if (!VectorSize)
tools/clang/lib/Sema/SemaDeclCXX.cpp
 4844     if (!ArrayT->getSize())
14479     if (!Failed && !Cond) {
tools/clang/lib/Sema/SemaExceptionSpec.cpp
   97     EST = !Result ? EST_NoexceptFalse : EST_NoexceptTrue;
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp
  327     if (!ArrayT->getSize())
tools/clang/tools/extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp
  120     return !cast<IntegerLiteral>(E)->getValue();
unittests/ADT/APIntTest.cpp
   22   EXPECT_TRUE(!Zero);
   23   EXPECT_TRUE(!Zero.zext(64));
   24   EXPECT_TRUE(!Zero.sext(64));