Searched refs:BaseExpr (Results 1 - 18 of 18) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp480 Sema::ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, argument
500 assert(BaseExpr && "cannot happen with implicit member accesses");
502 << BaseType << BaseExpr->getSourceRange() << NameInfo.getSourceRange();
511 // Get the type being accessed in BaseType. If this is an arrow, the BaseExpr
514 Context, BaseExpr, BaseType, IsArrow, OpLoc,
523 Expr *BaseExpr,
530 if (!BaseExpr)
549 bool Sema::CheckQualifiedMemberReference(Expr *BaseExpr, argument
565 if (!BaseExpr && !(*I)->isCXXInstanceMember())
582 DiagnoseQualifiedMemberReference(*this, BaseExpr, BaseTyp
522 DiagnoseQualifiedMemberReference(Sema &SemaRef, Expr *BaseExpr, QualType BaseType, const CXXScopeSpec &SS, NamedDecl *rep, const DeclarationNameInfo &nameInfo) argument
641 LookupMemberExprInRecord(Sema &SemaRef, LookupResult &R, Expr *BaseExpr, const RecordType *RTy, SourceLocation OpLoc, bool IsArrow, CXXScopeSpec &SS, bool HasTemplateArgs, SourceLocation TemplateKWLoc, TypoExpr *&TE) argument
884 BuildMSPropertyRefExpr(Sema &S, Expr *BaseExpr, bool IsArrow, const CXXScopeSpec &SS, MSPropertyDecl *PD, const DeclarationNameInfo &NameInfo) argument
972 BuildMemberReferenceExpr(Expr *BaseExpr, QualType BaseExprType, SourceLocation OpLoc, bool IsArrow, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, LookupResult &R, const TemplateArgumentListInfo *TemplateArgs, const Scope *S, bool SuppressQualifierCheck, ActOnMemberAccessExtraArgs *ExtraArgs) argument
1257 LookupMemberExpr(Sema &S, LookupResult &R, ExprResult &BaseExpr, bool &IsArrow, SourceLocation OpLoc, CXXScopeSpec &SS, Decl *ObjCImpDecl, bool HasTemplateArgs, SourceLocation TemplateKWLoc) argument
1768 BuildFieldReferenceExpr(Expr *BaseExpr, bool IsArrow, SourceLocation OpLoc, const CXXScopeSpec &SS, FieldDecl *Field, DeclAccessPair FoundDecl, const DeclarationNameInfo &MemberNameInfo) argument
[all...]
H A DSemaPseudoObject.cpp1149 Expr *BaseExpr = RefExpr->getBaseExpr();
1150 QualType BaseT = BaseExpr->getType();
1168 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_base_type)
1169 << BaseExpr->getType() << arrayRef;
1216 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_method_not_found)
1217 << BaseExpr->getType() << 0 << arrayRef;
1252 Expr *BaseExpr = RefExpr->getBaseExpr();
1253 QualType BaseT = BaseExpr->getType();
1272 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_base_type)
1273 << BaseExpr
[all...]
H A DSemaExprObjC.cpp763 ExprResult Sema::BuildObjCSubscriptExpression(SourceLocation RB, Expr *BaseExpr, argument
771 assert((!BaseExpr->isTypeDependent() && !IndexExpr->isTypeDependent()) &&
782 Result = DefaultLvalueConversion(BaseExpr);
785 BaseExpr = Result.get();
789 BaseExpr, IndexExpr, Context.PseudoObjectTy, VK_LValue, OK_ObjCSubscript,
1851 Expr *BaseExpr, SourceLocation OpLoc,
1868 : BaseExpr->getSourceRange();
1886 OK_ObjCProperty, MemberLoc, BaseExpr);
1903 OK_ObjCProperty, MemberLoc, BaseExpr);
1972 OK_ObjCProperty, MemberLoc, BaseExpr);
1850 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, Expr *BaseExpr, SourceLocation OpLoc, DeclarationName MemberName, SourceLocation MemberLoc, SourceLocation SuperLoc, QualType SuperType, bool Super) argument
[all...]
H A DSemaExpr.cpp4768 Expr *BaseExpr, *IndexExpr; local
4771 BaseExpr = LHSExp;
4775 BaseExpr = LHSExp;
4780 BaseExpr = LHSExp;
4786 return BuildObjCSubscriptExpression(RLoc, BaseExpr, IndexExpr, nullptr,
4792 BaseExpr = RHSExp;
4798 BaseExpr = RHSExp;
4803 << ResultType << BaseExpr->getSourceRange();
4807 BaseExpr = LHSExp; // vectors: V[123]
4821 QualType BaseType = BaseExpr
[all...]
H A DSemaInit.cpp8385 Expr *BaseExpr = new (S.Context)
8391 BaseExpr, Kind.getLocation(), IndexExpr, Kind.getLocation());
8392 ArrayLoopCommonExprs.push_back(BaseExpr);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DConstantHoisting.h118 ConstantExpr *BaseExpr; member in struct:llvm::consthoist::ConstantInfo
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DStraightLineStrengthReduce.cpp538 const SCEV *BaseExpr = SE->getGEPExpr(cast<GEPOperator>(GEP), IndexExprs); local
545 factorArrayIndex(ArrayIdx, BaseExpr, ElementSize, GEP);
556 factorArrayIndex(TruncatedArrayIdx, BaseExpr, ElementSize, GEP);
H A DConstantHoisting.cpp629 ConstInfo.BaseExpr = ConstExpr;
875 if (ConstInfo.BaseExpr) {
877 Type *Ty = ConstInfo.BaseExpr->getType();
878 Base = new BitCastInst(ConstInfo.BaseExpr, Ty, "const", IP);
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp126 Expr *BaseExpr = E->getBase(); local
132 BaseValue = EmitPointerWithAlignment(BaseExpr);
133 const auto *PTy = BaseExpr->getType()->castAs<PointerType>();
136 LValue BaseLV = EmitLValue(BaseExpr);
138 QualType BaseTy = BaseExpr->getType();
434 const Expr *BaseExpr = BO->getLHS(); local
445 This = EmitPointerWithAlignment(BaseExpr);
447 This = EmitLValue(BaseExpr).getAddress(*this);
H A DCGExpr.cpp3924 Expr *BaseExpr = E->getBase(); local
3930 Address Addr = EmitPointerWithAlignment(BaseExpr, &BaseInfo, &TBAAInfo);
3931 QualType PtrTy = BaseExpr->getType()->getPointeeType();
3933 bool IsBaseCXXThis = IsWrappedCXXThis(BaseExpr);
3936 if (IsBaseCXXThis || isa<DeclRefExpr>(BaseExpr))
3942 BaseLV = EmitCheckedLValue(BaseExpr, TCK_MemberAccess);
3952 if ((IsWrappedCXXThis(BaseExpr) &&
4831 const Expr *BaseExpr = E->getBase(); local
4835 BaseValue = EmitScalarExpr(BaseExpr);
4836 ObjectTy = BaseExpr
[all...]
H A DCGExprScalar.cpp4584 Expr *BaseExpr = E->getBase(); local
4586 if (BaseExpr->isRValue()) {
4587 Addr = Address(EmitScalarExpr(BaseExpr), getPointerAlign());
4589 Addr = EmitLValue(BaseExpr).getAddress(*this);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp5798 Expr *BaseExpr = IV->getBase(); local
5803 BaseExpr = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(BaseExpr));
5804 IV->setBase(BaseExpr);
5811 if (BaseExpr->getType()->isObjCObjectPointerType()) {
5813 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType());
5852 if (BaseExpr->getType()->isObjCObjectPointerType()) {
5854 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType());
H A DRewriteModernObjC.cpp7443 Expr *BaseExpr = IV->getBase(); local
7448 BaseExpr = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(BaseExpr));
7449 IV->setBase(BaseExpr);
7456 if (BaseExpr->getType()->isObjCObjectPointerType()) {
7458 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType());
7479 BaseExpr);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DExprCXX.h864 Expr *BaseExpr; member in class:clang::MSPropertyRefExpr
881 BaseExpr(baseExpr), TheDecl(decl),
897 return BaseExpr->getBeginLoc();
907 return child_range((Stmt**)&BaseExpr, (Stmt**)&BaseExpr + 1);
919 Expr *getBaseExpr() const { return BaseExpr; }
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp2595 Expr *BaseExpr = M->getBase(); local
2600 state = createTemporaryRegionIfNeeded(state, LCtx, BaseExpr);
2611 state = createTemporaryRegionIfNeeded(state, LCtx, BaseExpr,
2615 MR ? loc::MemRegionVal(MR) : state->getSVal(BaseExpr, LCtx);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h4809 ExprResult BuildFieldReferenceExpr(Expr *BaseExpr, bool IsArrow,
4817 bool CheckQualifiedMemberReference(Expr *BaseExpr, QualType BaseType,
6392 ExprResult BuildObjCSubscriptExpression(SourceLocation RB, Expr *BaseExpr,
9152 Expr *BaseExpr,
11663 void CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr,
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp2064 E->BaseExpr = Record.readSubExpr();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp3495 const SCEV *BaseExpr = getSCEV(GEP->getPointerOperand());
3498 Type *IntIdxTy = getEffectiveSCEVType(BaseExpr->getType());
3541 return getAddExpr(BaseExpr, TotalOffset, Wrap);

Completed in 740 milliseconds