/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
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 …]
|
D | SMTConstraintManager.h | 189 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()
|
/external/llvm-project/clang/lib/AST/ |
D | ASTImporterLookupTable.cpp | 29 if (const auto *RTy = dyn_cast<RecordType>(Ty)) { in VisitTypedefNameDecl() local 30 LT.add(RTy->getAsRecordDecl()); in VisitTypedefNameDecl() 32 for (auto *it : RTy->getAsRecordDecl()->fields()) { in VisitTypedefNameDecl() 58 if (const auto *RTy = dyn_cast<RecordType>(Ty)) in VisitFriendDecl() local 59 LT.add(RTy->getAsCXXRecordDecl()); in VisitFriendDecl()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.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> struct match_combine_and { 103 RTy R; 105 match_combine_and(const LTy &Left, const RTy &Right) : L(Left), R(Right) {} in match_combine_and() 116 template <typename LTy, typename RTy> 117 inline match_combine_or<LTy, RTy> m_CombineOr(const LTy &L, const RTy &R) { in m_CombineOr() 118 return match_combine_or<LTy, RTy>(L, R); in m_CombineOr() 122 template <typename LTy, typename RTy> [all …]
|
D | DIBuilder.h | 155 DIDerivedType *createReferenceType(unsigned Tag, DIType *RTy,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 112 template <typename LTy, typename RTy> struct match_combine_or { 114 RTy R; 116 match_combine_or(const LTy &Left, const RTy &Right) : L(Left), R(Right) {} in match_combine_or() 127 template <typename LTy, typename RTy> struct match_combine_and { 129 RTy R; 131 match_combine_and(const LTy &Left, const RTy &Right) : L(Left), R(Right) {} in match_combine_and() 142 template <typename LTy, typename RTy> 143 inline match_combine_or<LTy, RTy> m_CombineOr(const LTy &L, const RTy &R) { in m_CombineOr() 144 return match_combine_or<LTy, RTy>(L, R); in m_CombineOr() 148 template <typename LTy, typename RTy> [all …]
|
D | DIBuilder.h | 228 DIDerivedType *createReferenceType(unsigned Tag, DIType *RTy,
|
/external/clang/lib/Sema/ |
D | SemaExprMember.cpp | 572 explicit RecordMemberExprValidatorCCC(const RecordType *RTy) in RecordMemberExprValidatorCCC() argument 573 : Record(RTy->getDecl()) { in RecordMemberExprValidatorCCC() 616 const RecordType *RTy, in LookupMemberExprInRecord() argument 621 RecordDecl *RDecl = RTy->getDecl(); in LookupMemberExprInRecord() 622 if (!SemaRef.isThisOutsideMemberFunctionBody(QualType(RTy, 0)) && in LookupMemberExprInRecord() 623 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord() 630 QualType ObjectType = SS.isSet() ? QualType() : QualType(RTy, 0); in LookupMemberExprInRecord() 678 llvm::make_unique<RecordMemberExprValidatorCCC>(RTy), in LookupMemberExprInRecord() 1334 if (const RecordType *RTy = BaseType->getAs<RecordType>()) { in LookupMemberExpr() local 1336 if (LookupMemberExprInRecord(S, R, BaseExpr.get(), RTy, in LookupMemberExpr()
|
D | SemaExprCXX.cpp | 5130 QualType RTy = RHS.get()->getType(); in CXXCheckConditionalOperands() local 5132 bool RVoid = RTy->isVoidType(); in CXXCheckConditionalOperands() 5156 << (LVoid ? RTy : LTy) << (LVoid ? 0 : 1) in CXXCheckConditionalOperands() 5167 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands() 5168 (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands() 5180 << LTy << RTy << LHS.get()->getSourceRange() << RHS.get()->getSourceRange(); in CXXCheckConditionalOperands() 5194 RTy = RHS.get()->getType(); in CXXCheckConditionalOperands() 5204 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands() 5205 Context.hasSameUnqualifiedType(LTy, RTy) && in CXXCheckConditionalOperands() 5211 Qualifiers RCVR = Qualifiers::fromCVRMask(RTy.getCVRQualifiers()); in CXXCheckConditionalOperands() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExprMember.cpp | 593 explicit RecordMemberExprValidatorCCC(const RecordType *RTy) in RecordMemberExprValidatorCCC() argument 594 : Record(RTy->getDecl()) { in RecordMemberExprValidatorCCC() 641 const RecordType *RTy, in LookupMemberExprInRecord() argument 647 RecordDecl *RDecl = RTy->getDecl(); in LookupMemberExprInRecord() 648 if (!SemaRef.isThisOutsideMemberFunctionBody(QualType(RTy, 0)) && in LookupMemberExprInRecord() 649 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord() 656 QualType ObjectType = SS.isSet() ? QualType() : QualType(RTy, 0); in LookupMemberExprInRecord() 701 RecordMemberExprValidatorCCC CCC(RTy); in LookupMemberExprInRecord() 1295 if (const RecordType *RTy = BaseType->getAs<RecordType>()) { in LookupMemberExpr() local 1297 if (LookupMemberExprInRecord(S, R, BaseExpr.get(), RTy, OpLoc, IsArrow, SS, in LookupMemberExpr()
|
D | SemaExprCXX.cpp | 6076 QualType RTy = RHS.get()->getType(); in CXXCheckConditionalOperands() local 6078 bool RVoid = RTy->isVoidType(); in CXXCheckConditionalOperands() 6113 << (LVoid ? RTy : LTy) << (LVoid ? 0 : 1) in CXXCheckConditionalOperands() 6126 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands() 6127 (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands() 6139 << LTy << RTy << LHS.get()->getSourceRange() << RHS.get()->getSourceRange(); in CXXCheckConditionalOperands() 6153 RTy = RHS.get()->getType(); in CXXCheckConditionalOperands() 6170 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands() 6180 if (CompareReferenceRelationship(QuestionLoc, LTy, RTy, &RefConv) == in CXXCheckConditionalOperands() 6187 RTy = RHS.get()->getType(); in CXXCheckConditionalOperands() [all …]
|
/external/llvm-project/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 110 IntrinsicCostAttributes::IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy, in IntrinsicCostAttributes() argument 113 RetTy(RTy), IID(Id), FMF(Flags) { in IntrinsicCostAttributes() 117 IntrinsicCostAttributes::IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy, in IntrinsicCostAttributes() argument 121 RetTy(RTy), IID(Id), FMF(Flags), ScalarizationCost(ScalarCost) { in IntrinsicCostAttributes() 125 IntrinsicCostAttributes::IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy, in IntrinsicCostAttributes() argument 130 II(I), RetTy(RTy), IID(Id), FMF(Flags), ScalarizationCost(ScalarCost) { in IntrinsicCostAttributes() 134 IntrinsicCostAttributes::IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy, in IntrinsicCostAttributes() argument 136 RetTy(RTy), IID(Id) { in IntrinsicCostAttributes()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | PatternMatch.h | 125 template <typename LTy, typename RTy> struct match_combine_or { 127 RTy R; 129 match_combine_or(const LTy &Left, const RTy &Right) : L(Left), R(Right) {} in match_combine_or() 140 template <typename LTy, typename RTy> struct match_combine_and { 142 RTy R; 144 match_combine_and(const LTy &Left, const RTy &Right) : L(Left), R(Right) {} in match_combine_and() 155 template <typename LTy, typename RTy> 156 inline match_combine_or<LTy, RTy> m_CombineOr(const LTy &L, const RTy &R) { in m_CombineOr() 157 return match_combine_or<LTy, RTy>(L, R); in m_CombineOr() 161 template <typename LTy, typename RTy> [all …]
|
/external/llvm-project/clang/lib/CrossTU/ |
D | CrossTranslationUnit.cpp | 193 const RecordType *RTy = CT->getAs<RecordType>(); in containsConst() local 194 if (!RTy || !RTy->hasConstFields()) in containsConst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | InductiveRangeCheckElimination.cpp | 1051 auto *RTy = cast<IntegerType>(Range.getType()); in calculateSubRanges() local 1054 if (!AllowNarrowLatchCondition && RTy != Ty) in calculateSubRanges() 1056 if (RTy->getBitWidth() < Ty->getBitWidth()) in calculateSubRanges() 1065 RTy, SE, IsSignedPredicate); in calculateSubRanges() 1066 const SCEV *End = NoopOrExtend(SE.getSCEV(MainLoopStructure.LoopExitAt), RTy, in calculateSubRanges() 1077 const SCEV *One = SE.getOne(RTy); in calculateSubRanges()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | InductiveRangeCheckElimination.cpp | 1066 auto *RTy = cast<IntegerType>(Range.getType()); in calculateSubRanges() local 1069 if (!AllowNarrowLatchCondition && RTy != Ty) in calculateSubRanges() 1071 if (RTy->getBitWidth() < Ty->getBitWidth()) in calculateSubRanges() 1080 RTy, SE, IsSignedPredicate); in calculateSubRanges() 1081 const SCEV *End = NoopOrExtend(SE.getSCEV(MainLoopStructure.LoopExitAt), RTy, in calculateSubRanges() 1092 const SCEV *One = SE.getOne(RTy); in calculateSubRanges()
|
/external/llvm/lib/TableGen/ |
D | Record.cpp | 164 const RecordRecTy *RTy = dyn_cast<RecordRecTy>(RHS); in typeIsConvertibleTo() local 165 if (!RTy) in typeIsConvertibleTo() 168 if (RTy->getRecord() == Rec || Rec->isSubClassOf(RTy->getRecord())) in typeIsConvertibleTo() 171 for (const auto &SCPair : RTy->getRecord()->getSuperClasses()) in typeIsConvertibleTo() 1325 if (RecordRecTy *RTy = dyn_cast<RecordRecTy>(getType())) in getFieldType() local 1326 if (const RecordVal *RV = RTy->getRecord()->getValue(FieldName)) in getFieldType()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | RegionStore.cpp | 1389 QualType RTy = R->getValueType(); in getBinding() local 1393 if (RTy->isAnyComplexType()) in getBinding() 1404 if (RTy->isStructureOrClassType()) in getBinding() 1408 if (RTy->isUnionType()) in getBinding() 1411 if (RTy->isArrayType()) { in getBinding() 1412 if (RTy->isConstantArrayType()) in getBinding() 1419 if (RTy->isVectorType()) in getBinding()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | RegionStore.cpp | 1448 QualType RTy = R->getValueType(); in getBinding() local 1452 if (RTy->isAnyComplexType()) in getBinding() 1463 if (RTy->isStructureOrClassType()) in getBinding() 1467 if (RTy->isUnionType()) in getBinding() 1470 if (RTy->isArrayType()) { in getBinding() 1471 if (RTy->isConstantArrayType()) in getBinding() 1478 if (RTy->isVectorType()) in getBinding()
|
/external/clang/lib/CodeGen/ |
D | CodeGenTypes.cpp | 498 const ReferenceType *RTy = cast<ReferenceType>(Ty); in ConvertType() local 499 QualType ETy = RTy->getPointeeType(); in ConvertType()
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | TargetTransformInfo.h | 136 IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy, 139 IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy, 143 IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy, 148 IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy, 151 IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy,
|
/external/llvm/lib/IR/ |
D | DIBuilder.cpp | 229 DIDerivedType *DIBuilder::createReferenceType(unsigned Tag, DIType *RTy, in createReferenceType() argument 232 assert(RTy && "Unable to create reference type"); in createReferenceType() 233 return DIDerivedType::get(VMContext, Tag, "", nullptr, 0, nullptr, RTy, in createReferenceType()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenTypes.cpp | 623 const ReferenceType *RTy = cast<ReferenceType>(Ty); in ConvertType() local 624 QualType ETy = RTy->getPointeeType(); in ConvertType()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | DIBuilder.cpp | 297 unsigned Tag, DIType *RTy, in createReferenceType() argument 301 assert(RTy && "Unable to create reference type"); in createReferenceType() 302 return DIDerivedType::get(VMContext, Tag, "", nullptr, 0, nullptr, RTy, in createReferenceType()
|
/external/llvm-project/llvm/lib/IR/ |
D | DIBuilder.cpp | 305 unsigned Tag, DIType *RTy, in createReferenceType() argument 309 assert(RTy && "Unable to create reference type"); in createReferenceType() 310 return DIDerivedType::get(VMContext, Tag, "", nullptr, 0, nullptr, RTy, in createReferenceType()
|