/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DebugLocStream.h | 44 size_t ByteOffset; member 46 Entry(const MCSymbol *BeginSym, const MCSymbol *EndSym, size_t ByteOffset, in Entry() 48 : BeginSym(BeginSym), EndSym(EndSym), ByteOffset(ByteOffset), in Entry() 117 .slice(Entries[EI].ByteOffset, getNumBytes(EI)); in getBytes() 143 return DWARFBytes.size() - Entries[EI].ByteOffset; in getNumBytes() 144 return Entries[EI + 1].ByteOffset - Entries[EI].ByteOffset; in getNumBytes()
|
D | DebugLocStream.cpp | 29 if (Entries.back().ByteOffset != DWARFBytes.size()) in finalizeEntry()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | GlobalSplit.cpp | 93 uint64_t ByteOffset = cast<ConstantInt>( in splitGlobal() local 104 uint64_t AttachedTo = (ByteOffset == 0) ? ByteOffset : ByteOffset - 1; in splitGlobal() 111 ConstantInt::get(Int32Ty, ByteOffset - SplitBegin)), in splitGlobal()
|
D | WholeProgramDevirt.cpp | 259 uint64_t ByteOffset; member 277 DenseMapInfo<uint64_t>::getHashValue(I.ByteOffset); in getHashValue() 281 return LHS.TypeID == RHS.TypeID && LHS.ByteOffset == RHS.ByteOffset; in isEqual() 296 DenseMapInfo<uint64_t>::getHashValue(I.ByteOffset); in getHashValue() 300 return LHS.TypeID == RHS.TypeID && LHS.ByteOffset == RHS.ByteOffset; in isEqual() 500 uint64_t ByteOffset); 604 uint64_t ByteOffset); 729 auto WPDRes = TIdSum->WPDRes.find(SlotSummary.ByteOffset); in updateIndexWPDForExports() 816 const std::set<TypeMemberInfo> &TypeMemberInfos, uint64_t ByteOffset) { in tryFindVirtualCallTargets() argument 822 TM.Offset + ByteOffset, M); in tryFindVirtualCallTargets() [all …]
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | GlobalSplit.cpp | 93 uint64_t ByteOffset = cast<ConstantInt>( in splitGlobal() local 104 uint64_t AttachedTo = (ByteOffset == 0) ? ByteOffset : ByteOffset - 1; in splitGlobal() 111 ConstantInt::get(Int32Ty, ByteOffset - SplitBegin)), in splitGlobal()
|
D | WholeProgramDevirt.cpp | 305 uint64_t ByteOffset; member 323 DenseMapInfo<uint64_t>::getHashValue(I.ByteOffset); in getHashValue() 327 return LHS.TypeID == RHS.TypeID && LHS.ByteOffset == RHS.ByteOffset; in isEqual() 342 DenseMapInfo<uint64_t>::getHashValue(I.ByteOffset); in getHashValue() 346 return LHS.TypeID == RHS.TypeID && LHS.ByteOffset == RHS.ByteOffset; in isEqual() 555 uint64_t ByteOffset); 663 uint64_t ByteOffset); 835 auto WPDRes = TIdSum->WPDRes.find(SlotSummary.ByteOffset); in updateIndexWPDForExports() 951 const std::set<TypeMemberInfo> &TypeMemberInfos, uint64_t ByteOffset) { in tryFindVirtualCallTargets() argument 963 TM.Offset + ByteOffset, M); in tryFindVirtualCallTargets() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
D | DebugLocStream.h | 43 size_t ByteOffset; member 119 .slice(Entries[EI].ByteOffset, getNumBytes(EI)); in getBytes() 145 return DWARFBytes.size() - Entries[EI].ByteOffset; in getNumBytes() 146 return Entries[EI + 1].ByteOffset - Entries[EI].ByteOffset; in getNumBytes()
|
D | DebugLocStream.cpp | 28 if (Entries.back().ByteOffset != DWARFBytes.size()) in finalizeEntry()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | DebugLocStream.h | 43 size_t ByteOffset; member 119 .slice(Entries[EI].ByteOffset, getNumBytes(EI)); in getBytes() 145 return DWARFBytes.size() - Entries[EI].ByteOffset; in getNumBytes() 146 return Entries[EI + 1].ByteOffset - Entries[EI].ByteOffset; in getNumBytes()
|
D | DebugLocStream.cpp | 28 if (Entries.back().ByteOffset != DWARFBytes.size()) in finalizeEntry()
|
/external/llvm-project/parallel-libs/acxxel/ |
D | cuda_acxxel.cpp | 96 size_t ByteOffset) override; 120 Status asyncMemsetD(void *DeviceDst, ptrdiff_t ByteOffset, 283 size_t ByteOffset) { in getDeviceMemorySpanHandle() argument 284 return static_cast<char *>(BaseHandle) + ByteOffset; in getDeviceMemorySpanHandle() 313 static const void *offsetVoidPtr(const void *Ptr, ptrdiff_t ByteOffset) { in offsetVoidPtr() argument 314 return static_cast<const void *>(static_cast<const char *>(Ptr) + ByteOffset); in offsetVoidPtr() 317 static void *offsetVoidPtr(void *Ptr, ptrdiff_t ByteOffset) { in offsetVoidPtr() argument 318 return static_cast<void *>(static_cast<char *>(Ptr) + ByteOffset); in offsetVoidPtr() 387 Status CUDAPlatform::asyncMemsetD(void *DeviceDst, ptrdiff_t ByteOffset, in asyncMemsetD() argument 392 reinterpret_cast<CUdeviceptr>(offsetVoidPtr(DeviceDst, ByteOffset)), in asyncMemsetD()
|
D | opencl_acxxel.cpp | 82 size_t ByteOffset) override; 106 Status asyncMemsetD(void *DeviceDst, ptrdiff_t ByteOffset, 275 size_t ByteOffset) { in getDeviceMemorySpanHandle() argument 278 Region.origin = ByteOffset; in getDeviceMemorySpanHandle() 370 Status OpenCLPlatform::asyncMemsetD(void *DeviceDst, ptrdiff_t ByteOffset, in asyncMemsetD() argument 376 ByteOffset, ByteCount, 0, nullptr, nullptr), in asyncMemsetD()
|
/external/llvm/unittests/Transforms/IPO/ |
D | LowerTypeTests.cpp | 20 uint64_t ByteOffset; in TEST() member 62 EXPECT_EQ(T.ByteOffset, BSI.ByteOffset); in TEST()
|
/external/llvm-project/llvm/unittests/Transforms/IPO/ |
D | LowerTypeTests.cpp | 19 uint64_t ByteOffset; in TEST() member 61 EXPECT_EQ(T.ByteOffset, BSI.ByteOffset); in TEST()
|
/external/llvm-project/llvm/tools/llvm-exegesis/lib/X86/ |
D | Target.cpp | 580 size_t ByteOffset = 0; in initStack() local 581 for (; Bytes - ByteOffset >= 4; ByteOffset += 4) in initStack() 583 X86::MOV32mi, ByteOffset, in initStack() 584 WideConstant.extractBits(32, ByteOffset * 8).getZExtValue())); in initStack() 585 if (Bytes - ByteOffset >= 2) { in initStack() 587 X86::MOV16mi, ByteOffset, in initStack() 588 WideConstant.extractBits(16, ByteOffset * 8).getZExtValue())); in initStack() 589 ByteOffset += 2; in initStack() 591 if (Bytes - ByteOffset >= 1) in initStack() 593 X86::MOV8mi, ByteOffset, in initStack() [all …]
|
/external/llvm/lib/Analysis/ |
D | Loads.cpp | 199 int64_t ByteOffset = 0; in isSafeToLoadUnconditionally() local 201 Base = GetPointerBaseWithConstantOffset(V, ByteOffset, DL); in isSafeToLoadUnconditionally() 203 if (ByteOffset < 0) // out of bounds in isSafeToLoadUnconditionally() 235 if (ByteOffset + LoadSize <= DL.getTypeAllocSize(BaseType) && in isSafeToLoadUnconditionally() 236 ((ByteOffset % Align) == 0)) in isSafeToLoadUnconditionally()
|
D | ConstantFolding.cpp | 286 bool ReadDataFromGlobal(Constant *C, uint64_t ByteOffset, unsigned char *CurPtr, in ReadDataFromGlobal() argument 288 assert(ByteOffset <= DL.getTypeAllocSize(C->getType()) && in ReadDataFromGlobal() 304 for (unsigned i = 0; i != BytesLeft && ByteOffset != IntBytes; ++i) { in ReadDataFromGlobal() 305 int n = ByteOffset; in ReadDataFromGlobal() 309 ++ByteOffset; in ReadDataFromGlobal() 317 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 321 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 325 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 332 unsigned Index = SL->getElementContainingOffset(ByteOffset); in ReadDataFromGlobal() 334 ByteOffset -= CurEltOffset; in ReadDataFromGlobal() [all …]
|
/external/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
D | AMDGPUBaseInfo.cpp | 1481 static bool isDwordAligned(uint64_t ByteOffset) { in isDwordAligned() argument 1482 return (ByteOffset & 3) == 0; in isDwordAligned() 1486 uint64_t ByteOffset) { in convertSMRDOffsetUnits() argument 1488 return ByteOffset; in convertSMRDOffsetUnits() 1490 assert(isDwordAligned(ByteOffset)); in convertSMRDOffsetUnits() 1491 return ByteOffset >> 2; in convertSMRDOffsetUnits() 1495 int64_t ByteOffset, bool IsBuffer) { in getSMRDEncodedOffset() argument 1499 return isInt<20>(ByteOffset) ? Optional<int64_t>(ByteOffset) : None; in getSMRDEncodedOffset() 1502 if (!isDwordAligned(ByteOffset) && !hasSMEMByteOffset(ST)) in getSMRDEncodedOffset() 1505 int64_t EncodedOffset = convertSMRDOffsetUnits(ST, ByteOffset); in getSMRDEncodedOffset() [all …]
|
D | AMDGPUBaseInfo.h | 722 uint64_t convertSMRDOffsetUnits(const MCSubtargetInfo &ST, uint64_t ByteOffset); 729 int64_t ByteOffset, bool IsBuffer); 734 int64_t ByteOffset); 739 bool isLegalSMRDImmOffset(const MCSubtargetInfo &ST, int64_t ByteOffset);
|
/external/llvm/lib/Transforms/IPO/ |
D | WholeProgramDevirt.cpp | 178 uint64_t ByteOffset; member 196 DenseMapInfo<uint64_t>::getHashValue(I.ByteOffset); in getHashValue() 200 return LHS.TypeID == RHS.TypeID && LHS.ByteOffset == RHS.ByteOffset; in isEqual() 272 uint64_t ByteOffset); 358 const std::set<TypeMemberInfo> &TypeMemberInfos, uint64_t ByteOffset) { in tryFindVirtualCallTargets() argument 370 uint64_t GlobalSlotOffset = TM.Offset + ByteOffset; in tryFindVirtualCallTargets() 815 S.first.ByteOffset)) in run()
|
D | LowerTypeTests.cpp | 52 if (Offset < ByteOffset) in containsGlobalOffset() 55 if ((Offset - ByteOffset) % (uint64_t(1) << AlignLog2) != 0) in containsGlobalOffset() 58 uint64_t BitOffset = (Offset - ByteOffset) >> AlignLog2; in containsGlobalOffset() 99 OS << "offset " << ByteOffset << " size " << BitSize << " align " in print() 129 BSI.ByteOffset = Min; in build() 434 CombinedGlobalIntAddr, ConstantInt::get(IntPtrTy, BSI.ByteOffset)); in lowerBitSetCall()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | ArrayBoundCheckerV2.cpp | 208 SVal ByteOffset = rawOffset.getByteOffset(); in checkLocation() local 209 if (isTainted(state, ByteOffset)) { in checkLocation() 211 std::make_unique<TaintBugVisitor>(ByteOffset)); in checkLocation()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 380 bool ReadDataFromGlobal(Constant *C, uint64_t ByteOffset, unsigned char *CurPtr, in ReadDataFromGlobal() argument 382 assert(ByteOffset <= DL.getTypeAllocSize(C->getType()) && in ReadDataFromGlobal() 398 for (unsigned i = 0; i != BytesLeft && ByteOffset != IntBytes; ++i) { in ReadDataFromGlobal() 399 int n = ByteOffset; in ReadDataFromGlobal() 403 ++ByteOffset; in ReadDataFromGlobal() 411 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 415 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 419 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 426 unsigned Index = SL->getElementContainingOffset(ByteOffset); in ReadDataFromGlobal() 428 ByteOffset -= CurEltOffset; in ReadDataFromGlobal() [all …]
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 421 bool ReadDataFromGlobal(Constant *C, uint64_t ByteOffset, unsigned char *CurPtr, in ReadDataFromGlobal() argument 423 assert(ByteOffset <= DL.getTypeAllocSize(C->getType()) && in ReadDataFromGlobal() 439 for (unsigned i = 0; i != BytesLeft && ByteOffset != IntBytes; ++i) { in ReadDataFromGlobal() 440 int n = ByteOffset; in ReadDataFromGlobal() 444 ++ByteOffset; in ReadDataFromGlobal() 452 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 456 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 460 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 467 unsigned Index = SL->getElementContainingOffset(ByteOffset); in ReadDataFromGlobal() 469 ByteOffset -= CurEltOffset; in ReadDataFromGlobal() [all …]
|
/external/llvm/include/llvm/Transforms/IPO/ |
D | LowerTypeTests.h | 43 uint64_t ByteOffset; member
|