/external/clang/lib/StaticAnalyzer/Core/ |
SimpleSValBuilder.cpp | 553 const RecordDecl *RD = LeftFD->getParent(); 557 if (RD != RightFD->getParent()) 572 for (const auto *I : RD->fields()) { [all...] |
ExprEngineCallAndReturn.cpp | 673 static bool hasMember(const ASTContext &Ctx, const CXXRecordDecl *RD, 677 if (!RD->lookup(DeclName).empty()) 681 if (RD->lookupInBases( 695 static bool isContainerClass(const ASTContext &Ctx, const CXXRecordDecl *RD) { 696 return hasMember(Ctx, RD, "begin") || 697 hasMember(Ctx, RD, "iterator") || 698 hasMember(Ctx, RD, "iterator_category"); 720 const CXXRecordDecl *RD = Dtor->getParent(); 721 if (const IdentifierInfo *II = RD->getDeclName().getAsIdentifierInfo()) [all...] |
CallEvent.cpp | 67 const RecordDecl *RD = RT->getDecl(); 68 for (const auto *I : RD->fields()) { 496 const CXXRecordDecl *RD = RegionType->getAsCXXRecordDecl(); 497 if (!RD || !RD->hasDefinition()) 501 const CXXMethodDecl *Result = MD->getCorrespondingMethodInClass(RD, true); 507 assert(!RD->isDerivedFrom(MD->getParent()) && "Couldn't find known method"); 514 //assert(!MD->getParent()->isDerivedFrom(RD) && "Bad DynamicTypeInfo"); [all...] |
MemRegion.cpp | 407 const CXXRecordDecl *RD, 410 ID.AddPointer(RD); [all...] |
/external/clang/tools/libclang/ |
CXType.cpp | 772 static long long visitRecordForValidation(const RecordDecl *RD) { 773 for (const auto *I : RD->fields()){ 795 const RecordDecl *RD = 798 if (!RD || RD->isInvalidDecl()) 800 RD = RD->getDefinition(); 801 if (!RD) 803 if (RD->isInvalidDecl()) 812 long long Error = visitRecordForValidation(RD); [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-shape-complex-thai.cc | 90 RD /* Remove descender from base */ 146 case RD: pua_mappings = RD_mappings; break; 211 /*B1*/ {{NOP,B1}, {RD, B2}, {NOP, B1}}, 247 if (action == RD)
|
/external/llvm/lib/Target/Hexagon/ |
HexagonGenPredicate.cpp | 193 Register RD = MI->getOperand(0); 194 if (TargetRegisterInfo::isVirtualRegister(RD.R)) 195 PredGPRs.insert(RD);
|
RDFLiveness.cpp | 97 if (NodeId RD = SNA.Addr->getReachingDef()) 98 DefQ.insert(RD); 120 if (auto RD = NodeAddr<RefNode*>(S).Addr->getReachingDef()) 121 DefQ.insert(RD); 737 NodeId RD = TA.Addr->getReachingDef(); 738 if (RD == 0) 740 if (RAI.alias(RR, DFG.addr<DefNode*>(RD).Addr->getRegRef())) 750 NodeId RD = RA.Addr->getReachingDef(); 751 assert(RD); 752 RA = DFG.addr<DefNode*>(RD); [all...] |
HexagonExpandCondsets.cpp | 257 MachineInstr *getReachingDefForPred(RegisterRef RD, 739 /// Find the reaching definition for a predicated use of RD. The RD is used 741 /// definitions that set RD under the opposite conditions. 742 MachineInstr *HexagonExpandCondsets::getReachingDefForPred(RegisterRef RD, 760 // Check the defs. If the PredR is defined, invalidate it. If RD is 770 if (RR.Reg != RD.Reg) 775 if (RR.Sub == RD.Sub) 777 if (RR.Sub == 0 || RD.Sub == 0) [all...] |
/frameworks/compile/slang/ |
slang.cpp | 498 ReflectedDefinitionListTy::const_iterator RD = 501 if (RD != ReflectedDefinitions.end()) { 502 const RSExportRecordType *Reflected = RD->getValue().first; 512 << RD->getValue().second;
|
slang_rs_export_type.cpp | 293 clang::RecordDecl *RD = T->getAsStructureType()->getDecl(); 294 slangAssert(RD); 295 RD = RD->getDefinition(); 296 if (RD == nullptr) { 303 TopLevelRecord = RD; 305 if (RD->getName().empty()) { 306 ReportTypeError(Context, nullptr, RD, 312 if (RD->hasFlexibleArrayMember() || RD->hasObjectMember() [all...] |
/external/clang/lib/CodeGen/ |
CGRecordLayoutBuilder.cpp | 84 const CXXRecordDecl *RD; 90 const CXXRecordDecl *RD) 91 : Offset(Offset), Kind(Kind), Data(Data), RD(RD) {} 143 llvm::Type *getStorageType(const CXXRecordDecl *RD) { 144 return Types.getCGRecordLayout(RD).getBaseSubobjectLLVMType(); 158 bool isZeroInitializable(const RecordDecl *RD) { 159 return Types.isZeroInitializable(RD); 197 const CXXRecordDecl *RD; 219 RD(dyn_cast<CXXRecordDecl>(D)) [all...] |
CGCall.cpp | 71 static CanQualType GetThisType(ASTContext &Context, const CXXRecordDecl *RD) { 72 QualType RecTy = Context.getTagDeclType(RD)->getCanonicalTypeInternal(); 207 /// (Zero value of RD means we don't have any meaningful "this" argument type, 212 CodeGenTypes::arrangeCXXMethodType(const CXXRecordDecl *RD, 218 if (RD) 219 argTypes.push_back(GetThisType(Context, RD)); 491 const CXXRecordDecl *RD = CD->getParent(); 492 ArgTys.push_back(GetThisType(Context, RD)); 495 if (RD->getNumVBases() > 0) [all...] |
CGExprConstant.cpp | 78 void Build(const APValue &Val, const RecordDecl *RD, bool IsPrimaryBase, 366 RecordDecl *RD = ILE->getType()->getAs<RecordType>()->getDecl(); 367 const ASTRecordLayout &Layout = CGM.getContext().getASTRecordLayout(RD); 375 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(RD)) 379 for (RecordDecl::field_iterator Field = RD->field_begin(), 380 FieldEnd = RD->field_end(); Field != FieldEnd; ++Field, ++FieldNo) { 382 if (RD->isUnion() && ILE->getInitializedFieldInUnion() != *Field) 433 void ConstStructBuilder::Build(const APValue &Val, const RecordDecl *RD, 437 const ASTRecordLayout &Layout = CGM.getContext().getASTRecordLayout(RD); 439 if (const CXXRecordDecl *CD = dyn_cast<CXXRecordDecl>(RD)) { [all...] |
/toolchain/binutils/binutils-2.25/include/opcode/ |
sparc.h | 180 d rd register. 196 m alternate space register (asr) in rd 221 r Single register that is both rs1 and rd. 222 O Single register that is both rs2 and rd. 228 u sparclet coprocessor registers in rd position 240 ! Privileged Register in rd (v9) 245 _ Ancillary state register in rd (v9a) 267 #define RD(x) (((x) & 0x1f) << 25) /* Destination register field. */ 277 #define RD_G0 RD (~0)
|
/external/clang/lib/AST/ |
Type.cpp | 380 RecordDecl *RD = RT->getDecl(); 381 return RD->isStruct() || RD->isClass() || RD->isInterface(); [all...] |
ASTDumper.cpp | [all...] |
Expr.cpp | [all...] |
ItaniumMangle.cpp | 55 if (const CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(D)) { 56 if (RD->isLambda()) 58 = dyn_cast_or_null<ParmVarDecl>(RD->getLambdaContextDecl())) 151 void mangleCXXVTable(const CXXRecordDecl *RD, raw_ostream &) override; 152 void mangleCXXVTT(const CXXRecordDecl *RD, raw_ostream &) override; 153 void mangleCXXCtorVTable(const CXXRecordDecl *RD, int64_t Offset, [all...] |
MicrosoftMangle.cpp | 78 if (const CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(D)) { 79 if (RD->isLambda()) 81 dyn_cast_or_null<ParmVarDecl>(RD->getLambdaContextDecl())) 230 unsigned getLambdaId(const CXXRecordDecl *RD) { 231 assert(RD->isLambda() && "RD must be a lambda!"); 232 assert(!RD->isExternallyVisible() && "RD must not be visible!"); 233 assert(RD->getLambdaManglingNumber() == 0 && 234 "RD must not have a mangling number!") [all...] |
/external/clang/lib/Analysis/ |
Consumed.cpp | 145 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl()) 146 return RD->hasAttr<ConsumableAttr>(); 155 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl()) 156 return RD->hasAttr<ConsumableAutoCastAttr>(); 162 if (const CXXRecordDecl *RD = QT->getPointeeCXXRecordDecl()) 163 return RD->hasAttr<ConsumableSetOnReadAttr>(); [all...] |
/external/clang/lib/Parse/ |
ParseOpenMP.cpp | 378 RecordDecl *RD = dyn_cast_or_null<RecordDecl>(D->getDeclContext()); 382 ThisScope = new Sema::CXXThisScopeRAII(Actions, RD, /*TypeQuals=*/0, [all...] |
/external/clang/lib/Sema/ |
Sema.cpp | 563 static bool MethodsAndNestedClassesComplete(const CXXRecordDecl *RD, 565 RecordCompleteMap::iterator Cache = MNCComplete.find(RD); 568 if (!RD->isCompleteDefinition()) 571 for (DeclContext::decl_iterator I = RD->decls_begin(), 572 E = RD->decls_end(); 593 MNCComplete[RD] = Complete; 604 static bool IsRecordFullyDefined(const CXXRecordDecl *RD, 607 RecordCompleteMap::iterator Cache = RecordsComplete.find(RD); 610 bool Complete = MethodsAndNestedClassesComplete(RD, MNCComplete); 611 for (CXXRecordDecl::friend_iterator I = RD->friend_begin() [all...] |
SemaAccess.cpp | 299 const CXXRecordDecl *RD; 303 RD = cast<CXXRecordDecl>(RT->getDecl()); 306 RD = IT->getDecl(); 313 RD = RD->getCanonicalDecl(); 314 if (RD == Target) return AR_accessible; 315 if (CheckDependent && MightInstantiateTo(RD, Target)) 318 Queue.push_back(RD); 652 const CXXRecordDecl *RD; 656 RD = cast<CXXRecordDecl>(RT->getDecl()) [all...] |
SemaOpenMP.cpp | 697 CXXRecordDecl *RD = 699 if (auto *CTSD = dyn_cast_or_null<ClassTemplateSpecializationDecl>(RD)) 701 RD = CTD->getTemplatedDecl(); 703 !(SemaRef.getLangOpts().CPlusPlus && RD && RD->hasDefinition() && 704 RD->hasMutableFields())) { [all...] |