Home
last modified time | relevance | path

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

1234567

/llvm-project-15.0.7/llvm/unittests/DebugInfo/MSF/
H A DMSFCommonTest.cpp26 SuperBlock SB; in TEST() local
31 L.SB = &SB; in TEST()
35 SB.NumBlocks = SB.BlockSize; in TEST()
37 SB.NumBlocks = SB.BlockSize + 1; in TEST()
39 SB.NumBlocks = SB.BlockSize * 8; in TEST()
41 SB.NumBlocks = SB.BlockSize * 8 + 1; in TEST()
46 SB.NumBlocks = SB.BlockSize; in TEST()
48 SB.NumBlocks = SB.BlockSize * 8; in TEST()
94 L.SB = &SB; in TEST()
116 SB.NumBlocks = SB.BlockSize * 8 + 1; in TEST()
[all …]
H A DMSFBuilderTest.cpp26 SB.NumBlocks = 1000; in initializeSimpleSuperBlock()
31 ::memset(&SB, 0, sizeof(SB)); in initializeSuperBlock()
35 SB.BlockMapAddr = 1; in initializeSuperBlock()
36 SB.BlockSize = 4096; in initializeSuperBlock()
47 SuperBlock SB; in TEST_F() local
55 SuperBlock SB; in TEST_F() local
59 SB.MagicBytes[0] = 8; in TEST_F()
64 SB.BlockMapAddr = 0; in TEST_F()
69 SB.BlockSize = 3120; in TEST_F()
74 SB.NumDirectoryBytes = SB.BlockSize * SB.BlockSize / 4; in TEST_F()
[all …]
/llvm-project-15.0.7/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.cpp253 L.SB = SB; in generateLayout()
256 SB->BlockMapAddr = BlockMapAddr; in generateLayout()
257 SB->BlockSize = BlockSize; in generateLayout()
259 SB->FreeBlockMapBlock = FreePageMap; in generateLayout()
260 SB->Unknown1 = Unknown1; in generateLayout()
283 SB->NumBlocks = FreeBlocks.size(); in generateLayout()
323 while (BI < Layout.SB->NumBlocks) { in commitFpm()
345 uint64_t FileSize = uint64_t(Layout.SB->BlockSize) * Layout.SB->NumBlocks; in commit()
359 }(Layout.SB->BlockSize); in commit()
375 if (auto EC = Writer.writeObject(*Layout.SB)) in commit()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A D2004-11-27-SetCCForCastLargerAndConstant.ll20 %Y = sext i8 %SB to i32
57 %Y = sext i8 %SB to i32
66 %Y = sext i8 %SB to i32
76 %Y = sext i8 %SB to i32
86 %Y = sext i8 %SB to i32
95 %Y = sext i8 %SB to i32
104 %Y = zext i8 %SB to i32
113 %Y = zext i8 %SB to i32
122 %Y = zext i8 %SB to i32
132 %Y = zext i8 %SB to i32
[all …]
/llvm-project-15.0.7/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 …]
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIRegisterInfo.cpp1657 buildSpillLoadStore(*SB.MBB, SB.MI, SB.DL, Opc, Index, SB.TmpVGPR, false, in buildVGPRSpillLoadStore()
1662 buildSpillLoadStore(*SB.MBB, SB.MI, SB.DL, Opc, Index, SB.TmpVGPR, IsKill, in buildVGPRSpillLoadStore()
1696 bool UseKill = SB.IsKill && i == SB.NumSubRegs - 1; in spillSGPR()
1700 auto MIB = BuildMI(*SB.MBB, MI, SB.DL, in spillSGPR()
1747 BuildMI(*SB.MBB, MI, SB.DL, SB.TII.get(AMDGPU::V_WRITELANE_B32), in spillSGPR()
1780 SB.MFI.addToSpilledSGPRs(SB.NumSubRegs); in spillSGPR()
1808 auto MIB = BuildMI(*SB.MBB, MI, SB.DL, SB.TII.get(AMDGPU::V_READLANE_B32), in restoreSGPR()
1842 auto MIB = BuildMI(*SB.MBB, MI, SB.DL, in restoreSGPR()
1889 BuildMI(*SB.MBB, MI, SB.DL, SB.TII.get(AMDGPU::V_WRITELANE_B32), in spillEmergencySGPR()
1923 auto MIB = BuildMI(*SB.MBB, MI, SB.DL, SB.TII.get(AMDGPU::V_READLANE_B32), in spillEmergencySGPR()
[all …]
/llvm-project-15.0.7/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);
/llvm-project-15.0.7/llvm/test/CodeGen/Thumb/
H A Dldm-stm-base-materialization-thumb2.ll14 ; CHECK: movt [[SB:[rl0-9]+]], :upper16:a
16 ; CHECK: adds [[SB]], #4
33 ; CHECK: movt [[SB:[rl0-9]+]], :upper16:a
35 ; CHECK: adds [[SB]], #4
37 ; CHECK-NEXT: stm{{(\.w)?}} [[SB]]!, {[[R1]], [[R2]], [[R3]]}
39 ; CHECK-NEXT: stm{{(\.w)?}} [[SB]], {[[R1]], [[R2]], [[R3]], [[R4]]}
54 ; CHECK: movt [[SB:[rl0-9]+]], :upper16:a
56 ; CHECK: adds [[SB]], #4
60 ; CHECK-NEXT: stm{{(\.w)?}} [[SB]], {[[R1]], [[R2]], [[R3]], [[R4]]}
75 ; CHECK: movt [[SB:[rl0-9]+]], :upper16:a
[all …]
/llvm-project-15.0.7/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 …]
/llvm-project-15.0.7/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
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
46 Another piece of the SB API infrastructure is the Python (or other script
[all …]
/llvm-project-15.0.7/llvm/test/Instrumentation/MemorySanitizer/
H A Dbmi.ll26 ; CHECK-DAG: %[[SB:.*]] = load i32, {{.*}}@__msan_param_tls to i64), i64 8)
27 ; CHECK-DAG: %[[SB0:.*]] = icmp ne i32 %[[SB]], 0
42 ; CHECK-DAG: %[[SB:.*]] = load i64, {{.*}}@__msan_param_tls to i64), i64 8)
43 ; CHECK-DAG: %[[SB0:.*]] = icmp ne i64 %[[SB]], 0
59 ; CHECK-DAG: %[[SB:.*]] = load i32, {{.*}}@__msan_param_tls to i64), i64 8)
60 ; CHECK-DAG: %[[SB0:.*]] = icmp ne i32 %[[SB]], 0
76 ; CHECK-DAG: %[[SB0:.*]] = icmp ne i64 %[[SB]], 0
93 ; CHECK-DAG: %[[SB0:.*]] = icmp ne i32 %[[SB]], 0
109 ; CHECK-DAG: %[[SB0:.*]] = icmp ne i64 %[[SB]], 0
125 ; CHECK-DAG: %[[SB0:.*]] = icmp ne i32 %[[SB]], 0
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/test/OpenMP/
H A Dtarget_data_use_device_ptr_addr_ast_print.cpp33 struct SB { struct
49 SB S; argument
50 SB ArrS[100];
51 SB *PtrS;
52 SB *&RPtrS;
55 SC(SB *&_RPtrS) : RPtrS(_RPtrS) {} in SC()
H A Dtarget_is_device_ptr_ast_print.cpp77 struct SB { struct
93 SB S; argument
94 SB ArrS[100];
95 SB *PtrS;
96 SB *&RPtrS;
99 SC(SB *&_RPtrS) : RPtrS(_RPtrS) {} in SC()
H A Dtarget_parallel_is_device_ptr_ast_print.cpp77 struct SB { struct
93 SB S; argument
94 SB ArrS[100];
95 SB *PtrS;
96 SB *&RPtrS;
99 SC(SB *&_RPtrS) : RPtrS(_RPtrS) {} in SC()
H A Dtarget_has_device_addr_ast_print.cpp88 struct SB { struct
104 SB S; argument
105 SB ArrS[100];
106 SB *PtrS;
107 SB *&RPtrS;
110 SC(SB *&_RPtrS) : RPtrS(_RPtrS) {} in SC()
H A Dtarget_teams_is_device_ptr_ast_print.cpp76 struct SB { struct
92 SB S; argument
93 SB ArrS[100];
94 SB *PtrS;
95 SB *&RPtrS;
98 SC(SB *&_RPtrS) : RPtrS(_RPtrS) {} in SC()
H A Dtarget_codegen_registration.cpp201 struct SB { struct
209 SB() { in SB() argument
214 ~SB() { in ~SB() argument
376 SB __attribute__((init_priority(500))) b1;
377 SB __attribute__((init_priority(501))) b2;
H A Dtarget_parallel_codegen_registration.cpp241 struct SB { struct
249 SB() { in SB() argument
254 ~SB() { in ~SB() argument
415 SB __attribute__((init_priority(500))) b1;
416 SB __attribute__((init_priority(501))) b2;
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dmemcpy-ldm-stm.ll18 ; CHECKV6-NEXT: ldr [[SB:r[0-7]]],
21 ; CHECKV7-NEXT: movt [[SB:[rl0-9]+]], :upper16:s
23 ; CHECK-NEXT: stm{{(\.w)?}} [[SB]]!,
26 ; CHECK-NEXT: strb{{(\.w)?}} {{.*}}, [[[SB]]]
36 ; CHECKV6-NEXT: ldr [[SB:r[0-7]]],
38 ; CHECKV6-NEXT: stm{{(\.w)?}} [[SB]]!,
41 ; CHECKV6-DAG: strb{{(\.w)?}} {{.*}}, [[[SB]], #2]
42 ; CHECKV6-DAG: strh{{(\.w)?}} {{.*}}, [[[SB]]]
44 ; CHECKV7-NEXT: movt [[SB:[rl0-9]+]], :upper16:s
46 ; CHECKV7-NEXT: str{{(\.w)?}} {{.*}}, [[[SB]], #11]
H A Dspeculation-hardening-sls.ll41 ; SB-NEXT: {{ sb$}}
52 ; SB-NEXT: {{ sb$}}
70 ; SB-NEXT: {{ sb$}}
77 ; SB-NEXT: {{ sb$}}
85 ; SB-NEXT: {{ sb$}}
100 ; SB-NOT: {{ sb$}}
107 ; SB-NEXT: {{ sb$}}
114 ; SB-NEXT: {{ sb$}}
162 ; SB-NEXT: {{ sb$}}
258 ; SB-NEXT: dsb sy
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dspeculation-hardening-sls.ll26 ; SB-NEXT: {{ sb$}}
30 ; SB-NEXT: {{ sb$}}
47 ; SB-NEXT: {{ sb$}}
54 ; SB-NEXT: {{ sb$}}
62 ; SB-NEXT: {{ sb$}}
73 ; SB-NEXT: {{ sb$}}
100 ; SB-NOT: {{ sb$}}
205 ; SB-NEXT: dsb sy
206 ; SB-NEXT: isb
221 ; SB-NEXT: dsb sy
[all …]
/llvm-project-15.0.7/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()

1234567