/external/clang/include/clang/AST/ |
CharUnits.h | 1 //===--- CharUnits.h - Character units for sizes and offsets ----*- C++ -*-===// 10 // This file defines the CharUnits class 23 /// CharUnits - This is an opaque type for sizes expressed in character units. 26 /// type, CharUnits protects you from accidentally combining operations on 38 class CharUnits { 45 explicit CharUnits(QuantityType C) : Quantity(C) {} 49 /// CharUnits - A default constructor. 50 CharUnits() : Quantity(0) {} 52 /// Zero - Construct a CharUnits quantity of zero. 53 static CharUnits Zero() [all...] |
RecordLayout.h | 17 #include "clang/AST/CharUnits.h" 39 CharUnits VBaseOffset; 52 VBaseInfo(CharUnits VBaseOffset, bool hasVtorDisp) : 61 CharUnits Size; 64 CharUnits DataSize; 67 CharUnits Alignment; 79 CharUnits NonVirtualSize; 83 CharUnits NonVirtualAlign; 88 CharUnits SizeOfLargestEmptySubobject; 91 CharUnits VBPtrOffset [all...] |
BaseSubobject.h | 17 #include "clang/AST/CharUnits.h" 33 CharUnits BaseOffset; 37 BaseSubobject(const CXXRecordDecl *Base, CharUnits BaseOffset) 44 CharUnits getBaseOffset() const { return BaseOffset; } 59 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getEmptyKey())); 65 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getTombstoneKey())); 69 typedef std::pair<const clang::CXXRecordDecl *, clang::CharUnits> PairTy;
|
VTableBuilder.h | 54 static VTableComponent MakeVCallOffset(CharUnits Offset) { 58 static VTableComponent MakeVBaseOffset(CharUnits Offset) { 62 static VTableComponent MakeOffsetToTop(CharUnits Offset) { 104 CharUnits getVCallOffset() const { 110 CharUnits getVBaseOffset() const { 116 CharUnits getOffsetToTop() const { 148 VTableComponent(Kind ComponentKind, CharUnits Offset) { 171 CharUnits getOffset() const { 175 return CharUnits::fromQuantity(Value >> 3); 322 typedef llvm::DenseMap<ClassPairTy, CharUnits> [all...] |
VTTBuilder.h | 30 CharUnits BaseOffset; 34 VTTVTable(const CXXRecordDecl *Base, CharUnits BaseOffset, bool BaseIsVirtual) 44 CharUnits getBaseOffset() const {
|
APValue.h | 26 class CharUnits; 139 APValue(LValueBase B, const CharUnits &O, NoLValuePath N, unsigned CallIndex) 143 APValue(LValueBase B, const CharUnits &O, ArrayRef<LValuePathEntry> Path, 250 CharUnits &getLValueOffset(); 251 const CharUnits &getLValueOffset() const { 377 void setLValue(LValueBase B, const CharUnits &O, NoLValuePath, 379 void setLValue(LValueBase B, const CharUnits &O,
|
/external/clang/lib/AST/ |
RecordLayout.cpp | 31 ASTRecordLayout::ASTRecordLayout(const ASTContext &Ctx, CharUnits size, 32 CharUnits alignment, CharUnits datasize, 45 CharUnits size, CharUnits alignment, 46 bool hasOwnVFPtr, CharUnits vbptroffset, 47 CharUnits datasize, 50 CharUnits nonvirtualsize, 51 CharUnits nonvirtualalign, 52 CharUnits SizeOfLargestEmptySubobject [all...] |
RecordLayoutBuilder.cpp | 69 typedef llvm::DenseMap<CharUnits, ClassVectorTy> EmptyClassOffsetsMapTy; 74 CharUnits MaxEmptyClassOffset; 80 void AddSubobjectAtOffset(const CXXRecordDecl *RD, CharUnits Offset); 83 CharUnits Offset, bool PlacingEmptyBase); 87 CharUnits Offset); 88 void UpdateEmptyFieldSubobjects(const FieldDecl *FD, CharUnits Offset); 92 bool AnyEmptySubobjectsBeyondOffset(CharUnits Offset) const { 96 CharUnits 107 CharUnits Offset) const; 110 CharUnits Offset) [all...] |
VTableBuilder.cpp | 45 CharUnits NonVirtualOffset; 48 NonVirtualOffset(CharUnits::Zero()) { } 50 const CXXRecordDecl *VirtualBase, CharUnits NonVirtualOffset) 67 CharUnits Offset; 69 OverriderInfo() : Method(0), Offset(CharUnits::Zero()) { } 80 const CharUnits MostDerivedClassOffset; 94 typedef std::pair<const CXXMethodDecl *, CharUnits> MethodBaseOffsetPairTy; 107 CharUnits> SubobjectOffsetMapTy; 114 CharUnits OffsetInLayoutClass, 128 CharUnits MostDerivedClassOffset [all...] |
VTTBuilder.cpp | 35 LayoutVTT(BaseSubobject(MostDerivedClass, CharUnits::Zero()), 70 CharUnits BaseOffset = Base.getBaseOffset() + 108 CharUnits BaseOffset; 167 CharUnits BaseOffset =
|
ItaniumCXXABI.cpp | 60 CharUnits PointerSize =
|
/external/clang/lib/CodeGen/ |
CGRecordLayoutBuilder.cpp | 89 CharUnits Offset; 90 CharUnits NonVirtualSize; 93 void invalidate() { NonVirtualSize = CharUnits::Zero(); } 98 CharUnits Alignment; 101 CharUnits NextFieldOffset; 124 CharUnits baseOffset); 128 CharUnits baseOffset); 141 CharUnits baseOffset); 158 void AppendField(CharUnits fieldOffset, llvm::Type *FieldTy); 162 void AppendPadding(CharUnits fieldOffset, CharUnits fieldAlignment) [all...] |
CGCXXABI.cpp | 106 CharUnits offset) { 145 CharUnits CGCXXABI::GetArrayCookieSize(const CXXNewExpr *expr) { 147 return CharUnits::Zero(); 151 CharUnits CGCXXABI::getArrayCookieSizeImpl(QualType elementType) { 153 return CharUnits::Zero(); 188 llvm::Value *&allocPtr, CharUnits &cookieSize) { 198 cookieSize = CharUnits::Zero(); 210 CharUnits cookieSize) { 254 CharUnits CGCXXABI::getMemberPointerPathAdjustment(const APValue &MP) { 258 CharUnits ThisAdjustment = CharUnits::Zero() [all...] |
CGValue.h | 19 #include "clang/AST/CharUnits.h" 170 CharUnits Alignment, 258 CharUnits getAlignment() const { return CharUnits::fromQuantity(Alignment); } 259 void setAlignment(CharUnits A) { Alignment = A.getQuantity(); } 290 CharUnits alignment, ASTContext &Context, 303 QualType type, CharUnits Alignment) { 313 QualType type, CharUnits Alignment) { 330 QualType type, CharUnits Alignment) { 393 return forAddr(0, CharUnits(), Qualifiers(), IsNotDestructed [all...] |
CGExprConstant.cpp | 41 CharUnits NextFieldOffsetInChars; 42 CharUnits LLVMStructAlignment; 53 NextFieldOffsetInChars(CharUnits::Zero()), 54 LLVMStructAlignment(CharUnits::One()) { } 62 void AppendBytes(CharUnits FieldOffsetInChars, llvm::Constant *InitCst); 67 void AppendPadding(CharUnits PadSize); 69 void AppendTailPadding(CharUnits RecordSize); 76 CharUnits BaseOffset); 79 CharUnits getAlignment(const llvm::Constant *C) const { 80 if (Packed) return CharUnits::One() [all...] |
CGBlocks.h | 22 #include "clang/AST/CharUnits.h" 212 CharUnits BlockSize; 213 CharUnits BlockAlign; 218 CharUnits BlockHeaderForcedGapOffset; 221 CharUnits BlockHeaderForcedGapSize;
|
CGCXXABI.h | 172 CharUnits offset); 203 CharUnits getMemberPointerPathAdjustment(const APValue &MP); 316 virtual CharUnits GetArrayCookieSize(const CXXNewExpr *expr); 349 llvm::Value *&AllocPtr, CharUnits &CookieSize); 358 virtual CharUnits getArrayCookieSizeImpl(QualType elementType); 371 CharUnits cookieSize);
|
CGExprAgg.cpp | 80 CharUnits srcAlignment = CharUnits::Zero()); 255 std::pair<CharUnits, CharUnits> typeInfo = 262 CharUnits srcAlign) { 290 CharUnits sz = CGF.getContext().getTypeSizeInChars(type); [all...] |
MicrosoftVBTables.cpp | 48 CharUnits::Zero()), Paths); 85 CharUnits NextOffset; 204 CharUnits VBPtrOffset = BaseLayout.getVBPtrOffset(); 213 CharUnits Offset = DerivedLayout.getVBaseClassOffset(VBase);
|
CGBlocks.cpp | 186 CharUnits Alignment; 187 CharUnits Size; 192 BlockLayoutChunk(CharUnits align, CharUnits size, 212 CharUnits LeftValue, RightValue; 218 LeftValue = CharUnits::fromQuantity(64); 220 LeftValue = CharUnits::fromQuantity(32); 223 LeftValue = CharUnits::fromQuantity(16); 228 RightValue = CharUnits::fromQuantity(64); 230 RightValue = CharUnits::fromQuantity(32) [all...] |
ItaniumCXXABI.cpp | 86 CharUnits offset); 89 CharUnits ThisAdjustment); 156 CharUnits getArrayCookieSizeImpl(QualType elementType); 164 CharUnits cookieSize); 196 CharUnits getArrayCookieSizeImpl(QualType elementType); 203 CharUnits cookieSize); 516 CharUnits offset) { 524 return BuildMemberPointer(MD, CharUnits::Zero()); 528 CharUnits ThisAdjustment) { 540 CharUnits PointerWidth [all...] |
/external/clang/include/clang/Frontend/ |
LayoutOverrideSource.h | 54 llvm::DenseMap<const CXXRecordDecl *, CharUnits> &BaseOffsets, 55 llvm::DenseMap<const CXXRecordDecl *, CharUnits> &VirtualBaseOffsets);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
CastSizeChecker.cpp | 15 #include "clang/AST/CharUnits.h" 62 CharUnits regionSize = CharUnits::fromQuantity(extentInt->getSExtValue()); 63 CharUnits typeSize = C.getASTContext().getTypeSizeInChars(ToPointeeTy);
|
/external/chromium_org/ppapi/tests/clang/ |
print_names_and_sizes.cc | 14 #include "clang/AST/CharUnits.h" 97 const std::string& kind, const clang::CharUnits& size, 131 clang::CharUnits size = 139 clang::CharUnits size = td->getASTContext().getTypeSizeInChars(type);
|
/external/clang/include/clang/Sema/ |
MultiplexExternalSemaSource.h | 191 llvm::DenseMap<const CXXRecordDecl *, CharUnits> &BaseOffsets, 192 llvm::DenseMap<const CXXRecordDecl *, CharUnits> &VirtualBaseOffsets);
|