/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SMTConv.h | 349 QualType RTy, QualType *RetTy) { in getBinExpr() argument 352 doTypeConversion(Solver, Ctx, NewLHS, NewRHS, LTy, RTy); in getBinExpr() 368 if (LTy->isAnyPointerType() && RTy->isAnyPointerType() && Op == BO_Sub) { in getBinExpr() 386 QualType LTy, RTy; in getSymBinExpr() local 393 std::tie(NewRInt, RTy) = fixAPSInt(Ctx, SIE->getRHS()); in getSymBinExpr() 396 return getBinExpr(Solver, Ctx, LHS, LTy, Op, RHS, RTy, RetTy); in getSymBinExpr() 405 getSymExpr(Solver, Ctx, ISE->getRHS(), &RTy, hasComparison); in getSymBinExpr() 406 return getBinExpr(Solver, Ctx, LHS, LTy, Op, RHS, RTy, RetTy); in getSymBinExpr() 413 getSymExpr(Solver, Ctx, SSM->getRHS(), &RTy, hasComparison); in getSymBinExpr() 414 return getBinExpr(Solver, Ctx, LHS, LTy, Op, RHS, RTy, RetTy); in getSymBinExpr() [all …]
|
H A D | SMTConstraintManager.h | 193 QualType LTy, RTy; in REGISTER_TRAIT_WITH_PROGRAMSTATE() local 195 std::tie(ConvertedRHS, RTy) = SMTConv::fixAPSInt(Ctx, *RHS); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 197 Solver, Ctx, ConvertedLHS, LTy, ConvertedRHS, RTy); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTImporterLookupTable.cpp | 30 if (const auto *RTy = dyn_cast<RecordType>(Ty)) { in VisitTypedefNameDecl() local 31 LT.add(RTy->getAsRecordDecl()); in VisitTypedefNameDecl() 33 for (auto *it : RTy->getAsRecordDecl()->fields()) { in VisitTypedefNameDecl() 59 if (const auto *RTy = dyn_cast<RecordType>(Ty)) in VisitFriendDecl() local 60 LT.add(RTy->getAsCXXRecordDecl()); in VisitFriendDecl()
|
H A D | DeclPrinter.cpp | 171 else if (const ReferenceType *RTy = BaseType->getAs<ReferenceType>()) in GetBaseType() local 172 BaseType = RTy->getPointeeType(); in GetBaseType()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanPatternMatch.h | 86 template <typename LTy, typename RTy> struct match_combine_or { 88 RTy R; 90 match_combine_or(const LTy &Left, const RTy &Right) : L(Left), R(Right) {} in match_combine_or() 101 template <typename LTy, typename RTy> 102 inline match_combine_or<LTy, RTy> m_CombineOr(const LTy &L, const RTy &R) { in m_CombineOr() 103 return match_combine_or<LTy, RTy>(L, R); in m_CombineOr()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | LoongArch.cpp | 153 if (const auto *RTy = EltTy->getAs<RecordType>()) { in detectFARsEligibleStructHelper() local 154 if (ArraySize != 0 && isa<CXXRecordDecl>(RTy->getDecl()) && in detectFARsEligibleStructHelper() 168 if (const auto *RTy = Ty->getAs<RecordType>()) { in detectFARsEligibleStructHelper() local 173 const RecordDecl *RD = RTy->getDecl(); in detectFARsEligibleStructHelper()
|
H A D | RISCV.cpp | 159 if (const auto *RTy = EltTy->getAs<RecordType>()) { in detectFPCCEligibleStructHelper() local 160 if (ArraySize != 0 && isa<CXXRecordDecl>(RTy->getDecl()) && in detectFPCCEligibleStructHelper() 175 if (const auto *RTy = Ty->getAs<RecordType>()) { in detectFPCCEligibleStructHelper() local 182 const RecordDecl *RD = RTy->getDecl(); in detectFPCCEligibleStructHelper()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaExprMember.cpp | 659 explicit RecordMemberExprValidatorCCC(QualType RTy) in RecordMemberExprValidatorCCC() argument 660 : Record(RTy->getAsRecordDecl()) { in RecordMemberExprValidatorCCC() 705 Expr *BaseExpr, QualType RTy, in LookupMemberExprInRecord() argument 711 if (!RTy->isDependentType() && in LookupMemberExprInRecord() 712 !SemaRef.isThisOutsideMemberFunctionBody(RTy) && in LookupMemberExprInRecord() 714 OpLoc, RTy, diag::err_typecheck_incomplete_tag, BaseRange)) in LookupMemberExprInRecord() 719 QualType ObjectType = SS.isSet() ? QualType() : RTy; in LookupMemberExprInRecord() 734 : SemaRef.computeDeclContext(RTy); in LookupMemberExprInRecord() 744 RecordMemberExprValidatorCCC CCC(RTy); in LookupMemberExprInRecord()
|
H A D | SemaExprCXX.cpp | 6862 QualType RTy = RHS.get()->getType(); in CXXCheckConditionalOperands() local 6864 bool RVoid = RTy->isVoidType(); in CXXCheckConditionalOperands() 6895 return Context.getCommonSugaredType(LTy, RTy); in CXXCheckConditionalOperands() 6899 << (LVoid ? RTy : LTy) << (LVoid ? 0 : 1) in CXXCheckConditionalOperands() 6912 if (LTy->isWebAssemblyTableType() || RTy->isWebAssemblyTableType()) { in CXXCheckConditionalOperands() 6922 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands() 6923 (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands() 6935 << LTy << RTy << LHS.get()->getSourceRange() << RHS.get()->getSourceRange(); in CXXCheckConditionalOperands() 6949 RTy = RHS.get()->getType(); in CXXCheckConditionalOperands() 6966 if (!Context.hasSameType(LTy, RTy) && LVK == RVK && LVK != VK_PRValue) { in CXXCheckConditionalOperands() [all …]
|
H A D | SemaExpr.cpp | 4783 QualType LTy = LHS->getType(), RTy = RHS->getType(); in getDependentArraySubscriptType() local 4785 if (RTy->isIntegralOrUnscopedEnumerationType()) { in getDependentArraySubscriptType() 4791 if (const PointerType *PT = RTy->getAs<PointerType>()) in getDependentArraySubscriptType() 4793 else if (const ArrayType *AT = RTy->getAsArrayTypeUnsafe()) in getDependentArraySubscriptType() 13348 const RecordType *RTy = Ty.getCanonicalType()->getAs<RecordType>(); in DiagnoseRecursiveConstFields() local 13352 DiagnoseRecursiveConstFields(S, ME->getMemberDecl(), RTy, Loc, in DiagnoseRecursiveConstFields() 13355 DiagnoseRecursiveConstFields(S, DRE->getDecl(), RTy, Loc, in DiagnoseRecursiveConstFields() 13358 DiagnoseRecursiveConstFields(S, nullptr, RTy, Loc, in DiagnoseRecursiveConstFields()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 208 template <typename LTy, typename RTy> struct match_combine_or { 210 RTy R; 212 match_combine_or(const LTy &Left, const RTy &Right) : L(Left), R(Right) {} in match_combine_or() 223 template <typename LTy, typename RTy> struct match_combine_and { 225 RTy R; 227 match_combine_and(const LTy &Left, const RTy &Right) : L(Left), R(Right) {} in match_combine_and() 238 template <typename LTy, typename RTy> 239 inline match_combine_or<LTy, RTy> m_CombineOr(const LTy &L, const RTy &R) { in m_CombineOr() 240 return match_combine_or<LTy, RTy>(L, R); in m_CombineOr() 244 template <typename LTy, typename RTy> [all …]
|
H A D | DIBuilder.h | 294 unsigned Tag, DIType *RTy, uint64_t SizeInBits = 0,
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | InductiveRangeCheckElimination.cpp | 569 auto *RTy = cast<IntegerType>(Range.getType()); in DisableAllLoopOptsOnLoop() 571 if (!AllowNarrowLatchCondition && RTy != MainLoopStructure.ExitCountTy) in DisableAllLoopOptsOnLoop() 573 if (RTy->getBitWidth() < MainLoopStructure.ExitCountTy->getBitWidth()) in DisableAllLoopOptsOnLoop() 583 RTy, SE, IsSignedPredicate); in DisableAllLoopOptsOnLoop() 584 const SCEV *End = NoopOrExtend(SE.getSCEV(MainLoopStructure.LoopExitAt), RTy, 595 const SCEV *One = SE.getOne(RTy); 1209 auto *RTy = cast<IntegerType>(Range.getType()); calculateSubRanges() local
|
H A D | LowerMatrixIntrinsics.cpp | 122 template <typename LTy, typename RTy> 123 auto m_AnyMul(const LTy &L, const RTy &R) { in m_AnyMul() 128 template <typename LTy, typename RTy> 129 auto m_AnyAdd(const LTy &L, const RTy &R) { in m_AnyAdd()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-diff/lib/ |
H A D | DifferenceEngine.cpp | 618 const StructType *RTy = cast<StructType>(CSR->getType()); in equivalentAsOperands() local 623 if (LTy->getNumElements() != RTy->getNumElements() || in equivalentAsOperands() 624 LTy->isPacked() != RTy->isPacked()) in equivalentAsOperands()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | RegionStore.cpp | 1424 QualType RTy = R->getValueType(); in getBinding() local 1428 if (RTy->isAnyComplexType()) in getBinding() 1439 if (RTy->isStructureOrClassType()) in getBinding() 1443 if (RTy->isUnionType()) in getBinding() 1446 if (RTy->isArrayType()) { in getBinding() 1447 if (RTy->isConstantArrayType()) in getBinding() 1454 if (RTy->isVectorType()) in getBinding()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | TargetTransformInfo.cpp | 86 IntrinsicCostAttributes::IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy, in IntrinsicCostAttributes() argument 91 : II(I), RetTy(RTy), IID(Id), FMF(Flags), ScalarizationCost(ScalarCost) { in IntrinsicCostAttributes() 105 IntrinsicCostAttributes::IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy, in IntrinsicCostAttributes() argument 111 : II(I), RetTy(RTy), IID(Id), FMF(Flags), ScalarizationCost(ScalarCost) { in IntrinsicCostAttributes()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenTypes.cpp | 616 const ReferenceType *RTy = cast<ReferenceType>(Ty); in ConvertType() local 617 QualType ETy = RTy->getPointeeType(); in ConvertType()
|
H A D | CGCall.cpp | 3644 static void setUsedBits(CodeGenModule &CGM, const RecordType *RTy, int Offset, in setUsedBits() argument 3648 const RecordDecl *RD = RTy->getDecl()->getDefinition(); in setUsedBits() 3697 if (const auto *RTy = QTy->getAs<RecordType>()) in setUsedBits() local 3698 return setUsedBits(CGM, RTy, Offset, Bits); in setUsedBits()
|
H A D | CodeGenFunction.h | 4572 QualType RTy); 4574 QualType RTy);
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DIBuilder.cpp | 339 DIBuilder::createReferenceType(unsigned Tag, DIType *RTy, uint64_t SizeInBits, in createReferenceType() argument 342 assert(RTy && "Unable to create reference type"); in createReferenceType() 343 return DIDerivedType::get(VMContext, Tag, "", nullptr, 0, nullptr, RTy, in createReferenceType()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfo.h | 139 Intrinsic::ID Id, Type *RTy, ArrayRef<Type *> Tys, 143 IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy, 147 Intrinsic::ID Id, Type *RTy, ArrayRef<const Value *> Args,
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfUnit.cpp | 860 if (auto RTy = Elements[0]) in constructTypeDIE() local 861 addType(Buffer, RTy); in constructTypeDIE()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | InlineFunction.cpp | 2965 Type *RTy = CalledFunc->getReturnType(); in InlineFunction() local 2972 PHI = PHINode::Create(RTy, Returns.size(), CB.getName()); in InlineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | Record.cpp | 281 const RecordRecTy *RTy = dyn_cast<RecordRecTy>(RHS); in typeIsConvertibleTo() local 282 if (!RTy) in typeIsConvertibleTo() 285 return llvm::all_of(RTy->getClasses(), [this](Record *TargetClass) { in typeIsConvertibleTo()
|