Searched refs:RTy (Results 1 - 24 of 24) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h344 QualType RTy, QualType *RetTy) {
347 doTypeConversion(Solver, Ctx, NewLHS, NewRHS, LTy, RTy);
363 if (LTy->isAnyPointerType() && RTy->isAnyPointerType() && Op == BO_Sub) {
381 QualType LTy, RTy; local
388 std::tie(NewRInt, RTy) = fixAPSInt(Ctx, SIE->getRHS());
391 return getBinExpr(Solver, Ctx, LHS, LTy, Op, RHS, RTy, RetTy);
400 getSymExpr(Solver, Ctx, ISE->getRHS(), &RTy, hasComparison);
401 return getBinExpr(Solver, Ctx, LHS, LTy, Op, RHS, RTy, RetTy);
408 getSymExpr(Solver, Ctx, SSM->getRHS(), &RTy, hasComparison);
409 return getBinExpr(Solver, Ctx, LHS, LTy, Op, RHS, RTy, RetT
341 getBinExpr(llvm::SMTSolverRef &Solver, ASTContext &Ctx, const llvm::SMTExprRef &LHS, QualType LTy, BinaryOperator::Opcode Op, const llvm::SMTExprRef &RHS, QualType RTy, QualType *RetTy) argument
567 doTypeConversion(llvm::SMTSolverRef &Solver, ASTContext &Ctx, llvm::SMTExprRef &LHS, llvm::SMTExprRef &RHS, QualType &LTy, QualType &RTy) argument
644 doIntTypeConversion(llvm::SMTSolverRef &Solver, ASTContext &Ctx, T &LHS, QualType &LTy, T &RHS, QualType &RTy) argument
727 doFloatTypeConversion(llvm::SMTSolverRef &Solver, ASTContext &Ctx, T &LHS, QualType &LTy, T &RHS, QualType &RTy) argument
[all...]
H A DSMTConstraintManager.h188 QualType LTy, RTy; variable
190 std::tie(ConvertedRHS, RTy) = SMTConv::fixAPSInt(Ctx, *RHS);
192 Solver, Ctx, ConvertedLHS, LTy, ConvertedRHS, RTy);
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DASTImporterLookupTable.cpp44 if (const auto *RTy = dyn_cast<RecordType>(Ty))
45 LT.add(RTy->getAsCXXRecordDecl());
H A DDeclPrinter.cpp157 else if (const ReferenceType *RTy = BaseType->getAs<ReferenceType>())
158 BaseType = RTy->getPointeeType();
H A DASTContext.cpp7044 } else if (const auto *RTy = PointeeTy->getAs<RecordType>()) {
7046 if (RTy->getDecl()->getIdentifier() == &Idents.get("objc_class")) {
7051 if (RTy->getDecl()->getIdentifier() == &Idents.get("objc_object")) {
H A DExprConstant.cpp6391 Optional<APValue> visit(const RecordType *RTy, CharUnits Offset) {
6392 const RecordDecl *RD = RTy->getAsRecordDecl();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp595 explicit RecordMemberExprValidatorCCC(const RecordType *RTy) argument
596 : Record(RTy->getDecl()) {
643 const RecordType *RTy,
649 RecordDecl *RDecl = RTy->getDecl();
650 if (!SemaRef.isThisOutsideMemberFunctionBody(QualType(RTy, 0)) &&
651 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0),
658 QualType ObjectType = SS.isSet() ? QualType() : QualType(RTy, 0);
703 RecordMemberExprValidatorCCC CCC(RTy);
1309 if (const RecordType *RTy = BaseType->getAs<RecordType>()) {
1311 if (LookupMemberExprInRecord(S, R, BaseExpr.get(), RTy, OpLo
641 LookupMemberExprInRecord(Sema &SemaRef, LookupResult &R, Expr *BaseExpr, const RecordType *RTy, SourceLocation OpLoc, bool IsArrow, CXXScopeSpec &SS, bool HasTemplateArgs, SourceLocation TemplateKWLoc, TypoExpr *&TE) argument
[all...]
H A DSemaExprCXX.cpp5906 QualType RTy = RHS.get()->getType();
5908 bool RVoid = RTy->isVoidType();
5943 << (LVoid ? RTy : LTy) << (LVoid ? 0 : 1)
5956 if (!Context.hasSameType(LTy, RTy) &&
5957 (LTy->isRecordType() || RTy->isRecordType())) {
5969 << LTy << RTy << LHS.get()->getSourceRange() << RHS.get()->getSourceRange();
5983 RTy = RHS.get()->getType();
5996 // FIXME: If LTy and RTy have a composite pointer type, should we convert to
6000 if (!Context.hasSameType(LTy, RTy) &&
6010 if (CompareReferenceRelationship(QuestionLoc, LTy, RTy,
[all...]
H A DSemaExpr.cpp11802 const RecordType *RTy = Ty.getCanonicalType()->getAs<RecordType>(); local
11806 DiagnoseRecursiveConstFields(S, ME->getMemberDecl(), RTy, Loc,
11809 DiagnoseRecursiveConstFields(S, DRE->getDecl(), RTy, Loc,
11812 DiagnoseRecursiveConstFields(S, nullptr, RTy, Loc,
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h112 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) {}
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) {}
142 template <typename LTy, typename RTy>
143 inline match_combine_or<LTy, RTy> m_CombineOr(const LTy &L, const RTy &R) {
144 return match_combine_or<LTy, RTy>(
[all...]
H A DDIBuilder.h228 DIDerivedType *createReferenceType(unsigned Tag, DIType *RTy,
/freebsd-11-stable/contrib/llvm-project/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp172 const RecordType *RTy = CT->getAs<RecordType>(); local
173 if (!RTy || !RTy->hasConstFields())
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp1051 auto *RTy = cast<IntegerType>(Range.getType()); local
1054 if (!AllowNarrowLatchCondition && RTy != Ty)
1056 if (RTy->getBitWidth() < Ty->getBitWidth())
1065 RTy, SE, IsSignedPredicate);
1066 const SCEV *End = NoopOrExtend(SE.getSCEV(MainLoopStructure.LoopExitAt), RTy,
1077 const SCEV *One = SE.getOne(RTy);
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp1487 QualType RTy = R->getValueType(); local
1491 if (RTy->isAnyComplexType())
1502 if (RTy->isStructureOrClassType())
1506 if (RTy->isUnionType())
1509 if (RTy->isArrayType()) {
1510 if (RTy->isConstantArrayType())
1517 if (RTy->isVectorType())
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp297 unsigned Tag, DIType *RTy,
301 assert(RTy && "Unable to create reference type");
302 return DIDerivedType::get(VMContext, Tag, "", nullptr, 0, nullptr, RTy,
296 createReferenceType( unsigned Tag, DIType *RTy, uint64_t SizeInBits, uint32_t AlignInBits, Optional<unsigned> DWARFAddressSpace) argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp550 const ReferenceType *RTy = cast<ReferenceType>(Ty); local
551 QualType ETy = RTy->getPointeeType();
H A DCGDebugInfo.cpp2051 llvm::DIType *CGDebugInfo::getOrCreateRecordType(QualType RTy, argument
2054 llvm::DIType *T = getOrCreateType(RTy, getOrCreateFile(Loc));
H A DCGExprScalar.cpp1629 llvm::VectorType *RTy = llvm::VectorType::get(LTy->getElementType(), local
1631 Value* NewV = llvm::UndefValue::get(RTy);
H A DTargetInfo.cpp9530 if (const auto *RTy = Ty->getAs<RecordType>()) {
9537 const RecordDecl *RD = RTy->getDecl();
H A DCGBuiltin.cpp3520 llvm::Type *RTy;
3530 RTy = Exchange->getType();
3546 RTy));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp853 if (auto RTy = Elements[0])
854 addType(Buffer, RTy);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp2332 Type *RTy = CalledFunc->getReturnType(); local
2339 PHI = PHINode::Create(RTy, Returns.size(), TheCall->getName(),
/freebsd-11-stable/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp229 const RecordRecTy *RTy = dyn_cast<RecordRecTy>(RHS);
230 if (!RTy)
233 return llvm::all_of(RTy->getClasses(), [this](Record *TargetClass) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2701 VectorType *RTy = dyn_cast<VectorType>(CurTy); local
2704 if (Record.size() < 4 || !RTy || !OpTy)
2709 RTy->getNumElements());

Completed in 627 milliseconds