HomeSort by: relevance | last modified time | path
    Searched refs:BaseExpr (Results 1 - 20 of 20) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaExprMember.cpp 477 Sema::ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType,
497 assert(BaseExpr && "cannot happen with implicit member accesses");
499 << BaseType << BaseExpr->getSourceRange() << NameInfo.getSourceRange();
508 // Get the type being accessed in BaseType. If this is an arrow, the BaseExpr
511 Context, BaseExpr, BaseType, IsArrow, OpLoc,
520 Expr *BaseExpr,
527 if (!BaseExpr)
546 bool Sema::CheckQualifiedMemberReference(Expr *BaseExpr,
562 if (!BaseExpr && !(*I)->isCXXInstanceMember())
579 DiagnoseQualifiedMemberReference(*this, BaseExpr, BaseType, SS
    [all...]
SemaPseudoObject.cpp 1141 Expr *BaseExpr = RefExpr->getBaseExpr();
1142 QualType BaseT = BaseExpr->getType();
1160 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_base_type)
1161 << BaseExpr->getType() << arrayRef;
1208 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_method_not_found)
1209 << BaseExpr->getType() << 0 << arrayRef;
1244 Expr *BaseExpr = RefExpr->getBaseExpr();
1245 QualType BaseT = BaseExpr->getType();
1264 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_base_type)
1265 << BaseExpr->getType() << arrayRef
    [all...]
SemaExprObjC.cpp 763 ExprResult Sema::BuildObjCSubscriptExpression(SourceLocation RB, Expr *BaseExpr,
771 assert((!BaseExpr->isTypeDependent() && !IndexExpr->isTypeDependent()) &&
782 Result = DefaultLvalueConversion(BaseExpr);
785 BaseExpr = Result.get();
789 BaseExpr, IndexExpr, Context.PseudoObjectTy, VK_LValue, OK_ObjCSubscript,
1977 Expr *BaseExpr, SourceLocation OpLoc,
1994 : BaseExpr->getSourceRange();
2012 OK_ObjCProperty, MemberLoc, BaseExpr);
2029 OK_ObjCProperty, MemberLoc, BaseExpr);
2099 OK_ObjCProperty, MemberLoc, BaseExpr);
    [all...]
