/external/clang/include/clang/AST/ |
D | BaseSubobject.h | 32 CharUnits BaseOffset; variable 36 BaseSubobject(const CXXRecordDecl *Base, CharUnits BaseOffset) in BaseSubobject() argument 37 : Base(Base), BaseOffset(BaseOffset) { } in BaseSubobject() 43 CharUnits getBaseOffset() const { return BaseOffset; } in getBaseOffset() 46 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 | 68 CharUnits BaseOffset = Base.getBaseOffset() + in LayoutSecondaryVTTs() local 72 LayoutVTT(BaseSubobject(BaseDecl, BaseOffset), /*BaseIsVirtual=*/false); in LayoutSecondaryVTTs() 105 CharUnits BaseOffset; in LayoutSecondaryVirtualPointers() local 111 BaseOffset = MostDerivedClassLayout.getVBaseClassOffset(BaseDecl); in LayoutSecondaryVirtualPointers() 116 BaseOffset = Base.getBaseOffset() + in LayoutSecondaryVirtualPointers() 132 AddVTablePointer(BaseSubobject(BaseDecl, BaseOffset), VTableIndex, in LayoutSecondaryVirtualPointers() 137 LayoutSecondaryVirtualPointers(BaseSubobject(BaseDecl, BaseOffset), in LayoutSecondaryVirtualPointers() 163 CharUnits BaseOffset = in LayoutVirtualVTTs() local 166 LayoutVTT(BaseSubobject(BaseDecl, BaseOffset), /*BaseIsVirtual=*/true); in LayoutVirtualVTTs()
|
D | VTableBuilder.cpp | 35 struct BaseOffset { struct 50 BaseOffset() : DerivedClass(nullptr), VirtualBase(nullptr), in BaseOffset() argument 52 BaseOffset(const CXXRecordDecl *DerivedClass, in BaseOffset() function 142 CharUnits BaseOffset) const { in getOverrider() 143 assert(OverridersMap.count(std::make_pair(MD, BaseOffset)) && in getOverrider() 146 return OverridersMap.lookup(std::make_pair(MD, BaseOffset)); in getOverrider() 190 CharUnits BaseOffset = SubobjectOffsets[std::make_pair(MD->getParent(), in FinalOverriders() local 204 OverriderInfo& Overrider = OverridersMap[std::make_pair(MD, BaseOffset)]; in FinalOverriders() 219 static BaseOffset ComputeBaseOffset(const ASTContext &Context, in ComputeBaseOffset() 254 return BaseOffset(DerivedRD, VirtualBase, NonVirtualOffset); in ComputeBaseOffset() [all …]
|
D | RecordLayoutBuilder.cpp | 86 bool getExternalNVBaseOffset(const CXXRecordDecl *RD, CharUnits &BaseOffset) { in getExternalNVBaseOffset() 90 BaseOffset = Known->second; in getExternalNVBaseOffset() 94 bool getExternalVBaseOffset(const CXXRecordDecl *RD, CharUnits &BaseOffset) { in getExternalVBaseOffset() 98 BaseOffset = Known->second; in getExternalVBaseOffset() 285 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(Base->Class); in CanPlaceBaseSubobjectAtOffset() local 287 if (!CanPlaceBaseSubobjectAtOffset(Base, BaseOffset)) in CanPlaceBaseSubobjectAtOffset() 335 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(Base->Class); in UpdateEmptyBaseSubobjects() local 336 UpdateEmptyBaseSubobjects(Base, BaseOffset, PlacingEmptyBase); in UpdateEmptyBaseSubobjects() 396 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(BaseDecl); in CanPlaceFieldSubobjectAtOffset() local 397 if (!CanPlaceFieldSubobjectAtOffset(BaseDecl, Class, BaseOffset)) in CanPlaceFieldSubobjectAtOffset() [all …]
|
/external/llvm/lib/CodeGen/ |
D | LocalStackSlotAllocation.cpp | 256 int64_t BaseOffset, in lookupCandidateBaseReg() argument 263 int64_t Offset = FrameSizeAdjust + LocalFrameOffset - BaseOffset; in lookupCandidateBaseReg() 327 int64_t BaseOffset = 0; in insertFrameReferenceRegisters() local 362 lookupCandidateBaseReg(BaseReg, BaseOffset, FrameSizeAdjust, in insertFrameReferenceRegisters() 366 Offset = FrameSizeAdjust + LocalOffset - BaseOffset; in insertFrameReferenceRegisters() 371 int64_t PrevBaseOffset = BaseOffset; in insertFrameReferenceRegisters() 372 BaseOffset = FrameSizeAdjust + LocalOffset + InstrOffset; in insertFrameReferenceRegisters() 381 BaseReg, BaseOffset, FrameSizeAdjust, in insertFrameReferenceRegisters() 384 BaseOffset = PrevBaseOffset; in insertFrameReferenceRegisters()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | LocalStackSlotAllocation.cpp | 262 int64_t BaseOffset, in lookupCandidateBaseReg() argument 269 int64_t Offset = FrameSizeAdjust + LocalFrameOffset - BaseOffset; in lookupCandidateBaseReg() 336 int64_t BaseOffset = 0; in insertFrameReferenceRegisters() local 371 lookupCandidateBaseReg(BaseReg, BaseOffset, FrameSizeAdjust, in insertFrameReferenceRegisters() 375 Offset = FrameSizeAdjust + LocalOffset - BaseOffset; in insertFrameReferenceRegisters() 380 int64_t PrevBaseOffset = BaseOffset; in insertFrameReferenceRegisters() 381 BaseOffset = FrameSizeAdjust + LocalOffset + InstrOffset; in insertFrameReferenceRegisters() 390 BaseReg, BaseOffset, FrameSizeAdjust, in insertFrameReferenceRegisters() 393 BaseOffset = PrevBaseOffset; in insertFrameReferenceRegisters()
|
/external/pdfium/third_party/lcms/src/ |
D | cmstypes.c | 175 cmsUInt32Number BaseOffset, in ReadPositionTable() argument 201 ElementOffsets[i] += BaseOffset; in ReadPositionTable() 230 cmsUInt32Number BaseOffset, in WritePositionTable() argument 259 ElementOffsets[i] = Before - BaseOffset; in WritePositionTable() 2484 cmsUInt32Number BaseOffset; in Type_LUTA2B_Read() local 2495 BaseOffset = io ->Tell(io) - sizeof(_cmsTagBase); in Type_LUTA2B_Read() 2516 …if (!cmsPipelineInsertStage(NewLUT, cmsAT_END, ReadSetOfCurves(self, io, BaseOffset + offsetA, inp… in Type_LUTA2B_Read() 2521 …if (!cmsPipelineInsertStage(NewLUT, cmsAT_END, ReadCLUT(self, io, BaseOffset + offsetC, inputChan,… in Type_LUTA2B_Read() 2526 …if (!cmsPipelineInsertStage(NewLUT, cmsAT_END, ReadSetOfCurves(self, io, BaseOffset + offsetM, out… in Type_LUTA2B_Read() 2531 … if (!cmsPipelineInsertStage(NewLUT, cmsAT_END, ReadMatrix(self, io, BaseOffset + offsetMat))) in Type_LUTA2B_Read() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | TargetTransformInfoImpl.h | 204 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in isLegalAddressingMode() argument 209 return !BaseGV && BaseOffset == 0 && (Scale == 0 || Scale == 1); in isLegalAddressingMode() 220 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in getScalingFactorCost() argument 223 if (isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, in getScalingFactorCost() 447 int64_t BaseOffset = 0; in getGEPCost() local 464 BaseOffset += ConstIdx->getSExtValue() * ElementSize; in getGEPCost() 477 BaseOffset += DL.getStructLayout(STy)->getElementOffset(Field); in getGEPCost() 483 BaseOffset, HasBaseReg, Scale, AS)) { in getGEPCost()
|
D | TargetTransformInfo.h | 329 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, 350 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, 652 int64_t BaseOffset, bool HasBaseReg, 660 int64_t BaseOffset, bool HasBaseReg, 799 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in isLegalAddressingMode() argument 802 return Impl.isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, in isLegalAddressingMode() 817 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in getScalingFactorCost() argument 820 return Impl.getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, in getScalingFactorCost()
|
D | BasicAliasAnalysis.h | 173 uint64_t V1Size, uint64_t V2Size, int64_t BaseOffset,
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 250 int64_t BaseOffset; member 280 : BaseGV(nullptr), BaseOffset(0), HasBaseReg(false), Scale(0), in Formula() 472 if (BaseOffset != 0) { in print() 474 OS << BaseOffset; in print() 1017 int64_t Offset = (uint64_t)O + F.BaseOffset; in RateFormula() 1358 GlobalValue *BaseGV, int64_t BaseOffset, in isAMCompletelyFolded() argument 1362 return TTI.isLegalAddressingMode(AccessTy.MemTy, BaseGV, BaseOffset, in isAMCompletelyFolded() 1372 if (Scale != 0 && HasBaseReg && BaseOffset != 0) in isAMCompletelyFolded() 1382 if (BaseOffset != 0) { in isAMCompletelyFolded() 1389 BaseOffset = -(uint64_t)BaseOffset; in isAMCompletelyFolded() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 315 int64_t BaseOffset = 0; member 526 if (UnfoldedOffset || BaseOffset) in hasZeroEnd() 580 if (BaseOffset != 0) { in print() 582 OS << BaseOffset; in print() 1202 GlobalValue *BaseGV, int64_t BaseOffset, 1341 int64_t Offset = (uint64_t)O + F.BaseOffset; in RateFormula() 1602 GlobalValue *BaseGV, int64_t BaseOffset, in isAMCompletelyFolded() argument 1607 return TTI.isLegalAddressingMode(AccessTy.MemTy, BaseGV, BaseOffset, in isAMCompletelyFolded() 1617 if (Scale != 0 && HasBaseReg && BaseOffset != 0) in isAMCompletelyFolded() 1627 if (BaseOffset != 0) { in isAMCompletelyFolded() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | TargetTransformInfoImpl.h | 235 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, 240 return !BaseGV && BaseOffset == 0 && (Scale == 0 || Scale == 1); 268 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in getScalingFactorCost() argument 271 if (isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, in getScalingFactorCost() 712 APInt BaseOffset(PtrSizeBits, 0); in getGEPCost() 735 BaseOffset += DL.getStructLayout(STy)->getElementOffset(Field); in getGEPCost() 739 BaseOffset += in getGEPCost() 757 BaseOffset.sextOrTrunc(64).getSExtValue(), HasBaseReg, Scale, AS)) in getGEPCost()
|
D | TargetTransformInfo.h | 472 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, 524 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, 1034 int64_t BaseOffset, bool HasBaseReg, 1050 int64_t BaseOffset, bool HasBaseReg, 1255 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in isLegalAddressingMode() argument 1259 return Impl.isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, in isLegalAddressingMode() 1293 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in getScalingFactorCost() argument 1296 return Impl.getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, in getScalingFactorCost()
|
/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 | 81 bool CollectFields(uint64_t BaseOffset,
|
/external/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 118 int64_t BaseOffset, in isLegalAddressingMode() argument 122 return TTIImpl->isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, in isLegalAddressingMode() 143 int64_t BaseOffset, in getScalingFactorCost() argument 147 int Cost = TTIImpl->getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, in getScalingFactorCost()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/ |
D | LinePrinter.cpp | 260 uint64_t BaseOffset = Blocks.front(); in formatMsfStreamBlocks() local 261 BaseOffset *= File.getBlockSize(); in formatMsfStreamBlocks() 262 OS << format_bytes_with_ascii(BlockData, BaseOffset, 32, 4, in formatMsfStreamBlocks()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULowerKernelArguments.cpp | 78 const uint64_t BaseOffset = ST.getExplicitKernelArgOffset(F); in runOnFunction() local 103 uint64_t EltOffset = alignTo(ExplicitArgOffset, Align) + BaseOffset; in runOnFunction()
|
D | AMDGPUCallLowering.cpp | 154 const unsigned BaseOffset = Subtarget->getExplicitKernelArgOffset(F); in lowerFormalArguments() local 166 uint64_t ArgOffset = alignTo(ExplicitArgOffset, ABIAlign) + BaseOffset; in lowerFormalArguments()
|
/external/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 126 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in isLegalAddressingMode() argument 131 AM.BaseOffs = BaseOffset; in isLegalAddressingMode() 137 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in getScalingFactorCost() argument 141 AM.BaseOffs = BaseOffset; in getScalingFactorCost()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 145 int64_t BaseOffset, in isLegalAddressingMode() argument 150 return TTIImpl->isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, in isLegalAddressingMode() 196 int64_t BaseOffset, in getScalingFactorCost() argument 200 int Cost = TTIImpl->getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, in getScalingFactorCost()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/ |
D | DwarfLinker.cpp | 1226 MutableArrayRef<char> Data, uint32_t BaseOffset, bool isLittleEndian) { in applyValidRelocs() argument 1228 BaseOffset > ValidRelocs[NextValidReloc - 1].Offset) && in applyValidRelocs() 1235 ValidRelocs[NextValidReloc].Offset < BaseOffset) in applyValidRelocs() 1239 uint64_t EndOffset = BaseOffset + Data.size(); in applyValidRelocs() 1241 ValidRelocs[NextValidReloc].Offset >= BaseOffset && in applyValidRelocs() 1244 assert(ValidReloc.Offset - BaseOffset < Data.size()); in applyValidRelocs() 1245 assert(ValidReloc.Offset - BaseOffset + ValidReloc.Size <= Data.size()); in applyValidRelocs() 1254 memcpy(&Data[ValidReloc.Offset - BaseOffset], Buf, ValidReloc.Size); in applyValidRelocs()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 165 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, 170 AM.BaseOffs = BaseOffset; 192 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in getScalingFactorCost() argument 196 AM.BaseOffs = BaseOffset; in getScalingFactorCost()
|