| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | APFixedPoint.h | 122 bool getBoolValue() const { return Val.getBoolValue(); } in getBoolValue() function
|
| H A D | APInt.h | 452 bool getBoolValue() const { return !isZero(); } in getBoolValue() function
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseBoolLiteralsCheck.cpp | 56 bool LiteralBooleanValue = Literal->getValue().getBoolValue(); in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SuspiciousEnumUsageCheck.cpp | 66 if (Val.isPowerOf2() || !Val.getBoolValue()) in isNonPowerOf2NorNullLiteral()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | DemandedBits.cpp | 241 .getBoolValue()) in determineLiveOperandBits() 294 .getBoolValue()) in determineLiveOperandBits()
|
| H A D | Loads.cpp | 79 if (KnownDerefBytes.getBoolValue() && KnownDerefBytes.uge(Size) && in isDereferenceableAndAlignedPointer() 171 if (KnownDerefBytes.getBoolValue() && KnownDerefBytes.uge(Size) && in isDereferenceableAndAlignedPointer()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Utils.cpp | 528 if (!C2.getBoolValue()) in ConstantFoldBinOp() 532 if (!C2.getBoolValue()) in ConstantFoldBinOp() 536 if (!C2.getBoolValue()) in ConstantFoldBinOp() 540 if (!C2.getBoolValue()) in ConstantFoldBinOp()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | KnownBits.cpp | 54 LHS, RHS, Carry.Zero.getBoolValue(), Carry.One.getBoolValue()); in computeForAddCarry()
|
| H A D | APInt.cpp | 2234 while (Tmp.getBoolValue()) { in toString() 2240 while (Tmp.getBoolValue()) { in toString()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaConcept.cpp | 193 Satisfaction.IsSatisfied = EvalResult.Val.getInt().getBoolValue(); in calculateConstraintSatisfaction() 583 BO->getLHS()->EvaluateKnownConstInt(S.Context).getBoolValue(); in diagnoseWellFormedUnsatisfiedConstraintExpr() 594 BO->getRHS()->EvaluateKnownConstInt(S.Context).getBoolValue(); in diagnoseWellFormedUnsatisfiedConstraintExpr()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConstraintManager.h | 142 Ty->isBooleanType() ? Solver->mkBoolean(Value.getBoolValue()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 665 return VB.makeTruthVal(V.getValue().getBoolValue(), CastTy); in VisitLocConcreteInt() 869 return VB.makeTruthVal(V.getValue().getBoolValue(), CastTy); in VisitNonLocConcreteInt()
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | ByteCodeExprGen.cpp | 414 return this->emitConstBool(Value.getBoolValue(), E); in emitConst()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Tosa/IR/ |
| H A D | TosaCanonicalizations.cpp | 512 return predicate.getSplatValue<APInt>().getBoolValue() ? getOnTrue() in fold()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | TemplateBase.cpp | 82 Out << (Val.getBoolValue() ? "true" : "false"); in printIntegral()
|
| H A D | APValue.cpp | 714 Out << (getInt().getBoolValue() ? "true" : "false"); in printPretty()
|
| H A D | ItaniumMangle.cpp | 4058 Out << (Value.getBoolValue() ? '1' : '0'); in mangleIntegerLiteral() 5780 if (V.getComplexIntReal().getBoolValue() || in mangleValueInTemplateArg() 5781 V.getComplexIntImag().getBoolValue()) in mangleValueInTemplateArg() 5783 if (V.getComplexIntImag().getBoolValue()) in mangleValueInTemplateArg()
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | Scalar.cpp | 760 if (bitwize_and.getBoolValue()) { in SignExtend()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | KnownBitsTest.cpp | 35 if (Carry.getBoolValue()) in TEST()
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | DecoderEmitter.cpp | 1385 bool NeedPositiveMask = PositiveMask.getBoolValue(); in emitSoftFailTableEntry() 1386 bool NeedNegativeMask = NegativeMask.getBoolValue(); in emitSoftFailTableEntry()
|
| /llvm-project-15.0.7/mlir/lib/Target/Cpp/ |
| H A D | TranslateToCpp.cpp | 725 if (val.getBoolValue()) in emitAttribute()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ThreadSafety.cpp | 1354 branch = ILE->getValue().getBoolValue(); in getMutexIDs() 1377 TCond = ILE->getValue().getBoolValue(); in getStaticBooleanValue()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | Reassociate.cpp | 1382 int NewInstNum = ConstOpnd.getBoolValue() ? 1 : 2; in CombineXorOpnd() 1398 int NewInstNum = ConstOpnd.getBoolValue() ? 1 : 2; in CombineXorOpnd()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/ArithmeticToSPIRV/ |
| H A D | ArithmeticToSPIRV.cpp | 216 return builder.getBoolAttr(intAttr.getValue().getBoolValue()); in convertBoolAttr()
|
| /llvm-project-15.0.7/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 856 isIntZero = !IntE->getValue().getBoolValue(); in rewriteToNumberLiteral()
|