Home
last modified time | relevance | path

Searched refs:getBoolValue (Results 1 – 25 of 55) sorted by relevance

123

/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DAPFixedPoint.h122 bool getBoolValue() const { return Val.getBoolValue(); } in getBoolValue() function
H A DAPInt.h452 bool getBoolValue() const { return !isZero(); } in getBoolValue() function
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseBoolLiteralsCheck.cpp56 bool LiteralBooleanValue = Literal->getValue().getBoolValue(); in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DSuspiciousEnumUsageCheck.cpp66 if (Val.isPowerOf2() || !Val.getBoolValue()) in isNonPowerOf2NorNullLiteral()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DDemandedBits.cpp241 .getBoolValue()) in determineLiveOperandBits()
294 .getBoolValue()) in determineLiveOperandBits()
H A DLoads.cpp79 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 DUtils.cpp528 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 DKnownBits.cpp54 LHS, RHS, Carry.Zero.getBoolValue(), Carry.One.getBoolValue()); in computeForAddCarry()
H A DAPInt.cpp2234 while (Tmp.getBoolValue()) { in toString()
2240 while (Tmp.getBoolValue()) { in toString()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaConcept.cpp193 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 DSMTConstraintManager.h142 Ty->isBooleanType() ? Solver->mkBoolean(Value.getBoolValue()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp665 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 DByteCodeExprGen.cpp414 return this->emitConstBool(Value.getBoolValue(), E); in emitConst()
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/IR/
H A DTosaCanonicalizations.cpp512 return predicate.getSplatValue<APInt>().getBoolValue() ? getOnTrue() in fold()
/llvm-project-15.0.7/clang/lib/AST/
H A DTemplateBase.cpp82 Out << (Val.getBoolValue() ? "true" : "false"); in printIntegral()
H A DAPValue.cpp714 Out << (getInt().getBoolValue() ? "true" : "false"); in printPretty()
H A DItaniumMangle.cpp4058 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 DScalar.cpp760 if (bitwize_and.getBoolValue()) { in SignExtend()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DKnownBitsTest.cpp35 if (Carry.getBoolValue()) in TEST()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DDecoderEmitter.cpp1385 bool NeedPositiveMask = PositiveMask.getBoolValue(); in emitSoftFailTableEntry()
1386 bool NeedNegativeMask = NegativeMask.getBoolValue(); in emitSoftFailTableEntry()
/llvm-project-15.0.7/mlir/lib/Target/Cpp/
H A DTranslateToCpp.cpp725 if (val.getBoolValue()) in emitAttribute()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DThreadSafety.cpp1354 branch = ILE->getValue().getBoolValue(); in getMutexIDs()
1377 TCond = ILE->getValue().getBoolValue(); in getStaticBooleanValue()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1382 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 DArithmeticToSPIRV.cpp216 return builder.getBoolAttr(intAttr.getValue().getBoolValue()); in convertBoolAttr()
/llvm-project-15.0.7/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp856 isIntZero = !IntE->getValue().getBoolValue(); in rewriteToNumberLiteral()

123