SemaExpr.cpp 5470 Expr *BaseExpr, *IndexExpr;
5473 BaseExpr = LHSExp;
5477 BaseExpr = LHSExp;
5482 BaseExpr = LHSExp;
5488 return BuildObjCSubscriptExpression(RLoc, BaseExpr, IndexExpr, nullptr,
5494 BaseExpr = RHSExp;
5500 BaseExpr = RHSExp;
5505 << ResultType << BaseExpr->getSourceRange();
5509 BaseExpr = LHSExp; // vectors: V[123]
5523 QualType BaseType = BaseExpr->getType()
    [all...]
SemaOpenMP.cpp 5652 Expr *BaseExpr = OE;
5655 BaseExpr = S.BuildMemberExpr(
5656 BaseExpr, /*IsArrow=*/false, E->getExprLoc(),
5661 BaseExpr = S.DefaultLvalueConversion(BaseExpr).get();
5665 BaseExpr = S.BuildMemberExpr(
5666 BaseExpr, /*IsArrow=*/false, E->getExprLoc(),
5671 SubExprs.push_back(BaseExpr);
SemaInit.cpp 8645 Expr *BaseExpr = new (S.Context)
8651 BaseExpr, Kind.getLocation(), IndexExpr, Kind.getLocation());
8652 ArrayLoopCommonExprs.push_back(BaseExpr);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
ConstantHoisting.h 118 ConstantExpr *BaseExpr;
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
ConstantHoisting.cpp 641 ConstInfo.BaseExpr = ConstExpr;
887 if (ConstInfo.BaseExpr) {
889 Type *Ty = ConstInfo.BaseExpr->getType();
890 Base = new BitCastInst(ConstInfo.BaseExpr, Ty, "const", IP);
StraightLineStrengthReduce.cpp 549 const SCEV *BaseExpr = SE->getGEPExpr(cast<GEPOperator>(GEP), IndexExprs);
556 factorArrayIndex(ArrayIdx, BaseExpr, ElementSize, GEP);
567 factorArrayIndex(TruncatedArrayIdx, BaseExpr, ElementSize, GEP);
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGExprCXX.cpp 127 Expr *BaseExpr = E->getBase();
133 BaseValue = EmitPointerWithAlignment(BaseExpr);
134 const auto *PTy = BaseExpr->getType()->castAs<PointerType>();
137 LValue BaseLV = EmitLValue(BaseExpr);
139 QualType BaseTy = BaseExpr->getType();
435 const Expr *BaseExpr = BO->getLHS();
446 This = EmitPointerWithAlignment(BaseExpr);
448 This = EmitLValue(BaseExpr).getAddress(*this);
CGExpr.cpp 4143 Expr *BaseExpr = E->getBase();
4149 Address Addr = EmitPointerWithAlignment(BaseExpr, &BaseInfo, &TBAAInfo);
4150 QualType PtrTy = BaseExpr->getType()->getPointeeType();
4152 bool IsBaseCXXThis = IsWrappedCXXThis(BaseExpr);
4155 if (IsBaseCXXThis || isa<DeclRefExpr>(BaseExpr))
4161 BaseLV = EmitCheckedLValue(BaseExpr, TCK_MemberAccess);
4171 if ((IsWrappedCXXThis(BaseExpr) &&
5091 const Expr *BaseExpr = E->getBase();
5095 BaseValue = EmitScalarExpr(BaseExpr);
5096 ObjectTy = BaseExpr->getType()->getPointeeType()
    [all...]
CGExprScalar.cpp 4834 Expr *BaseExpr = E->getBase();
4836 if (BaseExpr->isRValue()) {
4837 Addr = Address(EmitScalarExpr(BaseExpr), getPointerAlign());
4839 Addr = EmitLValue(BaseExpr).getAddress(*this);
CGOpenMPRuntime.cpp 7802 const Expr *BaseExpr = E->getBase();
7810 CGF.EmitPointerWithAlignment(BaseExpr, &BaseInfo, &TBAAInfo);
7811 QualType PtrTy = BaseExpr->getType()->getPointeeType();
7814 BaseLV = CGF.EmitOMPSharedLValue(BaseExpr);
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
ExprCXX.h 924 Expr *BaseExpr;
933 MSPropertyRefExpr(Expr *baseExpr, MSPropertyDecl *decl, bool isArrow,
936 : Expr(MSPropertyRefExprClass, ty, VK, OK_Ordinary), BaseExpr(baseExpr),
954 return BaseExpr->getBeginLoc();
964 return child_range((Stmt**)&BaseExpr, (Stmt**)&BaseExpr + 1);
976 Expr *getBaseExpr() const { return BaseExpr; }
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
RewriteObjC.cpp 5808 Expr *BaseExpr = IV->getBase();
5813 BaseExpr = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(BaseExpr));
5814 IV->setBase(BaseExpr);
5821 if (BaseExpr->getType()->isObjCObjectPointerType()) {
5823 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType());
5863 if (BaseExpr->getType()->isObjCObjectPointerType()) {
5865 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType());
RewriteModernObjC.cpp 7454 Expr *BaseExpr = IV->getBase();
7459 BaseExpr = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(BaseExpr));
7460 IV->setBase(BaseExpr);
7467 if (BaseExpr->getType()->isObjCObjectPointerType()) {
7469 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType());
7490 BaseExpr);
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
ExprEngine.cpp 2681 Expr *BaseExpr = M->getBase();
2686 state = createTemporaryRegionIfNeeded(state, LCtx, BaseExpr);
2697 state = createTemporaryRegionIfNeeded(state, LCtx, BaseExpr,
2701 MR ? loc::MemRegionVal(MR) : state->getSVal(BaseExpr, LCtx);
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
Sema.h 5319 ExprResult BuildFieldReferenceExpr(Expr *BaseExpr, bool IsArrow,
5327 bool CheckQualifiedMemberReference(Expr *BaseExpr, QualType BaseType,
6864 ExprResult BuildObjCSubscriptExpression(SourceLocation RB, Expr *BaseExpr,
9703 Expr *BaseExpr,
12397 void CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr,
  /src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTReaderStmt.cpp 2205 E->BaseExpr = Record.readSubExpr();
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
ScalarEvolution.cpp 3441 const SCEV *BaseExpr = getSCEV(GEP->getPointerOperand());
3444 Type *IntIdxTy = getEffectiveSCEVType(BaseExpr->getType());
3490 return BaseExpr;
3499 return getAddExpr(BaseExpr, Offset, BaseWrap);

Completed in 107 milliseconds