Home
last modified time | relevance | path

Searched refs:RefExpr (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaPseudoObject.cpp270 ObjCPropertyRefExpr *RefExpr; member in __anonb581425c0111::ObjCPropertyOpBuilder
282 RefExpr(refExpr), SyntacticRefExpr(nullptr), in ObjCPropertyOpBuilder()
310 ObjCSubscriptRefExpr *RefExpr; member in __anonb581425c0111::ObjCSubscriptOpBuilder
322 RefExpr(refExpr), InstanceBase(nullptr), InstanceKey(nullptr), in ObjCSubscriptOpBuilder()
340 MSPropertyRefExpr *RefExpr; member in __anonb581425c0111::MSPropertyOpBuilder
349 RefExpr(refExpr), InstanceBase(nullptr) {} in MSPropertyOpBuilder()
353 RefExpr = getBaseMSProperty(refExpr); in MSPropertyOpBuilder()
589 if (RefExpr->isExplicitProperty()) { in isWeakProperty()
590 const ObjCPropertyDecl *Prop = RefExpr->getExplicitProperty(); in isWeakProperty()
608 if (RefExpr->isImplicitProperty()) { in findGetter()
[all …]
H A DScopeInfo.cpp183 if (const ObjCPropertyRefExpr *RefExpr = dyn_cast<ObjCPropertyRefExpr>(E)) { in markSafeWeakUse() local
184 if (!RefExpr->isObjectReceiver()) in markSafeWeakUse()
186 if (isa<OpaqueValueExpr>(RefExpr->getBase())) in markSafeWeakUse()
187 Uses = WeakObjectUses.find(WeakObjectProfileTy(RefExpr)); in markSafeWeakUse()
189 markSafeWeakUse(RefExpr->getBase()); in markSafeWeakUse()
H A DSemaOpenMP.cpp83 const Expr *RefExpr = nullptr; member
89 const Expr *RefExpr, DeclRefExpr *PrivateCopy, in DSAVarData()
92 : DKind(DKind), CKind(CKind), Modifier(Modifier), RefExpr(RefExpr), in DSAVarData()
115 llvm::PointerIntPair<const Expr *, 1, bool> RefExpr; member
145 void set(const Expr *RefExpr, SourceRange RR) { in set()
147 ReductionOp = RefExpr; in set()
1319 DVar.RefExpr = Data.RefExpr.getPointer(); in getDSA()
1390 DVar.RefExpr = nullptr; in getDSA()
1497 Data.RefExpr.setPointer(E); in addDSA()
1508 Data.RefExpr.setInt(/*IntVal=*/true); in addDSA()
[all …]
H A DSemaTemplate.cpp7735 ExprResult RefExpr = BuildDeclarationNameExpr( in BuildExpressionFromDeclTemplateArgument() local
7737 if (RefExpr.isInvalid()) in BuildExpressionFromDeclTemplateArgument()
7741 QualType ElemT(RefExpr.get()->getType()->getArrayElementTypeNoTypeQual(), 0); in BuildExpressionFromDeclTemplateArgument()
7745 RefExpr = DefaultFunctionArrayConversion(RefExpr.get()); in BuildExpressionFromDeclTemplateArgument()
7746 if (RefExpr.isInvalid()) in BuildExpressionFromDeclTemplateArgument()
7750 RefExpr = CreateBuiltinUnaryOp(Loc, UO_AddrOf, RefExpr.get()); in BuildExpressionFromDeclTemplateArgument()
7751 if (RefExpr.isInvalid()) in BuildExpressionFromDeclTemplateArgument()
7757 return RefExpr; in BuildExpressionFromDeclTemplateArgument()
7766 RefExpr = new (getASTContext()) SubstNonTypeTemplateParmExpr( in BuildExpressionFromDeclTemplateArgument()
7767 ParamType->getPointeeType(), RefExpr.get()->getValueKind(), in BuildExpressionFromDeclTemplateArgument()
[all …]
H A DSemaCoroutine.cpp515 auto RefExpr = ExprEmpty(); in buildCoroutinePromise() local
523 RefExpr = in buildCoroutinePromise()
526 if (RefExpr.isInvalid()) in buildCoroutinePromise()
528 CtorArgExprs.push_back(RefExpr.get()); in buildCoroutinePromise()
H A DSemaHLSL.cpp2167 void HandleFunctionOrMethodRef(FunctionDecl *FD, Expr *RefExpr);
2199 Expr *RefExpr) { in HandleFunctionOrMethodRef() argument
2200 assert((isa<DeclRefExpr>(RefExpr) || isa<MemberExpr>(RefExpr)) && in HandleFunctionOrMethodRef()
2215 FD, AA, SourceRange(RefExpr->getBeginLoc(), RefExpr->getEndLoc())); in HandleFunctionOrMethodRef()
H A DSemaExpr.cpp19486 template<typename RefExpr>
19487 CopiedTemplateArgs(RefExpr *E) : HasArgs(E->hasExplicitTemplateArgs()) { in CopiedTemplateArgs()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGPointerAuth.cpp220 if (const auto *RefExpr = dyn_cast<DeclRefExpr>(E)) { in EmitOrigPointerRValue() local
221 if (ConstantEmission Result = tryEmitAsConstant(RefExpr)) { in EmitOrigPointerRValue()
225 getPointerAuthInfoForType(CGM, RefExpr->getType())}; in EmitOrigPointerRValue()
228 LValue LV = Result.getReferenceLValue(*this, RefExpr); in EmitOrigPointerRValue()
229 return emitLoadOfOrigPointerRValue(*this, LV, RefExpr->getLocation()); in EmitOrigPointerRValue()
H A DCGOpenMPRuntimeGPU.cpp89 static const ValueDecl *getPrivateItem(const Expr *RefExpr) { in getPrivateItem() argument
90 RefExpr = RefExpr->IgnoreParens(); in getPrivateItem()
91 if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(RefExpr)) { in getPrivateItem()
95 RefExpr = Base; in getPrivateItem()
96 } else if (auto *OASE = dyn_cast<ArraySectionExpr>(RefExpr)) { in getPrivateItem()
102 RefExpr = Base; in getPrivateItem()
104 RefExpr = RefExpr->IgnoreParenImpCasts(); in getPrivateItem()
105 if (const auto *DE = dyn_cast<DeclRefExpr>(RefExpr)) in getPrivateItem()
107 const auto *ME = cast<MemberExpr>(RefExpr); in getPrivateItem()
H A DCGExpr.cpp1790 CodeGenFunction::tryEmitAsConstant(const DeclRefExpr *RefExpr) { in tryEmitAsConstant() argument
1791 const ValueDecl *Value = RefExpr->getDecl(); in tryEmitAsConstant()
1812 RefExpr->EvaluateAsRValue(result, getContext())) { in tryEmitAsConstant()
1814 resultType = RefExpr->getType().getUnqualifiedType(); in tryEmitAsConstant()
1818 RefExpr->EvaluateAsLValue(result, getContext())) { in tryEmitAsConstant()
1839 RefExpr->refersToEnclosingVariableOrCapture()) { in tryEmitAsConstant()
1855 RefExpr->getLocation(), result.Val, resultType); in tryEmitAsConstant()
1861 EmitDeclRefExprDbgValue(RefExpr, result.Val); in tryEmitAsConstant()
1864 EmitDeclRefExprDbgValue(RefExpr, result.Val); in tryEmitAsConstant()
H A DCodeGenFunction.h4444 LValue getReferenceLValue(CodeGenFunction &CGF, const Expr *RefExpr) const {
4447 RefExpr->getType());
4456 ConstantEmission tryEmitAsConstant(const DeclRefExpr *RefExpr);
H A DCGDebugInfo.cpp97 auto const *RefExpr = in IsDecomposedVarDecl() local
99 if (!RefExpr) in IsDecomposedVarDecl()
102 return llvm::dyn_cast_or_null<DecompositionDecl>(RefExpr->getDecl()); in IsDecomposedVarDecl()
H A DCodeGenModule.cpp7827 for (auto RefExpr : D->varlist()) { in EmitOMPThreadPrivateDecl() local
7828 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(RefExpr)->getDecl()); in EmitOMPThreadPrivateDecl()
7838 VD, Addr, RefExpr->getBeginLoc(), PerformInit)) in EmitOMPThreadPrivateDecl()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp1136 auto *RefExpr = cast<ObjCPropertyRefExpr>(Syntactic); in getAccessedProperty() local
1138 if (RefExpr->isExplicitProperty()) in getAccessedProperty()
1139 return RefExpr->getExplicitProperty(); in getAccessedProperty()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h11189 ExprResult LookupInlineAsmVarDeclField(Expr *RefExpr, StringRef Member,