Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFixedPoint.h189 bool getBoolValue() const { return Val.getBoolValue(); }
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILShaderFlags.cpp253 CSF.NativeLowPrecisionMode = NativeLowPrec->getValue().getBoolValue(); in gatherGlobalModuleFlags()
273 if (ResMayAlias->getValue().getBoolValue()) in initialize()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DKnownBits.cpp57 LHS, RHS, Carry.Zero.getBoolValue(), Carry.One.getBoolValue()); in computeForAddCarry()
154 /*CarryZero=*/Borrow.One.getBoolValue(), in computeForSubBorrow()
155 /*CarryOne=*/Borrow.Zero.getBoolValue()); in computeForSubBorrow()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp213 .getBoolValue()) in determineLiveOperandBits()
266 .getBoolValue()) in determineLiveOperandBits()
H A DLoads.cpp183 if (KnownDerefBytes.getBoolValue() && KnownDerefBytes.uge(Size) && in isDereferenceableAndAlignedPointer()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DFixedPoint.h49 operator bool() const { return V.getBoolValue(); }
H A DCompiler.cpp28 static std::optional<bool> getBoolValue(const Expr *E) { in getBoolValue() function
32 return CE->getResultAsAPSInt().getBoolValue(); in getBoolValue()
2409 if (std::optional<bool> BoolValue = getBoolValue(Condition)) { in VisitAbstractConditionalOperator()
2966 return this->emitConstBool(E->getBoolValue(), E); in VisitTypeTraitExpr()
2967 return this->emitConst(E->getBoolValue(), E); in VisitTypeTraitExpr()
5406 if (std::optional<bool> BoolValue = getBoolValue(IS->getCond())) { in visitIfStmt()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp372 return makeTruthVal(TE->getBoolValue(), TE->getType()); in getConstantVal()
673 return VB.makeTruthVal(V.getValue()->getBoolValue(), CastTy); in VisitConcreteInt()
877 return VB.makeTruthVal(V.getValue()->getBoolValue(), CastTy); in VisitConcreteInt()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConstraintManager.h147 Ty->isBooleanType() ? Solver->mkBoolean(Value.getBoolValue()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp704 if (!C2.getBoolValue()) in ConstantFoldBinOp()
708 if (!C2.getBoolValue()) in ConstantFoldBinOp()
712 if (!C2.getBoolValue()) in ConstantFoldBinOp()
716 if (!C2.getBoolValue()) in ConstantFoldBinOp()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaConcept.cpp547 Satisfaction.IsSatisfied = EvalResult.Val.getInt().getBoolValue(); in calculateConstraintSatisfaction()
1280 BO->getLHS()->EvaluateKnownConstInt(S.Context).getBoolValue(); in diagnoseWellFormedUnsatisfiedConstraintExpr()
1291 BO->getRHS()->EvaluateKnownConstInt(S.Context).getBoolValue(); in diagnoseWellFormedUnsatisfiedConstraintExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTemplateBase.cpp78 Out << (Val.getBoolValue() ? "true" : "false"); in printIntegral()
H A DAPValue.cpp729 Out << (getInt().getBoolValue() ? "true" : "false"); in printPretty()
H A DItaniumMangle.cpp4748 Out << (Value.getBoolValue() ? '1' : '0'); in mangleIntegerLiteral()
6749 if (V.getComplexIntReal().getBoolValue() || in mangleValueInTemplateArg()
6750 V.getComplexIntImag().getBoolValue()) in mangleValueInTemplateArg()
6752 if (V.getComplexIntImag().getBoolValue()) in mangleValueInTemplateArg()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp1054 return Ops[0].abs(IntMinIsPoison->getBoolValue()); in intrinsic()
1060 return Ops[0].ctlz(ZeroIsPoison->getBoolValue()); in intrinsic()
1066 return Ops[0].cttz(ZeroIsPoison->getBoolValue()); in intrinsic()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp758 if (bitwize_and.getBoolValue()) { in SignExtend()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenFunction.cpp180 resultBool = resultInt.getBoolValue(); in constantFoldsToBool()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDecoderEmitter.cpp1444 bool NeedPositiveMask = PositiveMask.getBoolValue(); in emitSoftFailTableEntry()
1445 bool NeedNegativeMask = NegativeMask.getBoolValue(); in emitSoftFailTableEntry()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCTargetDesc.cpp464 return Mask.getBoolValue(); in clearsSuperRegisters()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorModeling.cpp515 (TruthVal->getValue()->getBoolValue())))) { in processComparison()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1323 int NewInstNum = ConstOpnd.getBoolValue() ? 1 : 2; in CombineXorOpnd()
1339 int NewInstNum = ConstOpnd.getBoolValue() ? 1 : 2; in CombineXorOpnd()
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp853 isIntZero = !IntE->getValue().getBoolValue(); in rewriteToNumberLiteral()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp1170 if (Result.Val.getInt().getBoolValue())
2005 .getBoolValue(); in coverIfConstexpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafety.cpp1428 branch = ILE->getValue().getBoolValue(); in getMutexIDs()
1451 TCond = ILE->getValue().getBoolValue(); in getStaticBooleanValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCTargetDesc.cpp580 return Mask.getBoolValue(); in clearsSuperRegisters()

123