/external/clang/include/clang/AST/ |
D | BaseSubobject.h | 33 CharUnits BaseOffset; variable 37 BaseSubobject(const CXXRecordDecl *Base, CharUnits BaseOffset) in BaseSubobject() argument 38 : Base(Base), BaseOffset(BaseOffset) { } in BaseSubobject() 44 CharUnits getBaseOffset() const { return BaseOffset; } in getBaseOffset() 47 return LHS.Base == RHS.Base && LHS.BaseOffset == RHS.BaseOffset;
|
D | VTTBuilder.h | 30 CharUnits BaseOffset; variable 34 VTTVTable(const CXXRecordDecl *Base, CharUnits BaseOffset, bool BaseIsVirtual) in VTTVTable() argument 35 : BaseAndIsVirtual(Base, BaseIsVirtual), BaseOffset(BaseOffset) {} in VTTVTable() 38 BaseOffset(Base.getBaseOffset()) {} in VTTVTable() 45 return BaseOffset; in getBaseOffset()
|
/external/clang/lib/AST/ |
D | VTTBuilder.cpp | 70 CharUnits BaseOffset = Base.getBaseOffset() + in LayoutSecondaryVTTs() local 74 LayoutVTT(BaseSubobject(BaseDecl, BaseOffset), /*BaseIsVirtual=*/false); in LayoutSecondaryVTTs() 108 CharUnits BaseOffset; in LayoutSecondaryVirtualPointers() local 114 BaseOffset = MostDerivedClassLayout.getVBaseClassOffset(BaseDecl); in LayoutSecondaryVirtualPointers() 119 BaseOffset = Base.getBaseOffset() + in LayoutSecondaryVirtualPointers() 135 AddVTablePointer(BaseSubobject(BaseDecl, BaseOffset), VTableIndex, in LayoutSecondaryVirtualPointers() 140 LayoutSecondaryVirtualPointers(BaseSubobject(BaseDecl, BaseOffset), in LayoutSecondaryVirtualPointers() 167 CharUnits BaseOffset = in LayoutVirtualVTTs() local 170 LayoutVTT(BaseSubobject(BaseDecl, BaseOffset), /*BaseIsVirtual=*/true); in LayoutVirtualVTTs()
|
D | VTableBuilder.cpp | 32 struct BaseOffset { struct 46 BaseOffset() : DerivedClass(0), VirtualBase(0), in BaseOffset() function 48 BaseOffset(const CXXRecordDecl *DerivedClass, in BaseOffset() argument 133 CharUnits BaseOffset) const { in getOverrider() 134 assert(OverridersMap.count(std::make_pair(MD, BaseOffset)) && in getOverrider() 137 return OverridersMap.lookup(std::make_pair(MD, BaseOffset)); in getOverrider() 185 CharUnits BaseOffset = SubobjectOffsets[std::make_pair(MD->getParent(), in FinalOverriders() local 199 OverriderInfo& Overrider = OverridersMap[std::make_pair(MD, BaseOffset)]; in FinalOverriders() 213 static BaseOffset ComputeBaseOffset(ASTContext &Context, in ComputeBaseOffset() 251 return BaseOffset(DerivedRD, VirtualBase, NonVirtualOffset); in ComputeBaseOffset() [all …]
|
D | RecordLayoutBuilder.cpp | 245 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(Base->Class); in CanPlaceBaseSubobjectAtOffset() local 247 if (!CanPlaceBaseSubobjectAtOffset(Base, BaseOffset)) in CanPlaceBaseSubobjectAtOffset() 296 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(Base->Class); in UpdateEmptyBaseSubobjects() local 297 UpdateEmptyBaseSubobjects(Base, BaseOffset, PlacingEmptyBase); in UpdateEmptyBaseSubobjects() 359 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(BaseDecl); in CanPlaceFieldSubobjectAtOffset() local 360 if (!CanPlaceFieldSubobjectAtOffset(BaseDecl, Class, BaseOffset)) in CanPlaceFieldSubobjectAtOffset() 471 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(BaseDecl); in UpdateEmptyFieldSubobjects() local 472 UpdateEmptyFieldSubobjects(BaseDecl, Class, BaseOffset); in UpdateEmptyFieldSubobjects() 1164 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(Base->Class); in AddPrimaryVirtualBaseOffsets() local 1165 AddPrimaryVirtualBaseOffsets(Base, BaseOffset); in AddPrimaryVirtualBaseOffsets() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 231 int64_t BaseOffset; member 253 : BaseGV(0), BaseOffset(0), HasBaseReg(false), Scale(0), ScaledReg(0), in Formula() 399 if (BaseOffset != 0) { in print() 401 OS << BaseOffset; in print() 940 int64_t Offset = (uint64_t)*I + F.BaseOffset; in RateFormula() 1284 Type *AccessTy, GlobalValue *BaseGV, int64_t BaseOffset, in isLegalUse() argument 1288 return TTI.isLegalAddressingMode(AccessTy, BaseGV, BaseOffset, HasBaseReg, Scale); in isLegalUse() 1300 if (Scale != 0 && HasBaseReg && BaseOffset != 0) in isLegalUse() 1310 if (BaseOffset != 0) { in isLegalUse() 1317 BaseOffset = -(uint64_t)BaseOffset; in isLegalUse() [all …]
|
/external/clang/lib/CodeGen/ |
D | CodeGenTBAA.cpp | 174 CodeGenTBAA::CollectFields(uint64_t BaseOffset, in CollectFields() argument 196 uint64_t Offset = BaseOffset + in CollectFields() 207 uint64_t Offset = BaseOffset; in CollectFields()
|
D | CodeGenTBAA.h | 69 bool CollectFields(uint64_t BaseOffset,
|
D | CGExprConstant.cpp | 76 CharUnits BaseOffset); 465 CharUnits BaseOffset = Layout.getBaseClassOffset(BD); in Build() local 466 Bases.push_back(BaseInfo(BD, BaseOffset, BaseNo)); in Build() 1322 uint64_t BaseOffset = in FillInNullDataMemberPointers() local 1325 Elements, StartOffset + BaseOffset); in FillInNullDataMemberPointers()
|
D | CGClass.cpp | 312 CharUnits BaseOffset = ForVirtualBase ? in GetVTTParameter() local 317 CGM.getVTables().getSubVTTIndex(RD, BaseSubobject(Base, BaseOffset)); in GetVTTParameter() 1974 CharUnits BaseOffset; in InitializeVTablePointers() local 1986 BaseOffset = Layout.getVBaseClassOffset(BaseDecl); in InitializeVTablePointers() 1992 BaseOffset = Base.getBaseOffset() + Layout.getBaseClassOffset(BaseDecl); in InitializeVTablePointers() 1998 InitializeVTablePointers(BaseSubobject(BaseDecl, BaseOffset), in InitializeVTablePointers()
|
D | TargetInfo.cpp | 1820 unsigned BaseOffset = Context.toBits(Layout.getBaseClassOffset(Base)); in BitsContainNoUserData() local 1821 if (BaseOffset >= EndBit) continue; in BitsContainNoUserData() 1823 unsigned BaseStart = BaseOffset < StartBit ? StartBit-BaseOffset :0; in BitsContainNoUserData() 1825 EndBit-BaseOffset, Context)) in BitsContainNoUserData() 3941 llvm::Value *BaseOffset = llvm::ConstantInt::get(CGF.Int32Ty, 16 * i); in EmitVAArg() local 3942 llvm::Value *LoadAddr = CGF.Builder.CreateGEP(BaseAddr, BaseOffset); in EmitVAArg()
|
D | CGDebugInfo.cpp | 1163 uint64_t BaseOffset; in CollectCXXBases() local 1171 BaseOffset = in CollectCXXBases() 1176 BaseOffset = CGM.getContext().toBits(RL.getBaseClassOffset(Base)); in CollectCXXBases() 1189 BaseOffset, BFlags); in CollectCXXBases()
|
D | CGObjCGNU.cpp | 2197 uint64_t BaseOffset = ComputeIvarBaseOffset(CGM, OID, IVD); in GenerateClass() local 2198 uint64_t Offset = BaseOffset; in GenerateClass() 2200 Offset = BaseOffset - superInstanceSize; in GenerateClass()
|
/external/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 104 int64_t BaseOffset, in isLegalAddressingMode() argument 107 return PrevTTI->isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, in isLegalAddressingMode() 451 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in isLegalAddressingMode() 455 return !BaseGV && BaseOffset == 0 && Scale <= 1; in isLegalAddressingMode()
|
/external/llvm/lib/CodeGen/ |
D | BasicTargetTransformInfo.cpp | 72 int64_t BaseOffset, bool HasBaseReg, 130 int64_t BaseOffset, bool HasBaseReg, in isLegalAddressingMode() argument 134 AM.BaseOffs = BaseOffset; in isLegalAddressingMode()
|
D | LocalStackSlotAllocation.cpp | 336 int64_t BaseOffset = FrameSizeAdjust + LocalOffsets[FrameIdx] + in insertFrameReferenceRegisters() local 339 std::pair<unsigned, int64_t>(BaseReg, BaseOffset)); in insertFrameReferenceRegisters()
|
/external/llvm/include/llvm/Analysis/ |
D | TargetTransformInfo.h | 225 int64_t BaseOffset, bool HasBaseReg,
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | MemRegion.cpp | 1204 CharUnits BaseOffset; in getAsOffset() local 1207 BaseOffset = Layout.getVBaseClassOffset(BOR->getDecl()); in getAsOffset() 1209 BaseOffset = Layout.getBaseClassOffset(BOR->getDecl()); in getAsOffset() 1212 Offset += BaseOffset.getQuantity() * getContext().getCharWidth(); in getAsOffset()
|
/external/llvm/include/llvm/ |
D | DIBuilder.h | 164 uint64_t BaseOffset, unsigned Flags);
|
/external/llvm/lib/IR/ |
D | DIBuilder.cpp | 305 DIType Ty, DIType BaseTy, uint64_t BaseOffset, unsigned Flags) { in createInheritance() argument 316 ConstantInt::get(Type::getInt64Ty(VMContext), BaseOffset), in createInheritance()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 900 unsigned BaseOffset = F->SLocEntryBaseOffset; in ReadSLocEntry() local 938 ID, BaseOffset + Record[0]); in ReadSLocEntry() 997 BaseOffset + Offset, IncludeLoc); in ReadSLocEntry() 1008 BaseOffset + Record[0]); in ReadSLocEntry()
|