Home
last modified time | relevance | path

Searched refs:ByteOffset (Results 1 – 23 of 23) sorted by relevance

/external/llvm/lib/CodeGen/AsmPrinter/
DDebugLocStream.h44 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()
DDebugLocStream.cpp29 if (Entries.back().ByteOffset != DWARFBytes.size()) in finalizeEntry()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DLoads.cpp56 uint64_t &ByteOffset, in getUnderlyingObjectWithOffset() argument
65 ByteOffset += TD->getIndexedOffset(GEP->getPointerOperandType(), in getUnderlyingObjectWithOffset()
88 uint64_t ByteOffset = 0; in isSafeToLoadUnconditionally() local
91 Base = getUnderlyingObjectWithOffset(V, TD, ByteOffset); in isSafeToLoadUnconditionally()
119 if (ByteOffset + LoadSize <= TD->getTypeAllocSize(BaseType) && in isSafeToLoadUnconditionally()
120 (Align == 0 || (ByteOffset % Align) == 0)) in isSafeToLoadUnconditionally()
DConstantFolding.cpp238 static bool ReadDataFromGlobal(Constant *C, uint64_t ByteOffset, in ReadDataFromGlobal() argument
241 assert(ByteOffset <= TD.getTypeAllocSize(C->getType()) && in ReadDataFromGlobal()
257 for (unsigned i = 0; i != BytesLeft && ByteOffset != IntBytes; ++i) { in ReadDataFromGlobal()
258 CurPtr[i] = (unsigned char)(Val >> (ByteOffset * 8)); in ReadDataFromGlobal()
259 ++ByteOffset; in ReadDataFromGlobal()
267 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, TD); in ReadDataFromGlobal()
271 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, TD); in ReadDataFromGlobal()
278 unsigned Index = SL->getElementContainingOffset(ByteOffset); in ReadDataFromGlobal()
280 ByteOffset -= CurEltOffset; in ReadDataFromGlobal()
287 if (ByteOffset < EltSize && in ReadDataFromGlobal()
[all …]
/external/llvm/unittests/Transforms/IPO/
DLowerTypeTests.cpp20 uint64_t ByteOffset; in TEST() member
62 EXPECT_EQ(T.ByteOffset, BSI.ByteOffset); in TEST()
/external/llvm/lib/Analysis/
DLoads.cpp199 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()
DConstantFolding.cpp286 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 …]
DValueTracking.cpp2760 APInt ByteOffset(BitWidth, 0); in GetPointerBaseWithConstantOffset() local
2775 ByteOffset += GEPOffset; in GetPointerBaseWithConstantOffset()
2789 Offset = ByteOffset.getSExtValue(); in GetPointerBaseWithConstantOffset()
/external/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp178 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()
DLowerTypeTests.cpp52 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/include/llvm/Transforms/IPO/
DLowerTypeTests.h43 uint64_t ByteOffset; member
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp672 int64_t ByteOffset = C->getSExtValue(); in SelectDS1Addr1Offset() local
673 if (isUInt<16>(ByteOffset)) { in SelectDS1Addr1Offset()
682 if (isDSOffsetLegal(Sub, ByteOffset, 16)) { in SelectDS1Addr1Offset()
688 Offset = CurDAG->getTargetConstant(ByteOffset, DL, MVT::i16); in SelectDS1Addr1Offset()
1098 int64_t ByteOffset = C->getSExtValue(); in SelectSMRDOffset() local
1100 ByteOffset >> 2 : ByteOffset; in SelectSMRDOffset()
1108 if (!isUInt<32>(EncodedOffset) || !isUInt<32>(ByteOffset)) in SelectSMRDOffset()
1115 SDValue C32Bit = CurDAG->getTargetConstant(ByteOffset, SL, MVT::i32); in SelectSMRDOffset()
DR600ISelLowering.cpp765 uint32_t ByteOffset = getImplicitParameterOffset(MFI, FIRST_IMPLICIT); in LowerOperation() local
766 return DAG.getConstant(ByteOffset, DL, PtrVT); in LowerOperation()
789 uint32_t ByteOffset = getImplicitParameterOffset(MFI, GRID_DIM); in LowerOperation() local
790 return LowerImplicitParameter(DAG, VT, DL, ByteOffset / 4); in LowerOperation()
1071 unsigned ByteOffset = DwordOffset * 4; in LowerImplicitParameter() local
1076 assert(isInt<16>(ByteOffset)); in LowerImplicitParameter()
1079 DAG.getConstant(ByteOffset, DL, MVT::i32), // PTR in LowerImplicitParameter()
/external/mesa3d/src/gallium/drivers/radeon/
DR600ISelLowering.cpp361 unsigned ByteOffset = DwordOffset * 4; in LowerImplicitParameter() local
366 assert(isInt<16>(ByteOffset)); in LowerImplicitParameter()
369 DAG.getConstant(ByteOffset, MVT::i32), // PTR in LowerImplicitParameter()
/external/e2fsprogs/lib/ext2fs/
Dnt_io.c90 IN PLARGE_INTEGER ByteOffset OPTIONAL,
105 IN PLARGE_INTEGER ByteOffset OPTIONAL,
/external/v8/src/runtime/
Druntime-typedarray.cc283 BUFFER_VIEW_GETTER(ArrayBufferView, ByteOffset, byte_offset) in BUFFER_VIEW_GETTER()
/external/llvm/lib/MC/
DMCAsmStreamer.cpp813 unsigned ByteOffset = in EmitValueImpl() local
815 uint64_t ValueToEmit = IntValue >> (ByteOffset * 8); in EmitValueImpl()
/external/clang/lib/CodeGen/
DCGStmt.cpp1779 unsigned ByteOffset = 0; in getAsmSrcLocInfo() local
1786 i + 1, SM, LangOpts, CGF.getTarget(), &StartToken, &ByteOffset); in getAsmSrcLocInfo()
/external/v8/src/wasm/
Dwasm-js.cc75 reinterpret_cast<const byte*>(contents.Data()) + array->ByteOffset(); in GetRawBufferSource()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp1914 unsigned ByteOffset = (Strides * LoadTy.getSizeInBits()) / 8; in ExpandFCOPYSIGN() local
1916 LoadPtr, DAG.getIntPtrConstant(ByteOffset)); in ExpandFCOPYSIGN()
1922 (FloatVT.getSizeInBits() - 8 * ByteOffset); in ExpandFCOPYSIGN()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp1402 unsigned ByteOffset = (FloatVT.getSizeInBits() / 8) - 1; in getSignAsIntValue() local
1404 DAG.getConstant(ByteOffset, DL, StackPtr.getValueType())); in getSignAsIntValue()
1406 ByteOffset); in getSignAsIntValue()
/external/v8/include/
Dv8.h4099 size_t ByteOffset();
/external/v8/src/
Dapi.cc7472 size_t v8::ArrayBufferView::ByteOffset() { in ByteOffset() function in v8::v8::ArrayBufferView