Home
last modified time | relevance | path

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

/freebsd-12.1/sys/contrib/dev/acpica/compiler/
H A Dasldefine.h251 #define RsCreateBitField(Op, Name, ByteOffset, BitOffset) \ argument
252 RsCreateResourceField (Op, Name, ByteOffset, BitOffset, 1)
254 #define RsCreateByteField(Op, Name, ByteOffset) \ argument
255 RsCreateResourceField (Op, Name, ByteOffset, 0, 8);
257 #define RsCreateWordField(Op, Name, ByteOffset) \ argument
258 RsCreateResourceField (Op, Name, ByteOffset, 0, 16);
260 #define RsCreateDwordField(Op, Name, ByteOffset) \ argument
261 RsCreateResourceField (Op, Name, ByteOffset, 0, 32);
263 #define RsCreateQwordField(Op, Name, ByteOffset) \ argument
264 RsCreateResourceField (Op, Name, ByteOffset, 0, 64);
H A Ddtio.c483 Field->ByteOffset = Offset; in DtParseLine()
1088 Field->Line, Field->ByteOffset, Field->NameColumn, in DtDumpFieldList()
1209 FlSeekFile (ASL_FILE_INPUT, Field->ByteOffset); in DtWriteFieldToListing()
H A Ddtutils.c202 FieldObject->ByteOffset, in DtError()
258 FieldObject->ByteOffset, in DtNameError()
H A Daslresource.c570 UINT32 ByteOffset, in RsCreateResourceField() argument
578 Op->Asl.Value.Tag.BitOffset = (ByteOffset * 8) + BitOffset; in RsCreateResourceField()
H A Ddtcompiler.h201 UINT32 ByteOffset; /* Offset in source file for field */ member
H A Daslcompiler.h1315 UINT32 ByteOffset,
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A 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()
H A DDebugLocStream.cpp29 if (Entries.back().ByteOffset != DWARFBytes.size()) in finalizeEntry()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp93 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()
H A DWholeProgramDevirt.cpp243 uint64_t ByteOffset; member
261 DenseMapInfo<uint64_t>::getHashValue(I.ByteOffset); in getHashValue()
265 return LHS.TypeID == RHS.TypeID && LHS.ByteOffset == RHS.ByteOffset; in isEqual()
464 uint64_t ByteOffset);
744 const std::set<TypeMemberInfo> &TypeMemberInfos, uint64_t ByteOffset) { in tryFindVirtualCallTargets() argument
750 TM.Offset + ByteOffset); in tryFindVirtualCallTargets()
1038 OS << cast<MDString>(Slot.TypeID)->getString() << '_' << Slot.ByteOffset; in getGlobalName()
1490 auto ResI = TidSummary->WPDRes.find(Slot.ByteOffset); in importResolution()
1665 S.first.ByteOffset)) { in run()
1671 .WPDRes[S.first.ByteOffset]; in run()
H A DLowerTypeTests.cpp121 if (Offset < ByteOffset) in containsGlobalOffset()
124 if ((Offset - ByteOffset) % (uint64_t(1) << AlignLog2) != 0) in containsGlobalOffset()
127 uint64_t BitOffset = (Offset - ByteOffset) >> AlignLog2; in containsGlobalOffset()
135 OS << "offset " << ByteOffset << " size " << BitSize << " align " in print()
165 BSI.ByteOffset = Min; in build()
1068 Int8Ty, CombinedGlobalAddr, ConstantInt::get(IntPtrTy, BSI.ByteOffset)), in lowerTypeTestCalls()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DLoads.cpp215 int64_t ByteOffset = 0; in isSafeToLoadUnconditionally() local
217 Base = GetPointerBaseWithConstantOffset(V, ByteOffset, DL); in isSafeToLoadUnconditionally()
219 if (ByteOffset < 0) // out of bounds in isSafeToLoadUnconditionally()
251 if (ByteOffset + LoadSize <= DL.getTypeAllocSize(BaseType) && in isSafeToLoadUnconditionally()
252 ((ByteOffset % Align) == 0)) in isSafeToLoadUnconditionally()
H A DConstantFolding.cpp377 assert(ByteOffset <= DL.getTypeAllocSize(C->getType()) && in ReadDataFromGlobal()
394 int n = ByteOffset; in ReadDataFromGlobal()
398 ++ByteOffset; in ReadDataFromGlobal()
421 unsigned Index = SL->getElementContainingOffset(ByteOffset); in ReadDataFromGlobal()
423 ByteOffset -= CurEltOffset; in ReadDataFromGlobal()
430 if (ByteOffset < EltSize && in ReadDataFromGlobal()
448 CurPtr += NextEltOffset - CurEltOffset - ByteOffset; in ReadDataFromGlobal()
449 BytesLeft -= NextEltOffset - CurEltOffset - ByteOffset; in ReadDataFromGlobal()
450 ByteOffset = 0; in ReadDataFromGlobal()
460 uint64_t Index = ByteOffset / EltSize; in ReadDataFromGlobal()
[all …]
H A DValueTracking.cpp3371 APInt ByteOffset(BitWidth, 0); in GetPointerBaseWithConstantOffset() local
3392 APInt OrigByteOffset(ByteOffset); in GetPointerBaseWithConstantOffset()
3393 ByteOffset += GEPOffset.sextOrTrunc(ByteOffset.getBitWidth()); in GetPointerBaseWithConstantOffset()
3394 if (ByteOffset.getMinSignedBits() > 64) { in GetPointerBaseWithConstantOffset()
3397 ByteOffset = OrigByteOffset; in GetPointerBaseWithConstantOffset()
3413 Offset = ByteOffset.getSExtValue(); in GetPointerBaseWithConstantOffset()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DArrayBoundCheckerV2.cpp207 SVal ByteOffset = rawOffset.getByteOffset(); in checkLocation() local
208 if (state->isTainted(ByteOffset)) { in checkLocation()
210 llvm::make_unique<TaintBugVisitor>(ByteOffset)); in checkLocation()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp939 int64_t getSMRDEncodedOffset(const MCSubtargetInfo &ST, int64_t ByteOffset) { in getSMRDEncodedOffset() argument
941 return ByteOffset; in getSMRDEncodedOffset()
942 return ByteOffset >> 2; in getSMRDEncodedOffset()
945 bool isLegalSMRDImmOffset(const MCSubtargetInfo &ST, int64_t ByteOffset) { in isLegalSMRDImmOffset() argument
946 int64_t EncodedOffset = getSMRDEncodedOffset(ST, ByteOffset); in isLegalSMRDImmOffset()
H A DAMDGPUBaseInfo.h486 int64_t getSMRDEncodedOffset(const MCSubtargetInfo &ST, int64_t ByteOffset);
491 bool isLegalSMRDImmOffset(const MCSubtargetInfo &ST, int64_t ByteOffset);
/freebsd-12.1/contrib/llvm/include/llvm/Transforms/IPO/
H A DLowerTypeTests.h39 uint64_t ByteOffset; member
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelDAGToDAG.cpp863 int64_t ByteOffset = C->getSExtValue(); in SelectDS1Addr1Offset() local
864 if (isUInt<16>(ByteOffset)) { in SelectDS1Addr1Offset()
873 if (isDSOffsetLegal(Sub, ByteOffset, 16)) { in SelectDS1Addr1Offset()
883 Offset = CurDAG->getTargetConstant(ByteOffset, DL, MVT::i16); in SelectDS1Addr1Offset()
1330 int64_t ByteOffset = C->getSExtValue(); in SelectSMRDOffset() local
1331 int64_t EncodedOffset = AMDGPU::getSMRDEncodedOffset(*Subtarget, ByteOffset); in SelectSMRDOffset()
1333 if (AMDGPU::isLegalSMRDImmOffset(*Subtarget, ByteOffset)) { in SelectSMRDOffset()
1339 if (!isUInt<32>(EncodedOffset) || !isUInt<32>(ByteOffset)) in SelectSMRDOffset()
1346 SDValue C32Bit = CurDAG->getTargetConstant(ByteOffset, SL, MVT::i32); in SelectSMRDOffset()
H A DR600ISelLowering.cpp593 uint32_t ByteOffset = getImplicitParameterOffset(MF, FIRST_IMPLICIT); in LowerOperation() local
594 return DAG.getConstant(ByteOffset, DL, PtrVT); in LowerOperation()
904 unsigned ByteOffset = DwordOffset * 4; in LowerImplicitParameter() local
909 assert(isInt<16>(ByteOffset)); in LowerImplicitParameter()
912 DAG.getConstant(ByteOffset, DL, MVT::i32), // PTR in LowerImplicitParameter()
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCAsmStreamer.cpp958 unsigned ByteOffset = in EmitValueImpl() local
960 uint64_t ValueToEmit = IntValue >> (ByteOffset * 8); in EmitValueImpl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGStmt.cpp1866 unsigned ByteOffset = 0; in getAsmSrcLocInfo() local
1873 i + 1, SM, LangOpts, CGF.getTarget(), &StartToken, &ByteOffset); in getAsmSrcLocInfo()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp5750 unsigned ByteOffset = 0; member
5754 static ByteProvider getMemory(LoadSDNode *Load, unsigned ByteOffset) { in getMemory()
5755 return ByteProvider(Load, ByteOffset); in getMemory()
5764 return Other.Load == Load && Other.ByteOffset == ByteOffset; in operator ==()
5768 ByteProvider(LoadSDNode *Load, unsigned ByteOffset) in ByteProvider()
5769 : Load(Load), ByteOffset(ByteOffset) {} in ByteProvider()
5932 ? BigEndianByteAt(LoadByteWidth, P.ByteOffset) in MatchLoadCombine()
5933 : LittleEndianByteAt(LoadByteWidth, P.ByteOffset); in MatchLoadCombine()
H A DLegalizeDAG.cpp1459 unsigned ByteOffset = (FloatVT.getSizeInBits() / 8) - 1; in getSignAsIntValue() local
1461 DAG.getConstant(ByteOffset, DL, StackPtr.getValueType())); in getSignAsIntValue()
1463 ByteOffset); in getSignAsIntValue()