Home
last modified time | relevance | path

Searched refs:BoolTy (Results 1 – 25 of 50) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DGTestChecker.cpp221 CanQualType BoolTy = C.getASTContext().BoolTy; in checkPostCall() local
222 if (ParamCount == 1 && CtorDecl->getParamDecl(0)->getType() == BoolTy) { in checkPostCall()
230 RefTy->getPointeeType()->getCanonicalTypeUnqualified() == BoolTy) { in checkPostCall()
H A DIteratorModeling.cpp496 CE, LCtx, C.getASTContext().BoolTy, C.blockCount())); in handleComparison()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprConcepts.cpp37 : Expr(ConceptSpecializationExprClass, C.BoolTy, VK_PRValue, OK_Ordinary), in ConceptSpecializationExpr()
71 : Expr(ConceptSpecializationExprClass, C.BoolTy, VK_PRValue, OK_Ordinary), in ConceptSpecializationExpr()
125 : Expr(RequiresExprClass, C.BoolTy, VK_PRValue, OK_Ordinary), in RequiresExpr()
H A DASTContext.cpp1203 InitBuiltinType(BoolTy, BuiltinType::Bool); in InitBuiltinTypes()
1385 SignedCharTy : BoolTy); in InitBuiltinTypes()
3903 return SVE_ELTTY(BoolTy, 16, 1); in getBuiltinVectorTypeInfo()
3905 return SVE_ELTTY(BoolTy, 16, 2); in getBuiltinVectorTypeInfo()
3907 return SVE_ELTTY(BoolTy, 16, 4); in getBuiltinVectorTypeInfo()
3954 return {BoolTy, llvm::ElementCount::getScalable(NumEls), 1}; in getBuiltinVectorTypeInfo()
7056 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank()
9533 if (Info.ElementType == Context.BoolTy) in getRVVTypeSize()
9553 Info.ElementType == BoolTy && in areCompatibleRVVTypes()
11350 Type = Context.BoolTy; in DecodeTypeFromStr()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleConstraintManager.cpp39 Cond = SVB.evalCast(*LV, SVB.getContext().BoolTy, T).castAs<DefinedSVal>(); in assumeInternal()
H A DSVals.cpp148 return Context.BoolTy; in VisitConcreteInt()
H A DSimpleSValBuilder.cpp924 QualType boolType = getContext().BoolTy; in evalBinOpLL()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp432 MVT BoolTy = MVT::getVectorVT(MVT::i1, N); in initializeHVXLowering() local
433 if (!isTypeLegal(BoolTy)) in initializeHVXLowering()
434 setOperationAction(ISD::SETCC, BoolTy, Custom); in initializeHVXLowering()
1026 MVT BoolTy = MVT::getVectorVT(MVT::i1, HwLen); in createHvxPrefixPred() local
1027 SDValue Q = getInstr(Hexagon::V6_pred_scalar2, dl, BoolTy, in createHvxPrefixPred()
1478 MVT BoolTy = MVT::getVectorVT(MVT::i1, HwLen); in insertHvxSubvectorPred() local
1479 SDValue Q = getInstr(Hexagon::V6_pred_scalar2, dl, BoolTy, in insertHvxSubvectorPred()
2217 MVT BoolTy = MVT::getVectorVT(MVT::i1, HwLen); in LowerHvxMaskedOp() local
3063 MVT BoolTy = MVT::getVectorVT(MVT::i1, HwLen); in WidenHvxLoad() local
3064 SDValue Mask = getInstr(Hexagon::V6_pred_scalar2, dl, BoolTy, in WidenHvxLoad()
[all …]
H A DHexagonVectorCombine.cpp2190 IntegerType *BoolTy = Type::getInt1Ty(F.getContext()); in getBoolTy() local
2192 return BoolTy; in getBoolTy()
2193 return VectorType::get(BoolTy, ElemCount, /*Scalable=*/false); in getBoolTy()
2584 Type *BoolTy = Type::getInt1Ty(F.getContext()); in createHvxIntrinsic() local
2585 if (cast<VectorType>(SrcTy)->getElementType() != BoolTy) in createHvxIntrinsic()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeEncodingParser.cpp307 return ast_ctx.BoolTy; in BuildType()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp159 llvm::Type *BoolTy; member in __anonaf5ecb460111::CGObjCGNU
2270 BoolTy = CGM.getTypes().ConvertType(CGM.getContext().BoolTy); in CGObjCGNU()
2360 PtrDiffTy, BoolTy); in CGObjCGNU()
2363 PtrDiffTy, IdTy, BoolTy, BoolTy); in CGObjCGNU()
2366 PtrDiffTy, BoolTy, BoolTy); in CGObjCGNU()
2369 PtrDiffTy, BoolTy, BoolTy); in CGObjCGNU()
H A DCGObjC.cpp836 args.add(RValue::get(CGF.Builder.getInt1(isAtomic)), Context.BoolTy); in emitStructGetterCall()
837 args.add(RValue::get(CGF.Builder.getInt1(hasStrong)), Context.BoolTy); in emitStructGetterCall()
1232 getContext().BoolTy); in generateObjCGetterBody()
1347 args.add(RValue::get(CGF.Builder.getTrue()), CGF.getContext().BoolTy); in emitStructSetterCall()
1351 args.add(RValue::get(CGF.Builder.getFalse()), CGF.getContext().BoolTy); in emitStructSetterCall()
1542 getContext().BoolTy); in generateObjCSetterBody()
1544 getContext().BoolTy); in generateObjCSetterBody()
1980 .GenerateMessageSend(*this, ReturnValueSlot(), C.BoolTy, in EmitObjCForCollectionStmt()
H A DCodeGenTypes.cpp508 llvm::FixedVectorType::get(ConvertType(Context.BoolTy), Size); \ in ConvertType()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h361 *RetTy = Ctx.BoolTy; in getBinExpr()
585 NewInt = Int.extend(Ctx.getTypeSize(Ctx.BoolTy)); in fixAPSInt()
H A DSValBuilder.h150 return Context.getLangOpts().CPlusPlus ? Context.BoolTy : Context.IntTy; in getConditionType()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaRISCVVectorLookup.cpp106 QT = Context.BoolTy; in RVVType2Qual()
H A DSemaExceptionSpec.cpp93 NoexceptExpr, Context.BoolTy, Result, CCEK_Noexcept); in ActOnNoexceptSpec()
99 CXXBoolLiteralExpr(false, Context.BoolTy, NoexceptExpr->getBeginLoc()); in ActOnNoexceptSpec()
H A DSemaConcept.cpp85 SemaRef.Context.BoolTy, VK_PRValue, in recreateBinOp()
148 if (!Context.hasSameUnqualifiedType(Type, Context.BoolTy)) { in CheckConstraintExpression()
H A DSemaOverload.cpp2083 FromType = S.Context.BoolTy; in IsStandardConversion()
3269 if (Context.hasSameUnqualifiedType(From->getType(), Context.BoolTy)) in CheckPointerConversion()
5888 S.Context.BoolTy, in TryContextuallyConvertToBool()
5893 return TryImplicitConversion(S, From, S.Context.BoolTy, in TryContextuallyConvertToBool()
5910 return PerformImplicitConversion(From, Context.BoolTy, ICS, AA_Converting); in PerformContextuallyConvertToBool()
5912 if (!DiagnoseMultipleUserDefinedConversion(From, Context.BoolTy)) in PerformContextuallyConvertToBool()
8334 assert(ParamTys[ArgIdx] == Context.BoolTy && in AddBuiltinCandidate()
8827 ArithmeticTypes.push_back(S.Context.BoolTy); in InitArithmeticTypes()
8939 if (TypeOfT == S.Context.BoolTy) { in addPlusPlusMinusMinusArithmeticOverloads()
9594 QualType ParamTy = S.Context.BoolTy; in addExclaimOverload()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp768 SPIRVType *BoolTy = GR.getOrCreateSPIRVBoolType(I, TII); in selectAtomicCmpXchg() local
771 .addUse(GR.getSPIRVTypeID(BoolTy)) in selectAtomicCmpXchg()
1152 const SPIRVType *BoolTy) const { in selectIntToBool()
1168 .addUse(GR.getSPIRVTypeID(BoolTy)) in selectIntToBool()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DBuiltinTypes.def63 UNSIGNED_TYPE(Bool, BoolTy)
H A DASTContext.h1084 CanQualType BoolTy; variable
1977 return getLangOpts().CPlusPlus ? BoolTy : IntTy; in getLogicalOperationType()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp199 return makeImplicitCast(Arg, C.BoolTy, CK_IntegralToBoolean); in makeIntegralCastToBoolean()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp864 {"has_value", Ctx.BoolTy}}; in UncheckedOptionalAccessModel()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp7458 LLT BoolTy = Dst1Ty; in lowerSADDO_SSUBO() local
7476 MIRBuilder.buildICmp(CmpInst::ICMP_SLT, BoolTy, Dst0, LHS); in lowerSADDO_SSUBO()
7478 IsAdd ? CmpInst::ICMP_SLT : CmpInst::ICMP_SGT, BoolTy, RHS, Zero); in lowerSADDO_SSUBO()
7564 LLT BoolTy = Ty.changeElementSize(1); in lowerAddSubSatToAddoSubo() local
7594 MIRBuilder.buildInstr(OverflowOp, {Ty, BoolTy}, {LHS, RHS}); in lowerAddSubSatToAddoSubo()
7634 LLT BoolTy = Ty.changeElementSize(1); in lowerShlSat() local
7645 auto Cmp = MIRBuilder.buildICmp(CmpInst::ICMP_SLT, BoolTy, LHS, in lowerShlSat()
7651 auto Ov = MIRBuilder.buildICmp(CmpInst::ICMP_NE, BoolTy, LHS, Orig); in lowerShlSat()

12