/external/clang/lib/Sema/ |
D | SemaExprMember.cpp | 457 Sema::ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, in ActOnDependentMemberExpr() argument 477 assert(BaseExpr && "cannot happen with implicit member accesses"); in ActOnDependentMemberExpr() 479 << BaseType << BaseExpr->getSourceRange() << NameInfo.getSourceRange(); in ActOnDependentMemberExpr() 491 Context, BaseExpr, BaseType, IsArrow, OpLoc, in ActOnDependentMemberExpr() 500 Expr *BaseExpr, in DiagnoseQualifiedMemberReference() argument 507 if (!BaseExpr) in DiagnoseQualifiedMemberReference() 526 bool Sema::CheckQualifiedMemberReference(Expr *BaseExpr, in CheckQualifiedMemberReference() argument 542 if (!BaseExpr && !(*I)->isCXXInstanceMember()) in CheckQualifiedMemberReference() 559 DiagnoseQualifiedMemberReference(*this, BaseExpr, BaseType, SS, in CheckQualifiedMemberReference() 615 Expr *BaseExpr, in LookupMemberExprInRecord() argument [all …]
|
D | SemaPseudoObject.cpp | 1136 Expr *BaseExpr = RefExpr->getBaseExpr(); in findAtIndexGetter() local 1137 QualType BaseT = BaseExpr->getType(); in findAtIndexGetter() 1155 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_base_type) in findAtIndexGetter() 1156 << BaseExpr->getType() << arrayRef; in findAtIndexGetter() 1206 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_method_not_found) in findAtIndexGetter() 1207 << BaseExpr->getType() << 0 << arrayRef; in findAtIndexGetter() 1242 Expr *BaseExpr = RefExpr->getBaseExpr(); in findAtIndexSetter() local 1243 QualType BaseT = BaseExpr->getType(); in findAtIndexSetter() 1262 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_base_type) in findAtIndexSetter() 1263 << BaseExpr->getType() << arrayRef; in findAtIndexSetter() [all …]
|
D | SemaExprObjC.cpp | 736 ExprResult Sema::BuildObjCSubscriptExpression(SourceLocation RB, Expr *BaseExpr, in BuildObjCSubscriptExpression() argument 744 assert((!BaseExpr->isTypeDependent() && !IndexExpr->isTypeDependent()) && in BuildObjCSubscriptExpression() 755 Result = DefaultLvalueConversion(BaseExpr); in BuildObjCSubscriptExpression() 758 BaseExpr = Result.get(); in BuildObjCSubscriptExpression() 762 BaseExpr, IndexExpr, Context.PseudoObjectTy, VK_LValue, OK_ObjCSubscript, in BuildObjCSubscriptExpression() 1757 Expr *BaseExpr, SourceLocation OpLoc, in HandleExprPropertyRefExpr() argument 1774 : BaseExpr->getSourceRange(); in HandleExprPropertyRefExpr() 1792 OK_ObjCProperty, MemberLoc, BaseExpr); in HandleExprPropertyRefExpr() 1809 OK_ObjCProperty, MemberLoc, BaseExpr); in HandleExprPropertyRefExpr() 1878 OK_ObjCProperty, MemberLoc, BaseExpr); in HandleExprPropertyRefExpr() [all …]
|
D | SemaChecking.cpp | 9574 void Sema::CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr, in CheckArrayAccess() argument 9582 BaseExpr->getType()->getPointeeOrArrayElementType(); in CheckArrayAccess() 9583 BaseExpr = BaseExpr->IgnoreParenCasts(); in CheckArrayAccess() 9585 Context.getAsConstantArrayType(BaseExpr->getType()); in CheckArrayAccess() 9596 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BaseExpr)) in CheckArrayAccess() 9598 if (const MemberExpr *ME = dyn_cast<MemberExpr>(BaseExpr)) in CheckArrayAccess() 9606 const Type *BaseType = BaseExpr->getType()->getPointeeOrArrayElementType(); in CheckArrayAccess() 9659 DiagRuntimeBehavior(BaseExpr->getLocStart(), BaseExpr, in CheckArrayAccess() 9671 DiagRuntimeBehavior(BaseExpr->getLocStart(), BaseExpr, in CheckArrayAccess() 9679 dyn_cast<ArraySubscriptExpr>(BaseExpr)) in CheckArrayAccess() [all …]
|
D | SemaExpr.cpp | 4382 Expr *BaseExpr, *IndexExpr; in CreateBuiltinArraySubscriptExpr() local 4385 BaseExpr = LHSExp; in CreateBuiltinArraySubscriptExpr() 4389 BaseExpr = LHSExp; in CreateBuiltinArraySubscriptExpr() 4394 BaseExpr = LHSExp; in CreateBuiltinArraySubscriptExpr() 4400 return BuildObjCSubscriptExpression(RLoc, BaseExpr, IndexExpr, nullptr, in CreateBuiltinArraySubscriptExpr() 4406 BaseExpr = RHSExp; in CreateBuiltinArraySubscriptExpr() 4412 BaseExpr = RHSExp; in CreateBuiltinArraySubscriptExpr() 4417 << ResultType << BaseExpr->getSourceRange(); in CreateBuiltinArraySubscriptExpr() 4421 BaseExpr = LHSExp; // vectors: V[123] in CreateBuiltinArraySubscriptExpr() 4441 BaseExpr = LHSExp; in CreateBuiltinArraySubscriptExpr() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 502 const SCEV *BaseExpr = SE->getGEPExpr(GEP->getSourceElementType(), in allocateCandidatesAndFindBasisForGEP() local 511 factorArrayIndex(ArrayIdx, BaseExpr, ElementSize, GEP); in allocateCandidatesAndFindBasisForGEP() 522 factorArrayIndex(TruncatedArrayIdx, BaseExpr, ElementSize, GEP); in allocateCandidatesAndFindBasisForGEP()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 538 const SCEV *BaseExpr = SE->getGEPExpr(cast<GEPOperator>(GEP), IndexExprs); in allocateCandidatesAndFindBasisForGEP() local 545 factorArrayIndex(ArrayIdx, BaseExpr, ElementSize, GEP); in allocateCandidatesAndFindBasisForGEP() 556 factorArrayIndex(TruncatedArrayIdx, BaseExpr, ElementSize, GEP); in allocateCandidatesAndFindBasisForGEP()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 3243 Expr *BaseExpr = E->getBase(); in EmitMemberExpr() local 3249 Address Addr = EmitPointerWithAlignment(BaseExpr, &AlignSource); in EmitMemberExpr() 3250 QualType PtrTy = BaseExpr->getType()->getPointeeType(); in EmitMemberExpr() 3254 BaseLV = EmitCheckedLValue(BaseExpr, TCK_MemberAccess); in EmitMemberExpr() 3762 Expr *BaseExpr = PseudoDtor->getBase(); in EmitCallExpr() local 3768 BaseValue = EmitPointerWithAlignment(BaseExpr); in EmitCallExpr() 3769 const PointerType *PTy = BaseExpr->getType()->getAs<PointerType>(); in EmitCallExpr() 3772 LValue BaseLV = EmitLValue(BaseExpr); in EmitCallExpr() 3774 QualType BaseTy = BaseExpr->getType(); in EmitCallExpr() 3956 const Expr *BaseExpr = E->getBase(); in EmitObjCIvarRefLValue() local [all …]
|
D | CGExprCXX.cpp | 289 const Expr *BaseExpr = BO->getLHS(); in EmitCXXMemberPointerCallExpr() local 306 This = EmitPointerWithAlignment(BaseExpr); in EmitCXXMemberPointerCallExpr() 308 This = EmitLValue(BaseExpr).getAddress(); in EmitCXXMemberPointerCallExpr()
|
D | CGExprScalar.cpp | 3483 Expr *BaseExpr = E->getBase(); in EmitObjCIsaExpr() local 3485 if (BaseExpr->isRValue()) { in EmitObjCIsaExpr() 3486 Addr = Address(EmitScalarExpr(BaseExpr), getPointerAlign()); in EmitObjCIsaExpr() 3488 Addr = EmitLValue(BaseExpr).getAddress(); in EmitObjCIsaExpr()
|
/external/clang/include/clang/AST/ |
D | ExprCXX.h | 664 Expr *BaseExpr; variable 679 BaseExpr(baseExpr), TheDecl(decl), in MSPropertyRefExpr() 693 return BaseExpr->getLocStart(); in getLocStart() 702 return child_range((Stmt**)&BaseExpr, (Stmt**)&BaseExpr + 1); in children() 708 Expr *getBaseExpr() const { return BaseExpr; } in getBaseExpr()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 5803 Expr *BaseExpr = IV->getBase(); in RewriteObjCIvarRefExpr() local 5808 BaseExpr = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(BaseExpr)); in RewriteObjCIvarRefExpr() 5809 IV->setBase(BaseExpr); in RewriteObjCIvarRefExpr() 5816 if (BaseExpr->getType()->isObjCObjectPointerType()) { in RewriteObjCIvarRefExpr() 5818 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType()); in RewriteObjCIvarRefExpr() 5857 if (BaseExpr->getType()->isObjCObjectPointerType()) { in RewriteObjCIvarRefExpr() 5859 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType()); in RewriteObjCIvarRefExpr()
|
D | RewriteModernObjC.cpp | 7454 Expr *BaseExpr = IV->getBase(); in RewriteObjCIvarRefExpr() local 7459 BaseExpr = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(BaseExpr)); in RewriteObjCIvarRefExpr() 7460 IV->setBase(BaseExpr); in RewriteObjCIvarRefExpr() 7467 if (BaseExpr->getType()->isObjCObjectPointerType()) { in RewriteObjCIvarRefExpr() 7469 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType()); in RewriteObjCIvarRefExpr() 7490 BaseExpr); in RewriteObjCIvarRefExpr()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngine.cpp | 2024 Expr *BaseExpr = M->getBase(); in VisitMemberExpr() local 2029 state = createTemporaryRegionIfNeeded(state, LCtx, BaseExpr); in VisitMemberExpr() 2039 state = createTemporaryRegionIfNeeded(state, LCtx, BaseExpr); in VisitMemberExpr() 2040 SVal baseExprVal = state->getSVal(BaseExpr, LCtx); in VisitMemberExpr()
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 1241 const SCEV *getGEPExpr(Type *PointeeType, const SCEV *BaseExpr,
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3966 bool CheckQualifiedMemberReference(Expr *BaseExpr, QualType BaseType, 5227 ExprResult BuildObjCSubscriptExpression(SourceLocation RB, Expr *BaseExpr, 7567 Expr *BaseExpr, 9330 void CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr,
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 2973 ScalarEvolution::getGEPExpr(Type *PointeeType, const SCEV *BaseExpr, in getGEPExpr() argument 2978 Type *IntPtrTy = getEffectiveSCEVType(BaseExpr->getType()); in getGEPExpr() 3020 return getAddExpr(BaseExpr, TotalOffset, Wrap); in getGEPExpr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 3442 const SCEV *BaseExpr = getSCEV(GEP->getPointerOperand()); in getGEPExpr() local 3445 Type *IntPtrTy = getEffectiveSCEVType(BaseExpr->getType()); in getGEPExpr() 3488 return getAddExpr(BaseExpr, TotalOffset, Wrap); in getGEPExpr()
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 1679 E->BaseExpr = Reader.ReadSubExpr(); in VisitMSPropertyRefExpr()
|