HomeSort by: relevance | last modified time | path
    Searched refs:ValueDecl (Results 1 - 25 of 122) sorted by relevancy

1 2 3 4 5

  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
Program.h 60 llvm::Optional<unsigned> getGlobal(const ValueDecl *VD);
63 llvm::Optional<unsigned> getOrCreateGlobal(const ValueDecl *VD);
69 llvm::Optional<unsigned> createGlobal(const ValueDecl *VD);
Descriptor.h 115 const ValueDecl *asValueDecl() const {
116 return dyn_cast_or_null<ValueDecl>(asDecl());
Program.cpp 87 llvm::Optional<unsigned> Program::getGlobal(const ValueDecl *VD) {
111 llvm::Optional<unsigned> Program::getOrCreateGlobal(const ValueDecl *VD) {
141 llvm::Optional<unsigned> Program::createGlobal(const ValueDecl *VD) {
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
ASTMutationListener.h 38 class ValueDecl;
93 virtual void InstantiationRequested(const ValueDecl *D) {}
TemplateBase.h 59 class ValueDecl;
110 ValueDecl *D;
163 TemplateArgument(ValueDecl *D, QualType QT) {
276 ValueDecl *getAsDecl() const {
APValue.h 40 class ValueDecl;
147 typedef llvm::PointerUnion<const ValueDecl *, const Expr *, TypeInfoLValue,
153 LValueBase(const ValueDecl *P, unsigned I = 0, unsigned V = 0);
350 APValue(const ValueDecl *Member, bool IsDerivedMember,
567 const ValueDecl *getMemberPointerDecl() const;
667 void MakeMemberPointer(const ValueDecl *Member, bool IsDerivedMember,
690 setMemberPointerUninit(const ValueDecl *Member, bool IsDerivedMember,
OpenMPClause.h 4843 ValueDecl *AssociatedDeclaration = nullptr;
4848 ValueDecl *AssociatedDeclaration,
4854 ? cast<ValueDecl>(AssociatedDeclaration->getCanonicalDecl())
4865 ValueDecl *getAssociatedDeclaration() const {
4889 getUniqueDeclarationsTotalNumber(ArrayRef<const ValueDecl *> Declarations);
4976 MutableArrayRef<ValueDecl *> getUniqueDeclsRef() {
4977 return MutableArrayRef<ValueDecl *>(
4978 static_cast<T *>(this)->template getTrailingObjects<ValueDecl *>(),
4984 ArrayRef<ValueDecl *> getUniqueDeclsRef() const {
4985 return ArrayRef<ValueDecl *>(
    [all...]
DeclOpenMP.h 171 class OMPDeclareReductionDecl final : public ValueDecl, public DeclContext {
286 class OMPDeclareMapperDecl final : public OMPDeclarativeDirective<ValueDecl>,
288 friend class OMPDeclarativeDirective<ValueDecl>;
305 : OMPDeclarativeDirective<ValueDecl>(OMPDeclareMapper, DC, L, Name, Ty),
DeclCXX.h 3101 ValueDecl *ExtendingDecl = nullptr;
3108 LifetimeExtendedTemporaryDecl(Expr *Temp, ValueDecl *EDecl, unsigned Mangling)
3118 static LifetimeExtendedTemporaryDecl *Create(Expr *Temp, ValueDecl *EDec,
3128 ValueDecl *getExtendingDecl() { return ExtendingDecl; }
3129 const ValueDecl *getExtendingDecl() const { return ExtendingDecl; }
3393 /// embedded in the ValueDecl base class.
3604 class UnresolvedUsingValueDecl : public ValueDecl,
3616 /// embedded in the ValueDecl base class.
3624 : ValueDecl(UnresolvedUsingValue, DC,
3828 class BindingDecl : public ValueDecl {
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
ThreadSafetyCommon.h 305 const ValueDecl* valueDecl() const {
429 using LVarIndexMap = llvm::DenseMap<const ValueDecl *, unsigned>;
432 using NameVarPair = std::pair<const ValueDecl *, til::SExpr *>;
469 til::SExpr *getCurrentLVarDefinition(const ValueDecl *VD);
472 const ValueDecl *VD = nullptr);
473 til::SExpr *lookupVarDecl(const ValueDecl *VD);
474 til::SExpr *addVarDecl(const ValueDecl *VD, til::SExpr *E);
475 til::SExpr *updateVarDecl(const ValueDecl *VD, til::SExpr *E);
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
ExternalSemaSource.h 37 class ValueDecl;
183 SmallVectorImpl<std::pair<ValueDecl *,
MultiplexExternalSemaSource.h 31 class ValueDecl;
321 SmallVectorImpl<std::pair<ValueDecl*, SourceLocation> >& Pending) override;
  /src/external/apache2/llvm/dist/clang/lib/AST/
APValue.cpp 42 APValue::LValueBase::LValueBase(const ValueDecl *P, unsigned I, unsigned V)
43 : Ptr(P ? cast<ValueDecl>(P->getCanonicalDecl()) : nullptr), Local{I, V} {}
65 if (const ValueDecl *D = dyn_cast<const ValueDecl*>()) {
73 for (auto *Redecl = cast<ValueDecl>(D->getMostRecentDecl()); Redecl;
74 Redecl = cast_or_null<ValueDecl>(Redecl->getPreviousDecl())) {
190 B.Ptr = DenseMapInfo<const ValueDecl*>::getEmptyKey();
197 B.Ptr = DenseMapInfo<const ValueDecl*>::getTombstoneKey();
257 llvm::PointerIntPair<const ValueDecl*, 1, bool> MemberAndIsDerivedMember;
716 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()
    [all...]
AttrImpl.cpp 145 OMPDeclareTargetDeclAttr::getActiveAttr(const ValueDecl *VD) {
162 OMPDeclareTargetDeclAttr::isDeclareTargetDeclaration(const ValueDecl *VD) {
170 OMPDeclareTargetDeclAttr::getDeviceType(const ValueDecl *VD) {
178 OMPDeclareTargetDeclAttr::getLocation(const ValueDecl *VD) {
ASTDiagnostic.cpp 563 ValueDecl *VD = nullptr;
668 void SetDeclarationDiff(ValueDecl *FromValueDecl, ValueDecl *ToValueDecl,
686 ValueDecl *FromValueDecl, bool FromAddressOf, bool FromNullPtr,
704 Expr *FromExpr, ValueDecl *ToValueDecl, bool ToAddressOf,
821 void GetDeclarationDiff(ValueDecl *&FromValueDecl, ValueDecl *&ToValueDecl,
837 ValueDecl *&FromValueDecl, bool &FromAddressOf, bool &FromNullPtr,
854 Expr *&FromExpr, ValueDecl *&ToValueDecl, bool &ToAddressOf,
1178 Expr *&E, ValueDecl *&VD
    [all...]
OpenMPClause.cpp 1068 ArrayRef<const ValueDecl *> Declarations) {
1070 llvm::SmallPtrSet<const ValueDecl *, 8> Cache;
1071 for (const ValueDecl *D : Declarations) {
1072 const ValueDecl *VD = D ? cast<ValueDecl>(D->getCanonicalDecl()) : nullptr;
1083 ArrayRef<ValueDecl *> Declarations,
1098 // NumUniqueDeclarations x ValueDecl* - unique base declarations associated
1106 totalSizeToAlloc<Expr *, ValueDecl *, unsigned,
1127 totalSizeToAlloc<Expr *, ValueDecl *, unsigned,
1137 ArrayRef<ValueDecl *> Declarations
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
CastToStructChecker.cpp 78 const ValueDecl *VD = nullptr;
CheckPlacementNew.cpp 45 unsigned getStorageAlign(CheckerContext &C, const ValueDecl *VD) const;
168 const ValueDecl *VD) const {
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGOpenMPRuntimeGPU.cpp 119 static const ValueDecl *getPrivateItem(const Expr *RefExpr) {
136 return cast<ValueDecl>(DE->getDecl()->getCanonicalDecl());
138 return cast<ValueDecl>(ME->getMemberDecl()->getCanonicalDecl());
143 ASTContext &C, ArrayRef<const ValueDecl *> EscapedDecls,
144 ArrayRef<const ValueDecl *> EscapedDeclsForTeams,
145 llvm::SmallDenseMap<const ValueDecl *, const FieldDecl *>
147 using VarsDataTy = std::pair<CharUnits /*Align*/, const ValueDecl *>;
151 for (const ValueDecl *D : EscapedDecls)
157 for (const ValueDecl *D : EscapedDeclsForTeams)
170 llvm::SmallPtrSet<const ValueDecl *, 16> SingleEscaped
    [all...]
CGOpenMPRuntimeGPU.h 461 llvm::SmallVector<const ValueDecl*, 4> EscapedVariableLengthDecls;
497 std::pair<const Decl *, llvm::SmallVector<const ValueDecl *, 4>>
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
ThreadSafety.cpp 265 bool containsMutexDecl(FactManager &FM, const ValueDecl* Vd) const {
267 return FM[ID].valueDecl() == Vd;
282 using BeforeVect = SmallVector<const ValueDecl *, 4>;
293 llvm::DenseMap<const ValueDecl *, std::unique_ptr<BeforeInfo>>;
294 using CycleMap = llvm::DenseMap<const ValueDecl *, bool>;
299 BeforeInfo* insertAttrExprs(const ValueDecl* Vd,
302 BeforeInfo *getBeforeInfoForDecl(const ValueDecl *Vd,
305 void checkBeforeAfter(const ValueDecl* Vd,
640 const ValueDecl *VDec = DRE->getDecl();
1068 BeforeSet::BeforeInfo* BeforeSet::insertAttrExprs(const ValueDecl* Vd
    [all...]
ThreadSafetyCommon.cpp 274 const auto *VD = cast<ValueDecl>(DRE->getDecl()->getCanonicalDecl());
310 static const ValueDecl *getValueDeclFromSExpr(const til::SExpr *E) {
350 const auto *D = cast<ValueDecl>(ME->getMemberDecl()->getCanonicalDecl());
498 const ValueDecl *VD = nullptr;
636 const ValueDecl *VD) {
648 til::SExpr *SExprBuilder::lookupVarDecl(const ValueDecl *VD) {
658 static void maybeUpdateVD(til::SExpr *E, const ValueDecl *VD) {
668 til::SExpr *SExprBuilder::addVarDecl(const ValueDecl *VD, til::SExpr *E) {
677 til::SExpr *SExprBuilder::updateVarDecl(const ValueDecl *VD, til::SExpr *E) {
BodyFarm.cpp 102 MemberExpr *makeMemberExpression(Expr *base, ValueDecl *MemberDecl,
108 ValueDecl *findMemberField(const RecordDecl *RD, StringRef Name);
209 MemberExpr *ASTMaker::makeMemberExpression(Expr *base, ValueDecl *MemberDecl,
222 ValueDecl *ASTMaker::findMemberField(const RecordDecl *RD, StringRef Name) {
234 return cast<ValueDecl>(FoundDecl);
351 ValueDecl *FlagFieldDecl = M.findMemberField(FlagRecordDecl, "__state_");
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
InterfaceStubFunctionsConsumer.cpp 252 if (const auto *VD = dyn_cast<ValueDecl>(ND)) {
263 std::set<const ValueDecl *> ValueDecls;
315 auto VD = cast<ValueDecl>(E.first)->getType();
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaOpenMP.cpp 110 using DeclSAMapTy = llvm::SmallDenseMap<const ValueDecl *, DSAInfo, 8>;
111 using UsedRefMapTy = llvm::SmallDenseMap<const ValueDecl *, const Expr *, 8>;
114 llvm::SmallDenseMap<const ValueDecl *, LCDeclInfo, 8>;
122 llvm::DenseMap<const ValueDecl *, MappedExprComponentTy>;
140 llvm::SmallDenseMap<const ValueDecl *, ReductionData, 4>;
292 DSAVarData getDSA(const_iterator &Iter, ValueDecl *D) const;
479 const Expr *addUniqueAligned(const ValueDecl *D, const Expr *NewDE);
483 const Expr *addUniqueNontemporal(const ValueDecl *D, const Expr *NewDE);
486 void addLoopControlVariable(const ValueDecl *D, VarDecl *Capture);
491 const LCDeclInfo isLoopControlVariable(const ValueDecl *D) const
    [all...]

Completed in 49 milliseconds

1 2 3 4 5