Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h658 LTy = RTy; in doTypeConversion()
690 RTy = NewTy; in doIntTypeConversion()
707 RTy = LTy; in doIntTypeConversion()
710 LTy = RTy; in doIntTypeConversion()
717 RTy = LTy; in doIntTypeConversion()
720 LTy = RTy; in doIntTypeConversion()
728 RTy = LTy; in doIntTypeConversion()
761 LTy = RTy; in doFloatTypeConversion()
766 RTy = LTy; in doFloatTypeConversion()
779 RTy = LTy; in doFloatTypeConversion()
[all …]
H A DSMTConstraintManager.h189 QualType LTy, RTy; in REGISTER_TRAIT_WITH_PROGRAMSTATE() local
191 std::tie(ConvertedRHS, RTy) = SMTConv::fixAPSInt(Ctx, *RHS); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
193 Solver, Ctx, ConvertedLHS, LTy, ConvertedRHS, RTy); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
/llvm-project-15.0.7/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.cpp165 else if (const ReferenceType *RTy = BaseType->getAs<ReferenceType>()) in GetBaseType() local
166 BaseType = RTy->getPointeeType(); in GetBaseType()
H A DASTContext.cpp8136 } else if (const auto *RTy = PointeeTy->getAs<RecordType>()) { in getObjCEncodingForTypeImpl() local
8138 if (RTy->getDecl()->getIdentifier() == &Idents.get("objc_class")) { in getObjCEncodingForTypeImpl()
8143 if (RTy->getDecl()->getIdentifier() == &Idents.get("objc_object")) { in getObjCEncodingForTypeImpl()
8152 RTy, Options.ExpandPointedToStructures()))) { in getObjCEncodingForTypeImpl()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExprMember.cpp595 explicit RecordMemberExprValidatorCCC(const RecordType *RTy) in RecordMemberExprValidatorCCC() argument
596 : Record(RTy->getDecl()) { in RecordMemberExprValidatorCCC()
642 const RecordType *RTy, in LookupMemberExprInRecord() argument
648 RecordDecl *RDecl = RTy->getDecl(); in LookupMemberExprInRecord()
649 if (!SemaRef.isThisOutsideMemberFunctionBody(QualType(RTy, 0)) && in LookupMemberExprInRecord()
650 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord()
657 QualType ObjectType = SS.isSet() ? QualType() : QualType(RTy, 0); in LookupMemberExprInRecord()
702 RecordMemberExprValidatorCCC CCC(RTy); in LookupMemberExprInRecord()
1311 if (const RecordType *RTy = BaseType->getAs<RecordType>()) { in LookupMemberExpr() local
1313 if (LookupMemberExprInRecord(S, R, BaseExpr.get(), RTy, OpLoc, IsArrow, SS, in LookupMemberExpr()
H A DSemaExprCXX.cpp6397 QualType RTy = RHS.get()->getType(); in CXXCheckConditionalOperands() local
6399 bool RVoid = RTy->isVoidType(); in CXXCheckConditionalOperands()
6434 << (LVoid ? RTy : LTy) << (LVoid ? 0 : 1) in CXXCheckConditionalOperands()
6450 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
6451 (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands()
6477 RTy = RHS.get()->getType(); in CXXCheckConditionalOperands()
6510 RTy = RHS.get()->getType(); in CXXCheckConditionalOperands()
6528 bool Same = Context.hasSameType(LTy, RTy); in CXXCheckConditionalOperands()
6572 RTy = RHS.get()->getType(); in CXXCheckConditionalOperands()
6613 if (LTy->isVectorType() || RTy->isVectorType()) in CXXCheckConditionalOperands()
[all …]
H A DSemaExpr.cpp4796 QualType LTy = LHS->getType(), RTy = RHS->getType(); in getDependentArraySubscriptType() local
4798 if (RTy->isIntegralOrUnscopedEnumerationType()) { in getDependentArraySubscriptType()
4804 if (const PointerType *PT = RTy->getAs<PointerType>()) in getDependentArraySubscriptType()
4806 else if (const ArrayType *AT = RTy->getAsArrayTypeUnsafe()) in getDependentArraySubscriptType()
13634 const RecordType *RTy = Ty.getCanonicalType()->getAs<RecordType>(); in DiagnoseRecursiveConstFields() local
13638 DiagnoseRecursiveConstFields(S, ME->getMemberDecl(), RTy, Loc, in DiagnoseRecursiveConstFields()
13641 DiagnoseRecursiveConstFields(S, DRE->getDecl(), RTy, Loc, in DiagnoseRecursiveConstFields()
13644 DiagnoseRecursiveConstFields(S, nullptr, RTy, Loc, in DiagnoseRecursiveConstFields()
/llvm-project-15.0.7/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.h272 DIDerivedType *createReferenceType(unsigned Tag, DIType *RTy,
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp1064 auto *RTy = cast<IntegerType>(Range.getType()); in calculateSubRanges() local
1067 if (!AllowNarrowLatchCondition && RTy != Ty) in calculateSubRanges()
1069 if (RTy->getBitWidth() < Ty->getBitWidth()) in calculateSubRanges()
1078 RTy, SE, IsSignedPredicate); in calculateSubRanges()
1079 const SCEV *End = NoopOrExtend(SE.getSCEV(MainLoopStructure.LoopExitAt), RTy, in calculateSubRanges()
1090 const SCEV *One = SE.getOne(RTy); in calculateSubRanges()
/llvm-project-15.0.7/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp500 const StructType *RTy = cast<StructType>(CSR->getType()); in equivalentAsOperands() local
505 if (LTy->getNumElements() != RTy->getNumElements() || in equivalentAsOperands()
506 LTy->isPacked() != RTy->isPacked()) in equivalentAsOperands()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp75 IntrinsicCostAttributes::IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy, in IntrinsicCostAttributes() argument
80 : II(I), RetTy(RTy), IID(Id), FMF(Flags), ScalarizationCost(ScalarCost) { in IntrinsicCostAttributes()
94 IntrinsicCostAttributes::IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy, in IntrinsicCostAttributes() argument
100 : II(I), RetTy(RTy), IID(Id), FMF(Flags), ScalarizationCost(ScalarCost) { in IntrinsicCostAttributes()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp1436 QualType RTy = R->getValueType(); in getBinding() local
1440 if (RTy->isAnyComplexType()) in getBinding()
1451 if (RTy->isStructureOrClassType()) in getBinding()
1455 if (RTy->isUnionType()) in getBinding()
1458 if (RTy->isArrayType()) { in getBinding()
1459 if (RTy->isConstantArrayType()) in getBinding()
1466 if (RTy->isVectorType()) in getBinding()
H A DSValBuilder.cpp1068 APSIntType RTy = BVF.getAPSIntType(RT); in simplifySymbolCast() local
1069 const auto WR = RTy.getBitWidth(); in simplifySymbolCast()
1071 const bool UR = RTy.isUnsigned(); in simplifySymbolCast()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenTypes.cpp655 const ReferenceType *RTy = cast<ReferenceType>(Ty); in ConvertType() local
656 QualType ETy = RTy->getPointeeType(); in ConvertType()
H A DCGCall.cpp3350 static void setUsedBits(CodeGenModule &CGM, const RecordType *RTy, int Offset, in setUsedBits() argument
3354 const RecordDecl *RD = RTy->getDecl()->getDefinition(); in setUsedBits()
3403 if (const auto *RTy = QTy->getAs<RecordType>()) in setUsedBits() local
3404 return setUsedBits(CGM, RTy, Offset, Bits); in setUsedBits()
H A DCGBuiltin.cpp4509 llvm::Type *RTy; in EmitBuiltinExpr() local
4519 RTy = Exchange->getType(); in EmitBuiltinExpr()
4535 RTy)); in EmitBuiltinExpr()
6943 auto *RTy = cast<llvm::FixedVectorType>(Ty); in EmitCommonNeonBuiltinExpr() local
6946 RTy = llvm::FixedVectorType::get(RTy->getElementType(), in EmitCommonNeonBuiltinExpr()
6947 RTy->getNumElements() * 2); in EmitCommonNeonBuiltinExpr()
6949 RTy, GetNeonType(this, NeonTypeFlags(Type.getEltType(), false, in EmitCommonNeonBuiltinExpr()
8668 auto *RTy = llvm::VectorType::get(IntegerType::get(getLLVMContext(), 1), VTy); in EmitSVEPredicateCast() local
8669 if (Pred->getType() == RTy) in EmitSVEPredicateCast()
8681 IntrinsicTy = RTy; in EmitSVEPredicateCast()
[all …]
H A DCodeGenFunction.h4162 QualType RTy);
4164 QualType RTy);
H A DCGExprScalar.cpp1644 auto *RTy = llvm::FixedVectorType::get(LTy->getElementType(), in VisitShuffleVectorExpr() local
1646 Value* NewV = llvm::UndefValue::get(RTy); in VisitShuffleVectorExpr()
/llvm-project-15.0.7/llvm/lib/IR/
H A DDIBuilder.cpp339 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()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h136 Intrinsic::ID Id, Type *RTy, ArrayRef<Type *> Tys,
140 IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy,
144 Intrinsic::ID Id, Type *RTy, ArrayRef<const Value *> Args,
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp2565 Type *RTy = CalledFunc->getReturnType(); in InlineFunction() local
2572 PHI = PHINode::Create(RTy, Returns.size(), CB.getName(), in InlineFunction()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp824 if (auto RTy = Elements[0]) in constructTypeDIE() local
825 addType(Buffer, RTy); in constructTypeDIE()
/llvm-project-15.0.7/llvm/lib/TableGen/
H A DRecord.cpp287 const RecordRecTy *RTy = dyn_cast<RecordRecTy>(RHS); in typeIsConvertibleTo() local
288 if (!RTy) in typeIsConvertibleTo()
291 return llvm::all_of(RTy->getClasses(), [this](Record *TargetClass) { in typeIsConvertibleTo()

12