Home
last modified time | relevance | path

Searched refs:RTy (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h660 LTy = RTy; in doTypeConversion()
692 RTy = NewTy; in doIntTypeConversion()
709 RTy = LTy; in doIntTypeConversion()
712 LTy = RTy; in doIntTypeConversion()
719 RTy = LTy; in doIntTypeConversion()
722 LTy = RTy; in doIntTypeConversion()
730 RTy = LTy; in doIntTypeConversion()
763 LTy = RTy; in doFloatTypeConversion()
768 RTy = LTy; in doFloatTypeConversion()
781 RTy = LTy; in doFloatTypeConversion()
[all …]
H A DSMTConstraintManager.h190 QualType LTy, RTy; in REGISTER_TRAIT_WITH_PROGRAMSTATE() local
192 std::tie(ConvertedRHS, RTy) = SMTConv::fixAPSInt(Ctx, *RHS); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
194 Solver, Ctx, ConvertedLHS, LTy, ConvertedRHS, RTy); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTImporterLookupTable.cpp30 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 DDeclPrinter.cpp183 else if (const ReferenceType *RTy = BaseType->getAs<ReferenceType>()) in GetBaseType() local
184 BaseType = RTy->getPointeeType(); in GetBaseType()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DLoongArch.cpp153 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 DRISCV.cpp159 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-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp569 auto *RTy = cast<IntegerType>(Range.getType()); in calculateSubRanges() local
571 if (!AllowNarrowLatchCondition && RTy != MainLoopStructure.ExitCountTy) in calculateSubRanges()
573 if (RTy->getBitWidth() < MainLoopStructure.ExitCountTy->getBitWidth()) in calculateSubRanges()
583 RTy, SE, IsSignedPredicate); in calculateSubRanges()
584 const SCEV *End = NoopOrExtend(SE.getSCEV(MainLoopStructure.LoopExitAt), RTy, in calculateSubRanges()
595 const SCEV *One = SE.getOne(RTy); in calculateSubRanges()
H A DLowerMatrixIntrinsics.cpp121 template <typename LTy, typename RTy>
122 auto m_AnyMul(const LTy &L, const RTy &R) { in m_AnyMul()
127 template <typename LTy, typename RTy>
128 auto m_AnyAdd(const LTy &L, const RTy &R) { in m_AnyAdd()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp627 explicit RecordMemberExprValidatorCCC(const RecordType *RTy) in RecordMemberExprValidatorCCC() argument
628 : Record(RTy->getDecl()) { in RecordMemberExprValidatorCCC()
674 const RecordType *RTy, in LookupMemberExprInRecord() argument
680 RecordDecl *RDecl = RTy->getDecl(); in LookupMemberExprInRecord()
681 if (!SemaRef.isThisOutsideMemberFunctionBody(QualType(RTy, 0)) && in LookupMemberExprInRecord()
682 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord()
689 QualType ObjectType = SS.isSet() ? QualType() : QualType(RTy, 0); in LookupMemberExprInRecord()
734 RecordMemberExprValidatorCCC CCC(RTy); in LookupMemberExprInRecord()
1344 if (const RecordType *RTy = BaseType->getAs<RecordType>()) { in LookupMemberExpr() local
1346 if (LookupMemberExprInRecord(S, R, BaseExpr.get(), RTy, OpLoc, IsArrow, SS, in LookupMemberExpr()
H A DSemaExprCXX.cpp6634 QualType RTy = RHS.get()->getType(); in CXXCheckConditionalOperands() local
6636 bool RVoid = RTy->isVoidType(); in CXXCheckConditionalOperands()
6671 << (LVoid ? RTy : LTy) << (LVoid ? 0 : 1) in CXXCheckConditionalOperands()
6694 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
6721 RTy = RHS.get()->getType(); in CXXCheckConditionalOperands()
6754 RTy = RHS.get()->getType(); in CXXCheckConditionalOperands()
6772 bool Same = Context.hasSameType(LTy, RTy); in CXXCheckConditionalOperands()
6780 return Context.getCommonSugaredType(LTy, RTy); in CXXCheckConditionalOperands()
6802 RTy = RHS.get()->getType(); in CXXCheckConditionalOperands()
6810 if (Context.hasSameType(LTy, RTy)) { in CXXCheckConditionalOperands()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h187 template <typename LTy, typename RTy> struct match_combine_or {
189 RTy R;
191 match_combine_or(const LTy &Left, const RTy &Right) : L(Left), R(Right) {} in match_combine_or()
202 template <typename LTy, typename RTy> struct match_combine_and {
204 RTy R;
217 template <typename LTy, typename RTy>
218 inline match_combine_or<LTy, RTy> m_CombineOr(const LTy &L, const RTy &R) { in m_CombineOr()
219 return match_combine_or<LTy, RTy>(L, R); in m_CombineOr()
223 template <typename LTy, typename RTy>
224 inline match_combine_and<LTy, RTy> m_CombineAnd(const LTy &L, const RTy &R) { in m_CombineAnd()
[all …]
H A DDIBuilder.h278 unsigned Tag, DIType *RTy, uint64_t SizeInBits = 0,
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp618 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-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp1424 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()
H A DSValBuilder.cpp1080 APSIntType RTy = BVF.getAPSIntType(RT); in simplifySymbolCast() local
1081 const auto WR = RTy.getBitWidth(); in simplifySymbolCast()
1083 const bool UR = RTy.isUnsigned(); in simplifySymbolCast()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp85 IntrinsicCostAttributes::IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy, in IntrinsicCostAttributes() argument
90 : II(I), RetTy(RTy), IID(Id), FMF(Flags), ScalarizationCost(ScalarCost) { in IntrinsicCostAttributes()
104 IntrinsicCostAttributes::IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy, in IntrinsicCostAttributes() argument
110 : II(I), RetTy(RTy), IID(Id), FMF(Flags), ScalarizationCost(ScalarCost) { in IntrinsicCostAttributes()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp556 const ReferenceType *RTy = cast<ReferenceType>(Ty); in ConvertType() local
557 QualType ETy = RTy->getPointeeType(); in ConvertType()
H A DCGCall.cpp3636 static void setUsedBits(CodeGenModule &CGM, const RecordType *RTy, int Offset, in setUsedBits() argument
3640 const RecordDecl *RD = RTy->getDecl()->getDefinition(); in setUsedBits()
3689 if (const auto *RTy = QTy->getAs<RecordType>()) in setUsedBits() local
3690 return setUsedBits(CGM, RTy, Offset, Bits); in setUsedBits()
H A DCodeGenFunction.h4278 QualType RTy);
4280 QualType RTy);
H A DCGBuiltin.cpp5114 llvm::Type *RTy; in EmitBuiltinExpr() local
5121 RTy = Exchange->getType(); in EmitBuiltinExpr()
5137 RTy)); in EmitBuiltinExpr()
7797 auto *RTy = cast<llvm::FixedVectorType>(Ty); in EmitCommonNeonBuiltinExpr() local
7800 RTy = llvm::FixedVectorType::get(RTy->getElementType(), in EmitCommonNeonBuiltinExpr()
7801 RTy->getNumElements() * 2); in EmitCommonNeonBuiltinExpr()
7803 RTy, GetNeonType(this, NeonTypeFlags(Type.getEltType(), false, in EmitCommonNeonBuiltinExpr()
9548 auto *RTy = llvm::VectorType::get(IntegerType::get(getLLVMContext(), 1), VTy); in EmitSVEPredicateCast() local
9549 if (Pred->getType() == RTy) in EmitSVEPredicateCast()
9562 IntrinsicTy = RTy; in EmitSVEPredicateCast()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp325 DIBuilder::createReferenceType(unsigned Tag, DIType *RTy, uint64_t SizeInBits, in createReferenceType() argument
328 assert(RTy && "Unable to create reference type"); in createReferenceType()
329 return DIDerivedType::get(VMContext, Tag, "", nullptr, 0, nullptr, RTy, in createReferenceType()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h138 Intrinsic::ID Id, Type *RTy, ArrayRef<Type *> Tys,
142 IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy,
146 Intrinsic::ID Id, Type *RTy, ArrayRef<const Value *> Args,
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp827 if (auto RTy = Elements[0]) in constructTypeDIE() local
828 addType(Buffer, RTy); in constructTypeDIE()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp2862 Type *RTy = CalledFunc->getReturnType(); in InlineFunction() local
2869 PHI = PHINode::Create(RTy, Returns.size(), CB.getName()); in InlineFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp281 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()

12