Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFixedPoint.h178 bool getBoolValue() const { return Val.getBoolValue(); }
H A DAPInt.h449 bool getBoolValue() const { return !isZero(); } in getBoolValue() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DKnownBits.cpp54 LHS, RHS, Carry.Zero.getBoolValue(), Carry.One.getBoolValue()); in computeForAddCarry()
96 /*CarryZero=*/Borrow.One.getBoolValue(), in computeForSubBorrow()
97 /*CarryOne=*/Borrow.Zero.getBoolValue()); in computeForSubBorrow()
H A DAPInt.cpp2260 while (Tmp.getBoolValue()) { in toString()
2266 while (Tmp.getBoolValue()) { in toString()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp215 .getBoolValue()) in determineLiveOperandBits()
268 .getBoolValue()) in determineLiveOperandBits()
H A DLoads.cpp100 if (KnownDerefBytes.getBoolValue() && KnownDerefBytes.uge(Size) && in isDereferenceableAndAlignedPointer()
135 if (KnownDerefBytes.getBoolValue() && KnownDerefBytes.uge(Size) && in isDereferenceableAndAlignedPointer()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp682 if (!C2.getBoolValue()) in ConstantFoldBinOp()
686 if (!C2.getBoolValue()) in ConstantFoldBinOp()
690 if (!C2.getBoolValue()) in ConstantFoldBinOp()
694 if (!C2.getBoolValue()) in ConstantFoldBinOp()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConstraintManager.h143 Ty->isBooleanType() ? Solver->mkBoolean(Value.getBoolValue()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaConcept.cpp303 Satisfaction.IsSatisfied = EvalResult.Val.getInt().getBoolValue(); in calculateConstraintSatisfaction()
1057 BO->getLHS()->EvaluateKnownConstInt(S.Context).getBoolValue(); in diagnoseWellFormedUnsatisfiedConstraintExpr()
1068 BO->getRHS()->EvaluateKnownConstInt(S.Context).getBoolValue(); in diagnoseWellFormedUnsatisfiedConstraintExpr()
H A DAnalysisBasedWarnings.cpp1363 return Result.Val.getInt().getBoolValue(); in isInLoop()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp672 return VB.makeTruthVal(V.getValue().getBoolValue(), CastTy); in VisitConcreteInt()
876 return VB.makeTruthVal(V.getValue().getBoolValue(), CastTy); in VisitConcreteInt()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp983 return Ops[0].abs(IntMinIsPoison->getBoolValue()); in intrinsic()
989 return Ops[0].ctlz(ZeroIsPoison->getBoolValue()); in intrinsic()
995 return Ops[0].cttz(ZeroIsPoison->getBoolValue()); in intrinsic()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DTemplateBase.cpp82 Out << (Val.getBoolValue() ? "true" : "false"); in printIntegral()
H A DAPValue.cpp716 Out << (getInt().getBoolValue() ? "true" : "false"); in printPretty()
H A DItaniumMangle.cpp4446 Out << (Value.getBoolValue() ? '1' : '0'); in mangleIntegerLiteral()
6445 if (V.getComplexIntReal().getBoolValue() || in mangleValueInTemplateArg()
6446 V.getComplexIntImag().getBoolValue()) in mangleValueInTemplateArg()
6448 if (V.getComplexIntImag().getBoolValue()) in mangleValueInTemplateArg()
H A DExprConstant.cpp2580 Result = Val.getInt().getBoolValue(); in HandleConversionToBool()
2583 Result = Val.getFixedPoint().getBoolValue(); in HandleConversionToBool()
2589 Result = Val.getComplexIntReal().getBoolValue() || in HandleConversionToBool()
2590 Val.getComplexIntImag().getBoolValue(); in HandleConversionToBool()
2723 Result = Value.getBoolValue(); in HandleIntToIntCast()
13970 return Success(Val.getFixedPoint().getBoolValue(), E); in VisitCastExpr()
/freebsd-14.2/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp761 if (bitwize_and.getBoolValue()) { in SignExtend()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DDecoderEmitter.cpp1375 bool NeedPositiveMask = PositiveMask.getBoolValue(); in emitSoftFailTableEntry()
1376 bool NeedNegativeMask = NegativeMask.getBoolValue(); in emitSoftFailTableEntry()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1409 int NewInstNum = ConstOpnd.getBoolValue() ? 1 : 2; in CombineXorOpnd()
1425 int NewInstNum = ConstOpnd.getBoolValue() ? 1 : 2; in CombineXorOpnd()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafety.cpp1368 branch = ILE->getValue().getBoolValue(); in getMutexIDs()
1391 TCond = ILE->getValue().getBoolValue(); in getStaticBooleanValue()
H A DCFG.cpp1278 if (!IntVal.getBoolValue()) { in tryEvaluateBool()
1285 if (!IntVal.getBoolValue()) { in tryEvaluateBool()
/freebsd-14.2/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp857 isIntZero = !IntE->getValue().getBoolValue(); in rewriteToNumberLiteral()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCTargetDesc.cpp582 return Mask.getBoolValue(); in clearsSuperRegisters()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp1823 .getBoolValue(); in coverIfConstexpr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DAssignmentTrackingAnalysis.cpp271 if (OffsetInBytes.getBoolValue()) { in walkToAllocaAndPrependOffsetDeref()

12