Searched refs:Ivar (Results 1 - 25 of 25) sorted by relevance

/external/webkit/Source/WebCore/bridge/objc/
H A Dobjc_header.h38 typedef Ivar IvarStructPtr;
H A Dobjc_runtime.mm78 ObjcField::ObjcField(Ivar ivar)
/external/clang/lib/CodeGen/
H A DCGObjCRuntime.cpp34 const ObjCIvarDecl *Ivar) {
35 const ObjCInterfaceDecl *Container = Ivar->getContainingInterface();
58 if (Ivar == IVD)
62 assert(Index < RL->getFieldCount() && "Ivar is not inside record layout!");
69 const ObjCIvarDecl *Ivar) {
70 return LookupFieldBitOffset(CGM, OID, 0, Ivar) /
76 const ObjCIvarDecl *Ivar) {
77 return LookupFieldBitOffset(CGM, OID->getClassInterface(), OID, Ivar) /
84 const ObjCIvarDecl *Ivar,
89 QualType IvarTy = Ivar
31 LookupFieldBitOffset(CodeGen::CodeGenModule &CGM, const ObjCInterfaceDecl *OID, const ObjCImplementationDecl *ID, const ObjCIvarDecl *Ivar) argument
67 ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, const ObjCInterfaceDecl *OID, const ObjCIvarDecl *Ivar) argument
74 ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, const ObjCImplementationDecl *OID, const ObjCIvarDecl *Ivar) argument
81 EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF, const ObjCInterfaceDecl *OID, llvm::Value *BaseValue, const ObjCIvarDecl *Ivar, unsigned CVRQualifiers, llvm::Value *Offset) argument
[all...]
H A DCGObjCRuntime.h81 const ObjCIvarDecl *Ivar);
84 const ObjCIvarDecl *Ivar);
89 const ObjCIvarDecl *Ivar,
253 const ObjCIvarDecl *Ivar,
257 const ObjCIvarDecl *Ivar) = 0;
H A DCGValue.h134 bool Ivar:1;
165 this->Ivar = this->ObjIsArray = this->NonGC = this->GlobalObjCRef = false;
189 bool isObjCIvar() const { return Ivar; }
190 void setObjCIvar(bool Value) { Ivar = Value; }
H A DCGObjCMac.cpp1158 const ObjCIvarDecl *Ivar,
1162 const ObjCIvarDecl *Ivar);
1234 const ObjCIvarDecl *Ivar,
1293 const ObjCIvarDecl *Ivar);
1432 const ObjCIvarDecl *Ivar,
1436 const ObjCIvarDecl *Ivar);
2641 llvm::Constant *Ivar[] = { local
2647 Ivars.push_back(llvm::ConstantStruct::get(ObjCTypes.IvarTy, Ivar));
3580 const ObjCIvarDecl *Ivar,
3584 return EmitValueForIvarAtOffset(CGF, ID, BaseValue, Ivar, CVRQualifier
3577 EmitObjCValueForIvar(CodeGen::CodeGenFunction &CGF, QualType ObjectTy, llvm::Value *BaseValue, const ObjCIvarDecl *Ivar, unsigned CVRQualifiers) argument
3588 EmitIvarOffset(CodeGen::CodeGenFunction &CGF, const ObjCInterfaceDecl *Interface, const ObjCIvarDecl *Ivar) argument
5401 ObjCIvarOffsetVariable(const ObjCInterfaceDecl *ID, const ObjCIvarDecl *Ivar) argument
5419 EmitIvarOffsetVar(const ObjCInterfaceDecl *ID, const ObjCIvarDecl *Ivar, unsigned long int Offset) argument
5472 llvm::Constant *Ivar[5]; local
5755 EmitObjCValueForIvar( CodeGen::CodeGenFunction &CGF, QualType ObjectTy, llvm::Value *BaseValue, const ObjCIvarDecl *Ivar, unsigned CVRQualifiers) argument
5771 EmitIvarOffset( CodeGen::CodeGenFunction &CGF, const ObjCInterfaceDecl *Interface, const ObjCIvarDecl *Ivar) argument
[all...]
H A DCGObjCGNU.cpp397 const ObjCIvarDecl *Ivar);
507 const ObjCIvarDecl *Ivar,
511 const ObjCIvarDecl *Ivar);
2569 const ObjCIvarDecl *Ivar) {
2571 + '.' + Ivar->getNameAsString();
2589 Offset = ComputeIvarBaseOffset(CGM, ID, Ivar);
2616 const ObjCIvarDecl *Ivar,
2620 return EmitValueForIvarAtOffset(CGF, ID, BaseValue, Ivar, CVRQualifiers,
2621 EmitIvarOffset(CGF, ID, Ivar));
2642 const ObjCIvarDecl *Ivar) {
2567 ObjCIvarOffsetVariable( const ObjCInterfaceDecl *ID, const ObjCIvarDecl *Ivar) argument
2613 EmitObjCValueForIvar(CodeGenFunction &CGF, QualType ObjectTy, llvm::Value *BaseValue, const ObjCIvarDecl *Ivar, unsigned CVRQualifiers) argument
2640 EmitIvarOffset(CodeGenFunction &CGF, const ObjCInterfaceDecl *Interface, const ObjCIvarDecl *Ivar) argument
[all...]
H A DCGExpr.cpp2589 const ObjCIvarDecl *Ivar) {
2590 return CGM.getObjCRuntime().EmitIvarOffset(*this, Interface, Ivar);
2595 const ObjCIvarDecl *Ivar,
2598 Ivar, CVRQualifiers);
2588 EmitIvarOffset(const ObjCInterfaceDecl *Interface, const ObjCIvarDecl *Ivar) argument
2593 EmitLValueForIvar(QualType ObjectTy, llvm::Value *BaseValue, const ObjCIvarDecl *Ivar, unsigned CVRQualifiers) argument
H A DCodeGenFunction.h2145 const ObjCIvarDecl *Ivar);
2158 llvm::Value* Base, const ObjCIvarDecl *Ivar,
H A DCGObjC.cpp495 // sizeof (Type of Ivar), isAtomic, false);
1309 ObjCIvarDecl *Ivar = cast<ObjCIvarDecl>(Field); local
1311 LoadObjCSelf(), Ivar, 0);
/external/clang/lib/Sema/
H A DSemaObjCProperty.cpp656 ObjCIvarDecl *Ivar = 0; local
664 Ivar = IDecl->lookupInstanceVariable(PropertyIvar, ClassDeclared);
672 setImpliedPropertyAttributeForReadOnlyProperty(property, Ivar);
691 if (!Ivar) {
737 Ivar = ObjCIvarDecl::Create(Context, ClassImpDecl,
742 ClassImpDecl->addDecl(Ivar);
743 IDecl->makeDeclVisibleInContext(Ivar);
744 property->setPropertyIvarDecl(Ivar);
753 << property->getDeclName() << Ivar->getDeclName()
755 Diag(Ivar
925 ObjCIvarDecl *Ivar = 0; local
[all...]
H A DSemaAccess.cpp1797 if (ObjCIvarDecl *Ivar = dyn_cast<ObjCIvarDecl>(Decl)) {
1799 if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Public ||
1800 Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Package)
1827 if (declaresSameEntity(ClassOfMethodDecl, Ivar->getContainingInterface()))
1831 if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Private)
1834 return Ivar->getContainingInterface()->isSuperClassOf(ClassOfMethodDecl);
H A DSemaCodeComplete.cpp5899 for (ObjCIvarDecl *Ivar = Class->all_declared_ivar_begin(); Ivar;
5900 Ivar = Ivar->getNextIvar()) {
5901 Results.AddResult(Result(Ivar, 0), CurContext, 0, false);
5905 if ((PropertyName == Ivar->getIdentifier() ||
5906 NameWithPrefix == Ivar->getName() ||
5907 NameWithSuffix == Ivar->getName())) {
5915 Results.data()[Results.size() - 1].Declaration == Ivar)
H A DSemaDeclObjC.cpp1059 // Check interface's Ivar list against those in the implementation.
2189 ObjCIvarDecl* Ivar = (*IVI); local
2190 if (Ivar->isInvalidDecl())
2192 if (IdentifierInfo *II = Ivar->getIdentifier()) {
2195 Diag(Ivar->getLocation(), diag::err_duplicate_member) << II;
2197 Ivar->setInvalidDecl();
H A DSemaLookup.cpp934 if (ObjCIvarDecl *Ivar = Class->lookupInstanceVariable(
937 if (NamedDecl *ND = R.getAcceptableDecl(Ivar)) {
3495 if (ObjCIvarDecl *Ivar = Class->lookupInstanceVariable(Name)) {
3496 Res.addDecl(Ivar);
H A DSemaExprObjC.cpp1472 if (ObjCIvarDecl *Ivar =
1474 QualType T = Ivar->getType();
1484 << MemberName << QualType(OPT, 0) << Ivar->getDeclName()
1639 // FIXME: This is a hack. Ivar lookup should be part of normal
H A DSemaDecl.cpp632 if (ObjCIvarDecl *Ivar = Result.getAsSingle<ObjCIvarDecl>()) {
634 ExprResult E(LookupInObjCMethod(Result, S, Ivar->getIdentifier()));
9460 ObjCIvarDecl *Ivar = cast<ObjCIvarDecl>(ivarDecl); local
9462 if (!Ivar->isBitField() || Ivar->getBitWidthValue(Context) == 0)
9478 Ivar = ObjCIvarDecl::Create(Context, cast<ObjCContainerDecl>(CurContext),
9485 AllIvarDecls.push_back(Ivar);
9820 // Ivar declared in @implementation never belongs to the implementation.
H A DSemaExpr.cpp1694 if (ObjCIvarDecl *Ivar = R.getAsSingle<ObjCIvarDecl>()) {
1696 ExprResult E(LookupInObjCMethod(R, S, Ivar->getIdentifier()));
H A DTreeTransform.h2309 ExprResult RebuildObjCIvarRefExpr(Expr *BaseArg, ObjCIvarDecl *Ivar, argument
2315 LookupResult R(getSema(), Ivar->getDeclName(), IvarLoc,
/external/clang/lib/ARCMigrate/
H A DTransProperties.cpp302 ObjCIvarDecl *Ivar; member in class:__anon3028::PropertiesRewriter::PlusOneAssign
304 PlusOneAssign(ObjCIvarDecl *D) : Ivar(D) {}
309 if (RE->getDecl() != Ivar)
/external/clang/lib/AST/
H A DDeclObjC.cpp55 lookup_const_iterator Ivar, IvarEnd; local
56 for (llvm::tie(Ivar, IvarEnd) = lookup(Id); Ivar != IvarEnd; ++Ivar) {
57 if (ObjCIvarDecl *ivar = dyn_cast<ObjCIvarDecl>(*Ivar))
901 // Ivar's can only appear in interfaces, implementations (via synthesized
H A DASTImporter.cpp3593 ObjCIvarDecl *Ivar = 0;
3595 Ivar = cast_or_null<ObjCIvarDecl>(
3597 if (!Ivar)
3609 Ivar,
3632 Ivar != ToImpl->getPropertyIvarDecl()) {
3637 << Ivar->getDeclName();
/external/clang/include/clang/AST/
H A DDeclObjC.h1039 /// NextIvar - Next Ivar in the list of ivars declared in class; class's
1866 void setPropertyIvarDecl(ObjCIvarDecl *Ivar) { argument
1867 PropertyIvarDecl = Ivar;
1960 void setPropertyIvarDecl(ObjCIvarDecl *Ivar, argument
1962 PropertyIvarDecl = Ivar;
/external/clang/tools/libclang/
H A DCIndex.cpp1069 if (ObjCIvarDecl *Ivar = PD->getPropertyIvarDecl())
1070 return Visit(MakeCursorMemberRef(Ivar, PD->getPropertyIvarDeclLoc(), TU));
2943 if (ObjCIvarRefExpr *Ivar = dyn_cast<ObjCIvarRefExpr>(E))
2944 return Ivar->getLocation();
/external/clang/lib/Rewrite/
H A DRewriteModernObjC.cpp992 ObjCIvarDecl *Ivar = (*I); local
993 SourceLocation LocStart = Ivar->getLocStart();
1228 ObjCIvarDecl *Ivar = (*I); local
1229 SourceLocation LocStart = Ivar->getLocStart();
6430 if (Ivar->getAccessControl() == ObjCIvarDecl::Private ||
6431 Ivar->getAccessControl() == ObjCIvarDecl::Package ||

Completed in 7095 milliseconds