Lines Matching refs:CharUnits

801     CharUnits block_var_bytepos;
802 CharUnits block_var_size;
804 CharUnits BytePos = CharUnits::Zero(), in RUN_SKIP()
805 CharUnits Size = CharUnits::Zero()) in RUN_SKIP()
924 CharUnits beginOffset,
925 CharUnits endOffset,
930 CharUnits beginOffset, in BuildStrongIvarLayout()
931 CharUnits endOffset) { in BuildStrongIvarLayout()
936 CharUnits beginOffset, in BuildWeakIvarLayout()
937 CharUnits endOffset, in BuildWeakIvarLayout()
946 CharUnits FieldOffset,
947 CharUnits FieldSize);
950 CharUnits BytePos, bool &HasUnion,
956 CharUnits BytePos, bool &HasUnion,
1018 StringRef Section, CharUnits Align,
1092 CharUnits instanceSize,
1798 CGF.Builder.CreateStructGEP(ObjCSuper, 0, CharUnits::Zero())); in GenerateMessageSendSuper()
2008 CharUnits Offset;
2010 IvarInfo(CharUnits offset, uint64_t sizeInWords) in IvarInfo()
2025 CharUnits InstanceBegin;
2028 CharUnits InstanceEnd;
2039 IvarLayoutBuilder(CodeGenModule &CGM, CharUnits instanceBegin, in IvarLayoutBuilder()
2040 CharUnits instanceEnd, bool forStrongLayout) in IvarLayoutBuilder()
2045 void visitRecord(const RecordType *RT, CharUnits offset);
2049 CharUnits aggrOffset,
2052 void visitField(const FieldDecl *field, CharUnits offset);
2082 IvarLayoutBuilder builder(CGM, CharUnits::Zero(), blockInfo.BlockSize, in BuildGCBlockLayout()
2103 IvarsInfo.push_back(IvarInfo(CharUnits::Zero(), 1)); in visitBlock()
2110 CharUnits lastFieldOffset; in visitBlock()
2122 CharUnits fieldOffset = capture.getOffset(); in visitBlock()
2174 CharUnits FieldOffset, in UpdateRunSkipBlockVars()
2175 CharUnits FieldSize) { in UpdateRunSkipBlockVars()
2198 CharUnits BytePos, bool &HasUnion, in BuildRCRecordLayout()
2201 CharUnits MaxUnionSize = CharUnits::Zero(); in BuildRCRecordLayout()
2204 CharUnits MaxFieldOffset = CharUnits::Zero(); in BuildRCRecordLayout()
2205 CharUnits LastBitfieldOrUnnamedOffset = CharUnits::Zero(); in BuildRCRecordLayout()
2216 CharUnits FieldOffset = in BuildRCRecordLayout()
2259 CharUnits Size = CGM.getContext().getTypeSizeInChars(RT); in BuildRCRecordLayout()
2269 CharUnits FieldSize = CGM.getContext().getTypeSizeInChars(Field->getType()); in BuildRCRecordLayout()
2271 CharUnits UnionIvarSize = FieldSize; in BuildRCRecordLayout()
2292 CharUnits Size = CharUnits::fromQuantity(UnsSize); in BuildRCRecordLayout()
2302 CharUnits FieldSize in BuildRCRecordLayout()
2320 CharUnits BytePos, in BuildRCBlockVarRecordLayout()
2454 CharUnits start_byte_pos = RunSkipBlockVars[i].block_var_bytepos; in getBitmapBlockLayout()
2455 CharUnits end_byte_pos = start_byte_pos; in getBitmapBlockLayout()
2465 CharUnits size_in_bytes = in getBitmapBlockLayout()
2468 CharUnits gap = in getBitmapBlockLayout()
2473 CharUnits residue_in_bytes = CharUnits::Zero(); in getBitmapBlockLayout()
2494 if (residue_in_bytes > CharUnits::Zero()) { in getBitmapBlockLayout()
2582 "__TEXT,__objc_classname,cstring_literals", CharUnits::One(), true); in getBitmapBlockLayout()
2605 if (blockInfo.BlockHeaderForcedGapSize != CharUnits::Zero()) in BuildRCBlockLayout()
2619 CharUnits fieldOffset = in BuildRCBlockLayout()
2620 CharUnits::fromQuantity(layout->getElementOffset(capture.getIndex())); in BuildRCBlockLayout()
2628 CharUnits fieldSize; in BuildRCBlockLayout()
2630 fieldSize = CharUnits::fromQuantity(WordSizeInBytes); in BuildRCBlockLayout()
2643 CharUnits fieldOffset; in BuildByrefLayout()
3278 CharUnits Size = in GenerateClass()
3331 Values[10] = BuildStrongIvarLayout(ID, CharUnits::Zero(), Size); in GenerateClass()
3398 Values[11] = EmitClassExtension(ID, CharUnits::Zero(), false/*hasMRCWeak*/, in EmitMetaClass()
3473 CharUnits InstanceSize, bool hasMRCWeakIvars, in EmitClassExtension()
3484 Values[1] = BuildWeakIvarLayout(ID, CharUnits::Zero(), InstanceSize, in EmitClassExtension()
3639 CharUnits Align, in CreateMetadataVar()
4078 CharUnits::One(), in EmitTryOrSynchronizedStmt()
4691 CharUnits Align = CGF.getPointerAlign(); in EmitSelectorAddr()
4715 CharUnits::One(), true); in GetClassName()
4736 CharUnits offset) { in visitRecord()
4746 [&](const FieldDecl *field) -> CharUnits { in visitRecord()
4756 CharUnits aggregateOffset, in visitAggregate()
4767 CharUnits fieldOffset = aggregateOffset + getOffset(field); in visitAggregate()
4775 CharUnits fieldOffset) { in visitField()
4800 CharUnits eltSize = CGM.getContext().getTypeSizeInChars(recType); in visitField()
4904 const CharUnits WordSize = CGM.getPointerSize(); in buildBitmap()
4908 CharUnits beginOfScan = request.Offset - InstanceBegin; in buildBitmap()
4954 (InstanceEnd - InstanceBegin + WordSize - CharUnits::One()) / WordSize; in buildBitmap()
4970 CharUnits::One(), true); in buildBitmap()
4992 CharUnits beginOffset, CharUnits endOffset, in BuildIvarLayout()
5015 CharUnits baseOffset; in BuildIvarLayout()
5025 CharUnits::fromQuantity(ComputeIvarBaseOffset(CGM, OMD, ivars[0])); in BuildIvarLayout()
5027 baseOffset = CharUnits::Zero(); in BuildIvarLayout()
5035 baseOffset = CharUnits::Zero(); in BuildIvarLayout()
5043 builder.visitAggregate(ivars.begin(), ivars.end(), CharUnits::Zero(), in BuildIvarLayout()
5044 [&](const ObjCIvarDecl *ivar) -> CharUnits { in BuildIvarLayout()
5045 return CharUnits::fromQuantity(ComputeIvarBaseOffset(CGM, OMD, ivar)); in BuildIvarLayout()
5073 CharUnits::One(), true); in GetMethodVarName()
5095 CharUnits::One(), true); in GetMethodVarType()
5114 CharUnits::One(), true); in GetMethodVarType()
5127 "__TEXT,__cstring,cstring_literals", CharUnits::One(), true); in GetPropertyName()
5836 CharUnits beginInstance = CharUnits::fromQuantity(InstanceStart); in BuildClassRoTInitializer()
5837 CharUnits endInstance = CharUnits::fromQuantity(InstanceSize); in BuildClassRoTInitializer()
6138 CharUnits Align = CGF.getPointerAlign(); in GenerateProtocolRef()
6833 CGF.Builder.CreateStructGEP(mref, 0, CharUnits::Zero()); in EmitVTableMessageSend()
6883 CharUnits Align = CGF.getPointerAlign(); in EmitClassRefFromId()
6919 CharUnits Align = CGF.getPointerAlign(); in EmitSuperClassRef()
6943 CharUnits Align = CGF.getPointerAlign(); in EmitMetaClassRef()
7003 CGF.Builder.CreateStructGEP(ObjCSuper, 0, CharUnits::Zero())); in GenerateMessageSendSuper()
7044 CharUnits Align = CGF.getPointerAlign(); in EmitSelectorAddr()