| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/ |
| H A D | deduct_const.pass.cpp | 69 using PC = std::pair<const int, long>; typedef 76 const PC arr[] = { {1,1}, {2,2}, {1,1}, {INT_MAX,1}, {3,1} }; in main() 83 const PC arr[] = { {1,1}, {2,2}, {1,1}, {INT_MAX,1}, {3,1} }; in main() 90 const PC arr[] = { {1,1}, {2,2}, {1,1}, {INT_MAX,1}, {3,1} }; in main() 112 std::unordered_multimap m { PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }; in main() 118 std::unordered_multimap m({ PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }, 42); in main() 124 …std::unordered_multimap m({ PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }, 42, std::has… in main() 130 …std::unordered_multimap m({ PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }, 42, std::has… in main() 136 …red_multimap m({ PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }, 42, std::hash<short>(),… in main() 159 …std::unordered_multimap m({ PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }, 42, test_all… in main() [all …]
|
| H A D | deduct.pass.cpp | 68 using PC = std::pair<const int, long>; typedef 72 const PC expected_m[] = { {1,1}, {1,1}, {2,2}, {3,1}, {INT_MAX,1} }; in main() 105 …ype(m), std::unordered_multimap<int, long, std::hash<short>, std::equal_to<>, test_allocator<PC>>); in main() 125 … std::unordered_multimap<int, long, std::hash<short>, std::equal_to<>, test_allocator<PC>> source; in main() 126 test_allocator<PC> a(0, 42); in main() 134 … std::unordered_multimap<int, long, std::hash<short>, std::equal_to<>, test_allocator<PC>> source; in main() 135 test_allocator<PC> a(0, 43); in main() 168 …ype(m), std::unordered_multimap<int, long, std::hash<short>, std::equal_to<>, test_allocator<PC>>); in main() 175 std::unordered_multimap m(std::begin(arr), std::end(arr), 42, test_allocator<PC>(0, 45)); in main() 183 …ered_multimap m(std::begin(arr), std::end(arr), 42, std::hash<short>(), test_allocator<PC>(0, 46)); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/ |
| H A D | deduct_const.pass.cpp | 68 using PC = std::pair<const int, long>; typedef 72 const PC expected_m[] = { {1,1L}, {2,2L}, {3,1L}, {INT_MAX,1L} }; in main() 111 std::unordered_map m { PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }; in main() 117 std::unordered_map m({ PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }, 42); in main() 123 …std::unordered_map m({ PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }, 42, std::hash<sho… in main() 129 …std::unordered_map m({ PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }, 42, std::hash<sho… in main() 135 …nordered_map m({ PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }, 42, std::hash<short>(),… in main() 142 const PC arr[] = { {1,1}, {2,2}, {1,1}, {INT_MAX,1}, {3,1} }; in main() 150 const PC arr[] = { {1,1}, {2,2}, {1,1}, {INT_MAX,1}, {3,1} }; in main() 158 …std::unordered_map m({ PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }, 42, test_allocato… in main() [all …]
|
| H A D | deduct.pass.cpp | 69 using PC = std::pair<const int, long>; typedef 73 const PC expected_m[] = { {1,1}, {2,2}, {3,1}, {INT_MAX,1} }; in main() 126 std::unordered_map<int, long, std::hash<long long>, std::equal_to<>, test_allocator<PC>> source; in main() 127 test_allocator<PC> a(0, 42); in main() 135 std::unordered_map<int, long, std::hash<long long>, std::equal_to<>, test_allocator<PC>> source; in main() 136 test_allocator<PC> a(0, 43); in main() 176 std::unordered_map m(std::begin(arr), std::end(arr), 42, test_allocator<PC>(0, 45)); in main() 177 …ecltype(m), std::unordered_map<int, long, std::hash<int>, std::equal_to<int>, test_allocator<PC>>); in main() 184 …dered_map m(std::begin(arr), std::end(arr), 42, std::hash<long long>(), test_allocator<PC>(0, 46)); in main() 191 …rdered_map m({ P{1,1L}, P{2,2L}, P{1,1L}, P{INT_MAX,1L}, P{3,1L} }, 42, test_allocator<PC>(0, 47)); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/associative/multimap/multimap.cons/ |
| H A D | deduct_const.pass.cpp | 39 using PC = std::pair<const int, long>; typedef 73 std::multimap m{ PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }; in main() 76 const PC expected_m[] = { {1,1L}, {1,1L}, {2,2L}, {3,1L}, {INT_MAX,1L} }; in main() 81 … std::multimap m({ PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }, std::greater<int>()); in main() 84 const PC expected_m[] = { {INT_MAX,1L}, {3,1L}, {2,2L}, {1,1L}, {1,1L} }; in main() 89 …std::multimap m({ PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }, std::greater<int>(), t… in main() 91 ASSERT_SAME_TYPE(decltype(m), std::multimap<int, long, std::greater<int>, test_allocator<PC>>); in main() 92 const PC expected_m[] = { {INT_MAX,1L}, {3,1L}, {2,2L}, {1,1L}, {1,1L} }; in main() 98 …std::multimap m({ PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }, test_allocator<PC>(0, … in main() 100 ASSERT_SAME_TYPE(decltype(m), std::multimap<int, long, std::less<int>, test_allocator<PC>>); in main() [all …]
|
| H A D | deduct.pass.cpp | 39 using PC = std::pair<const int, long>; typedef 48 const PC expected_m[] = { {1,1L}, {1,1L}, {2,2L}, {3,1L}, {INT_MAX,1L} }; in main() 57 const PC expected_m[] = { {INT_MAX,1L}, {3,1L}, {2,2L}, {1,1L}, {1,1L} }; in main() 66 const PC expected_m[] = { {INT_MAX,1L}, {3,1L}, {2,2L}, {1,1L}, {1,1L} }; in main() 96 const PC expected_m[] = { {1,1L}, {1,1L}, {2,2L}, {3,1L}, {INT_MAX,1L} }; in main() 104 const PC expected_m[] = { {INT_MAX,1L}, {3,1L}, {2,2L}, {1,1L}, {1,1L} }; in main() 112 const PC expected_m[] = { {INT_MAX,1L}, {3,1L}, {2,2L}, {1,1L}, {1,1L} }; in main() 119 std::multimap m(std::begin(arr), std::end(arr), test_allocator<PC>(0, 44)); in main() 121 ASSERT_SAME_TYPE(decltype(m), std::multimap<int, long, std::less<int>, test_allocator<PC>>); in main() 122 const PC expected_m[] = { {1,1L}, {1,1L}, {2,2L}, {3,1L}, {INT_MAX,1L} }; in main() [all …]
|
| H A D | deduct.fail.cpp | 39 using PC = std::pair<const int, long>; typedef 54 std::multimap m(std::less<int>{}, std::allocator<PC>{}); in main() 59 std::multimap m(std::allocator<PC>{}); in main() 85 std::multimap m({ {1,1L}, {2,2L}, {3,3L} }, std::less<int>(), std::allocator<PC>()); in main() 90 std::multimap m({ {1,1L}, {2,2L}, {3,3L} }, std::allocator<PC>()); in main() 100 std::multimap m(PC{1,1L}); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/associative/map/map.cons/ |
| H A D | deduct_const.pass.cpp | 39 using PC = std::pair<const int, long>; typedef 73 std::map m{ PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }; in main() 76 const PC expected_m[] = { {1, 1L}, {2,2L}, {3,1L}, {INT_MAX,1L} }; in main() 81 std::map m({ PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }, std::greater<int>()); in main() 84 const PC expected_m[] = { {INT_MAX,1L}, {3,1L}, {2,2L}, {1, 1L} }; in main() 89 …std::map m({ PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }, std::greater<int>(), test_a… in main() 91 ASSERT_SAME_TYPE(decltype(m), std::map<int, long, std::greater<int>, test_allocator<PC>>); in main() 92 const PC expected_m[] = { {INT_MAX,1L}, {3,1L}, {2,2L}, {1, 1L} }; in main() 98 … std::map m({ PC{1,1L}, PC{2,2L}, PC{1,1L}, PC{INT_MAX,1L}, PC{3,1L} }, test_allocator<PC>(0, 45)); in main() 100 ASSERT_SAME_TYPE(decltype(m), std::map<int, long, std::less<int>, test_allocator<PC>>); in main() [all …]
|
| H A D | deduct.pass.cpp | 39 using PC = std::pair<const int, long>; typedef 48 const PC expected_m[] = { {1,1L}, {2,2L}, {3,1L}, {INT_MAX,1L} }; in main() 57 const PC expected_m[] = { {INT_MAX,1L}, {3,1L}, {2,2L}, {1,1L} }; in main() 66 const PC expected_m[] = { {INT_MAX,1L}, {3,1L}, {2,2L}, {1,1L} }; in main() 96 const PC expected_m[] = { {1,1L}, {2,2L}, {3,1L}, {INT_MAX,1L} }; in main() 104 const PC expected_m[] = { {INT_MAX,1L}, {3,1L}, {2,2L}, {1,1L} }; in main() 112 const PC expected_m[] = { {INT_MAX,1L}, {3,1L}, {2,2L}, {1,1L} }; in main() 119 std::map m(std::begin(arr), std::end(arr), test_allocator<PC>(0, 44)); in main() 121 ASSERT_SAME_TYPE(decltype(m), std::map<int, long, std::less<int>, test_allocator<PC>>); in main() 122 const PC expected_m[] = { {1,1L}, {2,2L}, {3,1L}, {INT_MAX,1L} }; in main() [all …]
|
| H A D | deduct.fail.cpp | 39 using PC = std::pair<const int, long>; typedef 54 std::map m(std::less<int>{}, std::allocator<PC>{}); in main() 59 std::map m(std::allocator<PC>{}); in main() 85 std::map m({ {1,1L}, {2,2L}, {3,3L} }, std::less<int>(), std::allocator<PC>()); in main() 90 std::map m({ {1,1L}, {2,2L}, {3,3L} }, std::allocator<PC>()); in main() 100 std::map m(PC{1,1L}); in main()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | CommentParser.cpp | 436 ParagraphComment *PC; in HasParagraphCommentAt() local 620 ParagraphComment *PC; in TEST_F() local 688 ParagraphComment *PC; in TEST_F() local 705 ParagraphComment *PC; in TEST_F() local 712 ParagraphComment *PC; in TEST_F() local 732 ParagraphComment *PC; in TEST_F() local 742 ParagraphComment *PC; in TEST_F() local 758 ParagraphComment *PC; in TEST_F() local 777 ParagraphComment *PC; in TEST_F() local 787 ParagraphComment *PC; in TEST_F() local [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerTracePC.cpp | 135 return (PC - 3) & (~1); in GetPreviousInstructionPc() 137 return PC - 8; in GetPreviousInstructionPc() 139 return PC - 2; in GetPreviousInstructionPc() 141 return PC - 1; in GetPreviousInstructionPc() 143 return PC - 4; in GetPreviousInstructionPc() 151 return PC + 8; in GetNextInstructionPc() 154 return PC + 4; in GetNextInstructionPc() 156 return PC + 1; in GetNextInstructionPc() 314 for (auto PC : UncoveredPCs) in PrintCoverage() local 319 for (auto PC : CoveredPCs) in PrintCoverage() local [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/associative/multimap/multimap.ops/ |
| H A D | count.pass.cpp | 144 typedef PrivateConstructor PC; in main() typedef 145 typedef std::multimap<PC, double, std::less<>> M; in main() 149 m.insert ( std::make_pair<PC, double> ( PC::make(5), 1 )); in main() 150 m.insert ( std::make_pair<PC, double> ( PC::make(5), 2 )); in main() 151 m.insert ( std::make_pair<PC, double> ( PC::make(5), 3 )); in main() 152 m.insert ( std::make_pair<PC, double> ( PC::make(7), 1 )); in main() 153 m.insert ( std::make_pair<PC, double> ( PC::make(7), 2 )); in main() 154 m.insert ( std::make_pair<PC, double> ( PC::make(7), 3 )); in main() 155 m.insert ( std::make_pair<PC, double> ( PC::make(9), 1 )); in main() 156 m.insert ( std::make_pair<PC, double> ( PC::make(9), 2 )); in main() [all …]
|
| H A D | find.pass.cpp | 193 typedef PrivateConstructor PC; in main() typedef 194 typedef std::multimap<PC, double, std::less<>> M; in main() 198 m.insert ( std::make_pair<PC, double> ( PC::make(5), 1 )); in main() 199 m.insert ( std::make_pair<PC, double> ( PC::make(5), 2 )); in main() 200 m.insert ( std::make_pair<PC, double> ( PC::make(5), 3 )); in main() 201 m.insert ( std::make_pair<PC, double> ( PC::make(7), 1 )); in main() 202 m.insert ( std::make_pair<PC, double> ( PC::make(7), 2 )); in main() 203 m.insert ( std::make_pair<PC, double> ( PC::make(7), 3 )); in main() 204 m.insert ( std::make_pair<PC, double> ( PC::make(9), 1 )); in main() 205 m.insert ( std::make_pair<PC, double> ( PC::make(9), 2 )); in main() [all …]
|
| H A D | lower_bound.pass.cpp | 204 typedef PrivateConstructor PC; in main() typedef 205 typedef std::multimap<PC, double, std::less<>> M; in main() 209 m.insert ( std::make_pair<PC, double> ( PC::make(5), 1 )); in main() 210 m.insert ( std::make_pair<PC, double> ( PC::make(5), 2 )); in main() 211 m.insert ( std::make_pair<PC, double> ( PC::make(5), 3 )); in main() 212 m.insert ( std::make_pair<PC, double> ( PC::make(7), 1 )); in main() 213 m.insert ( std::make_pair<PC, double> ( PC::make(7), 2 )); in main() 214 m.insert ( std::make_pair<PC, double> ( PC::make(7), 3 )); in main() 215 m.insert ( std::make_pair<PC, double> ( PC::make(9), 1 )); in main() 216 m.insert ( std::make_pair<PC, double> ( PC::make(9), 2 )); in main() [all …]
|
| H A D | upper_bound.pass.cpp | 203 typedef PrivateConstructor PC; in main() typedef 204 typedef std::multimap<PC, double, std::less<>> M; in main() 208 m.insert ( std::make_pair<PC, double> ( PC::make(5), 1 )); in main() 209 m.insert ( std::make_pair<PC, double> ( PC::make(5), 2 )); in main() 210 m.insert ( std::make_pair<PC, double> ( PC::make(5), 3 )); in main() 211 m.insert ( std::make_pair<PC, double> ( PC::make(7), 1 )); in main() 212 m.insert ( std::make_pair<PC, double> ( PC::make(7), 2 )); in main() 213 m.insert ( std::make_pair<PC, double> ( PC::make(7), 3 )); in main() 214 m.insert ( std::make_pair<PC, double> ( PC::make(9), 1 )); in main() 215 m.insert ( std::make_pair<PC, double> ( PC::make(9), 2 )); in main() [all …]
|
| H A D | equal_range.pass.cpp | 247 typedef PrivateConstructor PC; in main() typedef 248 typedef std::multimap<PC, double, std::less<>> M; in main() 252 m.insert ( std::make_pair<PC, double> ( PC::make(5), 1 )); in main() 253 m.insert ( std::make_pair<PC, double> ( PC::make(5), 2 )); in main() 254 m.insert ( std::make_pair<PC, double> ( PC::make(5), 3 )); in main() 255 m.insert ( std::make_pair<PC, double> ( PC::make(7), 1 )); in main() 256 m.insert ( std::make_pair<PC, double> ( PC::make(7), 2 )); in main() 257 m.insert ( std::make_pair<PC, double> ( PC::make(7), 3 )); in main() 258 m.insert ( std::make_pair<PC, double> ( PC::make(9), 1 )); in main() 259 m.insert ( std::make_pair<PC, double> ( PC::make(9), 2 )); in main() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/MC/ |
| H A D | Disassembler.cpp | 39 unsigned PC = 0; in TEST() local 42 LLVMDisasmInstruction(DCR, BytesP, 0, PC, OutString, OutStringSize); in TEST() 45 InstSize = LLVMDisasmInstruction(DCR, BytesP, NumBytes, PC, OutString, in TEST() 49 PC += InstSize; in TEST() 53 InstSize = LLVMDisasmInstruction(DCR, BytesP, NumBytes, PC, OutString, in TEST() 57 PC += InstSize; in TEST() 61 InstSize = LLVMDisasmInstruction(DCR, BytesP, NumBytes, PC, OutString, in TEST() 85 unsigned PC = 0; in TEST() local 87 InstSize = LLVMDisasmInstruction(DCR, BytesP, NumBytes, PC, OutString, in TEST() 91 PC += InstSize; in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/test/MC/ARM/ |
| H A D | arm-load-store-multiple-deprecated.s | 19 @ CHECK: warning: use of PC in the list is deprecated 24 @ CHECK: warning: use of PC in the list is deprecated 28 @ CHECK: warning: use of PC in the list is deprecated 32 @ CHECK: warning: use of PC in the list is deprecated 40 @ CHECK: warning: use of PC in the list is deprecated 44 @ CHECK: warning: use of PC in the list is deprecated 48 @ CHECK: warning: use of PC in the list is deprecated 52 @ CHECK: warning: use of PC in the list is deprecated 60 @ CHECK: warning: use of PC in the list is deprecated 64 @ CHECK: warning: use of PC in the list is deprecated [all …]
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | EHFrameSupport.cpp | 51 ParseContext PC(G); in operator ()() local 59 auto &CurSym = PC.AddrToSym[Sym->getAddress()]; in operator ()() 82 if (auto Err = processBlock(PC, *B)) in operator ()() 118 PC.G.getEndianness()); in processBlock() 186 PC.G.getEndianness()); in processCIE() 303 PC.G.getEndianness()); in processFDE() 569 auto TargetSym = getOrCreateSymbol(PC, Target); in getOrCreateEncodedPointerEdge() 589 auto CanonicalSymI = PC.AddrToSym.find(Addr); in getOrCreateSymbol() 590 if (CanonicalSymI != PC.AddrToSym.end()) in getOrCreateSymbol() 594 auto *B = PC.AddrToBlock.getBlockCovering(Addr); in getOrCreateSymbol() [all …]
|
| /llvm-project-15.0.7/lld/test/ELF/ |
| H A D | riscv-undefined-weak.s | 36 # PC-NEXT: addi a1, a1, -352 40 # PC-NEXT: sd a2, -358(t1) 48 ## Treat them as PC relative relocations. 53 # PC-LABEL: <branch>: 54 # PC-NEXT: auipc ra, 0 55 # PC-NEXT: jalr ra 56 # PC-NEXT: [[#%x,ADDR:]]: 57 # PC-SAME: j 0x[[#ADDR]] 58 # PC-NEXT: [[#%x,ADDR:]]: 59 # PC-SAME: beqz zero, 0x[[#ADDR]] [all …]
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | check-directive-structure.h | 170 using ClauseMapTy = std::multimap<C, const PC *>; 183 const PC *clause{nullptr}; 202 void SetContextClause(const PC &clause) { in SetContextClause() 263 const PC *FindClauseParent(C type) { in FindClauseParent() 399 void DirectiveStructureChecker<D, C, PC, 424 void DirectiveStructureChecker<D, C, PC, 440 std::string DirectiveStructureChecker<D, C, PC, 495 void DirectiveStructureChecker<D, C, PC, 517 void DirectiveStructureChecker<D, C, PC, 532 void DirectiveStructureChecker<D, C, PC, [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/ELFRelocs/ |
| H A D | M68k.def | 9 ELF_RELOC(R_68K_PC32, 4) /* PC relative 32 bit */ 10 ELF_RELOC(R_68K_PC16, 5) /* PC relative 16 bit */ 11 ELF_RELOC(R_68K_PC8, 6) /* PC relative 8 bit */ 12 ELF_RELOC(R_68K_GOTPCREL32, 7) /* 32 bit PC relative GOT entry */ 13 ELF_RELOC(R_68K_GOTPCREL16, 8) /* 16 bit PC relative GOT entry */ 14 ELF_RELOC(R_68K_GOTPCREL8, 9) /* 8 bit PC relative GOT entry */ 18 ELF_RELOC(R_68K_PLT32, 13) /* 32 bit PC relative PLT address */ 19 ELF_RELOC(R_68K_PLT16, 14) /* 16 bit PC relative PLT address */ 20 ELF_RELOC(R_68K_PLT8, 15) /* 8 bit PC relative PLT address */
|
| /llvm-project-15.0.7/libcxx/test/std/containers/associative/map/map.ops/ |
| H A D | count.pass.cpp | 159 typedef PrivateConstructor PC; in main() typedef 160 typedef std::map<PC, double, std::less<>> M; in main() 164 m [ PC::make(5) ] = 5; in main() 165 m [ PC::make(6) ] = 6; in main() 166 m [ PC::make(7) ] = 7; in main() 167 m [ PC::make(8) ] = 8; in main() 168 m [ PC::make(9) ] = 9; in main() 169 m [ PC::make(10) ] = 10; in main() 170 m [ PC::make(11) ] = 11; in main() 171 m [ PC::make(12) ] = 12; in main()
|
| /llvm-project-15.0.7/clang/include/clang/ExtractAPI/Serialization/ |
| H A D | SymbolGraphSerializer.h | 58 PathComponentGuard(PathComponentStack &PC, StringRef Component) : PC(PC) { in PathComponentGuard() 59 PC.emplace_back(Component); in PathComponentGuard() 62 ~PathComponentGuard() { PC.pop_back(); } in ~PathComponentGuard() 65 PathComponentStack &PC;
|