Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Ivar

761   // gc ivar layout bitmap calculation helper caches.
855 /// BuildIvarLayout - Builds ivar layout bitmap for the class
874 /// ivar layout bitmap.
982 /// to store the weak ivar layout and properties. The return value
999 /// EmitIvarList - Emit the ivar list for the given
1158 const ObjCIvarDecl *Ivar,
1162 const ObjCIvarDecl *Ivar);
1226 /// EmitIvarList - Emit the ivar list for the given
1234 const ObjCIvarDecl *Ivar,
1288 /// ObjCIvarOffsetVariable - Returns the ivar offset variable for
1289 /// the given ivar.
1293 const ObjCIvarDecl *Ivar);
1432 const ObjCIvarDecl *Ivar,
1436 const ObjCIvarDecl *Ivar);
1659 // isa" is the first ivar in a class (which it must be).
2626 // When emitting the root class GCC emits ivar entries for the
2641 llvm::Constant *Ivar[] = {
2647 Ivars.push_back(llvm::ConstantStruct::get(ObjCTypes.IvarTy, Ivar));
3575 /// EmitObjCValueForIvar - Code Gen for ivar reference.
3580 const ObjCIvarDecl *Ivar,
3584 return EmitValueForIvarAtOffset(CGF, ID, BaseValue, Ivar, CVRQualifiers,
3585 EmitIvarOffset(CGF, ID, Ivar));
3590 const ObjCIvarDecl *Ivar) {
3591 uint64_t Offset = ComputeIvarBaseOffset(CGM, Interface, Ivar);
3800 /// ivar layout bitmap.
3985 /// the computations and returning the layout bitmap (for ivar or blocks) in
4044 // Compute number of bytes to skip at the tail end of the last ivar scanned.
4114 /// BuildIvarLayout - Builds ivar layout bitmap for the class
4116 /// The layout map displays which words in ivar list must be skipped
4165 // the ivar list.
4175 printf("\n%s ivar layout for class '%s': ",
4658 // unsigned long int *offset; // pointer to ivar offset location
5398 /// ObjCIvarOffsetVariable - Returns the ivar offset variable for
5399 /// the given ivar.
5402 const ObjCIvarDecl *Ivar) {
5403 const ObjCInterfaceDecl *Container = Ivar->getContainingInterface();
5405 '.' + Ivar->getNameAsString();
5420 const ObjCIvarDecl *Ivar,
5422 llvm::GlobalVariable *IvarOffsetGV = ObjCIvarOffsetVariable(ID, Ivar);
5430 if (Ivar->getAccessControl() == ObjCIvarDecl::Private ||
5431 Ivar->getAccessControl() == ObjCIvarDecl::Package ||
5440 /// EmitIvarList - Emit the ivar list for the given
5444 /// unsigned long int *offset; // pointer to ivar offset location
5472 llvm::Constant *Ivar[5];
5473 Ivar[0] = EmitIvarOffsetVar(ID->getClassInterface(), IVD,
5475 Ivar[1] = GetMethodVarName(IVD->getIdentifier());
5476 Ivar[2] = GetMethodVarType(IVD);
5483 Ivar[3] = llvm::ConstantInt::get(ObjCTypes.IntTy, Align);
5489 Ivar[4] = llvm::ConstantInt::get(ObjCTypes.IntTy, Size);
5490 Ivars.push_back(llvm::ConstantStruct::get(ObjCTypes.IvarnfABITy, Ivar));
5749 /// EmitObjCValueForIvar - Code Gen for nonfragile ivar reference.
5752 /// (type *)((char *)base + _OBJC_IVAR_$_.ivar;
5759 const ObjCIvarDecl *Ivar,
5762 llvm::Value *Offset = EmitIvarOffset(CGF, ID, Ivar);
5767 return EmitValueForIvarAtOffset(CGF, ID, BaseValue, Ivar, CVRQualifiers,
5774 const ObjCIvarDecl *Ivar) {
5775 return CGF.Builder.CreateLoad(ObjCIvarOffsetVariable(Interface, Ivar),"ivar");