Home
last modified time | relevance | path

Searched refs:FieldOffset (Results 1 – 11 of 11) sorted by relevance

/external/clang/lib/AST/
DRecordLayoutBuilder.cpp144 uint64_t FieldOffset = Layout.getFieldOffset(FieldNo); in getFieldOffset() local
145 assert(FieldOffset % CharWidth == 0 && in getFieldOffset()
148 return Context.toCharUnitsFromBits(FieldOffset); in getFieldOffset()
308 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo); in CanPlaceBaseSubobjectAtOffset() local
309 if (!CanPlaceFieldSubobjectAtOffset(*I, FieldOffset)) in CanPlaceBaseSubobjectAtOffset()
355 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo); in UpdateEmptyBaseSubobjects() local
356 UpdateEmptyFieldSubobjects(*I, FieldOffset); in UpdateEmptyBaseSubobjects()
420 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo); in CanPlaceFieldSubobjectAtOffset() local
422 if (!CanPlaceFieldSubobjectAtOffset(*I, FieldOffset)) in CanPlaceFieldSubobjectAtOffset()
524 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo); in UpdateEmptyFieldSubobjects() local
[all …]
DMicrosoftMangle.cpp481 int64_t FieldOffset; in mangleMemberDataPointer() local
485 FieldOffset = getASTContext().getFieldOffset(VD); in mangleMemberDataPointer()
486 assert(FieldOffset % getASTContext().getCharWidth() == 0 && in mangleMemberDataPointer()
488 FieldOffset /= getASTContext().getCharWidth(); in mangleMemberDataPointer()
492 FieldOffset = RD->nullFieldOffsetIsZero() ? 0 : -1; in mangleMemberDataPointer()
507 mangleNumber(FieldOffset); in mangleMemberDataPointer()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp708 uint64_t FieldSize, FieldOffset; in CreateType() local
713 FieldOffset = 0; in CreateType()
715 EltTys.push_back(CreateMemberType(Unit, FType, "reserved", &FieldOffset)); in CreateType()
716 EltTys.push_back(CreateMemberType(Unit, FType, "Size", &FieldOffset)); in CreateType()
725 FieldOffset, 0, Flags, llvm::DIType(), in CreateType()
733 FieldOffset = 0; in CreateType()
735 EltTys.push_back(CreateMemberType(Unit, FType, "__isa", &FieldOffset)); in CreateType()
737 EltTys.push_back(CreateMemberType(Unit, FType, "__flags", &FieldOffset)); in CreateType()
738 EltTys.push_back(CreateMemberType(Unit, FType, "__reserved", &FieldOffset)); in CreateType()
740 EltTys.push_back(CreateMemberType(Unit, FType, "__FuncPtr", &FieldOffset)); in CreateType()
[all …]
DCGExprConstant.cpp56 void AppendField(const FieldDecl *Field, uint64_t FieldOffset,
61 void AppendBitField(const FieldDecl *Field, uint64_t FieldOffset,
88 AppendField(const FieldDecl *Field, uint64_t FieldOffset, in AppendField() argument
92 CharUnits FieldOffsetInChars = Context.toCharUnitsFromBits(FieldOffset); in AppendField()
150 uint64_t FieldOffset, in AppendBitField() argument
155 if (FieldOffset > NextFieldOffsetInBits) { in AppendBitField()
158 llvm::RoundUpToAlignment(FieldOffset - NextFieldOffsetInBits, in AppendBitField()
180 if (FieldOffset < NextFieldOffsetInBits) { in AppendBitField()
185 unsigned BitsInPreviousByte = NextFieldOffsetInBits - FieldOffset; in AppendBitField()
DCGObjCMac.cpp956 CharUnits FieldOffset,
2037 CharUnits FieldOffset, in UpdateRunSkipBlockVars() argument
2041 RunSkipBlockVars.push_back(RUN_SKIP(BLOCK_LAYOUT_BYREF, FieldOffset, in UpdateRunSkipBlockVars()
2044 RunSkipBlockVars.push_back(RUN_SKIP(BLOCK_LAYOUT_STRONG, FieldOffset, in UpdateRunSkipBlockVars()
2047 RunSkipBlockVars.push_back(RUN_SKIP(BLOCK_LAYOUT_WEAK, FieldOffset, in UpdateRunSkipBlockVars()
2050 RunSkipBlockVars.push_back(RUN_SKIP(BLOCK_LAYOUT_UNRETAINED, FieldOffset, in UpdateRunSkipBlockVars()
2054 FieldOffset, in UpdateRunSkipBlockVars()
2079 CharUnits FieldOffset = in BuildRCRecordLayout() local
2085 LastBitfieldOrUnnamedOffset = FieldOffset; in BuildRCRecordLayout()
2096 BytePos + FieldOffset, HasUnion); in BuildRCRecordLayout()
[all …]
DMicrosoftCXXABI.cpp2254 CharUnits FieldOffset = in EmitMemberPointer() local
2256 return EmitMemberDataPointer(MPT, ThisAdjustment + FieldOffset); in EmitMemberPointer()
2534 llvm::Value *FieldOffset = MemPtr; in EmitMemberDataPointerAddress() local
2540 FieldOffset = Builder.CreateExtractValue(MemPtr, I++); in EmitMemberDataPointerAddress()
2557 Builder.CreateInBoundsGEP(Base, FieldOffset, "memptr.offset"); in EmitMemberDataPointerAddress()
DTargetInfo.cpp2283 unsigned FieldOffset = (unsigned)Layout.getFieldOffset(idx); in BitsContainNoUserData() local
2286 if (FieldOffset >= EndBit) break; in BitsContainNoUserData()
2288 unsigned FieldStart = FieldOffset < StartBit ? StartBit-FieldOffset :0; in BitsContainNoUserData()
2289 if (!BitsContainNoUserData(i->getType(), FieldStart, EndBit-FieldOffset, in BitsContainNoUserData()
DItaniumCXXABI.cpp733 CharUnits FieldOffset = in EmitMemberPointer() local
735 return EmitMemberDataPointer(MPT, ThisAdjustment + FieldOffset); in EmitMemberPointer()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp1498 uint64_t FieldOffset = (HiMark - FieldSize); in constructMemberDIE() local
1499 Offset -= FieldOffset; in constructMemberDIE()
1508 OffsetInBytes = FieldOffset >> 3; in constructMemberDIE()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp506 uint64_t FieldOffset = Layout.getElementOffset(i); in SRAGlobal() local
507 unsigned NewAlign = (unsigned)MinAlign(StartAlignment, FieldOffset); in SRAGlobal()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp3710 const SCEV *FieldOffset = getOffsetOfExpr(IntPtrTy, STy, FieldNo); in createNodeForGEP() local
3713 TotalOffset = getAddExpr(TotalOffset, FieldOffset); in createNodeForGEP()