| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | TypeProperties.td | 22 let Read = [{ node->getPointeeType() }]; 107 let Read = [{ node->getSize() }]; 110 let Read = [{ node->getSizeExpr() }]; 135 let Read = [{ node->getSizeExpr() }]; 357 let Read = [{ node->getDecl() }]; 380 let Read = [{ node->getDecl() }]; 624 let Read = [{ node->getAttr() }]; 663 let Read = [{ 777 let Read = [{ node->getKind() }]; 821 let Read = [{ [all …]
|
| H A D | PropertiesBase.td | 175 code Read; 241 string Read = readCode; 264 let Read = [{ node.getInt() }]; 270 let Read = [{ 335 let Read = [{ buffer }]; 363 let Read = [{ buffer }]; 388 let Read = [{ structBases }]; 391 let Read = [{ structFields }]; 483 let Read = [{ 512 let Read = [{ [all …]
|
| /llvm-project-15.0.7/llvm/unittests/AsmParser/ |
| H A D | AsmParserTest.cpp | 292 unsigned Read; in TEST() local 300 ASSERT_TRUE(Read == 3); in TEST() 307 ASSERT_TRUE(Read == 3); in TEST() 313 ASSERT_TRUE(Read == 5); in TEST() 318 ASSERT_TRUE(Read == 6); in TEST() 325 ASSERT_TRUE(Read == 3); in TEST() 340 ASSERT_TRUE(Read == 2); in TEST() 355 ASSERT_TRUE(Read == 9); in TEST() 369 ASSERT_TRUE(Read == 7); in TEST() 379 ASSERT_TRUE(Read == 4); in TEST() [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/ |
| H A D | scariness_score_test.cpp | 82 enum ReadOrWrite { Read = 0, Write = 1 }; enumerator 181 case 1: HeapBuferOverflow<char>(0, Read); break; in main() 182 case 2: HeapBuferOverflow<int>(0, Read); break; in main() 187 case 6: HeapUseAfterFree<char>(0, Read); break; in main() 189 case 8: HeapUseAfterFree<int64_t>(0, Read); break; in main() 192 case 11: StackBufferOverflow<int64_t>(0, Read); break; in main() 205 case 13: StackUseAfterReturn<char>(0, Read); break; in main()
|
| /llvm-project-15.0.7/compiler-rt/lib/memprof/tests/ |
| H A D | rawprofile.cpp | 49 template <class T = uint64_t> T Read(char *&Buffer) { in Read() function 100 EXPECT_THAT(Read(Ptr), MEMPROF_RAW_MAGIC_64); in TEST() 101 EXPECT_THAT(Read(Ptr), MEMPROF_RAW_VERSION); in TEST() 102 const uint64_t TotalSize = Read(Ptr); in TEST() 103 const uint64_t SegmentOffset = Read(Ptr); in TEST() 104 const uint64_t MIBOffset = Read(Ptr); in TEST() 105 const uint64_t StackOffset = Read(Ptr); in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | JSONTransport.cpp | 215 size_t Read = std::strlen(&Out[Size]); in readLine() local 216 if (Read > 0 && Out[Size + Read - 1] == '\n') { in readLine() 217 Out.resize(Size + Read); in readLine() 220 Size += Read; in readLine() 277 for (size_t Pos = 0, Read; Pos < ContentLength; Pos += Read) { in readStandardMessage() local 279 Read = retryAfterSignalUnlessShutdown(0, [&]{ in readStandardMessage() 282 if (Read == 0) { in readStandardMessage() 287 InMirror << llvm::StringRef(&JSON[Pos], Read); in readStandardMessage() 290 Pos += Read; in readStandardMessage()
|
| H A D | CompileCommands.cpp | 602 unsigned Read = 0, Write = 0; in process() local 604 while (Read < Args.size()) { in process() 606 if (matchingRule(Args[Read], CurrentMode, ArgCount)) { in process() 615 for (unsigned I = 1; Read < Args.size() && I < ArgCount; ++I) { in process() 616 ++Read; in process() 617 if (Read < Args.size() && Args[Read] == "-Xclang") in process() 618 ++Read; in process() 622 WasXclang = Args[Read] == "-Xclang"; in process() 624 if (Write != Read) in process() 625 Args[Write] = std::move(Args[Read]); in process() [all …]
|
| /llvm-project-15.0.7/llvm/lib/MCA/ |
| H A D | InstrBuilder.cpp | 481 ReadDescriptor &Read = ID.Reads[CurrentUse]; in populateReads() local 482 Read.OpIndex = OpIndex; in populateReads() 483 Read.UseIndex = I; in populateReads() 484 Read.SchedClassID = SchedClassID; in populateReads() 494 Read.OpIndex = ~I; in populateReads() 495 Read.UseIndex = NumExplicitUses + I; in populateReads() 496 Read.RegisterID = MCDesc.getImplicitUses()[I]; in populateReads() 497 Read.SchedClassID = SchedClassID; in populateReads() 512 ReadDescriptor &Read = ID.Reads[CurrentUse]; in populateReads() local 513 Read.OpIndex = OpIndex; in populateReads() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| H A D | AppleObjCClassDescriptorV2.cpp | 23 bool ret = objc_class->Read(process, m_objc_class_ptr); in Read_objc_class() 44 bool ClassDescriptorV2::objc_class_t::Read(Process *process, in Read() function in ClassDescriptorV2::objc_class_t 213 if (!class_rw->Read(process, objc_class.m_data_ptr)) { in Read_class_row() 220 if (!class_ro->Read(process, class_rw->m_ro_ptr)) { in Read_class_row() 228 if (!class_ro->Read(process, objc_class.m_data_ptr)) { in Read_class_row() 237 bool ClassDescriptorV2::method_list_t::Read(Process *process, in Read() function in ClassDescriptorV2::method_list_t 267 bool ClassDescriptorV2::method_t::Read(Process *process, lldb::addr_t addr, in Read() function in ClassDescriptorV2::method_t 342 bool ClassDescriptorV2::ivar_t::Read(Process *process, lldb::addr_t addr) { in Read() function in ClassDescriptorV2::ivar_t 399 if (!base_method_list->Read(process, class_ro->m_baseMethods_ptr)) in Describe() 412 method->Read(process, in Describe() [all …]
|
| H A D | AppleObjCClassDescriptorV2.h | 98 bool Read(Process *process, lldb::addr_t addr); 118 bool Read(Process *process, lldb::addr_t addr); 136 bool Read(Process *process, lldb::addr_t addr); 146 bool Read(Process *process, lldb::addr_t addr); 169 bool Read(Process *process, lldb::addr_t addr, 178 bool Read(Process *process, lldb::addr_t addr); 201 bool Read(Process *process, lldb::addr_t addr);
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/tests/rtl/ |
| H A D | tsan_test_util.h | 81 void Read(const MemLoc &ml, int size, bool expect_race = false) { 88 Read(ml, 1, expect_race); } 90 Read(ml, 2, expect_race); } 92 Read(ml, 4, expect_race); } 94 Read(ml, 8, expect_race); }
|
| /llvm-project-15.0.7/llvm/unittests/ExecutionEngine/JITLink/ |
| H A D | LinkGraphTests.cpp | 78 auto &Sec1 = G.createSection("__data.1", MemProt::Read | MemProt::Write); in TEST() 95 auto &Sec1 = G.createSection("__data.1", MemProt::Read | MemProt::Write); in TEST() 105 auto &Sec2 = G.createSection("__data.2", MemProt::Read | MemProt::Write); in TEST() 146 auto &Sec = G.createSection("__data", MemProt::Read | MemProt::Write); in TEST() 215 auto &Sec = G.createSection("__data", MemProt::Read | MemProt::Write); in TEST() 263 auto &Sec = G.createSection("__data", MemProt::Read | MemProt::Write); in TEST() 310 auto &Sec = G.createSection("__data", MemProt::Read | MemProt::Write); in TEST() 344 auto &Sec1 = G.createSection("__data.1", MemProt::Read | MemProt::Write); in TEST() 345 auto &Sec2 = G.createSection("__data.2", MemProt::Read | MemProt::Write); in TEST() 376 auto &Sec1 = G.createSection("__data.1", MemProt::Read | MemProt::Write); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Bitstream/ |
| H A D | BitstreamReader.h | 138 if (Expected<word_t> Res = Read(WordBitNo)) in JumpToBit() 186 Expected<word_t> Read(unsigned NumBits) { in Read() function 230 Expected<unsigned> MaybeRead = Read(NumBits); in ReadVBR() 255 MaybeRead = Read(NumBits); in ReadVBR() 265 Expected<uint64_t> MaybeRead = Read(NumBits); in ReadVBR64() 289 MaybeRead = Read(NumBits); in ReadVBR64() 397 using SimpleBitstreamCursor::Read; 474 Expected<unsigned> ReadCode() { return Read(CurCodeSize); } in ReadCode() 493 Expected<unsigned> MaybeNum = Read(bitc::BlockSizeWidth); in SkipBlock()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Utility/ |
| H A D | RegisterContextDarwin_arm64.h | 120 enum { Read = 0, Write = 1, kNumErrors = 2 }; enumerator 132 SetError(GPRRegSet, Read, -1); in InvalidateAllRegisterStates() 133 SetError(FPURegSet, Read, -1); in InvalidateAllRegisterStates() 134 SetError(EXCRegSet, Read, -1); in InvalidateAllRegisterStates() 183 bool RegisterSetIsCached(int set) const { return GetError(set, Read) == 0; } in RegisterSetIsCached()
|
| H A D | RegisterContextDarwin_x86_64.h | 116 enum { Read = 0, Write = 1, kNumErrors = 2 }; enumerator 126 SetError(GPRRegSet, Read, -1); in InvalidateAllRegisterStates() 127 SetError(FPURegSet, Read, -1); in InvalidateAllRegisterStates() 128 SetError(EXCRegSet, Read, -1); in InvalidateAllRegisterStates() 171 bool RegisterSetIsCached(int set) const { return GetError(set, Read) == 0; } in RegisterSetIsCached()
|
| H A D | RegisterContextDarwin_i386.h | 111 enum { Read = 0, Write = 1, kNumErrors = 2 }; enumerator 121 SetError(GPRRegSet, Read, -1); in InvalidateAllRegisterStates() 122 SetError(FPURegSet, Read, -1); in InvalidateAllRegisterStates() 123 SetError(EXCRegSet, Read, -1); in InvalidateAllRegisterStates() 166 bool RegisterSetIsCached(int set) const { return GetError(set, Read) == 0; } in RegisterSetIsCached()
|
| H A D | RegisterContextDarwin_arm.h | 153 enum { Read = 0, Write = 1, kNumErrors = 2 }; enumerator 165 SetError(GPRRegSet, Read, -1); in InvalidateAllRegisterStates() 166 SetError(FPURegSet, Read, -1); in InvalidateAllRegisterStates() 167 SetError(EXCRegSet, Read, -1); in InvalidateAllRegisterStates() 216 bool RegisterSetIsCached(int set) const { return GetError(set, Read) == 0; } in RegisterSetIsCached()
|
| /llvm-project-15.0.7/llvm/unittests/Bitstream/ |
| H A D | BitstreamReaderTest.cpp | 25 Expected<SimpleBitstreamCursor::word_t> MaybeRead = Cursor.Read(8); in TEST() 28 MaybeRead = Cursor.Read(24); in TEST() 61 Expected<SimpleBitstreamCursor::word_t> MaybeRead = Cursor.Read(1); in TEST() 122 Expected<SimpleBitstreamCursor::word_t> MaybeRead = Stream.Read(32); in TEST() 158 Expected<SimpleBitstreamCursor::word_t> MaybeRead = Cursor.Read(8); in TEST()
|
| /llvm-project-15.0.7/polly/lib/Analysis/ |
| H A D | DependenceInfo.cpp | 113 static void collectInfo(Scop &S, isl_union_map *&Read, in collectInfo() argument 119 Read = isl_union_map_empty(isl_space_copy(Space)); in collectInfo() 167 Read = isl_union_map_add_map(Read, accdom); in collectInfo() 184 Read = isl_union_map_coalesce(Read); in collectInfo() 311 isl_union_map *Read, *MustWrite, *MayWrite, *ReductionTagMap; in calculateDependences() local 322 LLVM_DEBUG(dbgs() << "Read: " << Read << '\n'; in calculateDependences() 363 LLVM_DEBUG(dbgs() << "Read: " << Read << "\n"; in calculateDependences() 450 Flow = buildFlow(Write, nullptr, Read, MustWrite, Schedule); in calculateDependences() 454 Flow = buildFlow(Read, nullptr, Write, nullptr, Schedule); in calculateDependences() 458 Flow = buildFlow(Write, nullptr, Read, nullptr, Schedule); in calculateDependences() [all …]
|
| /llvm-project-15.0.7/libcxx/docs/Status/ |
| H A D | RangesAlgorithms.csv | 29 Read-only,is_partitioned,Nikolas Klauser,`D124440 <https://llvm.org/D124440>`_,✅ 30 Read-only,is_sorted,Nikolas Klauser,`D125608 <https://llvm.org/D125608>`_,✅ 31 Read-only,is_sorted_until,Nikolas Klauser,`D125608 <https://llvm.org/D125608>`_,✅ 32 Read-only,includes,Hui Xie,`D130116 <https://llvm.org/D130116>`_,✅ 33 Read-only,is_heap,Konstantin Varlamov,`D130547 <https://llvm.org/D130547>`_,✅ 34 Read-only,is_heap_until,Konstantin Varlamov,`D130547 <https://llvm.org/D130547>`_,✅ 35 Read-only,clamp,Nikolas Klauser,`D126193 <https://llvm.org/D126193>`_,✅ 36 Read-only,is_permutation,Nikolas Klauser,`D127194 <https://llvm.org/D127194>`_,✅ 37 Read-only,for_each,Nikolas Klauser,`D124332 <https://llvm.org/D124332>`_,✅ 38 Read-only,for_each_n,Nikolas Klauser,`D124332 <https://llvm.org/D124332>`_,✅
|
| /llvm-project-15.0.7/libc/src/string/memory_utils/ |
| H A D | address.h | 39 enum class Permission { Read, Write }; enumerator 49 static constexpr bool IS_READ = P == Permission::Read; 121 using SrcAddr = Address<Alignment, Permission::Read, Temporality::TEMPORAL>; 126 Address<Alignment, Permission::Read, Temporality::NON_TEMPORAL>;
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | HashedNameToDIE.cpp | 212 DWARFMappedHash::Prologue::Read(const lldb_private::DataExtractor &data, in Read() function in DWARFMappedHash::Prologue 256 lldb::offset_t DWARFMappedHash::Header::Read(lldb_private::DataExtractor &data, in Read() function in DWARFMappedHash::Header 258 offset = MappedHash::Header<Prologue>::Read(data, offset); in Read() 260 offset = header_data.Read(data, offset); in Read() 265 bool DWARFMappedHash::Header::Read(const lldb_private::DWARFDataExtractor &data, in Read() function in DWARFMappedHash::Header 327 if (!m_header.Read(m_data, &offset, hash_data[i])) in ReadHashData() 377 if (m_header.Read(m_data, hash_data_offset_ptr, die_info)) { in GetHashDataForName() 438 if (m_header.Read(m_data, hash_data_offset_ptr, die_info)) { in AppendHashDataForRegularExpression() 513 if (m_header.Read(m_data, &hash_data_offset, die_info)) { in AppendAllDIEsInRange()
|
| /llvm-project-15.0.7/llvm/lib/AsmParser/ |
| H A D | Parser.cpp | 194 unsigned Read; in parseType() local 195 Type *Ty = parseTypeAtBeginning(Asm, Read, Err, M, Slots); in parseType() 198 if (Read != Asm.size()) { in parseType() 202 Err = SM.GetMessage(SMLoc::getFromPointer(Asm.begin() + Read), in parseType() 208 Type *llvm::parseTypeAtBeginning(StringRef Asm, unsigned &Read, in parseTypeAtBeginning() argument 216 .parseTypeAtBeginning(Ty, Read, Slots)) in parseTypeAtBeginning()
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Darwin/ |
| H A D | segv_read_write.c | 9 __attribute__((noinline)) void Read(int *ptr) { sink = *ptr; } in Read() function 16 Read((int *)p); in main()
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Linux/ |
| H A D | segv_read_write.c | 9 __attribute__((noinline)) void Read(int *ptr) { sink = *ptr; } in Read() function 19 Read((int *)p); in main()
|