/external/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 1204 } else if (const VarDecl *VD = dyn_cast<VarDecl>(D)) { 1205 if (!VD->isFileVarDecl() || 1206 VD->getType().isConstant(Context) || 1207 Context.DeclMustBeEmitted(VD)) 1210 if (VD->isStaticDataMember() && 1211 VD->getTemplateSpecializationKind() == TSK_ImplicitInstantiation) 1235 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) { 1236 const VarDecl *First = VD->getFirstDeclaration(); 1237 if (VD != First && ShouldWarnIfUnusedFileScopedDecl(First)) 1261 if (const VarDecl *VD 2858 ValueDecl *VD = cast<ValueDecl>(*D); local 6966 VarDecl *VD = dyn_cast<VarDecl>(D); local 7108 const VarDecl *VD = dyn_cast<VarDecl>(ThisDecl); local [all...] |
H A D | SemaTemplateInstantiate.cpp | 474 } else if (VarDecl *VD = dyn_cast<VarDecl>(D)) { 477 << VD 1165 ValueDecl *VD; local 1167 VD = cast<ValueDecl>(D); 1171 VD = cast_or_null<ValueDecl>( 1172 getSema().FindInstantiatedDecl(loc, VD, TemplateArgs)); 1173 if (!VD) 1177 VD = 0;
|
H A D | SemaExceptionSpec.cpp | 784 const ValueDecl *VD = dyn_cast<ValueDecl>(D); local 785 if (!VD) // If we have no clue what we're calling, assume the worst. 793 QualType T = VD->getType();
|
H A D | SemaTemplateVariadic.cpp | 183 if (VarDecl *VD = I->getCapturedVar()) 184 if (VD->isParameterPack()) 185 Unexpanded.push_back(std::make_pair(VD, I->getLocation()));
|
H A D | SemaDeclCXX.cpp | 2068 ValueDecl *VD; member in class:__anon194::UninitializedFieldVisitor 2071 UninitializedFieldVisitor(Sema &S, ValueDecl *VD) : Inherited(S.Context), argument 2072 S(S), VD(VD) { 2099 if (VD == ME->getMemberDecl() && isa<CXXThisExpr>(Base)) { 2100 unsigned diag = VD->getType()->isReferenceType() 2152 ValueDecl *VD) { 2153 UninitializedFieldVisitor(S, VD).HandleExpr(E); 3747 VarDecl *VD = cast<VarDecl>(D); local 3748 if (TypeSourceInfo *TSI = VD 2151 CheckInitExprContainsUninitializedFields(Sema &S, Expr *E, ValueDecl *VD) argument 9096 InitializeVarWithConstructor(VarDecl *VD, CXXConstructorDecl *Constructor, MultiExprArg Exprs, bool HadMultipleCandidates) argument 9117 FinalizeVarWithDestructor(VarDecl *VD, const RecordType *Record) argument [all...] |
H A D | SemaTemplate.cpp | 4043 if (ValueDecl *VD = dyn_cast<ValueDecl>(DRE->getDecl())) { 4044 if (VD->getType()->isMemberPointerType()) { 4045 if (isa<NonTypeTemplateParmDecl>(VD) || 4046 (isa<VarDecl>(VD) && 4047 S.Context.getCanonicalType(VD->getType()).isConstQualified())) { 4051 Converted = TemplateArgument(VD->getCanonicalDecl()); 4514 ValueDecl *VD = cast<ValueDecl>(Arg.getAsDecl()); local 4516 if (VD->getDeclContext()->isRecord() && 4517 (isa<CXXMethodDecl>(VD) || isa<FieldDecl>(VD))) { [all...] |
H A D | SemaExpr.cpp | 2314 ValueDecl *VD = dyn_cast<ValueDecl>(D); local 2315 if (!VD) { 2326 if (DiagnoseUseOfDecl(VD, Loc)) 2330 if (VD->isInvalidDecl()) 2336 if (IndirectFieldDecl *indirectField = dyn_cast<IndirectFieldDecl>(VD)) 2342 QualType type = VD->getType(); 2417 QualType CapturedType = getCapturedDeclRefType(cast<VarDecl>(VD), Loc); 2426 if (unsigned BID = cast<FunctionDecl>(VD)->getBuiltinID()) { 2455 if (!cast<FunctionDecl>(VD)->hasPrototype() && 2470 = dyn_cast<FunctionProtoType>(VD 11361 resolveDecl(Expr *E, ValueDecl *VD) argument 11609 resolveDecl(Expr *E, ValueDecl *VD) argument [all...] |
/external/clang/lib/CodeGen/ |
H A D | CodeGenAction.cpp | 77 virtual void HandleCXXStaticMemberVarInstantiation(VarDecl *VD) { argument 78 Gen->HandleCXXStaticMemberVarInstantiation(VD);
|
H A D | CGExprConstant.cpp | 910 if (const VarDecl* VD = dyn_cast<VarDecl>(Decl)) { 912 if (!VD->hasLocalStorage()) { 913 if (VD->isFileVarDecl() || VD->hasExternalStorage()) 914 return CGM.GetAddrOfGlobalVar(VD); 915 else if (VD->isLocalVarDecl()) { 917 return CGF->GetAddrOfStaticLocalVar(VD);
|
H A D | CGDecl.cpp | 90 const VarDecl &VD = cast<VarDecl>(D); local 91 assert(VD.isLocalVarDecl() && 93 return EmitVarDecl(VD); 964 if (VarDecl *VD = dyn_cast<VarDecl>((*I))) { 965 Expr *Init = VD->getInit();
|
H A D | CGExprCXX.cpp | 125 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) { 127 return VD->getType()->isRecordType(); 137 if (const ValueDecl *VD = dyn_cast<ValueDecl>(ME->getMemberDecl())) 138 return VD->getType()->isRecordType();
|
H A D | CodeGenModule.h | 554 /// GetWeakRefReference - Get a reference to the target of VD. 555 llvm::Constant *GetWeakRefReference(const ValueDecl *VD); 686 void HandleCXXStaticMemberVarInstantiation(VarDecl *VD);
|
/external/clang/lib/Frontend/ |
H A D | ASTConsumers.cpp | 422 VarDecl* VD = cast<VarDecl>(*I); local 423 Out << "<var> " << *VD << '\n'; local
|
H A D | MultiplexConsumer.cpp | 212 void MultiplexConsumer::HandleCXXStaticMemberVarInstantiation(VarDecl *VD) { argument 214 Consumers[i]->HandleCXXStaticMemberVarInstantiation(VD);
|
/external/clang/lib/AST/ |
H A D | ASTContext.cpp | 75 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) { 76 if (VD->isStaticDataMember() && 77 VD->getTemplateSpecializationKind() == TSK_ImplicitInstantiation) 237 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) { 240 if (VD->isStaticDataMember()) 241 if (const VarDecl *MemberDecl = VD->getInstantiatedFromStaticDataMember()) 1092 } else if (const ValueDecl *VD = dyn_cast<ValueDecl>(D)) { 1093 QualType T = VD->getType(); 1123 if (const FieldDecl *field = dyn_cast<FieldDecl>(VD)) { 1688 Expr *ASTContext::getBlockVarCopyInits(const VarDecl*VD) { 7216 GetGVALinkageForVariable(const VarDecl *VD) argument 7301 const VarDecl *VD = cast<VarDecl>(D); local [all...] |
H A D | DumpXML.cpp | 540 NamedDecl *VD = const_cast<NamedDecl*>(*I); local 541 push(isa<VarDecl>(VD) ? "variable" : "field"); 542 setPointer("ptr", VD);
|
H A D | DeclPrinter.cpp | 125 if (ValueDecl* VD = dyn_cast<ValueDecl>(D)) 126 return VD->getType();
|
/external/clang/include/clang/Analysis/ |
H A D | CFG.h | 531 void appendAutomaticObjDtor(VarDecl *VD, Stmt *S, BumpVectorContext &C) { argument 532 Elements.push_back(CFGAutomaticObjDtor(VD, S), C); 542 iterator insertAutomaticObjDtor(iterator I, VarDecl *VD, Stmt *S) { argument 543 *I = CFGAutomaticObjDtor(VD, S);
|
/external/libvpx/vp8/common/ppc/ |
H A D | filter_altivec.asm | 146 .macro Read8x8 VD, RS, RP, increment_counter 151 lvx \VD, 0, \RS 158 vperm \VD, \VD, v20, v21 175 .macro Read4x4 VD, RS, RP, increment_counter 186 vperm \VD, v20, v20, v21
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | RegionStore.cpp | 702 const VarDecl *VD = VR->getDecl(); local 703 if (VD->getAttr<BlocksAttr>() || !VD->hasLocalStorage()) { 1426 const VarDecl *VD = R->getDecl(); local 1427 QualType T = VD->getType(); 1436 // Is 'VD' declared constant? If so, retrieve the constant value. 1439 const Expr *Init = VD->getInit();
|
/external/clang/include/clang/AST/ |
H A D | ASTContext.h | 1923 void setBlockVarCopyInits(VarDecl*VD, Expr* Init); 1924 /// \brief Get the copy initialization expression of the VarDecl \p VD, or 1926 Expr *getBlockVarCopyInits(const VarDecl* VD); 1960 GVALinkage GetGVALinkageForVariable(const VarDecl *VD);
|
H A D | Expr.h | 61 bool TD, bool VD, bool ID, bool ContainsUnexpandedParameterPack) 65 ExprBits.ValueDependent = VD; 102 void setValueDependent(bool VD) { argument 103 ExprBits.ValueDependent = VD; 104 if (VD) 535 const VarDecl *VD, 2971 bool TD, bool VD, bool ID, 2975 : Expr(SC, T, VK, OK, TD, VD, ID, ContainsUnexpandedParameterPack), 60 Expr(StmtClass SC, QualType T, ExprValueKind VK, ExprObjectKind OK, bool TD, bool VD, bool ID, bool ContainsUnexpandedParameterPack) argument 2969 AbstractConditionalOperator(StmtClass SC, QualType T, ExprValueKind VK, ExprObjectKind OK, bool TD, bool VD, bool ID, bool ContainsUnexpandedParameterPack, SourceLocation qloc, SourceLocation cloc) argument
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | MemRegion.h | 841 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const VarDecl *VD, argument 843 DeclRegion::ProfileRegion(ID, VD, superRegion, VarRegionKind);
|
H A D | ProgramState.h | 636 inline Loc ProgramState::getLValue(const VarDecl *VD, argument 638 return getStateManager().StoreMgr->getLValueVar(VD, LC);
|
/external/clang/lib/Edit/ |
H A D | RewriteObjCFoundationAPI.cpp | 814 if (const ValueDecl *VD = DRE->getDecl()) 815 return isa<EnumConstantDecl>(VD);
|