Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DAPFixedPoint.h122 bool getBoolValue() const { return Val.getBoolValue(); } in getBoolValue() function
H A DAPInt.h483 bool getBoolValue() const { return !!*this; }
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp472 if (!C2.getBoolValue()) in ConstantFoldBinOp()
476 if (!C2.getBoolValue()) in ConstantFoldBinOp()
480 if (!C2.getBoolValue()) in ConstantFoldBinOp()
484 if (!C2.getBoolValue()) in ConstantFoldBinOp()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DDemandedBits.cpp247 .getBoolValue()) in determineLiveOperandBits()
300 .getBoolValue()) in determineLiveOperandBits()
H A DLoads.cpp84 if (KnownDerefBytes.getBoolValue() && KnownDerefBytes.uge(Size) && in isDereferenceableAndAlignedPointer()
176 if (KnownDerefBytes.getBoolValue() && KnownDerefBytes.uge(Size) && in isDereferenceableAndAlignedPointer()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DKnownBits.cpp54 LHS, RHS, Carry.Zero.getBoolValue(), Carry.One.getBoolValue()); in computeForAddCarry()
H A DAPInt.cpp2262 while (Tmp.getBoolValue()) { in toString()
2268 while (Tmp.getBoolValue()) { in toString()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaConcept.cpp190 Satisfaction.IsSatisfied = EvalResult.Val.getInt().getBoolValue(); in calculateConstraintSatisfaction()
539 BO->getLHS()->EvaluateKnownConstInt(S.Context).getBoolValue(); in diagnoseWellFormedUnsatisfiedConstraintExpr()
550 BO->getRHS()->EvaluateKnownConstInt(S.Context).getBoolValue(); in diagnoseWellFormedUnsatisfiedConstraintExpr()
H A DAnalysisBasedWarnings.cpp1343 return Result.Val.getInt().getBoolValue(); in isInLoop()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp644 return makeTruthVal(V.getValue().getBoolValue(), CastTy); in evalCastSubKind()
842 return makeTruthVal(V.getValue().getBoolValue(), CastTy); in evalCastSubKind()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConstraintManager.h142 Ty->isBooleanType() ? Solver->mkBoolean(Value.getBoolValue()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DTemplateBase.cpp79 Out << (Val.getBoolValue() ? "true" : "false"); in printIntegral()
H A DAPValue.cpp651 Out << (getInt().getBoolValue() ? "true" : "false"); in printPretty()
H A DItaniumMangle.cpp3977 Out << (Value.getBoolValue() ? '1' : '0'); in mangleIntegerLiteral()
5637 if (V.getComplexIntReal().getBoolValue() || in mangleValueInTemplateArg()
5638 V.getComplexIntImag().getBoolValue()) in mangleValueInTemplateArg()
5640 if (V.getComplexIntImag().getBoolValue()) in mangleValueInTemplateArg()
H A DExprConstant.cpp2473 Result = Val.getInt().getBoolValue(); in HandleConversionToBool()
2476 Result = Val.getFixedPoint().getBoolValue(); in HandleConversionToBool()
2482 Result = Val.getComplexIntReal().getBoolValue() || in HandleConversionToBool()
2483 Val.getComplexIntImag().getBoolValue(); in HandleConversionToBool()
2617 Result = Value.getBoolValue(); in HandleIntToIntCast()
13240 return Success(Val.getFixedPoint().getBoolValue(), E); in VisitCastExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DByteCodeExprGen.cpp414 return this->emitConstBool(Value.getBoolValue(), E); in emitConst()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DFixedLenDecoderEmitter.cpp1346 bool NeedPositiveMask = PositiveMask.getBoolValue(); in emitSoftFailTableEntry()
1347 bool NeedNegativeMask = NegativeMask.getBoolValue(); in emitSoftFailTableEntry()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DThreadSafety.cpp1406 branch = ILE->getValue().getBoolValue(); in getMutexIDs()
1429 TCond = ILE->getValue().getBoolValue(); in getStaticBooleanValue()
H A DCFG.cpp1206 if (!IntVal.getBoolValue()) { in tryEvaluateBool()
1213 if (!IntVal.getBoolValue()) { in tryEvaluateBool()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1365 int NewInstNum = ConstOpnd.getBoolValue() ? 1 : 2; in CombineXorOpnd()
1381 int NewInstNum = ConstOpnd.getBoolValue() ? 1 : 2; in CombineXorOpnd()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp856 isIntZero = !IntE->getValue().getBoolValue(); in rewriteToNumberLiteral()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCTargetDesc.cpp464 return Mask.getBoolValue(); in clearsSuperRegisters()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstantRange.cpp899 return Ops[0].abs(IntMinIsPoison->getBoolValue()); in intrinsic()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3596 if (N1Known.Zero.getBoolValue()) { in computeOverflowKind()
5073 if (!C2.getBoolValue()) in FoldValue()
5077 if (!C2.getBoolValue()) in FoldValue()
5081 if (!C2.getBoolValue()) in FoldValue()
5085 if (!C2.getBoolValue()) in FoldValue()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1488 ResultBool = ResultInt.getBoolValue(); in ConstantFoldsToSimpleInteger()

12