Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:Size

407     // void *objc_memmove_collectable(void *dst, const void *src, size_t size)
743 GC_IVAR(unsigned bytepos = 0, unsigned size = 0)
744 : ivar_bytepos(bytepos), ivar_size(size) {}
775 /// subsequent word-size instructions do not begin at a multiple of
776 /// the pointer size.
781 /// when the required skip quantity is a multiple of the pointer size.
819 CharUnits Size = CharUnits::Zero())
820 : opcode(Opcode), block_var_bytepos(BytePos), block_var_size(Size) {}
1252 llvm::Value *size) override;
1547 llvm::Value *size) override;
1975 IvarsInfo.push_back(GC_IVAR(fieldOffset, /*size in words*/ 1));
2009 for (unsigned i = 0, e = BitMap.size(); i < e; i++)
2074 for (unsigned i = 0, e = RecFields.size(); i != e; ++i) {
2104 assert(CArray && "only array with known element size is supported");
2113 int OldIndex = RunSkipBlockVars.size() - 1;
2121 for (int FirstIndex = RunSkipBlockVars.size() - 1 ;ElIx < ElCount; ElIx++) {
2122 CharUnits Size = CGM.getContext().getTypeSizeInChars(RT);
2126 RunSkipBlockVars[i].block_var_bytepos + Size*ElIx,
2155 CharUnits Size = CharUnits::fromQuantity(UnsSize);
2156 Size += LastBitfieldOrUnnamedOffset;
2161 Size);
2207 if (Layout.size() <= 3) {
2208 unsigned size = Layout.size();
2212 switch (size) {
2287 if (size == count) {
2314 unsigned size = RunSkipBlockVars.size();
2315 for (unsigned i = 0; i < size; i++) {
2320 while (j < size) {
2330 if (j < size) {
2364 int e = Layout.size()-1;
2397 size(); i != e; i++)
2405 for (unsigned i = 0, e = BitMap.size(); i != e; i++) {
2665 uint32_t size;
2677 uint64_t Size =
2680 llvm::ConstantInt::get(ObjCTypes.IntTy, Size),
2732 ProtocolRefs.size() - 1);
2735 ProtocolRefs.size()),
2808 Values[1] = llvm::ConstantInt::get(ObjCTypes.IntTy, Properties.size());
2810 Properties.size());
2832 MethodTypes.size());
2869 Values[0] = llvm::ConstantInt::get(ObjCTypes.IntTy, Methods.size());
2871 Methods.size());
2887 uint32_t size; // <rdar://4585769>
2892 unsigned Size = CGM.getDataLayout().getTypeAllocSize(ObjCTypes.CategoryTy);
2932 Values[5] = llvm::ConstantInt::get(ObjCTypes.IntTy, Size);
3020 unsigned Size =
3065 Values[ 5] = llvm::ConstantInt::get(ObjCTypes.LongTy, Size);
3101 unsigned Size = CGM.getDataLayout().getTypeAllocSize(ObjCTypes.ClassTy);
3128 Values[ 5] = llvm::ConstantInt::get(ObjCTypes.LongTy, Size);
3202 uint32_t size;
3209 uint64_t Size =
3213 Values[0] = llvm::ConstantInt::get(ObjCTypes.IntTy, Size);
3273 Values[0] = llvm::ConstantInt::get(ObjCTypes.IntTy, Ivars.size());
3275 Ivars.size());
3331 Values[1] = llvm::ConstantInt::get(ObjCTypes.IntTy, Methods.size());
3333 Methods.size());
3529 for (unsigned I = 0, E = Locals.size(); I != E; ++I) {
3543 for (unsigned I = 0, E = Locals.size(); I != E; ++I) {
3626 SmallVector<llvm::Type *, 16> tys(Locals.size());
3627 for (unsigned i = 0, e = Locals.size(); i != e; ++i)
4105 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
4106 assert(Size <= 8 && "does not support size > 8");
4107 src = (Size == 4) ? CGF.Builder.CreateBitCast(src, ObjCTypes.IntTy)
4127 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
4128 assert(Size <= 8 && "does not support size > 8");
4129 src = (Size == 4) ? CGF.Builder.CreateBitCast(src, ObjCTypes.IntTy)
4154 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
4155 assert(Size <= 8 && "does not support size > 8");
4156 src = (Size == 4) ? CGF.Builder.CreateBitCast(src, ObjCTypes.IntTy)
4174 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
4175 assert(Size <= 8 && "does not support size > 8");
4176 src = (Size == 4) ? CGF.Builder.CreateBitCast(src, ObjCTypes.IntTy)
4191 llvm::Value *size) {
4194 llvm::Value *args[] = { DestPtr, SrcPtr, size };
4295 // unsigned long size;
4304 uint64_t Size = CGM.getDataLayout().getTypeAllocSize(ObjCTypes.ModuleTy);
4308 llvm::ConstantInt::get(ObjCTypes.LongTy, Size),
4319 unsigned NumClasses = DefinedClasses.size();
4320 unsigned NumCategories = DefinedCategories.size();
4353 Symbols.size()),
4480 for (unsigned i = 0, e = RecFields.size(); i != e; ++i) {
4515 assert(CArray && "only array with known element size is supported");
4524 int OldIndex = IvarsInfo.size() - 1;
4525 int OldSkIndex = SkipIvars.size() -1;
4534 for (int FirstIndex = IvarsInfo.size() - 1,
4535 FirstSkIndex = SkipIvars.size() - 1 ;ElIx < ElCount; ElIx++) {
4536 uint64_t Size = CGM.getContext().getTypeSize(RT)/ByteSizeInBits;
4538 IvarsInfo.push_back(GC_IVAR(IvarsInfo[i].ivar_bytepos + Size*ElIx,
4541 SkipIvars.push_back(GC_IVAR(SkipIvars[i].ivar_bytepos + Size*ElIx,
4569 // FIXME: Why the asymmetry? We divide by word size in bits on other
4578 // FIXME: Why the asymmetry, we divide by byte size in bits here?
4633 for (unsigned int i=1, Last=IvarsInfo.size(); i != Last; i++) {
4666 unsigned int LastIndex = SkipIvars.size()-1;
4669 LastIndex = IvarsInfo.size()-1;
4684 int SkipScan = SkipScanIvars.size()-1;
4808 for (unsigned i = 0, e = BitMap.size(); i < e; i++)
4952 for (size_t i = 0, e = DefinedCategoryNames.size(); i < e; ++i) {
5082 // uint32_t size; // sizeof(struct _objc_protocol_extension)
5190 // uint32_t size; // sizeof(struct _objc_category)
5216 // long size; // sizeof(struct _objc_module)
5225 // FIXME: This is the size of the setjmp buffer and should be target
5261 // const uint32_t size; // sizeof(struct _protocol_t)
5299 // uint32_t size;
5444 unsigned NumClasses = Container.size();
5455 Symbols.size()),
5474 for (unsigned i=0, NumClasses=ImplementedClasses.size(); i<NumClasses; i++) {
5748 // FIXME: Is this correct (that meta class size is never computed)?
6039 unsigned Size = CGM.getDataLayout().getTypeAllocSize(ObjCTypes.MethodTy);
6040 Values[0] = llvm::ConstantInt::get(ObjCTypes.IntTy, Size);
6042 Values[1] = llvm::ConstantInt::get(ObjCTypes.IntTy, Methods.size());
6044 Methods.size());
6107 /// uint32_t size;
6138 unsigned Size = CGM.getDataLayout().getTypeAllocSize(FieldTy);
6143 // NOTE. Size of a bitfield does not match gcc's, because of the
6145 // 'size' for bitfield ivars is ignored by the runtime so it does
6148 Ivar[4] = llvm::ConstantInt::get(ObjCTypes.IntTy, Size);
6156 unsigned Size = CGM.getDataLayout().getTypeAllocSize(ObjCTypes.IvarnfABITy);
6157 Values[0] = llvm::ConstantInt::get(ObjCTypes.IntTy, Size);
6158 Values[1] = llvm::ConstantInt::get(ObjCTypes.IntTy, Ivars.size());
6160 Ivars.size());
6207 /// const uint32_t size; // sizeof(struct _protocol_t)
6288 uint32_t Size =
6290 Values[8] = llvm::ConstantInt::get(ObjCTypes.IntTy, Size);
6368 llvm::ConstantInt::get(ObjCTypes.LongTy, ProtocolRefs.size() - 1);
6371 ProtocolRefs.size()),
6797 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
6798 assert(Size <= 8 && "does not support size > 8");
6799 src = (Size == 4 ? CGF.Builder.CreateBitCast(src, ObjCTypes.IntTy)
6817 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
6818 assert(Size <= 8 && "does not support size > 8");
6819 src = (Size == 4 ? CGF.Builder.CreateBitCast(src, ObjCTypes.IntTy)
6834 llvm::Value *Size) {
6837 llvm::Value *args[] = { DestPtr, SrcPtr, Size };
6864 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
6865 assert(Size <= 8 && "does not support size > 8");
6866 src = (Size == 4 ? CGF.Builder.CreateBitCast(src, ObjCTypes.IntTy)
6885 unsigned Size = CGM.getDataLayout().getTypeAllocSize(SrcTy);
6886 assert(Size <= 8 && "does not support size > 8");
6887 src = (Size == 4 ? CGF.Builder.CreateBitCast(src, ObjCTypes.IntTy)