Home
last modified time | relevance | path

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

/external/llvm/include/llvm/IR/
DPatternMatch.h86 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 …]
DDIBuilder.h161 DIDerivedType *createReferenceType(unsigned Tag, DIType *RTy,
/external/clang/lib/Sema/
DSemaExprMember.cpp558 explicit RecordMemberExprValidatorCCC(const RecordType *RTy) in RecordMemberExprValidatorCCC() argument
559 : Record(RTy->getDecl()) { in RecordMemberExprValidatorCCC()
602 const RecordType *RTy, in LookupMemberExprInRecord() argument
607 RecordDecl *RDecl = RTy->getDecl(); in LookupMemberExprInRecord()
608 if (!SemaRef.isThisOutsideMemberFunctionBody(QualType(RTy, 0)) && in LookupMemberExprInRecord()
609 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord()
616 QualType ObjectType = SS.isSet() ? QualType() : QualType(RTy, 0); in LookupMemberExprInRecord()
664 llvm::make_unique<RecordMemberExprValidatorCCC>(RTy), in LookupMemberExprInRecord()
1271 if (const RecordType *RTy = BaseType->getAs<RecordType>()) { in LookupMemberExpr() local
1273 if (LookupMemberExprInRecord(S, R, BaseExpr.get(), RTy, in LookupMemberExpr()
DSemaExprCXX.cpp4862 QualType RTy = RHS.get()->getType(); in CXXCheckConditionalOperands() local
4864 bool RVoid = RTy->isVoidType(); in CXXCheckConditionalOperands()
4888 << (LVoid ? RTy : LTy) << (LVoid ? 0 : 1) in CXXCheckConditionalOperands()
4899 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
4900 (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands()
4912 << LTy << RTy << LHS.get()->getSourceRange() << RHS.get()->getSourceRange(); in CXXCheckConditionalOperands()
4926 RTy = RHS.get()->getType(); in CXXCheckConditionalOperands()
4936 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
4937 Context.hasSameUnqualifiedType(LTy, RTy) && in CXXCheckConditionalOperands()
4943 Qualifiers RCVR = Qualifiers::fromCVRMask(RTy.getCVRQualifiers()); in CXXCheckConditionalOperands()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp1389 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/lib/TableGen/
DRecord.cpp163 const RecordRecTy *RTy = dyn_cast<RecordRecTy>(RHS); in typeIsConvertibleTo() local
164 if (!RTy) in typeIsConvertibleTo()
167 if (RTy->getRecord() == Rec || Rec->isSubClassOf(RTy->getRecord())) in typeIsConvertibleTo()
170 for (Record *SC : RTy->getRecord()->getSuperClasses()) in typeIsConvertibleTo()
1262 if (RecordRecTy *RTy = dyn_cast<RecordRecTy>(getType())) in getFieldType() local
1263 if (const RecordVal *RV = RTy->getRecord()->getValue(FieldName)) in getFieldType()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp495 const ReferenceType *RTy = cast<ReferenceType>(Ty); in ConvertType() local
496 QualType ETy = RTy->getPointeeType(); in ConvertType()
DCGExprScalar.cpp1025 llvm::VectorType *RTy = llvm::VectorType::get(LTy->getElementType(), in VisitShuffleVectorExpr() local
1027 Value* NewV = llvm::UndefValue::get(RTy); in VisitShuffleVectorExpr()
DCGDebugInfo.cpp1447 llvm::DIType *CGDebugInfo::getOrCreateRecordType(QualType RTy, in getOrCreateRecordType() argument
1450 llvm::DIType *T = getOrCreateType(RTy, getOrCreateFile(Loc)); in getOrCreateRecordType()
DCGBuiltin.cpp1826 llvm::Type *RTy; in EmitBuiltinExpr() local
1836 RTy = Exchange->getType(); in EmitBuiltinExpr()
1849 RTy)); in EmitBuiltinExpr()
/external/llvm/lib/IR/
DDIBuilder.cpp258 DIDerivedType *DIBuilder::createReferenceType(unsigned Tag, DIType *RTy, in createReferenceType() argument
261 assert(RTy && "Unable to create reference type"); in createReferenceType()
263 DITypeRef::get(RTy), SizeInBits, AlignInBits, 0, 0); in createReferenceType()
/external/clang/lib/AST/
DDeclPrinter.cpp131 else if (const ReferenceType *RTy = BaseType->getAs<ReferenceType>()) in GetBaseType() local
132 BaseType = RTy->getPointeeType(); in GetBaseType()
DASTContext.cpp5583 } else if (const RecordType *RTy = PointeeTy->getAs<RecordType>()) { in getObjCEncodingForTypeImpl() local
5585 if (RTy->getDecl()->getIdentifier() == &Idents.get("objc_class")) { in getObjCEncodingForTypeImpl()
5590 if (RTy->getDecl()->getIdentifier() == &Idents.get("objc_object")) { in getObjCEncodingForTypeImpl()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1606 Type *RTy = CalledFunc->getReturnType(); in InlineFunction() local
1613 PHI = PHINode::Create(RTy, Returns.size(), TheCall->getName(), in InlineFunction()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp889 if (auto RTy = resolve(Elements[0])) in constructTypeDIE() local
890 addType(Buffer, RTy); in constructTypeDIE()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2850 VectorType *RTy = dyn_cast<VectorType>(CurTy); in parseConstants() local
2853 if (Record.size() < 4 || !RTy || !OpTy) in parseConstants()
2858 RTy->getNumElements()); in parseConstants()