Home
last modified time | relevance | path

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

1234567

/openbsd-src/gnu/llvm/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.cpp251 SuperBlock *SB = Allocator.Allocate<SuperBlock>(); in generateLayout() local
253 L.SB = SB; in generateLayout()
255 std::memcpy(SB->MagicBytes, Magic, sizeof(Magic)); in generateLayout()
256 SB->BlockMapAddr = BlockMapAddr; in generateLayout()
257 SB->BlockSize = BlockSize; in generateLayout()
258 SB->NumDirectoryBytes = computeDirectoryByteSize(); in generateLayout()
259 SB->FreeBlockMapBlock = FreePageMap; in generateLayout()
260 SB->Unknown1 = Unknown1; in generateLayout()
262 uint32_t NumDirectoryBlocks = bytesToBlocks(SB->NumDirectoryBytes, BlockSize); in generateLayout()
283 SB->NumBlocks = FreeBlocks.size(); in generateLayout()
[all …]
H A DMappedBlockStream.cpp66 Layout.SB->BlockSize, SL, MsfData, Allocator); in createIndexedStream()
75 SL.Length = Layout.SB->NumDirectoryBytes; in createDirectoryStream()
76 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator); in createDirectoryStream()
84 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator); in createFpmStream()
333 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator); in createIndexedStream()
342 SL.Length = Layout.SB->NumDirectoryBytes; in createDirectoryStream()
343 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator); in createDirectoryStream()
362 createStream(Layout.SB->BlockSize, FullLayout, MsfData, Allocator); in createFpmStream()
365 std::vector<uint8_t> InitData(Layout.SB->BlockSize, 0xFF); in createFpmStream()
369 return createStream(Layout.SB->BlockSize, MinLayout, MsfData, Allocator); in createFpmStream()
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/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);
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIRegisterInfo.cpp1673 void SIRegisterInfo::buildVGPRSpillLoadStore(SGPRSpillBuilder &SB, int Index, in buildVGPRSpillLoadStore() argument
1677 MachineFrameInfo &FrameInfo = SB.MF.getFrameInfo(); in buildVGPRSpillLoadStore()
1681 FrameInfo.isFixedObjectIndex(Index) && hasBasePointer(SB.MF) in buildVGPRSpillLoadStore()
1683 : getFrameRegister(SB.MF); in buildVGPRSpillLoadStore()
1686 MachinePointerInfo PtrInfo = MachinePointerInfo::getFixedStack(SB.MF, Index); in buildVGPRSpillLoadStore()
1687 MachineMemOperand *MMO = SB.MF.getMachineMemOperand( in buildVGPRSpillLoadStore()
1689 SB.EltSize, Alignment); in buildVGPRSpillLoadStore()
1694 buildSpillLoadStore(*SB.MBB, SB.MI, SB.DL, Opc, Index, SB.TmpVGPR, false, in buildVGPRSpillLoadStore()
1695 FrameReg, Offset * SB.EltSize, MMO, SB.RS); in buildVGPRSpillLoadStore()
1699 buildSpillLoadStore(*SB.MBB, SB.MI, SB.DL, Opc, Index, SB.TmpVGPR, IsKill, in buildVGPRSpillLoadStore()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DPDBFile.cpp54 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 …]
/openbsd-src/gnu/llvm/lldb/docs/design/
H A Dsbapi.rst4 The SB APIs constitute the stable C++ API that lldb presents to external
10 The classes in the SB API's are all called SB<SomeName>, where SomeName is in
14 All the SB API classes are non-virtual, single inheritance classes. They should
15 only include SBDefines.h or other SB headers as needed. There should be no
20 or remove ivars without breaking binary compatibility. In some cases, the SB
25 is included in SBDefines.h. So if you need an SB class to wrap an lldb_private
27 opaque declaration in the SB classes .h file.
29 If the SB Class needs some state of its own, as well as the backing object,
30 don't include that as a direct ivar in the SB Class. Instead, make an Impl
31 class in the SB's .cpp file, and then make the SB object hold a shared or
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/include/opcode/
H A Dh8300.h1184 SB = 0, enumerator
1196 {O (O_ADD, SB), AV_H8, 2, "add.b", {{IMM8, RD8, E}}, {{0x8, RD8, IMM8LIST, E}}},
1197 EXPAND_TWOOP_B (O (O_ADD, SB), "add.b", 0x8, 0x0, 0x8, 0x1, 0),
1212 {O (O_ADDX, SB), AV_H8, 2, "addx", {{IMM8, RD8, E}}, {{0x9, RD8, IMM8LIST, E}}},
1213 …{O (O_ADDX, SB), AV_H8SX, 0, "addx.b", {{IMM8, RDIND, E}}, {{0x7, 0xd, B30 | RDIND, IGNOR…
1214 …{O (O_ADDX, SB), AV_H8SX, 0, "addx.b", {{IMM8, RDPOSTDEC, E}}, {{PREFIX_0176, 0x6, 0xc, B30 |…
1215 …{O (O_ADDX, SB), AV_H8, 2, "addx", {{RS8, RD8, E}}, {{0x0, 0xe, RS8, RD8, E}}},
1216 …{O (O_ADDX, SB), AV_H8SX, 0, "addx.b", {{RS8, RDIND, E}}, {{0x7, 0xd, B30 | RDIND, IGNOR…
1217 …{O (O_ADDX, SB), AV_H8SX, 0, "addx.b", {{RS8, RDPOSTDEC, E}}, {{PREFIX_0176, 0x6, 0xc, B30 |…
1218 …{O (O_ADDX, SB), AV_H8SX, 0, "addx.b", {{RSIND, RD8, E}}, {{0x7, 0xc, B30 | RSIND, IGNOR…
[all …]
/openbsd-src/gnu/usr.bin/binutils/include/opcode/
H A Dh8300.h1183 SB = 0, enumerator
1195 {O (O_ADD, SB), AV_H8, 2, "add.b", {{IMM8, RD8, E}}, {{0x8, RD8, IMM8LIST, E}}},
1196 EXPAND_TWOOP_B (O (O_ADD, SB), "add.b", 0x8, 0x0, 0x8, 0x1, 0),
1211 {O (O_ADDX, SB), AV_H8, 2, "addx", {{IMM8, RD8, E}}, {{0x9, RD8, IMM8LIST, E}}},
1212 …{O (O_ADDX, SB), AV_H8SX, 0, "addx.b", {{IMM8, RDIND, E}}, {{0x7, 0xd, B30 | RDIND, IGNOR…
1213 …{O (O_ADDX, SB), AV_H8SX, 0, "addx.b", {{IMM8, RDPOSTDEC, E}}, {{PREFIX_0176, 0x6, 0xc, B30 |…
1214 …{O (O_ADDX, SB), AV_H8, 2, "addx", {{RS8, RD8, E}}, {{0x0, 0xe, RS8, RD8, E}}},
1215 …{O (O_ADDX, SB), AV_H8SX, 0, "addx.b", {{RS8, RDIND, E}}, {{0x7, 0xd, B30 | RDIND, IGNOR…
1216 …{O (O_ADDX, SB), AV_H8SX, 0, "addx.b", {{RS8, RDPOSTDEC, E}}, {{PREFIX_0176, 0x6, 0xc, B30 |…
1217 …{O (O_ADDX, SB), AV_H8SX, 0, "addx.b", {{RSIND, RD8, E}}, {{0x7, 0xc, B30 | RSIND, IGNOR…
[all …]
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DUndefResultChecker.cpp68 SValBuilder &SB = C.getSValBuilder(); in isLeftShiftResultUnrepresentable() local
70 const llvm::APSInt *LHS = SB.getKnownValue(State, C.getSVal(B->getLHS())); in isLeftShiftResultUnrepresentable()
71 const llvm::APSInt *RHS = SB.getKnownValue(State, C.getSVal(B->getRHS())); in isLeftShiftResultUnrepresentable()
137 SValBuilder &SB = C.getSValBuilder(); in checkPostStmt() local
139 SB.getKnownValue(C.getState(), C.getSVal(B->getRHS())); in checkPostStmt()
157 SValBuilder &SB = C.getSValBuilder(); in checkPostStmt() local
159 SB.getKnownValue(State, C.getSVal(B->getLHS())); in checkPostStmt()
161 SB.getKnownValue(State, C.getSVal(B->getRHS())); in checkPostStmt()
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCObjectWriter.cpp30 const MCSymbol &SB = B->getSymbol(); in isSymbolRefDifferenceFullyResolved() local
31 if (SA.isUndefined() || SB.isUndefined()) in isSymbolRefDifferenceFullyResolved()
34 if (!SA.getFragment() || !SB.getFragment()) in isSymbolRefDifferenceFullyResolved()
37 return isSymbolRefDifferenceFullyResolvedImpl(Asm, SA, SB, InSet); in isSymbolRefDifferenceFullyResolved()
H A DMCExpr.cpp596 const MCSymbol &SB = B->getSymbol(); in AttemptToFoldSymbolOffsetDifference() local
598 if (SA.isUndefined() || SB.isUndefined()) in AttemptToFoldSymbolOffsetDifference()
621 const MCFragment *FB = SB.getFragment(); in AttemptToFoldSymbolOffsetDifference()
624 if (FA == FB && !SA.isVariable() && !SA.isUnset() && !SB.isVariable() && in AttemptToFoldSymbolOffsetDifference()
625 !SB.isUnset()) { in AttemptToFoldSymbolOffsetDifference()
626 Addend += SA.getOffset() - SB.getOffset(); in AttemptToFoldSymbolOffsetDifference()
657 if (SA.isVariable() || SA.isUnset() || SB.isVariable() || SB.isUnset() || in AttemptToFoldSymbolOffsetDifference()
664 int64_t Displacement = SA.getOffset() - SB.getOffset(); in AttemptToFoldSymbolOffsetDifference()
/openbsd-src/gnu/llvm/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.cpp162 uint32_t(File.pdb().getMsfLayout().SB->BlockSize)); in explainPdbSuperBlockOffset()
166 uint32_t(File.pdb().getMsfLayout().SB->FreeBlockMapBlock)); in explainPdbSuperBlockOffset()
170 uint32_t(File.pdb().getMsfLayout().SB->NumBlocks)); in explainPdbSuperBlockOffset()
174 uint32_t(File.pdb().getMsfLayout().SB->NumDirectoryBytes)); in explainPdbSuperBlockOffset()
178 uint32_t(File.pdb().getMsfLayout().SB->Unknown1)); in explainPdbSuperBlockOffset()
182 uint32_t(File.pdb().getMsfLayout().SB->BlockMapAddr)); in explainPdbSuperBlockOffset()
283 StreamOff, uint32_t(Layout.SB->NumDirectoryBytes), in explainPdbStreamDirectoryOffset()
284 uint32_t(StreamOff > Layout.SB->NumDirectoryBytes) in explainPdbStreamDirectoryOffset()
/openbsd-src/gnu/llvm/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()
52 if (!(related(SB->getTrueValue(), A) || related(SB->getFalseValue(), A))) in relatedSelect()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonEarlyIfConv.cpp233 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()
616 MachineBasicBlock *SB = I->getBlock(); in visitBlock() local
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DObjCARCAliasAnalysis.cpp46 const Value *SB = GetRCIdentityRoot(LocB.Ptr); in alias() local
49 MemoryLocation(SB, LocB.Size, LocB.AATags), AAQI, nullptr); in alias()
56 const Value *UB = GetUnderlyingObjCPtr(SB); in alias()
57 if (UA != SA || UB != SB) { in alias()
/openbsd-src/gnu/llvm/compiler-rt/lib/builtins/
H A Dfp_div_impl.inc341 // 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 …]
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp176 const MCSymbol *SB = &B->getSymbol(); in RecordARMScatteredHalfRelocation() local
178 if (!SB->getFragment()) { in RecordARMScatteredHalfRelocation()
188 FixedValue -= Writer->getSectionAddress(SB->getFragment()->getParent()); in RecordARMScatteredHalfRelocation()
291 const MCSymbol *SB = &B->getSymbol(); in RecordARMScatteredRelocation() local
293 if (!SB->getFragment()) { in RecordARMScatteredRelocation()
303 FixedValue -= Writer->getSectionAddress(SB->getFragment()->getParent()); in RecordARMScatteredRelocation()
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSimpleConstraintManager.h28 SimpleConstraintManager(ExprEngine *exprengine, SValBuilder &SB) in SimpleConstraintManager() argument
29 : EE(exprengine), SVB(SB) {} in SimpleConstraintManager()
/openbsd-src/gnu/usr.bin/perl/lib/unicore/
H A Dmktables.lst107 To/SB.pl
481 lib/SB/AT.pl
482 lib/SB/CL.pl
483 lib/SB/EX.pl
484 lib/SB/FO.pl
485 lib/SB/LE.pl
486 lib/SB/LO.pl
487 lib/SB/NU.pl
488 lib/SB/SC.pl
489 lib/SB/S
[all...]
/openbsd-src/usr.bin/telnet/
H A Dtelnet.c662 "%c%c%c%c%s%c%c", IAC, SB, TELOPT_TTYPE, in suboption()
683 "%c%c%c%c%ld,%ld%c%c", IAC, SB, TELOPT_TSPEED, in suboption()
786 "%c%c%c%c%s%c%c", IAC, SB, TELOPT_XDISPLOC, in suboption()
803 static unsigned char str_lm[] = { IAC, SB, TELOPT_LINEMODE, 0, 0, IAC, SE };
878 IAC, SB, TELOPT_LINEMODE, LM_MODE, 0, IAC, SE
999 IAC, SB, TELOPT_LINEMODE, LM_SLC, 0, SLC_VARIABLE, 0, IAC, SE
1002 IAC, SB, TELOPT_LINEMODE, LM_SLC, 0, SLC_DEFAULT, 0, IAC, SE
1149 slc_add(SB); in slc_start_reply()
1286 opt_add(SB); in env_opt_start()
1519 case SB: in telrcv()
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/gas/config/
H A Dtc-h8300.c1556 if ( this_try->opcode->how == O (O_MOV, SB) in build_bytes()
1557 || this_try->opcode->how == O (O_BCLR, SB) in build_bytes()
1558 || this_try->opcode->how == O (O_BAND, SB) in build_bytes()
1559 || this_try->opcode->how == O (O_BIAND, SB) in build_bytes()
1560 || this_try->opcode->how == O (O_BILD, SB) in build_bytes()
1561 || this_try->opcode->how == O (O_BIOR, SB) in build_bytes()
1562 || this_try->opcode->how == O (O_BIST, SB) in build_bytes()
1563 || this_try->opcode->how == O (O_BIXOR, SB) in build_bytes()
1564 || this_try->opcode->how == O (O_BLD, SB) in build_bytes()
1565 || this_try->opcode->how == O (O_BNOT, SB) in build_bytes()
[all …]
/openbsd-src/gnu/usr.bin/binutils/gas/config/
H A Dtc-h8300.c1583 if ( this_try->opcode->how == O (O_MOV, SB) in build_bytes()
1584 || this_try->opcode->how == O (O_BCLR, SB) in build_bytes()
1585 || this_try->opcode->how == O (O_BAND, SB) in build_bytes()
1586 || this_try->opcode->how == O (O_BIAND, SB) in build_bytes()
1587 || this_try->opcode->how == O (O_BILD, SB) in build_bytes()
1588 || this_try->opcode->how == O (O_BIOR, SB) in build_bytes()
1589 || this_try->opcode->how == O (O_BIST, SB) in build_bytes()
1590 || this_try->opcode->how == O (O_BIXOR, SB) in build_bytes()
1591 || this_try->opcode->how == O (O_BLD, SB) in build_bytes()
1592 || this_try->opcode->how == O (O_BNOT, SB) in build_bytes()
[all …]

1234567