/external/llvm/lib/Transforms/Scalar/ |
H A D | StraightLineStrengthReduce.cpp | 531 const SCEV *BaseExpr = SE->getGEPExpr(GEP->getSourceElementType(), local 536 factorArrayIndex(ArrayIdx, BaseExpr, ElementSize, GEP); 542 factorArrayIndex(TruncatedArrayIdx, BaseExpr, ElementSize, GEP);
|
/external/clang/include/clang/AST/ |
H A D | ExprCXX.h | 627 Expr *BaseExpr; member in class:clang::MSPropertyRefExpr 642 BaseExpr(baseExpr), TheDecl(decl), 656 return BaseExpr->getLocStart(); 665 return child_range((Stmt**)&BaseExpr, (Stmt**)&BaseExpr + 1); 671 Expr *getBaseExpr() const { return BaseExpr; }
|
/external/clang/lib/Sema/ |
H A D | SemaExprMember.cpp | 443 Sema::ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, argument 463 assert(BaseExpr && "cannot happen with implicit member accesses"); 465 << BaseType << BaseExpr->getSourceRange() << NameInfo.getSourceRange(); 474 // Get the type being accessed in BaseType. If this is an arrow, the BaseExpr 477 Context, BaseExpr, BaseType, IsArrow, OpLoc, 486 Expr *BaseExpr, 493 if (!BaseExpr) 512 bool Sema::CheckQualifiedMemberReference(Expr *BaseExpr, argument 528 if (!BaseExpr && !(*I)->isCXXInstanceMember()) 545 DiagnoseQualifiedMemberReference(*this, BaseExpr, BaseTyp 485 DiagnoseQualifiedMemberReference(Sema &SemaRef, Expr *BaseExpr, QualType BaseType, const CXXScopeSpec &SS, NamedDecl *rep, const DeclarationNameInfo &nameInfo) argument 600 LookupMemberExprInRecord(Sema &SemaRef, LookupResult &R, Expr *BaseExpr, const RecordType *RTy, SourceLocation OpLoc, bool IsArrow, CXXScopeSpec &SS, bool HasTemplateArgs, TypoExpr *&TE) argument 881 BuildMSPropertyRefExpr(Sema &S, Expr *BaseExpr, bool IsArrow, const CXXScopeSpec &SS, MSPropertyDecl *PD, const DeclarationNameInfo &NameInfo) argument 921 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 1220 LookupMemberExpr(Sema &S, LookupResult &R, ExprResult &BaseExpr, bool &IsArrow, SourceLocation OpLoc, CXXScopeSpec &SS, Decl *ObjCImpDecl, bool HasTemplateArgs) argument 1696 BuildFieldReferenceExpr(Sema &S, Expr *BaseExpr, bool IsArrow, SourceLocation OpLoc, const CXXScopeSpec &SS, FieldDecl *Field, DeclAccessPair FoundDecl, const DeclarationNameInfo &MemberNameInfo) argument [all...] |
H A D | SemaExprObjC.cpp | 737 ExprResult Sema::BuildObjCSubscriptExpression(SourceLocation RB, Expr *BaseExpr, argument 745 assert((!BaseExpr->isTypeDependent() && !IndexExpr->isTypeDependent()) && 756 Result = DefaultLvalueConversion(BaseExpr); 759 BaseExpr = Result.get(); 762 return ObjCSubscriptRefExpr::Create(Context, BaseExpr, IndexExpr, 1760 Expr *BaseExpr, SourceLocation OpLoc, 1777 : BaseExpr->getSourceRange(); 1794 OK_ObjCProperty, MemberLoc, BaseExpr); 1810 OK_ObjCProperty, MemberLoc, BaseExpr); 1878 OK_ObjCProperty, MemberLoc, BaseExpr); 1759 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, Expr *BaseExpr, SourceLocation OpLoc, DeclarationName MemberName, SourceLocation MemberLoc, SourceLocation SuperLoc, QualType SuperType, bool Super) argument [all...] |
H A D | SemaChecking.cpp | 8496 static const Type* getElementType(const Expr *BaseExpr) { argument 8497 const Type* EltType = BaseExpr->getType().getTypePtr(); 8552 void Sema::CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr, argument 8559 const Type *EffectiveType = getElementType(BaseExpr); 8560 BaseExpr = BaseExpr->IgnoreParenCasts(); 8562 Context.getAsConstantArrayType(BaseExpr->getType()); 8573 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BaseExpr)) 8575 if (const MemberExpr *ME = dyn_cast<MemberExpr>(BaseExpr)) 8583 const Type* BaseType = getElementType(BaseExpr); [all...] |
H A D | SemaExpr.cpp | 4147 Expr *BaseExpr, *IndexExpr; local 4150 BaseExpr = LHSExp; 4154 BaseExpr = LHSExp; 4159 BaseExpr = LHSExp; 4165 return BuildObjCSubscriptExpression(RLoc, BaseExpr, IndexExpr, nullptr, 4171 BaseExpr = RHSExp; 4177 BaseExpr = RHSExp; 4182 << ResultType << BaseExpr->getSourceRange(); 4186 BaseExpr = LHSExp; // vectors: V[123] 4206 BaseExpr [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGExprCXX.cpp | 288 const Expr *BaseExpr = BO->getLHS(); local 305 This = EmitPointerWithAlignment(BaseExpr); 307 This = EmitLValue(BaseExpr).getAddress();
|
H A D | CGExprScalar.cpp | 3494 Expr *BaseExpr = E->getBase(); local 3496 if (BaseExpr->isRValue()) { 3497 Addr = Address(EmitScalarExpr(BaseExpr), getPointerAlign()); 3499 Addr = EmitLValue(BaseExpr).getAddress();
|
H A D | CGExpr.cpp | 3034 Expr *BaseExpr = E->getBase(); local 3040 Address Addr = EmitPointerWithAlignment(BaseExpr, &AlignSource); 3041 QualType PtrTy = BaseExpr->getType()->getPointeeType(); 3045 BaseLV = EmitCheckedLValue(BaseExpr, TCK_MemberAccess); 3548 Expr *BaseExpr = PseudoDtor->getBase(); local 3554 BaseValue = EmitPointerWithAlignment(BaseExpr); 3555 const PointerType *PTy = BaseExpr->getType()->getAs<PointerType>(); 3558 LValue BaseLV = EmitLValue(BaseExpr); 3560 QualType BaseTy = BaseExpr->getType(); 3742 const Expr *BaseExpr local [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngine.cpp | 2000 Expr *BaseExpr = M->getBase(); local 2005 state = createTemporaryRegionIfNeeded(state, LCtx, BaseExpr); 2015 state = createTemporaryRegionIfNeeded(state, LCtx, BaseExpr); 2016 SVal baseExprVal = state->getSVal(BaseExpr, LCtx);
|
/external/clang/lib/Frontend/Rewrite/ |
H A D | RewriteObjC.cpp | 5824 Expr *BaseExpr = IV->getBase(); local 5829 BaseExpr = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(BaseExpr)); 5830 IV->setBase(BaseExpr); 5837 if (BaseExpr->getType()->isObjCObjectPointerType()) { 5839 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType()); 5878 if (BaseExpr->getType()->isObjCObjectPointerType()) { 5880 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType());
|
H A D | RewriteModernObjC.cpp | 7579 Expr *BaseExpr = IV->getBase(); local 7584 BaseExpr = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(BaseExpr)); 7585 IV->setBase(BaseExpr); 7592 if (BaseExpr->getType()->isObjCObjectPointerType()) { 7594 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType()); 7615 BaseExpr);
|