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.h162 MDDerivedType *createReferenceType(unsigned Tag, MDType *RTy);
/external/clang/lib/Sema/
DSemaExprMember.cpp559 explicit RecordMemberExprValidatorCCC(const RecordType *RTy) in RecordMemberExprValidatorCCC() argument
560 : Record(RTy->getDecl()) { in RecordMemberExprValidatorCCC()
603 const RecordType *RTy, in LookupMemberExprInRecord() argument
608 RecordDecl *RDecl = RTy->getDecl(); in LookupMemberExprInRecord()
609 if (!SemaRef.isThisOutsideMemberFunctionBody(QualType(RTy, 0)) && in LookupMemberExprInRecord()
610 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord()
617 QualType ObjectType = SS.isSet() ? QualType() : QualType(RTy, 0); in LookupMemberExprInRecord()
655 llvm::make_unique<RecordMemberExprValidatorCCC>(RTy), in LookupMemberExprInRecord()
1244 if (const RecordType *RTy = BaseType->getAs<RecordType>()) { in LookupMemberExpr() local
1246 if (LookupMemberExprInRecord(S, R, BaseExpr.get(), RTy, in LookupMemberExpr()
DSemaExprCXX.cpp4538 QualType RTy = RHS.get()->getType(); in CXXCheckConditionalOperands() local
4540 bool RVoid = RTy->isVoidType(); in CXXCheckConditionalOperands()
4564 << (LVoid ? RTy : LTy) << (LVoid ? 0 : 1) in CXXCheckConditionalOperands()
4575 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
4576 (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands()
4588 << LTy << RTy << LHS.get()->getSourceRange() << RHS.get()->getSourceRange(); in CXXCheckConditionalOperands()
4602 RTy = RHS.get()->getType(); in CXXCheckConditionalOperands()
4612 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
4613 Context.hasSameUnqualifiedType(LTy, RTy) && in CXXCheckConditionalOperands()
4619 Qualifiers RCVR = Qualifiers::fromCVRMask(RTy.getCVRQualifiers()); in CXXCheckConditionalOperands()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp1293 QualType RTy = R->getValueType(); in getBinding() local
1297 if (RTy->isAnyComplexType()) in getBinding()
1308 if (RTy->isStructureOrClassType()) in getBinding()
1312 if (RTy->isUnionType()) in getBinding()
1315 if (RTy->isArrayType()) { in getBinding()
1316 if (RTy->isConstantArrayType()) in getBinding()
1323 if (RTy->isVectorType()) in getBinding()
/external/llvm/lib/TableGen/
DRecord.cpp372 const RecordRecTy *RTy = dyn_cast<RecordRecTy>(RHS); in baseClassOf() local
373 if (!RTy) in baseClassOf()
376 if (Rec == RTy->getRecord() || RTy->getRecord()->isSubClassOf(Rec)) in baseClassOf()
381 if (RTy->getRecord()->isSubClassOf(SC[i])) in baseClassOf()
1378 if (RecordRecTy *RTy = dyn_cast<RecordRecTy>(getType())) in getFieldType() local
1379 if (const RecordVal *RV = RTy->getRecord()->getValue(FieldName)) in getFieldType()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp414 const ReferenceType *RTy = cast<ReferenceType>(Ty); in ConvertType() local
415 QualType ETy = RTy->getPointeeType(); in ConvertType()
DCGDebugInfo.cpp1437 llvm::DIType CGDebugInfo::getOrCreateRecordType(QualType RTy, in getOrCreateRecordType() argument
1440 llvm::DIType T = getOrCreateType(RTy, getOrCreateFile(Loc)); in getOrCreateRecordType()
DCGExprScalar.cpp1022 llvm::VectorType *RTy = llvm::VectorType::get(LTy->getElementType(), in VisitShuffleVectorExpr() local
1024 Value* NewV = llvm::UndefValue::get(RTy); in VisitShuffleVectorExpr()
DCGBuiltin.cpp1614 llvm::Type *RTy; in EmitBuiltinExpr() local
1624 RTy = Exchange->getType(); in EmitBuiltinExpr()
1637 RTy)); in EmitBuiltinExpr()
/external/llvm/lib/IR/
DDIBuilder.cpp251 MDDerivedType *DIBuilder::createReferenceType(unsigned Tag, MDType *RTy) { in createReferenceType() argument
252 assert(RTy && "Unable to create reference type"); in createReferenceType()
254 MDTypeRef::get(RTy), 0, 0, 0, 0); in createReferenceType()
/external/clang/lib/AST/
DDeclPrinter.cpp121 else if (const ReferenceType *RTy = BaseType->getAs<ReferenceType>()) in GetBaseType() local
122 BaseType = RTy->getPointeeType(); in GetBaseType()
DASTContext.cpp5415 } else if (const RecordType *RTy = PointeeTy->getAs<RecordType>()) { in getObjCEncodingForTypeImpl() local
5417 if (RTy->getDecl()->getIdentifier() == &Idents.get("objc_class")) { in getObjCEncodingForTypeImpl()
5422 if (RTy->getDecl()->getIdentifier() == &Idents.get("objc_object")) { in getObjCEncodingForTypeImpl()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1337 Type *RTy = CalledFunc->getReturnType(); in InlineFunction() local
1344 PHI = PHINode::Create(RTy, Returns.size(), TheCall->getName(), in InlineFunction()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp1015 if (auto RTy = resolve(Elements[0])) in constructTypeDIE() local
1016 addType(Buffer, RTy); in constructTypeDIE()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2408 VectorType *RTy = dyn_cast<VectorType>(CurTy); in ParseConstants() local
2411 if (Record.size() < 4 || !RTy || !OpTy) in ParseConstants()
2416 RTy->getNumElements()); in ParseConstants()