Searched refs:Ivar (Results 1 - 24 of 24) 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
5415 ObjCIvarOffsetVariable(const ObjCInterfaceDecl *ID, const ObjCIvarDecl *Ivar) argument
5433 EmitIvarOffsetVar(const ObjCInterfaceDecl *ID, const ObjCIvarDecl *Ivar, unsigned long int Offset) argument
5486 llvm::Constant *Ivar[5]; local
5769 EmitObjCValueForIvar( CodeGen::CodeGenFunction &CGF, QualType ObjectTy, llvm::Value *BaseValue, const ObjCIvarDecl *Ivar, unsigned CVRQualifiers) argument
5785 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);
2614 const ObjCIvarDecl *Ivar) {
2616 + '.' + Ivar->getNameAsString();
2634 Offset = ComputeIvarBaseOffset(CGM, ID, Ivar);
2661 const ObjCIvarDecl *Ivar,
2665 return EmitValueForIvarAtOffset(CGF, ID, BaseValue, Ivar, CVRQualifiers,
2666 EmitIvarOffset(CGF, ID, Ivar));
2687 const ObjCIvarDecl *Ivar) {
2612 ObjCIvarOffsetVariable( const ObjCInterfaceDecl *ID, const ObjCIvarDecl *Ivar) argument
2658 EmitObjCValueForIvar(CodeGenFunction &CGF, QualType ObjectTy, llvm::Value *BaseValue, const ObjCIvarDecl *Ivar, unsigned CVRQualifiers) argument
2685 EmitIvarOffset(CodeGenFunction &CGF, const ObjCInterfaceDecl *Interface, const ObjCIvarDecl *Ivar) argument
[all...]
H A DCGExpr.cpp2758 const ObjCIvarDecl *Ivar) {
2759 return CGM.getObjCRuntime().EmitIvarOffset(*this, Interface, Ivar);
2764 const ObjCIvarDecl *Ivar,
2767 Ivar, CVRQualifiers);
2757 EmitIvarOffset(const ObjCInterfaceDecl *Interface, const ObjCIvarDecl *Ivar) argument
2762 EmitLValueForIvar(QualType ObjectTy, llvm::Value *BaseValue, const ObjCIvarDecl *Ivar, unsigned CVRQualifiers) argument
H A DCodeGenFunction.h2183 const ObjCIvarDecl *Ivar);
2193 llvm::Value* Base, const ObjCIvarDecl *Ivar,
H A DCGObjC.cpp495 // sizeof (Type of Ivar), isAtomic, false);
1326 ObjCIvarDecl *Ivar = cast<ObjCIvarDecl>(Field); local
1328 LoadObjCSelf(), Ivar, 0);
/external/clang/lib/Sema/
H A DSemaObjCProperty.cpp812 ObjCIvarDecl *Ivar = 0; local
822 Ivar = IDecl->lookupInstanceVariable(PropertyIvar, ClassDeclared);
837 setImpliedPropertyAttributeForReadOnlyProperty(property, Ivar);
867 << PropertyId << (Ivar == 0) << PropertyIvar
874 if (!Ivar) {
922 Ivar = ObjCIvarDecl::Create(Context, ClassImpDecl,
928 Ivar->setInvalidDecl();
929 ClassImpDecl->addDecl(Ivar);
930 IDecl->makeDeclVisibleInContext(Ivar);
931 property->setPropertyIvarDecl(Ivar);
1118 ObjCIvarDecl *Ivar = 0; local
[all...]
H A DSemaAccess.cpp1817 if (ObjCIvarDecl *Ivar = dyn_cast<ObjCIvarDecl>(Decl)) {
1819 if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Public ||
1820 Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Package)
1847 if (declaresSameEntity(ClassOfMethodDecl, Ivar->getContainingInterface()))
1851 if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Private)
1854 return Ivar->getContainingInterface()->isSuperClassOf(ClassOfMethodDecl);
H A DSemaCodeComplete.cpp5957 for (ObjCIvarDecl *Ivar = Class->all_declared_ivar_begin(); Ivar;
5958 Ivar = Ivar->getNextIvar()) {
5959 Results.AddResult(Result(Ivar, 0), CurContext, 0, false);
5963 if ((PropertyName == Ivar->getIdentifier() ||
5964 NameWithPrefix == Ivar->getName() ||
5965 NameWithSuffix == Ivar->getName())) {
5973 Results.data()[Results.size() - 1].Declaration == Ivar)
H A DSemaDeclObjC.cpp1111 // Check interface's Ivar list against those in the implementation.
2209 ObjCIvarDecl* Ivar = *IVI; local
2210 if (Ivar->isInvalidDecl())
2212 if (IdentifierInfo *II = Ivar->getIdentifier()) {
2215 Diag(Ivar->getLocation(), diag::err_duplicate_member) << II;
2217 Ivar->setInvalidDecl();
H A DSemaLookup.cpp934 if (ObjCIvarDecl *Ivar = Class->lookupInstanceVariable(
937 if (NamedDecl *ND = R.getAcceptableDecl(Ivar)) {
3486 if (ObjCIvarDecl *Ivar = Class->lookupInstanceVariable(Name)) {
3487 Res.addDecl(Ivar);
H A DSemaExprObjC.cpp1501 if (ObjCIvarDecl *Ivar =
1503 QualType T = Ivar->getType();
1513 << MemberName << QualType(OPT, 0) << Ivar->getDeclName()
1668 // FIXME: This is a hack. Ivar lookup should be part of normal
H A DSemaDecl.cpp714 if (ObjCIvarDecl *Ivar = Result.getAsSingle<ObjCIvarDecl>()) {
716 ExprResult E(LookupInObjCMethod(Result, S, Ivar->getIdentifier()));
9864 ObjCIvarDecl *Ivar = cast<ObjCIvarDecl>(ivarDecl); local
9866 if (!Ivar->isBitField() || Ivar->getBitWidthValue(Context) == 0)
9882 Ivar = ObjCIvarDecl::Create(Context, cast<ObjCContainerDecl>(CurContext),
9889 AllIvarDecls.push_back(Ivar);
10227 // Ivar declared in @implementation never belongs to the implementation.
H A DTreeTransform.h2302 ExprResult RebuildObjCIvarRefExpr(Expr *BaseArg, ObjCIvarDecl *Ivar, argument
2308 LookupResult R(getSema(), Ivar->getDeclName(), IvarLoc,
H A DSemaExpr.cpp1800 if (ObjCIvarDecl *Ivar = R.getAsSingle<ObjCIvarDecl>()) {
1802 ExprResult E(LookupInObjCMethod(R, S, Ivar->getIdentifier()));
/external/clang/lib/ARCMigrate/
H A DTransProperties.cpp302 ObjCIvarDecl *Ivar; member in class:__anon3457::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))
927 // Ivar's can only appear in interfaces, implementations (via synthesized
H A DASTImporter.cpp3574 ObjCIvarDecl *Ivar = 0;
3576 Ivar = cast_or_null<ObjCIvarDecl>(
3578 if (!Ivar)
3590 Ivar,
3613 Ivar != ToImpl->getPropertyIvarDecl()) {
3618 << Ivar->getDeclName();
/external/clang/include/clang/AST/
H A DDeclObjC.h1071 /// NextIvar - Next Ivar in the list of ivars declared in class; class's
1875 void setPropertyIvarDecl(ObjCIvarDecl *Ivar) { argument
1876 PropertyIvarDecl = Ivar;
1970 void setPropertyIvarDecl(ObjCIvarDecl *Ivar, argument
1972 PropertyIvarDecl = Ivar;
/external/clang/tools/libclang/
H A DCIndex.cpp1086 if (ObjCIvarDecl *Ivar = PD->getPropertyIvarDecl())
1088 return Visit(MakeCursorMemberRef(Ivar, PD->getPropertyIvarDeclLoc(), TU));
2977 if (ObjCIvarRefExpr *Ivar = dyn_cast<ObjCIvarRefExpr>(E))
2978 return Ivar->getLocation();

Completed in 492 milliseconds