/external/clang/lib/StaticAnalyzer/Checkers/ |
D | PaddingChecker.cpp | 170 CharUnits Offset = ASTContext.toCharUnitsFromBits(RL.getFieldOffset(0)); in calculateBaselinePad() 178 CharUnits FieldOffset = ASTContext.toCharUnitsFromBits(FieldOffsetBits); in calculateBaselinePad() 223 RetVal.Align = std::max(Ctx.toCharUnitsFromBits(Max), RetVal.Align); in calculateOptimalPad() 234 CharUnits NewOffset = ASTContext.toCharUnitsFromBits(RL.getFieldOffset(0)); in calculateOptimalPad()
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 147 return Context.toCharUnitsFromBits(FieldOffset); in getFieldOffset() 765 return Context.toCharUnitsFromBits(Size); in getSize() 776 return Context.toCharUnitsFromBits(DataSize); in getDataSize() 1021 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in LayoutNonVirtualBases() 1023 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerAlign(0)); in LayoutNonVirtualBases() 1252 MaxFieldAlignment = Context.toCharUnitsFromBits(MFAA->getAlignment()); in InitializeLayout() 1255 UpdateAlignment(Context.toCharUnitsFromBits(MaxAlign)); in InitializeLayout() 1268 Alignment = Context.toCharUnitsFromBits(External.Align); in InitializeLayout() 1294 NonVirtualSize = Context.toCharUnitsFromBits( in Layout() 1700 UpdateAlignment(Context.toCharUnitsFromBits(FieldAlign), in LayoutBitField() [all …]
|
D | ItaniumCXXABI.cpp | 132 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in isNearlyEmpty()
|
D | ASTContext.cpp | 1441 return toCharUnitsFromBits(Align); in getDeclAlign() 1490 return std::make_pair(toCharUnitsFromBits(Info.Width), in getTypeInfoInChars() 1491 toCharUnitsFromBits(Info.Align)); in getTypeInfoInChars() 1858 CharUnits ASTContext::toCharUnitsFromBits(int64_t BitSize) const { in toCharUnitsFromBits() function in ASTContext 1879 return toCharUnitsFromBits(getTypeAlign(T)); in getTypeAlignInChars() 1882 return toCharUnitsFromBits(getTypeAlign(T)); in getTypeAlignInChars() 1934 return toCharUnitsFromBits(getAlignOfGlobalVar(T)); in getAlignOfGlobalVarInChars()
|
D | ExprConstant.cpp | 2022 LVal.Offset += Info.Ctx.toCharUnitsFromBits(RL->getFieldOffset(I)); in HandleLValueMember() 5217 return Info.Ctx.toCharUnitsFromBits( in GetAlignOfType() 7080 if (Size <= Info.Ctx.toCharUnitsFromBits(InlineWidthBits)) { in VisitCallExpr() 7900 Info.Ctx.toCharUnitsFromBits( in VisitUnaryExprOrTypeTraitExpr() 7942 Result += Info.Ctx.toCharUnitsFromBits(RL.getFieldOffset(i)); in VisitOffsetOfExpr()
|
D | MicrosoftMangle.cpp | 641 CharUnits PointerWidth = getASTContext().toCharUnitsFromBits( in mangleVirtualMemPtrThunk()
|
D | VTableBuilder.cpp | 667 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in getCurrentOffsetOffset()
|
/external/bcc/src/cc/ |
D | json_map_decl_visitor.cc | 133 CharUnits Offset = C.toCharUnitsFromBits(Layout.getFieldOffset(0)); in VisitRecordDecl() 137 CharUnits FieldOffset = C.toCharUnitsFromBits(FieldOffsetBits); in VisitRecordDecl()
|
/external/clang/lib/CodeGen/ |
D | SwiftCallingConv.cpp | 153 begin + CGM.getContext().toCharUnitsFromBits(fieldOffsetInBits)); in addTypedData() 178 CharUnits bitfieldByteBegin = ctx.toCharUnitsFromBits(bitfieldBitBegin); in addBitFieldData() 185 ctx.toCharUnitsFromBits(bitfieldBitLast) + CharUnits::One(); in addBitFieldData() 597 return CGM.getContext().toCharUnitsFromBits( in getMaximumVoluntaryIntegerSize()
|
D | CGObjCRuntime.cpp | 123 CharUnits StorageSize = CGF.CGM.getContext().toCharUnitsFromBits( in EmitValueForIvarAtOffset() 125 CharUnits Alignment = CGF.CGM.getContext().toCharUnitsFromBits(AlignmentBits); in EmitValueForIvarAtOffset()
|
D | CGAtomic.cpp | 69 AtomicAlign = C.toCharUnitsFromBits(AtomicAlignInBits); in AtomicInfo() 70 ValueAlign = C.toCharUnitsFromBits(ValueAlignInBits); in AtomicInfo() 81 C.toCharUnitsFromBits(Offset + OrigBFI.Size + C.getCharWidth() - 1) in AtomicInfo() 85 (C.toCharUnitsFromBits(OrigBFI.Offset) / lvalue.getAlignment()) * in AtomicInfo() 105 C.toCharUnitsFromBits(AtomicSizeInBits).getQuantity()); in AtomicInfo() 172 CharUnits size = CGF.getContext().toCharUnitsFromBits(AtomicSizeInBits); in getAtomicSizeValue() 352 CGF.getContext().toCharUnitsFromBits(AtomicSizeInBits).getQuantity(), in emitMemSetZeroIfNecessary()
|
D | CGClass.cpp | 873 Context.toCharUnitsFromBits(Info.getFieldOffset(i)).getQuantity(); in EmitAsanPrologueOrEpilogue() 1028 CGF.getContext().toCharUnitsFromBits(MemcpySizeBits); in getMemcpySize() 1754 Context.toCharUnitsFromBits(Layout.getFieldOffset(layoutStartOffset)) in PoisonMembers() 1764 Context.toCharUnitsFromBits( in PoisonMembers() 1768 PoisonSize = Context.toCharUnitsFromBits( in PoisonMembers() 1796 Context.toCharUnitsFromBits(CGF.PointerWidthInBits).getQuantity(); in Emit()
|
D | CGExprConstant.cpp | 99 CharUnits FieldOffsetInChars = Context.toCharUnitsFromBits(FieldOffset); in AppendField() 164 CharUnits PadSize = Context.toCharUnitsFromBits( in AppendBitField() 1501 CharUnits chars = getContext().toCharUnitsFromBits((int64_t) fieldOffset); in getMemberPointerConstant()
|
D | CGDebugInfo.cpp | 1434 CGM.getContext().toCharUnitsFromBits((int64_t)fieldOffset); in CollectTemplateParams() 3085 if (Align > CGM.getContext().toCharUnitsFromBits( in EmitTypeForVarWithBlocksAttr() 3088 CGM.getContext().toCharUnitsFromBits(FieldOffset); in EmitTypeForVarWithBlocksAttr() 3176 offset = CGM.getContext().toCharUnitsFromBits( in EmitDeclare() 3182 offset = CGM.getContext().toCharUnitsFromBits(XOffset); in EmitDeclare() 3308 CGM.getContext().toCharUnitsFromBits(target.getPointerSizeInBits(0)); in EmitDeclareOfBlockDeclRefVariable() 3313 offset = CGM.getContext().toCharUnitsFromBits(XOffset); in EmitDeclareOfBlockDeclRefVariable()
|
D | CGRecordLayoutBuilder.cpp | 147 return Context.toCharUnitsFromBits(BitOffset); in bitsToCharUnits()
|
D | ItaniumCXXABI.cpp | 159 return CGM.getContext().toCharUnitsFromBits(Align); in getAlignmentOfExnObject() 798 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in BuildMemberPointer() 856 getContext().toCharUnitsFromBits(getContext().getFieldOffset(MPD)); in EmitMemberPointer() 1479 VTable->setAlignment(getContext().toCharUnitsFromBits(PAlign).getQuantity()); in emitVTableDefinitions()
|
D | CGVTables.cpp | 946 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in EmitVTableTypeMetadata()
|
D | CodeGenModule.cpp | 104 C.toCharUnitsFromBits(C.getTargetInfo().getPointerAlign(0)).getQuantity(); in CodeGenModule() 106 C.toCharUnitsFromBits(C.getTargetInfo().getIntAlign()).getQuantity(); in CodeGenModule() 2302 return Context.toCharUnitsFromBits( in GetTargetTypeStoreSize()
|
D | CGExprAgg.cpp | 1372 NumNonZeroBytes += CGF.getContext().toCharUnitsFromBits( in GetNumNonZeroBytesInInit()
|
D | CodeGenFunction.cpp | 114 return getContext().toCharUnitsFromBits(Align); in getNaturalTypeAlignment()
|
D | MicrosoftCXXABI.cpp | 1513 ? getContext().toCharUnitsFromBits( in emitVTableTypeMetadata() 2629 CharUnits FieldOffset = Ctx.toCharUnitsFromBits(Ctx.getFieldOffset(MPD)); in EmitMemberPointer()
|
D | CGObjCMac.cpp | 2217 CGM.getContext().toCharUnitsFromBits(RL.getFieldOffset(i)); in BuildRCRecordLayout() 4750 return CGM.getContext().toCharUnitsFromBits(offsetInBits); in visitRecord()
|
/external/clang/lib/Sema/ |
D | SemaStmtAsm.cpp | 665 CharUnits Result = Context.toCharUnitsFromBits(RL.getFieldOffset(i)); in LookupInlineAsmField()
|
D | SemaDeclAttr.cpp | 3270 Context.toCharUnitsFromBits(Context.getTargetInfo().getMaxTLSAlign()) in AddAlignedAttr() 3326 CharUnits RequestedAlign = Context.toCharUnitsFromBits(Align); in CheckAlignasUnderalignment()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 1822 CharUnits toCharUnitsFromBits(int64_t BitSize) const;
|