Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h351 QualType RTy, QualType *RetTy) { in getBinExpr() argument
354 doTypeConversion(Solver, Ctx, NewLHS, NewRHS, LTy, RTy); in getBinExpr()
370 if (LTy->isAnyPointerType() && RTy->isAnyPointerType() && Op == BO_Sub) { in getBinExpr()
388 QualType LTy, RTy; in getSymBinExpr() local
395 std::tie(NewRInt, RTy) = fixAPSInt(Ctx, SIE->getRHS()); in getSymBinExpr()
398 return getBinExpr(Solver, Ctx, LHS, LTy, Op, RHS, RTy, RetTy); in getSymBinExpr()
407 getSymExpr(Solver, Ctx, ISE->getRHS(), &RTy, hasComparison); in getSymBinExpr()
408 return getBinExpr(Solver, Ctx, LHS, LTy, Op, RHS, RTy, RetTy); in getSymBinExpr()
415 getSymExpr(Solver, Ctx, SSM->getRHS(), &RTy, hasComparison); in getSymBinExpr()
416 return getBinExpr(Solver, Ctx, LHS, LTy, Op, RHS, RTy, RetTy); in getSymBinExpr()
[all …]
H A DSMTConstraintManager.h194 QualType LTy, RTy; in REGISTER_TRAIT_WITH_PROGRAMSTATE() local
196 std::tie(ConvertedRHS, RTy) = SMTConv::fixAPSInt(Ctx, *RHS); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
198 Solver, Ctx, ConvertedLHS, LTy, ConvertedRHS, RTy); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDXILResource.cpp308 auto *RTy = cast<TextureExtType>(HandleTy); in createElementStruct() local
309 formatTypeName(TypeName, getResourceKindName(Kind), RTy->isWriteable(), in createElementStruct()
310 RTy->isROV(), RTy->getResourceType(), RTy->isSigned()); in createElementStruct()
311 return getOrCreateElementStruct(RTy->getResourceType(), TypeName); in createElementStruct()
315 auto *RTy = cast<MSTextureExtType>(HandleTy); in createElementStruct() local
316 formatTypeName(TypeName, getResourceKindName(Kind), RTy->isWriteable(), in createElementStruct()
317 /*IsROV=*/false, RTy->getResourceType(), RTy->isSigned()); in createElementStruct()
318 return getOrCreateElementStruct(RTy->getResourceType(), TypeName); in createElementStruct()
321 auto *RTy = cast<TypedBufferExtType>(HandleTy); in createElementStruct() local
322 formatTypeName(TypeName, getResourceKindName(Kind), RTy->isWriteable(), in createElementStruct()
[all …]
H A DTargetTransformInfo.cpp89 IntrinsicCostAttributes::IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy, in IntrinsicCostAttributes() argument
94 : II(I), RetTy(RTy), IID(Id), FMF(Flags), ScalarizationCost(ScalarCost) { in IntrinsicCostAttributes()
109 Intrinsic::ID Id, Type *RTy, ArrayRef<const Value *> Args, in IntrinsicCostAttributes() argument
112 : II(I), RetTy(RTy), IID(Id), FMF(Flags), ScalarizationCost(ScalarCost), in IntrinsicCostAttributes()
/freebsd/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.cpp175 else if (const ReferenceType *RTy = BaseType->getAs<ReferenceType>()) in GetBaseType() local
176 BaseType = RTy->getPointeeType(); in GetBaseType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanPatternMatch.h154 template <typename LTy, typename RTy> struct match_combine_or {
156 RTy R;
158 match_combine_or(const LTy &Left, const RTy &Right) : L(Left), R(Right) {} in match_combine_or()
169 template <typename LTy, typename RTy> struct match_combine_and {
171 RTy R;
173 match_combine_and(const LTy &Left, const RTy &Right) : L(Left), R(Right) {} in match_combine_and()
181 template <typename LTy, typename RTy>
182 inline match_combine_or<LTy, RTy> m_CombineOr(const LTy &L, const RTy &R) { in m_CombineOr()
183 return match_combine_or<LTy, RTy>(L, R); in m_CombineOr()
187 template <typename LTy, typename RTy>
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DLoongArch.cpp152 if (const auto *RTy = EltTy->getAs<RecordType>()) { in detectFARsEligibleStructHelper() local
153 if (ArraySize != 0 && isa<CXXRecordDecl>(RTy->getDecl()) && in detectFARsEligibleStructHelper()
167 if (const auto *RTy = Ty->getAs<RecordType>()) { in detectFARsEligibleStructHelper() local
172 const RecordDecl *RD = RTy->getDecl(); in detectFARsEligibleStructHelper()
H A DRISCV.cpp230 if (const auto *RTy = EltTy->getAs<RecordType>()) { in detectFPCCEligibleStructHelper() local
231 if (ArraySize != 0 && isa<CXXRecordDecl>(RTy->getDecl()) && in detectFPCCEligibleStructHelper()
246 if (const auto *RTy = Ty->getAs<RecordType>()) { in detectFPCCEligibleStructHelper() local
253 const RecordDecl *RD = RTy->getDecl(); in detectFPCCEligibleStructHelper()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp585 auto *RTy = cast<IntegerType>(Range.getType()); in calculateSubRanges() local
587 if (!AllowNarrowLatchCondition && RTy != MainLoopStructure.ExitCountTy) in calculateSubRanges()
589 if (RTy->getBitWidth() < MainLoopStructure.ExitCountTy->getBitWidth()) in calculateSubRanges()
599 RTy, SE, IsSignedPredicate); in calculateSubRanges()
600 const SCEV *End = NoopOrExtend(SE.getSCEV(MainLoopStructure.LoopExitAt), RTy, in calculateSubRanges()
611 const SCEV *One = SE.getOne(RTy); in calculateSubRanges()
H A DLowerMatrixIntrinsics.cpp118 template <typename LTy, typename RTy>
119 auto m_AnyMul(const LTy &L, const RTy &R) { in m_AnyMul()
124 template <typename LTy, typename RTy>
125 auto m_AnyAdd(const LTy &L, const RTy &R) { in m_AnyAdd()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h208 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 DDIBuilder.h317 unsigned Tag, DIType *RTy, uint64_t SizeInBits = 0,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp5869 QualType RTy = RHS.get()->getType(); in CXXCheckConditionalOperands() local
5871 bool RVoid = RTy->isVoidType(); in CXXCheckConditionalOperands()
5902 return Context.getCommonSugaredType(LTy, RTy); in CXXCheckConditionalOperands()
5906 << (LVoid ? RTy : LTy) << (LVoid ? 0 : 1) in CXXCheckConditionalOperands()
5919 if (LTy->isWebAssemblyTableType() || RTy->isWebAssemblyTableType()) { in CXXCheckConditionalOperands()
5929 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
5930 (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands()
5942 << LTy << RTy << LHS.get()->getSourceRange() << RHS.get()->getSourceRange(); in CXXCheckConditionalOperands()
5956 RTy = RHS.get()->getType(); in CXXCheckConditionalOperands()
5973 if (!Context.hasSameType(LTy, RTy) && LVK == RVK && LVK != VK_PRValue) { in CXXCheckConditionalOperands()
[all …]
H A DSemaExprMember.cpp654 Expr *BaseExpr, QualType RTy, in LookupMemberExprInRecord() argument
659 if (!RTy->isDependentType() && in LookupMemberExprInRecord()
660 !SemaRef.isThisOutsideMemberFunctionBody(RTy) && in LookupMemberExprInRecord()
662 OpLoc, RTy, diag::err_typecheck_incomplete_tag, BaseRange)) in LookupMemberExprInRecord()
667 QualType ObjectType = SS.isSet() ? QualType() : RTy; in LookupMemberExprInRecord()
H A DSemaHLSL.cpp3869 if (auto *RTy = Ty->getAs<RecordType>()) { in buildInitializerListImpl() local
3871 RecordTypes.push_back(RTy); in buildInitializerListImpl()
3917 if (auto *RTy = Ty->getAs<RecordType>()) { in generateInitListsImpl() local
3919 RecordTypes.push_back(RTy); in generateInitListsImpl()
/freebsd/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/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp1081 APSIntType RTy = BVF.getAPSIntType(RT); in simplifySymbolCast() local
1082 const auto WR = RTy.getBitWidth(); in simplifySymbolCast()
1084 const bool UR = RTy.isUnsigned(); in simplifySymbolCast()
H A DRegionStore.cpp1583 QualType RTy = R->getValueType(); in getBinding() local
1587 if (RTy->isAnyComplexType()) in getBinding()
1598 if (RTy->isStructureOrClassType()) in getBinding()
1602 if (RTy->isUnionType()) in getBinding()
1605 if (RTy->isArrayType()) { in getBinding()
1606 if (RTy->isConstantArrayType()) in getBinding()
1613 if (RTy->isVectorType()) in getBinding()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h141 Intrinsic::ID Id, Type *RTy, ArrayRef<Type *> Tys,
145 LLVM_ABI IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy,
149 Intrinsic::ID Id, Type *RTy, ArrayRef<const Value *> Args,
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp607 const ReferenceType *RTy = cast<ReferenceType>(Ty); in ConvertType() local
608 QualType ETy = RTy->getPointeeType(); in ConvertType()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp370 DIBuilder::createReferenceType(unsigned Tag, DIType *RTy, uint64_t SizeInBits, in createReferenceType() argument
373 assert(RTy && "Unable to create reference type"); in createReferenceType()
374 return DIDerivedType::get(VMContext, Tag, "", nullptr, 0, nullptr, RTy, in createReferenceType()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp932 if (auto RTy = Elements[0]) in constructTypeDIE() local
933 addType(Buffer, RTy); in constructTypeDIE()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp316 const auto *RTy = dyn_cast<RecordRecTy>(RHS); in typeIsConvertibleTo() local
317 if (!RTy) in typeIsConvertibleTo()
320 return llvm::all_of(RTy->getClasses(), [this](const Record *TargetClass) { in typeIsConvertibleTo()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/
H A DARM.cpp2142 auto *RTy = cast<llvm::FixedVectorType>(Ty); in EmitCommonNeonBuiltinExpr() local
2145 RTy = llvm::FixedVectorType::get(RTy->getElementType(), in EmitCommonNeonBuiltinExpr()
2146 RTy->getNumElements() * 2); in EmitCommonNeonBuiltinExpr()
2148 RTy, GetNeonType(this, NeonTypeFlags(Type.getEltType(), false, in EmitCommonNeonBuiltinExpr()
3884 auto *RTy = llvm::VectorType::get(IntegerType::get(getLLVMContext(), 1), VTy); in EmitSVEPredicateCast() local
3885 if (Pred->getType() == RTy) in EmitSVEPredicateCast()
3898 IntrinsicTy = RTy; in EmitSVEPredicateCast()
3908 assert(C->getType() == RTy && "Unexpected return type!"); in EmitSVEPredicateCast()

12