Home
last modified time | relevance | path

Searched refs:SB (Results 1 – 25 of 168) sorted by relevance

1234567

/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/MSF/
H A DMSFCommon.cpp19 Error llvm::msf::validateSuperBlock(const SuperBlock &SB) { in validateSuperBlock() argument
21 if (std::memcmp(SB.MagicBytes, Magic, sizeof(Magic)) != 0) in validateSuperBlock()
25 if (!isValidBlockSize(SB.BlockSize)) in validateSuperBlock()
30 if (SB.NumDirectoryBytes % sizeof(support::ulittle32_t) != 0) in validateSuperBlock()
37 bytesToBlocks(SB.NumDirectoryBytes, SB.BlockSize); in validateSuperBlock()
42 if (NumDirectoryBlocks > SB.BlockSize / sizeof(support::ulittle32_t)) in validateSuperBlock()
46 if (SB.BlockMapAddr == 0) in validateSuperBlock()
50 if (SB.BlockMapAddr >= SB.NumBlocks) in validateSuperBlock()
54 if (SB.FreeBlockMapBlock != 1 && SB.FreeBlockMapBlock != 2) in validateSuperBlock()
77 FL.Length = NumFpmIntervals * Msf.SB->BlockSize; in getFpmStreamLayout()
[all …]
H A DMSFBuilder.cpp256 L.SB = SB; in generateLayout()
259 SB->BlockMapAddr = BlockMapAddr; in generateLayout()
260 SB->BlockSize = BlockSize; in generateLayout()
262 SB->FreeBlockMapBlock = FreePageMap; in generateLayout()
263 SB->Unknown1 = Unknown1; in generateLayout()
286 SB->NumBlocks = FreeBlocks.size(); in generateLayout()
326 while (BI < Layout.SB->NumBlocks) { in commitFpm()
350 uint64_t FileSize = uint64_t(Layout.SB->BlockSize) * Layout.SB->NumBlocks; in commit()
364 }(Layout.SB->BlockSize); in commit()
373 bytesToBlocks(Layout.SB->NumDirectoryBytes, Layout.SB->BlockSize); in commit()
[all …]
H A DMappedBlockStream.cpp65 Layout.SB->BlockSize, SL, MsfData, Allocator); in createIndexedStream()
74 SL.Length = Layout.SB->NumDirectoryBytes; in createDirectoryStream()
75 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator); in createDirectoryStream()
83 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator); in createFpmStream()
332 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator); in createIndexedStream()
341 SL.Length = Layout.SB->NumDirectoryBytes; in createDirectoryStream()
342 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator); in createDirectoryStream()
361 createStream(Layout.SB->BlockSize, FullLayout, MsfData, Allocator); in createFpmStream()
364 std::vector<uint8_t> InitData(Layout.SB->BlockSize, 0xFF); in createFpmStream()
368 return createStream(Layout.SB->BlockSize, MinLayout, MsfData, Allocator); in createFpmStream()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DASanStackFrameLayout.cpp118 SmallVector<uint8_t, 64> SB; in GetShadowBytes() local
119 SB.clear(); in GetShadowBytes()
121 SB.resize(Vars[0].Offset / Granularity, kAsanStackLeftRedzoneMagic); in GetShadowBytes()
123 SB.resize(Var.Offset / Granularity, kAsanStackMidRedzoneMagic); in GetShadowBytes()
125 SB.resize(SB.size() + Var.Size / Granularity, 0); in GetShadowBytes()
127 SB.push_back(Var.Size % Granularity); in GetShadowBytes()
129 SB.resize(Layout.FrameSize / Granularity, kAsanStackRightRedzoneMagic); in GetShadowBytes()
130 return SB; in GetShadowBytes()
136 SmallVector<uint8_t, 64> SB = GetShadowBytes(Vars, Layout); in GetShadowBytesAfterScope() local
144 std::fill(SB.begin() + Offset, SB.begin() + Offset + LifetimeShadowSize, in GetShadowBytesAfterScope()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/MSF/
H A DMSFCommon.h55 assert(SB->FreeBlockMapBlock == 1 || SB->FreeBlockMapBlock == 2); in mainFpmBlock()
56 return SB->FreeBlockMapBlock; in mainFpmBlock()
64 const SuperBlock *SB = nullptr; member
140 return L.SB->BlockSize; in getFpmIntervalLength()
174 return getNumFpmIntervals(L.SB->BlockSize, L.SB->NumBlocks,
179 Error validateSuperBlock(const SuperBlock &SB);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIRegisterInfo.cpp1740 buildSpillLoadStore(*SB.MBB, SB.MI, SB.DL, Opc, Index, SB.TmpVGPR, false, in buildVGPRSpillLoadStore()
1745 buildSpillLoadStore(*SB.MBB, SB.MI, SB.DL, Opc, Index, SB.TmpVGPR, IsKill, in buildVGPRSpillLoadStore()
1787 auto MIB = BuildMI(*SB.MBB, MI, SB.DL, in spillSGPR()
1834 BuildMI(*SB.MBB, MI, SB.DL, in spillSGPR()
1867 SB.MFI.addToSpilledSGPRs(SB.NumSubRegs); in spillSGPR()
1896 auto MIB = BuildMI(*SB.MBB, MI, SB.DL, in restoreSGPR()
1929 auto MIB = BuildMI(*SB.MBB, MI, SB.DL, in restoreSGPR()
1960 SB.prepare(); in spillEmergencySGPR()
1976 BuildMI(*SB.MBB, MI, SB.DL, SB.TII.get(AMDGPU::V_WRITELANE_B32), in spillEmergencySGPR()
2010 auto MIB = BuildMI(*SB.MBB, MI, SB.DL, SB.TII.get(AMDGPU::V_READLANE_B32), in spillEmergencySGPR()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DPDBFile.cpp57 return ContainerLayout.SB->FreeBlockMapBlock; in getFreeBlockMapBlock()
61 return ContainerLayout.SB->NumBlocks; in getBlockCount()
65 return ContainerLayout.SB->NumDirectoryBytes; in getNumDirectoryBytes()
69 return ContainerLayout.SB->BlockMapAddr; in getBlockMapIndex()
81 ContainerLayout.SB->BlockSize; in getBlockMapOffset()
124 const msf::SuperBlock *SB = nullptr; in parseFileHeaders() local
125 if (auto EC = Reader.readObject(SB)) { in parseFileHeaders()
131 if (auto EC = msf::validateSuperBlock(*SB)) in parseFileHeaders()
134 if (Buffer->getLength() % SB->BlockSize != 0) in parseFileHeaders()
137 ContainerLayout.SB = SB; in parseFileHeaders()
[all …]
/freebsd-14.2/contrib/bmake/
H A Dimport.sh59 SB=${SB:-`dirname $here`}
71 mkdir -p $SB/tmp
86 $GIT diff --staged | tee $SB/tmp/bmake-import.diff
89 } > $SB/tmp/bmake-post.sh
90 echo "After you commit, run $SB/tmp/bmake-post.sh"
/freebsd-14.2/contrib/bmake/mk/
H A Dsrctop.mk18 .ifdef SB
19 .if ${.CURDIR:S,${SB},,} != ${.CURDIR}
23 .elif exists(${SB}/src)
24 SRCTOP:= ${SB}/src
26 SRCTOP:= ${SB}
H A Dwhats.mk40 SB ?= ${SRCTOP:H}
41 SB_LOCATION ?= ${HOST}:${SB}
43 WHAT_LOCATION ?= ${.OBJDIR:S,${SB},${SB_LOCATION},}
H A Dsys.clean-env.mk66 SB \
95 _srctop := ${SRCTOP:U${SB_SRC:U${SB}/src}}
96 _objroot := ${OBJROOT:U${SB_OBJROOT:U${SB}/${SB_OBJPREFIX}}}
H A Dsys.dirdeps.mk49 .if !defined(SB)
50 SB := ${SRCTOP:H}
51 .export SB
55 OBJROOT := ${SB_OBJROOT:U${MAKEOBJDIRPREFIX:U${SB}/obj}/}
H A Dmeta.sys.mk95 .if !defined(SB) && defined(SRCTOP)
96 SB = ${SRCTOP:H}
98 ERROR_LOGDIR ?= ${SB}/error
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectWriter.cpp30 const MCSymbol &SB = B->getSymbol(); in isSymbolRefDifferenceFullyResolved() local
31 assert(!SA.isUndefined() && !SB.isUndefined()); in isSymbolRefDifferenceFullyResolved()
32 if (!SA.getFragment() || !SB.getFragment()) in isSymbolRefDifferenceFullyResolved()
35 return isSymbolRefDifferenceFullyResolvedImpl(Asm, SA, SB, InSet); in isSymbolRefDifferenceFullyResolved()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPdbYaml.cpp124 void MappingTraits<msf::SuperBlock>::mapping(IO &IO, msf::SuperBlock &SB) { in mapping() argument
126 ::memcpy(SB.MagicBytes, msf::Magic, sizeof(msf::Magic)); in mapping()
130 IO.mapOptional("BlockSize", SB.BlockSize, u32(4096U)); in mapping()
131 IO.mapOptional("FreeBlockMap", SB.FreeBlockMapBlock, u32(0U)); in mapping()
132 IO.mapOptional("NumBlocks", SB.NumBlocks, u32(0U)); in mapping()
133 IO.mapOptional("NumDirectoryBytes", SB.NumDirectoryBytes, u32(0U)); in mapping()
134 IO.mapOptional("Unknown1", SB.Unknown1, u32(0U)); in mapping()
135 IO.mapOptional("BlockMapAddr", SB.BlockMapAddr, u32(0U)); in mapping()
138 void MappingTraits<StreamBlockList>::mapping(IO &IO, StreamBlockList &SB) { in mapping() argument
139 IO.mapRequired("Stream", SB.Blocks); in mapping()
H A DExplainOutputStyle.cpp161 uint32_t(File.pdb().getMsfLayout().SB->BlockSize)); in explainPdbSuperBlockOffset()
165 uint32_t(File.pdb().getMsfLayout().SB->FreeBlockMapBlock)); in explainPdbSuperBlockOffset()
169 uint32_t(File.pdb().getMsfLayout().SB->NumBlocks)); in explainPdbSuperBlockOffset()
173 uint32_t(File.pdb().getMsfLayout().SB->NumDirectoryBytes)); in explainPdbSuperBlockOffset()
177 uint32_t(File.pdb().getMsfLayout().SB->Unknown1)); in explainPdbSuperBlockOffset()
181 uint32_t(File.pdb().getMsfLayout().SB->BlockMapAddr)); in explainPdbSuperBlockOffset()
282 StreamOff, uint32_t(Layout.SB->NumDirectoryBytes), in explainPdbStreamDirectoryOffset()
283 uint32_t(StreamOff > Layout.SB->NumDirectoryBytes) in explainPdbStreamDirectoryOffset()
/freebsd-14.2/sys/contrib/device-tree/Bindings/hwmon/
H A Damd,sbtsi.yaml8 Sideband interface Temperature Sensor Interface (SB-TSI) compliant
16 SB Temperature Sensor Interface (SB-TSI) is an SMBus compatible
31 SoC register reference. The SB-TSI address is normally 98h for socket
H A Damd,sbrmi.yaml8 Sideband Remote Management Interface (SB-RMI) compliant
15 SB Remote Management Interface (SB-RMI) is an SMBus compatible
30 of the SoC register reference. The SB-RMI address is normally 78h for
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonEarlyIfConv.cpp234 MachineLoop *L = MLI->getLoopFor(SB); in isPreheader()
235 return L && SB == L->getHeader() && MDT->dominates(B, SB); in isPreheader()
575 TotalPh += computePhiCost(SB, FP); in isProfitable()
576 PredDefs += countPredicateDefs(SB); in isProfitable()
580 TotalPh += computePhiCost(SB, FP); in isProfitable()
581 PredDefs += countPredicateDefs(SB); in isProfitable()
615 if (!Deleted.count(SB)) in visitBlock()
616 Changed |= visitBlock(SB, L); in visitBlock()
1036 if (SB->pred_size() != 1) in simplifyFlowGraph()
1044 if (!hasEHLabel(SB) || hasUncondBranch(SB)) in simplifyFlowGraph()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DObjCARCAliasAnalysis.cpp51 const Value *SB = GetRCIdentityRoot(LocB.Ptr); in alias() local
54 MemoryLocation(SB, LocB.Size, LocB.AATags), AAQI, nullptr); in alias()
61 const Value *UB = GetUnderlyingObjCPtr(SB); in alias()
62 if (UA != SA || UB != SB) { in alias()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DProvenanceAnalysis.cpp45 if (const SelectInst *SB = dyn_cast<SelectInst>(B)) in relatedSelect() local
46 if (A->getCondition() == SB->getCondition()) in relatedSelect()
47 return related(A->getTrueValue(), SB->getTrueValue()) || in relatedSelect()
48 related(A->getFalseValue(), SB->getFalseValue()); in relatedSelect()
/freebsd-14.2/share/mk/
H A Dsys.dirdeps.mk49 .if !defined(SB)
50 SB := ${SRCTOP:H}
51 .export SB
55 OBJROOT := ${SB_OBJROOT:U${MAKEOBJDIRPREFIX:U${SB}/obj}/}
H A Dmeta.sys.mk95 .if !defined(SB) && defined(SRCTOP)
96 SB = ${SRCTOP:H}
98 ERROR_LOGDIR ?= ${SB}/error
/freebsd-14.2/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dargon2-encoding.c261 #define SB(buf, len) \ in encode_string() macro
296 SB(ctx->salt, ctx->saltlen); in encode_string()
299 SB(ctx->out, ctx->outlen); in encode_string()
304 #undef SB in encode_string()
/freebsd-14.2/crypto/heimdal/appl/telnet/telnetd/
H A Dtermstat.c58 IAC, SB, TELOPT_LFLOW, in flowstat()
65 IAC, SB, TELOPT_LFLOW, in flowstat()

1234567