/external/clang/lib/CodeGen/ |
D | CodeGenTypeCache.h | 70 return CharUnits::fromQuantity(IntSizeInBytes); in getIntSize() 73 return CharUnits::fromQuantity(IntAlignInBytes); in getIntAlign() 87 return CharUnits::fromQuantity(SizeSizeInBytes); in getSizeSize() 90 return CharUnits::fromQuantity(SizeAlignInBytes); in getSizeAlign() 93 return CharUnits::fromQuantity(PointerSizeInBytes); in getPointerSize() 96 return CharUnits::fromQuantity(PointerAlignInBytes); in getPointerAlign()
|
D | TargetInfo.cpp | 734 CharUnits::fromQuantity(4), in EmitVAArg() 1376 return ABIArgInfo::getIndirect(CharUnits::fromQuantity(4), /*ByVal=*/true); in getIndirectResult() 1381 return ABIArgInfo::getIndirect(CharUnits::fromQuantity(StackAlign), in getIndirectResult() 1632 CharUnits FieldAlign = CharUnits::fromQuantity(4); in addFieldToArgStruct() 1681 CharUnits StackAlign = CharUnits::fromQuantity(4); in rewriteWithInAlloca() 1728 TypeInfo.second = CharUnits::fromQuantity( in EmitVAArg() 1732 TypeInfo, CharUnits::fromQuantity(4), in EmitVAArg() 2736 return ABIArgInfo::getIndirect(CharUnits::fromQuantity(Align)); in getIndirectResult() 3323 VAListAddr, 2, CharUnits::fromQuantity(8), "overflow_arg_area_p"); in EmitX86_64VAArgFromMemory() 3332 if (Align > CharUnits::fromQuantity(8)) { in EmitX86_64VAArgFromMemory() [all …]
|
D | CGValue.h | 73 return Address(V1.getPointer(), CharUnits::fromQuantity(align)); in getAggregateAddress() 316 CharUnits getAlignment() const { return CharUnits::fromQuantity(Alignment); } in getAlignment() 571 return CharUnits::fromQuantity(Alignment); in getAlignment()
|
D | CGCleanup.cpp | 59 CharUnits offset = CharUnits::fromQuantity( in save() 85 return Address(value, CharUnits::fromQuantity(alignment)); in restore() 93 return RValue::getAggregate(Address(Value, CharUnits::fromQuantity(Align))); in restore() 96 return RValue::getAggregate(Address(addr, CharUnits::fromQuantity(Align))); in restore() 102 CharUnits offset = CharUnits::fromQuantity( in restore() 1219 return Address(NormalCleanupDest, CharUnits::fromQuantity(4)); in getNormalCleanupDestSlot()
|
D | SwiftCallingConv.cpp | 57 return CharUnits::fromQuantity(CGM.getDataLayout().getTypeStoreSize(type)); in getTypeStoreSize() 405 return CharUnits::fromQuantity(offset.getQuantity() & unitMask); in getOffsetAtStartOfUnit() 540 CharUnits::fromQuantity( in getCoerceAndExpandTypes() 609 return CharUnits::fromQuantity(size); in getNaturalAlignment()
|
D | CGRecordLayoutBuilder.cpp | 150 return CharUnits::fromQuantity(DataLayout.getTypeAllocSize(Type)); in getSize() 153 return CharUnits::fromQuantity(DataLayout.getABITypeAlignment(Type)); in getAlignment() 509 Members.push_back(StorageInfo(Offset - CharUnits::fromQuantity(4), in accumulateVBases() 656 CharUnits::fromQuantity(Types.getDataLayout().getTypeAllocSize(Ty)); in MakeInfo()
|
D | CGBlocks.h | 176 return CharUnits::fromQuantity(Offset); in getOffset()
|
D | CGExprConstant.cpp | 84 return CharUnits::fromQuantity( in getAlignment() 89 return CharUnits::fromQuantity( in getSizeInChars() 246 NextFieldOffsetInChars -= CharUnits::fromQuantity(AT->getNumElements()); in AppendBitField() 250 AppendPadding(CharUnits::fromQuantity(AT->getNumElements()-1)); in AppendBitField() 334 CharUnits ElementAlign = CharUnits::fromQuantity( in ConvertStructToPacked()
|
D | ItaniumCXXABI.cpp | 1146 return CharUnits::fromQuantity(-2ULL); in computeOffsetHint() 1162 return CharUnits::fromQuantity(-1ULL); in computeOffsetHint() 1176 return CharUnits::fromQuantity(-2ULL); in computeOffsetHint() 1180 return CharUnits::fromQuantity(-3ULL); in computeOffsetHint() 1662 CharUnits::fromQuantity(NonVirtualAdjustment)); in performTypeAdjustment() 1732 return std::max(CharUnits::fromQuantity(CGM.SizeSizeInBytes), in getArrayCookieSizeImpl() 1816 return std::max(CharUnits::fromQuantity(2 * CGM.SizeSizeInBytes), in getArrayCookieSizeImpl() 1944 guardAlignment = CharUnits::fromQuantity( in EmitGuardedInit()
|
D | CGCall.cpp | 1040 CharUnits Align = std::max(MinAlign, CharUnits::fromQuantity(PrefAlign)); in CreateTempAllocaForCoercion() 1200 auto EltOffset = CharUnits::fromQuantity(Layout->getElementOffset(i)); in BuildAggStore() 1274 CharUnits::fromQuantity(offset)); in emitAddressAtOffset() 2155 CharUnits::fromQuantity(ArgStructLayout->getElementOffset(FieldIndex)); in EmitFunctionProlog() 2350 auto Offset = CharUnits::fromQuantity(SrcLayout->getElementOffset(i)); in EmitFunctionProlog() 2872 CharUnits Align = CharUnits::fromQuantity(4); in createPlaceholderSlot() 3548 CharUnits::fromQuantity(ArgMemoryLayout->getElementOffset(FieldIndex)); in EmitCall() 3761 auto Offset = CharUnits::fromQuantity(SrcLayout->getElementOffset(i)); in EmitCall() 3795 CharUnits::fromQuantity(std::max(layout->getAlignment(), in EmitCall()
|
D | CGObjCRuntime.cpp | 136 CharUnits::fromQuantity(0))); in EmitValueForIvarAtOffset()
|
D | CGBuilder.h | 192 auto Offset = CharUnits::fromQuantity(Layout->getElementOffset(Index));
|
D | CGOpenMPRuntimeNVPTX.cpp | 388 CGF.CreateTempAlloca(CGF.Int32Ty, CharUnits::fromQuantity(4), in emitTeamsCall()
|
D | CGBlocks.cpp | 295 return CharUnits::fromQuantity(v.getQuantity() & (~v.getQuantity() + 1)); in getLowBit() 2081 size += CharUnits::fromQuantity(4); in getBlockByrefInfo() 2085 size += CharUnits::fromQuantity(4); in getBlockByrefInfo() 2105 size += CharUnits::fromQuantity(PointerSizeInBytes); in getBlockByrefInfo()
|
D | MicrosoftCXXABI.cpp | 1173 CharUnits::fromQuantity(4)); in initializeHiddenVirtualInheritanceMembers() 2059 CharUnits::fromQuantity(TA.Virtual.Microsoft.VtordispOffset)); in performThisAdjustment() 2353 CharUnits GuardAlign = CharUnits::fromQuantity(4); in EmitGuardedInit() 2858 CharUnits::fromQuantity(CI->getSExtValue())); in GetVBaseOffsetFromVBPtr() 2873 return Builder.CreateAlignedLoad(VBaseOffs, CharUnits::fromQuantity(4), in GetVBaseOffsetFromVBPtr() 3137 CharUnits::fromQuantity(4)); in EmitNonNullMemberPointerConversion()
|
D | CGObjCMac.cpp | 2292 CharUnits Size = CharUnits::fromQuantity(UnsSize); in BuildRCRecordLayout() 2620 CharUnits::fromQuantity(layout->getElementOffset(capture.getIndex())); in BuildRCBlockLayout() 2630 fieldSize = CharUnits::fromQuantity(WordSizeInBytes); in BuildRCBlockLayout() 5025 CharUnits::fromQuantity(ComputeIvarBaseOffset(CGM, OMD, ivars[0])); in BuildIvarLayout() 5045 return CharUnits::fromQuantity(ComputeIvarBaseOffset(CGM, OMD, ivar)); in BuildIvarLayout() 5836 CharUnits beginInstance = CharUnits::fromQuantity(InstanceStart); in BuildClassRoTInitializer() 5837 CharUnits endInstance = CharUnits::fromQuantity(InstanceSize); in BuildClassRoTInitializer()
|
/external/clang/include/clang/AST/ |
D | CharUnits.h | 63 static CharUnits fromQuantity(QuantityType Quantity) { in fromQuantity() function 220 return clang::CharUnits::fromQuantity(Quantity); 227 return clang::CharUnits::fromQuantity(Quantity);
|
D | BaseSubobject.h | 58 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getEmptyKey())); 64 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getTombstoneKey()));
|
D | VTableBuilder.h | 198 return CharUnits::fromQuantity(Value >> 3); in getOffset()
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 1239 MaxFieldAlignment = CharUnits::fromQuantity(DefaultMaxFieldAlignment); in InitializeLayout() 1248 MaxFieldAlignment = CharUnits::fromQuantity(2); in InitializeLayout() 1249 Alignment = CharUnits::fromQuantity(2); in InitializeLayout() 1809 CharUnits ASanAlignment = CharUnits::fromQuantity(8); in LayoutField() 1813 ASanAlignment - CharUnits::fromQuantity(FieldSize % ASanAlignment); in LayoutField() 2391 MinEmptyStructSize = CharUnits::fromQuantity(4); in layout() 2435 MaxFieldAlignment = CharUnits::fromQuantity(DefaultMaxFieldAlignment); in initializeLayout() 2540 VBPtrOffset = CharUnits::fromQuantity(-1); in layoutNonVirtualBases() 2747 CharUnits VtorDispSize = CharUnits::fromQuantity(4); in layoutVirtualBases() 2984 CharUnits::fromQuantity(-1), DataSize, Builder.FieldOffsets, in getASTRecordLayout() [all …]
|
D | VTableBuilder.cpp | 3452 CharUnits Offset = CharUnits::fromQuantity(-1); in getOffsetOfFullPath() 3647 CharUnits LastVFPtrOffset = CharUnits::fromQuantity(-1); in dumpMethodLocations()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CastSizeChecker.cpp | 118 CharUnits regionSize = CharUnits::fromQuantity(extentInt->getSExtValue()); in checkPreStmt()
|
D | PaddingChecker.cpp | 244 CharUnits CurAlignment = CharUnits::fromQuantity(CurAlignmentBits); in calculateOptimalPad()
|
/external/clang/include/clang/CodeGen/ |
D | CGFunctionInfo.h | 311 return CharUnits::fromQuantity(IndirectAlign); in getIndirectAlign() 613 return CharUnits::fromQuantity(ArgStructAlign); in getArgStructAlignment()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineC.cpp | 780 CharUnits amt = CharUnits::fromQuantity(Value.getZExtValue()); in VisitUnaryExprOrTypeTraitExpr()
|