Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/dev/acpica/compiler/
H A Dasldefine.h252 #define RsCreateBitField(Op, Name, ByteOffset, BitOffset) \ argument
253 RsCreateResourceField (Op, Name, ByteOffset, BitOffset, 1)
255 #define RsCreateByteField(Op, Name, ByteOffset) \ argument
256 RsCreateResourceField (Op, Name, ByteOffset, 0, 8);
258 #define RsCreateWordField(Op, Name, ByteOffset) \ argument
259 RsCreateResourceField (Op, Name, ByteOffset, 0, 16);
261 #define RsCreateDwordField(Op, Name, ByteOffset) \ argument
262 RsCreateResourceField (Op, Name, ByteOffset, 0, 32);
264 #define RsCreateQwordField(Op, Name, ByteOffset) \ argument
265 RsCreateResourceField (Op, Name, ByteOffset, 0, 64);
H A Ddtio.c440 Field->ByteOffset = Offset; in DtParseLine()
1043 Field->Line, Field->ByteOffset, Field->NameColumn, in DtDumpFieldList()
1164 FlSeekFile (ASL_FILE_INPUT, Field->ByteOffset); in DtWriteFieldToListing()
H A Ddtutils.c212 FieldObject->ByteOffset, in DtError()
268 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 Ddtfield.c781 Field->ByteOffset = Offset; in DtCreateField()
H A Ddtcompiler.h201 UINT32 ByteOffset; /* Offset in source file for field */ member
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DBase64.cpp55 for (uint64_t ByteOffset = 0; ByteOffset < 4; ++ByteOffset) { in decodeBase64() local
56 const uint64_t ByteIdx = Idx + ByteOffset; in decodeBase64()
75 Hex64Bytes[ByteOffset] = DecodedByte; in decodeBase64()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp128 uint64_t ByteOffset = cast<ConstantInt>( in splitGlobal() local
139 uint64_t AttachedTo = (ByteOffset == 0) ? ByteOffset : ByteOffset - 1; in splitGlobal()
146 ConstantInt::get(Int32Ty, ByteOffset - SplitBegin)), in splitGlobal()
H A DWholeProgramDevirt.cpp358 uint64_t ByteOffset; member
376 DenseMapInfo<uint64_t>::getHashValue(I.ByteOffset); in getHashValue()
380 return LHS.TypeID == RHS.TypeID && LHS.ByteOffset == RHS.ByteOffset; in isEqual()
395 DenseMapInfo<uint64_t>::getHashValue(I.ByteOffset); in getHashValue()
399 return LHS.TypeID == RHS.TypeID && LHS.ByteOffset == RHS.ByteOffset; in isEqual()
646 uint64_t ByteOffset,
772 uint64_t ByteOffset);
975 auto WPDRes = TIdSum->WPDRes.find(SlotSummary.ByteOffset); in updateIndexWPDForExports()
1088 const std::set<TypeMemberInfo> &TypeMemberInfos, uint64_t ByteOffset, in tryFindVirtualCallTargets() argument
1103 getFunctionAtVTableOffset(TM.Bits->GV, TM.Offset + ByteOffset, M); in tryFindVirtualCallTargets()
[all …]
H A DLowerTypeTests.cpp136 if (Offset < ByteOffset) in containsGlobalOffset()
139 if ((Offset - ByteOffset) % (uint64_t(1) << AlignLog2) != 0) in containsGlobalOffset()
142 uint64_t BitOffset = (Offset - ByteOffset) >> AlignLog2; in containsGlobalOffset()
150 OS << "offset " << ByteOffset << " size " << BitSize << " align " in print()
180 BSI.ByteOffset = Min; in build()
1188 BSI.ByteOffset + ((BSI.BitSize - 1) << BSI.AlignLog2); in lowerTypeTestCalls()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDebugLocStream.h42 size_t ByteOffset;
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()
43 size_t ByteOffset; global() member
H A DDebugLocStream.cpp28 if (Entries.back().ByteOffset != DWARFBytes.size()) in finalizeEntry()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DArrayBoundChecker.cpp588 auto [Reg, ByteOffset] = *RawOffset; in performCheck()
592 StateUpdateReporter SUR(Reg, ByteOffset, E, C); in performCheck()
605 State, ByteOffset, SVB.makeZeroArrayIndex(), SVB); in performCheck()
638 Messages Msgs = getPrecedesMsgs(Space, Reg, ByteOffset); in performCheck()
639 reportOOB(C, PrecedesLowerBound, Msgs, ByteOffset, std::nullopt); in performCheck()
666 compareValueToThreshold(State, ByteOffset, *KnownSize, SVB); in performCheck()
674 if (isIdiomaticPastTheEndPtr(E, ExceedsUpperBound, ByteOffset, in performCheck()
681 getExceedsMsgs(C.getASTContext(), Space, Reg, ByteOffset, in performCheck()
683 reportOOB(C, ExceedsUpperBound, Msgs, ByteOffset, KnownSize); in performCheck()
687 if (isTainted(State, ByteOffset)) { in performCheck()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DByteProvider.h60 static ByteProvider getSrc(std::optional<ISelOp> Val, int64_t ByteOffset, in getSrc() argument
64 return ByteProvider(Val, ByteOffset, VectorOffset); in getSrc()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp3093 static bool isDwordAligned(uint64_t ByteOffset) { in isDwordAligned() argument
3094 return (ByteOffset & 3) == 0; in isDwordAligned()
3098 uint64_t ByteOffset) { in convertSMRDOffsetUnits() argument
3100 return ByteOffset; in convertSMRDOffsetUnits()
3102 assert(isDwordAligned(ByteOffset)); in convertSMRDOffsetUnits()
3103 return ByteOffset >> 2; in convertSMRDOffsetUnits()
3107 int64_t ByteOffset, bool IsBuffer, in getSMRDEncodedOffset() argument
3112 if (!IsBuffer && !HasSOffset && ByteOffset < 0 && hasSMRDSignedImmOffset(ST)) in getSMRDEncodedOffset()
3116 return isInt<24>(ByteOffset) ? std::optional<int64_t>(ByteOffset) in getSMRDEncodedOffset()
3122 return isInt<20>(ByteOffset) ? std::optional<int64_t>(ByteOffset) in getSMRDEncodedOffset()
[all …]
H A DAMDGPUBaseInfo.h1697 uint64_t convertSMRDOffsetUnits(const MCSubtargetInfo &ST, uint64_t ByteOffset);
1704 int64_t ByteOffset, bool IsBuffer,
1710 int64_t ByteOffset);
1723 bool isLegalSMRDImmOffset(const MCSubtargetInfo &ST, int64_t ByteOffset);
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DLowerTypeTests.h39 uint64_t ByteOffset; member
H A DWholeProgramDevirt.h241 uint64_t ByteOffset; member
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILLegalizePass.cpp121 uint32_t ByteOffset = Offset->getZExtValue(); in fixI8UseChain() local
123 uint32_t Index = ByteOffset / ElemSize; in fixI8UseChain()
241 uint32_t ByteOffset = Offset->getZExtValue(); in fixI8UseChain() local
244 uint32_t Index = ByteOffset / ElemSize; in fixI8UseChain()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp430 bool ReadDataFromGlobal(Constant *C, uint64_t ByteOffset, unsigned char *CurPtr, in ReadDataFromGlobal() argument
432 assert(ByteOffset <= DL.getTypeAllocSize(C->getType()) && in ReadDataFromGlobal()
436 if (ByteOffset >= DL.getTypeStoreSize(C->getType())) in ReadDataFromGlobal()
450 for (unsigned i = 0; i != BytesLeft && ByteOffset != IntBytes; ++i) { in ReadDataFromGlobal()
451 unsigned n = ByteOffset; in ReadDataFromGlobal()
455 ++ByteOffset; in ReadDataFromGlobal()
463 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal()
467 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal()
471 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal()
478 unsigned Index = SL->getElementContainingOffset(ByteOffset); in ReadDataFromGlobal()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURegBankLegalizeHelper.cpp72 unsigned ByteOffset = 0; in splitLoad() local
75 if (ByteOffset == 0) { in splitLoad()
78 auto Offset = B.buildConstant({PtrRB, OffsetTy}, ByteOffset); in splitLoad()
81 auto *OffsetMMO = MF.getMachineMemOperand(&BaseMMO, ByteOffset, PartTy); in splitLoad()
84 ByteOffset += PartTy.getSizeInBytes(); in splitLoad()
H A DAMDGPULowerBufferFatPointers.cpp1026 int64_t ByteOffset = AggByteOff + S.Index * ElemBytes; in visitLoadImpl() local
1029 IRB.getInt8Ty(), OrigLI.getPointerOperand(), IRB.getInt32(ByteOffset), in visitLoadImpl()
1030 OrigPtr->getName() + ".off.ptr." + Twine(ByteOffset), in visitLoadImpl()
1034 LoadableType, NewPtr, commonAlignment(OrigLI.getAlign(), ByteOffset), in visitLoadImpl()
1035 Name + ".off." + Twine(ByteOffset)); in visitLoadImpl()
1038 AANodes.adjustForAccess(ByteOffset, LoadableType, DL)); in visitLoadImpl()
1146 int64_t ByteOffset = AggByteOff + S.Index * ElemBytes; in visitStoreImpl() local
1148 IRB.CreateGEP(IRB.getInt8Ty(), OrigPtr, IRB.getInt32(ByteOffset), in visitStoreImpl()
1156 NewSI->setAlignment(commonAlignment(OrigSI.getAlign(), ByteOffset)); in visitStoreImpl()
1160 NewSI->setAAMetadata(AANodes.adjustForAccess(ByteOffset, StorableType, DL)); in visitStoreImpl()
H A DAMDGPUISelDAGToDAG.cpp1210 int64_t ByteOffset = C->getSExtValue(); in SelectDS1Addr1Offset() local
1211 if (isDSOffsetLegal(SDValue(), ByteOffset)) { in SelectDS1Addr1Offset()
1220 if (isDSOffsetLegal(Sub, ByteOffset)) { in SelectDS1Addr1Offset()
1237 Offset = CurDAG->getTargetConstant(ByteOffset, DL, MVT::i16); in SelectDS1Addr1Offset()
2175 int64_t ByteOffset = IsBuffer ? C->getZExtValue() : C->getSExtValue(); in SelectSMRDOffset() local
2177 *Subtarget, ByteOffset, IsBuffer, HasSOffset); in SelectSMRDOffset()
2184 if (ByteOffset < 0) in SelectSMRDOffset()
2187 EncodedOffset = AMDGPU::getSMRDEncodedLiteralOffset32(*Subtarget, ByteOffset); in SelectSMRDOffset()
2193 if (!isUInt<32>(ByteOffset) && !isInt<32>(ByteOffset)) in SelectSMRDOffset()
2197 SDValue C32Bit = CurDAG->getTargetConstant(ByteOffset, SL, MVT::i32); in SelectSMRDOffset()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.h141 std::optional<unsigned> ByteOffset) const override { in shouldReduceLoadWidth() argument
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterpBuiltinBitCast.cpp142 CharUnits ByteOffset = in enumerateData() local
144 Bits BitOffset = Offset + Bits(Ctx.getASTContext().toBits(ByteOffset)); in enumerateData()

12