Home
last modified time | relevance | path

Searched refs:fromQuantity (Results 1 – 24 of 24) sorted by relevance

/external/clang/include/clang/AST/
DCharUnits.h63 static CharUnits fromQuantity(QuantityType Quantity) { in fromQuantity() function
195 return clang::CharUnits::fromQuantity(Quantity);
202 return clang::CharUnits::fromQuantity(Quantity);
DBaseSubobject.h59 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getEmptyKey()));
65 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getTombstoneKey()));
DVTableBuilder.h177 return CharUnits::fromQuantity(Value >> 3); in getOffset()
/external/clang/lib/StaticAnalyzer/Checkers/
DCastSizeChecker.cpp121 CharUnits regionSize = CharUnits::fromQuantity(extentInt->getSExtValue()); in checkPreStmt()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp1242 MaxFieldAlignment = CharUnits::fromQuantity(DefaultMaxFieldAlignment); in InitializeLayout()
1251 MaxFieldAlignment = CharUnits::fromQuantity(2); in InitializeLayout()
1252 Alignment = CharUnits::fromQuantity(2); in InitializeLayout()
1781 CharUnits ASanAlignment = CharUnits::fromQuantity(8); in LayoutField()
1785 ASanAlignment - CharUnits::fromQuantity(FieldSize % ASanAlignment); in LayoutField()
2345 MinEmptyStructSize = CharUnits::fromQuantity(4); in layout()
2388 MaxFieldAlignment = CharUnits::fromQuantity(DefaultMaxFieldAlignment); in initializeLayout()
2492 VBPtrOffset = CharUnits::fromQuantity(-1); in layoutNonVirtualBases()
2666 CharUnits VtorDispSize = CharUnits::fromQuantity(4); in layoutVirtualBases()
2912 CharUnits::fromQuantity(-1), in getASTRecordLayout()
[all …]
DExprConstant.cpp4895 Result.Offset = CharUnits::fromQuantity(N); in VisitCastExpr()
4980 CharUnits Align = CharUnits::fromQuantity(getExtValue(Alignment)); in VisitCallExpr()
4988 OffsetResult.Offset += CharUnits::fromQuantity(AdditionalOffset); in VisitCallExpr()
6457 CharUnits Size = CharUnits::fromQuantity(SizeVal.getZExtValue()); in VisitCallExpr()
6738 CharUnits::fromQuantity(RHSVal.getInt().getZExtValue()); in VisitBinOp()
6751 CharUnits::fromQuantity(LHSVal.getInt().getZExtValue()); in VisitBinOp()
DASTContext.cpp1412 return std::make_pair(CharUnits::fromQuantity(Width), in getConstantArrayInfoInChars()
1413 CharUnits::fromQuantity(Align)); in getConstantArrayInfoInChars()
1766 return CharUnits::fromQuantity(BitSize / getCharWidth()); in toCharUnitsFromBits()
DVTableBuilder.cpp3575 CharUnits LastVFPtrOffset = CharUnits::fromQuantity(-1); in dumpMethodLocations()
/external/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp134 return CharUnits::fromQuantity(DataLayout.getTypeAllocSize(Type)); in getSize()
137 return CharUnits::fromQuantity(DataLayout.getABITypeAlignment(Type)); in getAlignment()
493 Members.push_back(StorageInfo(Offset - CharUnits::fromQuantity(4), in accumulateVBases()
640 CharUnits::fromQuantity(Types.getDataLayout().getTypeAllocSize(Ty)); in MakeInfo()
DCGValue.h261 CharUnits getAlignment() const { return CharUnits::fromQuantity(Alignment); } in getAlignment()
484 return CharUnits::fromQuantity(Alignment); in getAlignment()
DCGBlocks.cpp224 LeftValue = CharUnits::fromQuantity(64); in operator <()
226 LeftValue = CharUnits::fromQuantity(32); in operator <()
229 LeftValue = CharUnits::fromQuantity(16); in operator <()
234 RightValue = CharUnits::fromQuantity(64); in operator <()
236 RightValue = CharUnits::fromQuantity(32); in operator <()
239 RightValue = CharUnits::fromQuantity(16); in operator <()
300 return CharUnits::fromQuantity(v.getQuantity() & (~v.getQuantity() + 1)); in getLowBit()
1906 CharUnits::fromQuantity(CGM.PointerAlignInBytes)); in buildByrefHelpers()
DCGExprConstant.cpp77 return CharUnits::fromQuantity( in getAlignment()
82 return CharUnits::fromQuantity( in getSizeInChars()
239 NextFieldOffsetInChars -= CharUnits::fromQuantity(AT->getNumElements()); in AppendBitField()
243 AppendPadding(CharUnits::fromQuantity(AT->getNumElements()-1)); in AppendBitField()
327 CharUnits ElementAlign = CharUnits::fromQuantity( in ConvertStructToPacked()
DItaniumCXXABI.cpp1018 return CharUnits::fromQuantity(-2ULL); in computeOffsetHint()
1035 return CharUnits::fromQuantity(-1ULL); in computeOffsetHint()
1048 return CharUnits::fromQuantity(-2ULL); in computeOffsetHint()
1052 return CharUnits::fromQuantity(-3ULL); in computeOffsetHint()
1559 return std::max(CharUnits::fromQuantity(CGM.SizeSizeInBytes), in getArrayCookieSizeImpl()
1616 cookieSize - CharUnits::fromQuantity(CGF.SizeSizeInBytes); in readArrayCookieImpl()
1648 return std::max(CharUnits::fromQuantity(2 * CGM.SizeSizeInBytes), in getArrayCookieSizeImpl()
DCGExprAgg.cpp1353 if (TypeInfo.first <= CharUnits::fromQuantity(16)) in CheckAggExprForMemSetUse()
DCGObjC.cpp556 return CharUnits::fromQuantity(CGM.PointerSizeInBytes); in getMaxAtomicAccessSize()
2079 dst.getAlignment() >= CharUnits::fromQuantity(PointerAlignInBytes))) { in EmitARCStoreStrong()
DCodeGenFunction.cpp100 Alignment = CharUnits::fromQuantity(MaxAlign); in MakeNaturalAlignAddrLValue()
DCGExpr.cpp1166 CharUnits::fromQuantity(Alignment), in EmitLoadOfScalar()
1287 CharUnits::fromQuantity(Alignment), in EmitStoreOfScalar()
DCGDebugInfo.cpp2848 CharUnits offset = CharUnits::fromQuantity(32); in EmitDeclare()
2960 CharUnits offset = CharUnits::fromQuantity( in EmitDeclareOfBlockDeclRefVariable()
DCGClass.cpp903 Alignment = CharUnits::fromQuantity(BFInfo.StorageAlignment); in emitMemcpy()
DCGObjCMac.cpp2155 CharUnits Size = CharUnits::fromQuantity(UnsSize); in BuildRCRecordLayout()
2484 CharUnits::fromQuantity(layout->getElementOffset(capture.getIndex())); in BuildRCBlockLayout()
2494 fieldSize = CharUnits::fromQuantity(WordSizeInBytes); in BuildRCBlockLayout()
DTargetInfo.cpp4691 if (getContext().getTypeSizeInChars(Ty) > CharUnits::fromQuantity(64)) { in classifyArgumentType()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp746 CharUnits amt = CharUnits::fromQuantity(Value.getZExtValue()); in VisitUnaryExprOrTypeTraitExpr()
DRegionStore.cpp1217 CharUnits RegionSize = CharUnits::fromQuantity(SizeInt->getSExtValue()); in getSizeInElements()
/external/lldb/source/Plugins/SymbolFile/DWARF/
DSymbolFileDWARF.cpp2218 … clang::CharUnits::fromQuantity(member_byte_offset))); in ParseChildMembers()
2223 … clang::CharUnits::fromQuantity(member_byte_offset))); in ParseChildMembers()