Home
last modified time | relevance | path

Searched refs:ValueDecl (Results 1 – 25 of 89) sorted by relevance

1234

/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyCommon.h289 const ValueDecl* valueDecl() const { in valueDecl()
403 typedef llvm::DenseMap<const ValueDecl *, unsigned> LVarIndexMap;
406 typedef std::pair<const ValueDecl *, til::SExpr *> NameVarPair;
460 til::SExpr *getCurrentLVarDefinition(const ValueDecl *VD);
463 const ValueDecl *VD = nullptr);
464 til::SExpr *lookupVarDecl(const ValueDecl *VD);
465 til::SExpr *addVarDecl(const ValueDecl *VD, til::SExpr *E);
466 til::SExpr *updateVarDecl(const ValueDecl *VD, til::SExpr *E);
DThreadSafetyTIL.h359 Variable(SExpr *D, const clang::ValueDecl *Cvd = nullptr)
376 const clang::ValueDecl *clangDecl() const { return Cvdecl; } in clangDecl()
387 void setClangDecl(const clang::ValueDecl *VD) { Cvdecl = VD; } in setClangDecl()
408 const clang::ValueDecl *Cvdecl; // The clang declaration for this variable.
631 LiteralPtr(const clang::ValueDecl *D) : SExpr(COP_LiteralPtr), Cvdecl(D) {} in LiteralPtr()
635 const clang::ValueDecl *clangDecl() const { return Cvdecl; } in clangDecl()
648 const clang::ValueDecl *Cvdecl;
915 Project(SExpr *R, const clang::ValueDecl *Cvd) in Project()
925 const clang::ValueDecl *clangDecl() const { return Cvdecl; } in clangDecl()
957 const clang::ValueDecl *Cvdecl;
[all …]
/external/clang/lib/AST/
DAPValue.cpp71 llvm::PointerIntPair<const ValueDecl*, 1, bool> MemberAndIsDerivedMember;
404 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) in printPretty()
428 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) { in printPretty()
450 const ValueDecl *VD = cast<ValueDecl>(BaseOrMember); in printPretty()
530 if (const ValueDecl *VD = getMemberPointerDecl()) { in printPretty()
608 const ValueDecl *APValue::getMemberPointerDecl() const { in getMemberPointerDecl()
642 void APValue::MakeMemberPointer(const ValueDecl *Member, bool IsDerivedMember, in MakeMemberPointer()
DASTDiagnostic.cpp550 ValueDecl *FromValueDecl, *ToValueDecl;
626 void SetNode(ValueDecl *FromValueDecl, ValueDecl *ToValueDecl, in SetNode()
729 void GetNode(ValueDecl *&FromValueDecl, ValueDecl *&ToValueDecl, in GetNode()
1000 bool &IsNullPtr, Expr *&E, llvm::APSInt &Value, ValueDecl *&VD) { in InitializeNonTypeDiffVariables()
1021 static bool NeedsAddressOf(ValueDecl *VD, Expr *E, in NeedsAddressOf()
1049 ValueDecl *FromValueDecl = nullptr, *ToValueDecl = nullptr; in DiffNonTypes()
1311 static ValueDecl *GetValueDecl(const TSTiterator &Iter, Expr *ArgExpr) { in GetValueDecl()
1416 return FromBase.get<const ValueDecl*>() == in IsEqualExpr()
1417 ToBase.get<const ValueDecl*>(); in IsEqualExpr()
1476 ValueDecl *FromValueDecl, *ToValueDecl; in TreeToString()
[all …]
DExprConstant.cpp64 if (const ValueDecl *D = B.dyn_cast<const ValueDecl*>()) in getType()
542 EvaluatingDecl((const ValueDecl *)nullptr), in EvalInfo()
1077 explicit MemberPtr(const ValueDecl *Decl) : in MemberPtr()
1082 const ValueDecl *getDecl() const { in getDecl()
1110 llvm::PointerIntPair<const ValueDecl*, 1, bool> DeclAndIsDerivedMember;
1264 if (const ValueDecl *D = B.dyn_cast<const ValueDecl*>()) { in IsGlobalLValue()
1314 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>(); in NoteLValueLocation()
1337 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>(); in CheckLValueConstantExpression()
1352 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) { in CheckLValueConstantExpression()
1392 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>(); in CheckLValueConstantExpression()
[all …]
DExprClassification.cpp480 if (ValueDecl *Value = dyn_cast<ValueDecl>(Member)) in ClassifyMemberExpr()
/external/clang/include/clang/Sema/
DExternalSemaSource.h38 class ValueDecl; variable
179 SmallVectorImpl<std::pair<ValueDecl *, in ReadPendingInstantiations() argument
DMultiplexExternalSemaSource.h32 class ValueDecl; variable
312 SmallVectorImpl<std::pair<ValueDecl*, SourceLocation> >& Pending) override;
/external/clang/lib/Analysis/
DThreadSafety.cpp243 bool containsMutexDecl(FactManager &FM, const ValueDecl* Vd) const { in containsMutexDecl()
258 typedef SmallVector<const ValueDecl*, 4> BeforeVect;
268 typedef llvm::DenseMap<const ValueDecl *, std::unique_ptr<BeforeInfo>>
270 typedef llvm::DenseMap<const ValueDecl*, bool> CycleMap;
275 BeforeInfo* insertAttrExprs(const ValueDecl* Vd,
278 BeforeInfo *getBeforeInfoForDecl(const ValueDecl *Vd,
281 void checkBeforeAfter(const ValueDecl* Vd,
592 ValueDecl *VDec = DRE->getDecl(); in VisitBinaryOperator()
967 BeforeSet::BeforeInfo* BeforeSet::insertAttrExprs(const ValueDecl* Vd, in insertAttrExprs()
989 if (const ValueDecl *Cpvd = Cp.valueDecl()) { in insertAttrExprs()
[all …]
DThreadSafetyCommon.cpp268 const ValueDecl *VD = cast<ValueDecl>(DRE->getDecl()->getCanonicalDecl()); in translateDeclRefExpr()
299 static const ValueDecl *getValueDeclFromSExpr(const til::SExpr *E) { in getValueDeclFromSExpr()
339 const ValueDecl *D = in translateMemberExpr()
340 cast<ValueDecl>(ME->getMemberDecl()->getCanonicalDecl()); in translateMemberExpr()
474 const ValueDecl *VD = nullptr; in translateBinAssign()
612 const ValueDecl *VD) { in addStatement()
624 til::SExpr *SExprBuilder::lookupVarDecl(const ValueDecl *VD) { in lookupVarDecl()
634 static void maybeUpdateVD(til::SExpr *E, const ValueDecl *VD) { in maybeUpdateVD()
644 til::SExpr *SExprBuilder::addVarDecl(const ValueDecl *VD, til::SExpr *E) { in addVarDecl()
653 til::SExpr *SExprBuilder::updateVarDecl(const ValueDecl *VD, til::SExpr *E) { in updateVarDecl()
DReachableCode.cpp150 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP);
230 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP) { in isConfigurationValue()
/external/clang/include/clang/AST/
DAPValue.h31 class ValueDecl; variable
56 typedef llvm::PointerUnion<const ValueDecl *, const Expr *> LValueBase;
157 APValue(const ValueDecl *Member, bool IsDerivedMember, in APValue()
334 const ValueDecl *getMemberPointerDecl() const;
441 void MakeMemberPointer(const ValueDecl *Member, bool IsDerivedMember,
DTemplateBase.h36 class ValueDecl; variable
80 ValueDecl *D;
135 TemplateArgument(ValueDecl *D, QualType QT) { in TemplateArgument()
244 ValueDecl *getAsDecl() const { in getAsDecl()
DExpr.h51 class ValueDecl; variable
924 ValueDecl *D;
966 ValueDecl *D, bool RefersToEnlosingVariableOrCapture,
981 DeclRefExpr(ValueDecl *D, bool RefersToEnclosingVariableOrCapture, QualType T,
997 SourceLocation TemplateKWLoc, ValueDecl *D,
1004 SourceLocation TemplateKWLoc, ValueDecl *D,
1017 ValueDecl *getDecl() { return D; } in getDecl()
1018 const ValueDecl *getDecl() const { return D; } in getDecl()
1019 void setDecl(ValueDecl *NewD) { D = NewD; } in setDecl()
2358 ValueDecl *MemberDecl;
[all …]
DDecl.h530 class ValueDecl : public NamedDecl {
535 ValueDecl(Kind DK, DeclContext *DC, SourceLocation L, in ValueDecl() function
586 class DeclaratorDecl : public ValueDecl {
607 : ValueDecl(DK, DC, L, N, T), DeclInfo(TInfo), InnerLocStart(StartL) { in DeclaratorDecl()
2462 class EnumConstantDecl : public ValueDecl, public Mergeable<EnumConstantDecl> {
2469 : ValueDecl(EnumConstant, DC, L, Id, T), Init((Stmt*)E), Val(V) {} in EnumConstantDecl()
2502 class IndirectFieldDecl : public ValueDecl,
2511 : ValueDecl(IndirectField, DC, L, N, T), Chaining(CH), ChainingSize(CHS) {} in IndirectFieldDecl()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp131 SmallVector<ValueDecl *, 8> BlockByCopyDecls;
132 llvm::SmallPtrSet<ValueDecl *, 8> BlockByCopyDeclsPtrSet;
133 SmallVector<ValueDecl *, 8> BlockByRefDecls;
134 llvm::SmallPtrSet<ValueDecl *, 8> BlockByRefDeclsPtrSet;
135 llvm::DenseMap<ValueDecl *, unsigned> BlockByRefDeclNo;
136 llvm::SmallPtrSet<ValueDecl *, 8> ImportedBlockDecls;
276 ValueDecl *VD, bool def=false);
285 void RewriteBlockPointerTypeVariable(std::string& Str, ValueDecl *VD);
1487 QualType ElementType = cast<ValueDecl>(D)->getType(); in RewriteObjCForCollectionStmt()
1503 ValueDecl *VD = cast<ValueDecl>(DR->getDecl()); in RewriteObjCForCollectionStmt()
[all …]
DRewriteModernObjC.cpp140 SmallVector<ValueDecl *, 8> BlockByCopyDecls;
141 llvm::SmallPtrSet<ValueDecl *, 8> BlockByCopyDeclsPtrSet;
142 SmallVector<ValueDecl *, 8> BlockByRefDecls;
143 llvm::SmallPtrSet<ValueDecl *, 8> BlockByRefDeclsPtrSet;
144 llvm::DenseMap<ValueDecl *, unsigned> BlockByRefDeclNo;
145 llvm::SmallPtrSet<ValueDecl *, 8> ImportedBlockDecls;
330 ValueDecl *VD, bool def=false);
339 void RewriteBlockPointerTypeVariable(std::string& Str, ValueDecl *VD);
1723 QualType ElementType = cast<ValueDecl>(D)->getType(); in RewriteObjCForCollectionStmt()
1739 ValueDecl *VD = cast<ValueDecl>(DR->getDecl()); in RewriteObjCForCollectionStmt()
[all …]
/external/clang/unittests/Tooling/
DLookupTest.cpp38 const ValueDecl *FD = Callee->getDecl(); in TEST()
/external/clang/lib/CodeGen/
DCodeGenModule.h68 class ValueDecl; variable
722 ConstantAddress GetWeakRefReference(const ValueDecl *VD);
1050 void AddGlobalAnnotations(const ValueDecl *D, llvm::GlobalValue *GV);
1229 bool MustBeEmitted(const ValueDecl *D);
1235 bool MayBeEmittedEagerly(const ValueDecl *D);
/external/clang/lib/ARCMigrate/
DTransforms.cpp228 ValueDecl *Dcl;
232 ReferenceCollector(ValueDecl *D, ExprSet &refs) in ReferenceCollector()
309 void trans::collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs) { in collectRefs()
DTransforms.h215 void collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs);
DTransProtectedScope.cpp34 if (ValueDecl *D = E->getDecl()) in VisitDeclRefExpr()
/external/lldb/include/lldb/Core/
DClangForward.h124 class ValueDecl; variable
/external/clang/tools/libclang/
DCXType.cpp170 if (const ValueDecl *VD = dyn_cast<ValueDecl>(D)) in clang_getCursorType()
901 if (const ValueDecl *VD = dyn_cast<ValueDecl>(D)) in clang_getDeclObjCTypeEncoding()
/external/clang/lib/Sema/
DSemaDeclAttr.cpp379 const ValueDecl *vd = cast<ValueDecl>(D); in threadSafetyCheckIsPointer()
631 QualType QT = cast<ValueDecl>(D)->getType(); in checkAcquireOrderAttrCommon()
1680 ValueDecl *VD = dyn_cast<ValueDecl>(D); in handleAnalyzerNoReturnAttr()
3036 else if (ValueDecl *VD = dyn_cast<ValueDecl>(D)) in AddAlignValueAttr()
3229 if (ValueDecl *VD = dyn_cast<ValueDecl>(D)) { in CheckAlignasUnderalignment()
3393 else if (ValueDecl *VD = dyn_cast<ValueDecl>(D)) in handleModeAttr()
3472 cast<ValueDecl>(D)->setType(NewTy); in handleModeAttr()
4321 ValueDecl *vd = cast<ValueDecl>(D); in handleObjCPreciseLifetimeAttr()
4618 ValueDecl *VD = dyn_cast<ValueDecl>(D); in handleX86ForceAlignArgPointerAttr()

1234