/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/MSF/ |
H A D | MSFCommon.cpp | 19 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 D | MSFBuilder.cpp | 254 SuperBlock *SB = Allocator.Allocate<SuperBlock>(); in generateLayout() 256 L.SB = SB; in generateLayout() 258 std::memcpy(SB->MagicBytes, Magic, sizeof(Magic)); in generateLayout() 259 SB->BlockMapAddr = BlockMapAddr; in generateLayout() 260 SB->BlockSize = BlockSize; in generateLayout() 261 SB->NumDirectoryBytes = computeDirectoryByteSize(); in generateLayout() 262 SB->FreeBlockMapBlock = FreePageMap; in generateLayout() 263 SB->Unknown1 = Unknown1; in generateLayout() 265 uint32_t NumDirectoryBlocks = bytesToBlocks(SB in generateLayout() 251 SuperBlock *SB = Allocator.Allocate<SuperBlock>(); generateLayout() local [all...] |
H A D | MappedBlockStream.cpp | 65 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 in createFpmStream() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | ASanStackFrameLayout.cpp | 118 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/contrib/bmake/ |
H A D | import.sh | 60 SB=${SB:-`dirname $here`} 72 mkdir -p $SB/tmp 84 post=$SB/tmp/bmake-post.sh 112 gen_import_F > $SB/tmp/bmake-import.F 113 $GIT diff --staged > $SB/tmp/bmake-import.diff 114 $PAGER $SB/tmp/bmake-import.F $SB/tmp/bmake-import.diff 118 echo "Edit $SB/tmp/bmake-import.F as needed, then:" 119 echo "$GIT commit -F $SB/tm [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIRegisterInfo.cpp | 1727 void SIRegisterInfo::buildVGPRSpillLoadStore(SGPRSpillBuilder &SB, int Index, in buildVGPRSpillLoadStore() argument 1731 MachineFrameInfo &FrameInfo = SB.MF.getFrameInfo(); in buildVGPRSpillLoadStore() 1735 FrameInfo.isFixedObjectIndex(Index) && hasBasePointer(SB.MF) in buildVGPRSpillLoadStore() 1737 : getFrameRegister(SB.MF); in buildVGPRSpillLoadStore() 1740 MachinePointerInfo PtrInfo = MachinePointerInfo::getFixedStack(SB.MF, Index); in buildVGPRSpillLoadStore() 1741 MachineMemOperand *MMO = SB.MF.getMachineMemOperand( in buildVGPRSpillLoadStore() 1743 SB.EltSize, Alignment); in buildVGPRSpillLoadStore() 1748 buildSpillLoadStore(*SB.MBB, SB.MI, SB.DL, Opc, Index, SB.TmpVGPR, false, in buildVGPRSpillLoadStore() 1749 FrameReg, (int64_t)Offset * SB.EltSize, MMO, SB.RS); in buildVGPRSpillLoadStore() 1753 buildSpillLoadStore(*SB.MBB, SB.MI, SB.DL, Opc, Index, SB.TmpVGPR, IsKill, in buildVGPRSpillLoadStore() [all …]
|
/freebsd/contrib/llvm-project/lldb/docs/design/ |
H A D | sbapi.rst |
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/MSF/ |
H A D | MSFCommon.h | 55 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/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | PDBFile.cpp | 54 uint32_t PDBFile::getBlockSize() const { return ContainerLayout.SB->BlockSize; } in getBlockSize() 57 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() 72 uint32_t PDBFile::getUnknown1() const { return ContainerLayout.SB->Unknown1; } in getUnknown1() 75 return msf::bytesToBlocks(ContainerLayout.SB->NumDirectoryBytes, in getNumDirectoryBlocks() 76 ContainerLayout.SB->BlockSize); in getNumDirectoryBlocks() 80 return (uint64_t)ContainerLayout.SB->BlockMapAddr * in getBlockMapOffset() 81 ContainerLayout.SB->BlockSize; in getBlockMapOffset() [all …]
|
/freebsd/contrib/bmake/mk/ |
H A D | srctop.mk | 19 # if using mk(1) SB will be set. 20 .ifdef SB 21 .if ${.CURDIR:S,${SB},,} != ${.CURDIR} 22 # we are actually within SB 25 .elif exists(${SB}/src) 26 SRCTOP:= ${SB}/src 28 SRCTOP:= ${SB}
|
H A D | whats.mk | 42 SB ?= ${SRCTOP:H} 43 SB_LOCATION ?= ${HOST}:${SB} 45 WHAT_LOCATION ?= ${.OBJDIR:S,${SB},${SB_LOCATION},}
|
H A D | sys.clean-env.mk | 68 SB \ 97 _srctop := ${SRCTOP:U${SB_SRC:U${SB}/src}} 98 _objroot := ${OBJROOT:U${SB_OBJROOT:U${SB}/${SB_OBJPREFIX}}}
|
H A D | sys.dirdeps.mk | 50 # fake SB if not using mk wrapper 51 # SB documented at http://www.crufty.net/sjg/docs/sb-tools.htm 52 .if !defined(SB) 53 SB := ${SRCTOP:H} 54 .export SB 58 OBJROOT := ${SB_OBJROOT:U${MAKEOBJDIRPREFIX:U${SB}/obj}/}
|
H A D | meta.sys.mk | 103 .if !defined(SB) && defined(SRCTOP) 104 SB = ${SRCTOP:H} 106 ERROR_LOGDIR ?= ${SB}/error
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | PdbYaml.cpp | 124 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 D | ExplainOutputStyle.cpp | 161 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/crypto/libecc/src/examples/hash/ |
H A D | tdes.c | 38 static const u32 SB[8][64] = { variable 245 …R[0] ^= SB[7][ (T) & 0x3f] ^ SB[5][ (T >> 8) & 0x3f] ^ SB[3][ (T >> 16) & 0x3f] ^ SB[1][ (T >> 24)… in des_round() 247 …R[0] ^= SB[6][ (T) & 0x3f] ^ SB[4][ (T >> 8) & 0x3f] ^ SB[2][ (T >> 16) & 0x3f] ^ SB[0][ (T >> 24)… in des_round()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonEarlyIfConv.cpp | 233 MachineBasicBlock *SB = *B->succ_begin(); in isPreheader() local 234 MachineLoop *L = MLI->getLoopFor(SB); in isPreheader() 235 return L && SB == L->getHeader() && MDT->dominates(B, SB); in isPreheader() 574 MachineBasicBlock *SB = *FP.TrueB->succ_begin(); in isProfitable() local 575 TotalPh += computePhiCost(SB, FP); in isProfitable() 576 PredDefs += countPredicateDefs(SB); in isProfitable() 579 MachineBasicBlock *SB = *FP.FalseB->succ_begin(); in isProfitable() local 580 TotalPh += computePhiCost(SB, FP); in isProfitable() 581 PredDefs += countPredicateDefs(SB); in isProfitable() 614 MachineBasicBlock *SB = I->getBlock(); in visitBlock() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ObjCARCAliasAnalysis.cpp | 51 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/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCObjectWriter.cpp | 39 const MCSymbol &SB = B->getSymbol(); in isSymbolRefDifferenceFullyResolved() local 40 assert(!SA.isUndefined() && !SB.isUndefined()); in isSymbolRefDifferenceFullyResolved() 41 MCFragment *FB = SB.getFragment(); in isSymbolRefDifferenceFullyResolved()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
H A D | ProvenanceAnalysis.cpp | 45 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/share/mk/ |
H A D | sys.dirdeps.mk | 50 # fake SB if not using mk wrapper 51 # SB documented at http://www.crufty.net/sjg/docs/sb-tools.htm 52 .if !defined(SB) 53 SB := ${SRCTOP:H} 54 .export SB 58 OBJROOT := ${SB_OBJROOT:U${MAKEOBJDIRPREFIX:U${SB}/obj}/}
|
H A D | meta.sys.mk | 98 .if !defined(SB) && defined(SRCTOP) 99 SB = ${SRCTOP:H} 101 ERROR_LOGDIR ?= ${SB}/error
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
H A D | argon2-encoding.c | 261 #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/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | fp_div_impl.inc | 341 // Now, a/b - 4*P * 2^-W < q < a/b for q=<quotient_UQ1:dummy> in UQ1.(SB+1+W). 343 // quotient_UQ1 is in [0.5, 2.0) as UQ1.(SB+1), 344 // adjust it to be in [1.0, 2.0) as UQ1.SB. 347 // Highest bit is 0, so just reinterpret quotient_UQ1 as UQ1.SB, 353 // Highest bit is 1 (the UQ1.(SB+1) value is in [1, 2)), convert it 354 // to UQ1.SB by right shifting by 1. Least significant bit is omitted. 362 // Now, q cannot be greater than a/b and can differ by at most 8*P * 2^-W + 2^-SB 363 // Each NextAfter() increments the floating point value by at least 2^-SB 365 // Different cases (<---> is of 2^-SB length, * = a/b that is shown as a midpoint): 371 // To require at most one NextAfter(), an error should be less than 1.5 * 2^-SB. [all …]
|