| /llvm-project-15.0.7/llvm/lib/BinaryFormat/ |
| H A D | MsgPackWriter.cpp | 25 void Writer::write(bool b) { EW.write(b ? FirstByte::True : FirstByte::False); } in write() function in Writer 27 void Writer::write(int64_t i) { in write() function in Writer 39 EW.write(FirstByte::Int8); in write() 45 EW.write(FirstByte::Int16); in write() 56 EW.write(FirstByte::Int64); in write() 57 EW.write(i); in write() 85 EW.write(u); in write() 97 EW.write(d); in write() 154 EW.write(Size); in writeArraySize() 170 EW.write(Size); in writeMapSize() [all …]
|
| /llvm-project-15.0.7/clang/test/OpenMP/ |
| H A D | atomic_write_codegen.c | 87 #pragma omp atomic write in main() 91 #pragma omp atomic write in main() 99 #pragma omp atomic write in main() 103 #pragma omp atomic write in main() 107 #pragma omp atomic write in main() 111 #pragma omp atomic write in main() 115 #pragma omp atomic write in main() 119 #pragma omp atomic write in main() 123 #pragma omp atomic write in main() 127 #pragma omp atomic write in main() [all …]
|
| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | XCOFFEmitter.cpp | 90 W.write(NameRef); in writeName() 411 W.write<uint8_t>( in writeAuxFileHeader() 426 W.write<uint8_t>( in writeAuxFileHeader() 432 W.write<uint16_t>( in writeAuxFileHeader() 535 W.write<uint8_t>(0); in writeAuxSymbol() 553 W.write<uint8_t>(0); in writeAuxSymbol() 562 W.write<uint8_t>(0); in writeAuxSymbol() 576 W.write<int32_t>(0); in writeAuxSymbol() 608 W.write<uint8_t>(0); in writeAuxSymbol() 662 W.write<int32_t>(0); in writeSymbols() [all …]
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/ |
| H A D | split-lib.py | 10 self.shfile.write("echo \"\" > %s\n" % self.timeFile) 18 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 21 self.shfile.write(" -o %s -a " % self.timeFile) 23 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 26 self.shfile.write(" -o %s -a " % self.timeFile) 28 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 31 self.shfile.write(" -o %s -a " % self.timeFile) 33 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 34 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 56 callfile.write(line) [all …]
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/complete/ |
| H A D | split-lib.py | 10 self.shfile.write("echo \"\" > %s\n" % self.timeFile) 18 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 21 self.shfile.write(" -o %s -a " % self.timeFile) 23 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 26 self.shfile.write(" -o %s -a " % self.timeFile) 28 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 31 self.shfile.write(" -o %s -a " % self.timeFile) 33 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 34 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 56 callfile.write(line) [all …]
|
| H A D | genk-timing.py | 13 self.shfile.write("echo \"\" > %s\n" % self.timeFile) 21 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 24 self.shfile.write(" -o %s -a " % self.timeFile) 26 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 29 self.shfile.write(" -o %s -a " % self.timeFile) 31 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 32 self.shfile.write("echo \"With JIT\" >> %s\n" % self.timeFile) 34 self.shfile.write(" -o %s -a " % self.timeFile) 36 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 37 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/ |
| H A D | Hoisting.cpp | 101 assert(write.transferWriteOp && in findMatchingTransferRead() 106 if (write.insertSliceOp) in findMatchingTransferRead() 118 if (write.insertSliceOp) { in findMatchingTransferRead() 175 user == write.transferWriteOp || user == write.insertSliceOp) in tensorChunkAccessedByUnknownOp() 237 auto write = in getLoopInvariantTransferWriteOpDefining() local 239 if (!write) in getLoopInvariantTransferWriteOpDefining() 295 if (write.insertSliceOp) in hoistReadWrite() 301 if (write.insertSliceOp) in hoistReadWrite() 320 if (write.insertSliceOp) { in hoistReadWrite() 357 HoistableWrite write = in hoistRedundantVectorTransfersOnTensor() local [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/benchmarks/ |
| H A D | mop.cpp | 15 template<typename T, bool write> 30 if (write) { in thread() 46 template<typename T, bool write> 50 thread<T, write>(0); in test() 54 template<bool write> 57 case 1: return test<char, write>(); in testw() 58 case 2: return test<short, write>(); in testw() 59 case 4: return test<int, write>(); in testw() 66 bool write = true; in main() local 73 write = false; in main() [all …]
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MachObjectWriter.cpp | 155 W.write<uint32_t>(Type); in writeHeader() 158 W.write<uint32_t>(Flags); in writeHeader() 207 W.write<uint32_t>(MaxProt); in writeSegmentLoadCommand() 209 W.write<uint32_t>(InitProt); in writeSegmentLoadCommand() 251 W.write<uint32_t>(Flags); in writeSection() 302 W.write<uint32_t>(0); // ntoc in writeDysymtabLoadCommand() 415 W.write<uint32_t>(Type); in writeLinkeditLoadCommand() 418 W.write<uint32_t>(DataSize); in writeLinkeditLoadCommand() 440 W.write<uint32_t>(Size); in writeLinkerOptionsLoadCommand() 1040 W.write<uint32_t>(Start); in writeObject() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/BinaryFormat/ |
| H A D | MsgPackWriterTest.cpp | 40 MPWriter.write(u); in TEST_F() 50 MPWriter.write(u); in TEST_F() 56 MPWriter.write(u); in TEST_F() 62 MPWriter.write(u); in TEST_F() 68 MPWriter.write(u); in TEST_F() 74 MPWriter.write(u); in TEST_F() 80 MPWriter.write(u); in TEST_F() 86 MPWriter.write(u); in TEST_F() 92 MPWriter.write(u); in TEST_F() 98 MPWriter.write(u); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | EndianStream.h | 28 inline void write(raw_ostream &os, value_type value, endianness endian) { in write() function 30 os.write((const char *)&value, sizeof(value_type)); in write() 35 write(os, FloatToBits(value), endian); 39 inline void write<double>(raw_ostream &os, double value, 41 write(os, DoubleToBits(value), endian); 45 inline void write(raw_ostream &os, ArrayRef<value_type> vals, in write() function 48 write(os, v, endian); in write() 56 template <typename value_type> void write(ArrayRef<value_type> Val) { in write() function 57 endian::write(OS, Val, Endian); in write() 59 template <typename value_type> void write(value_type Val) { in write() function [all …]
|
| /llvm-project-15.0.7/bolt/lib/RuntimeLibs/ |
| H A D | InstrumentationRuntimeLibrary.cpp | 257 OS.write(reinterpret_cast<const char *>(&IDSize), 4); in buildTables() 265 OS.write(reinterpret_cast<const char *>(&ITDSize), 4); in buildTables() 276 OS.write(reinterpret_cast<const char *>(&FuncDescSize), 4); in buildTables() 279 OS.write(reinterpret_cast<const char *>(&LeafNum), 4); in buildTables() 281 OS.write(reinterpret_cast<const char *>(&LeafNode.Node), 4); in buildTables() 285 OS.write(reinterpret_cast<const char *>(&EdgesNum), 4); in buildTables() 292 OS.write(reinterpret_cast<const char *>(&Edge.ToNode), 4); in buildTables() 293 OS.write(reinterpret_cast<const char *>(&Edge.Counter), 4); in buildTables() 296 OS.write(reinterpret_cast<const char *>(&CallsNum), 4); in buildTables() 303 OS.write(reinterpret_cast<const char *>(&Call.Counter), 4); in buildTables() [all …]
|
| /llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/shtest-shell/ |
| H A D | redirects.txt | 3 # RUN: echo "not-present" > %t.stdout-write 4 # RUN: echo "is-present" > %t.stdout-write 5 # RUN: FileCheck --check-prefix=STDOUT-WRITE < %t.stdout-write %s 10 # RUN: echo "appended-line" >> %t.stdout-write 11 # RUN: FileCheck --check-prefix=STDOUT-APPEND < %t.stdout-write %s 19 # RUN: echo "not-present" > %t.stderr-write 20 # RUN: %{python} %S/write-to-stderr.py 2> %t.stderr-write 21 # RUN: FileCheck --check-prefix=STDERR-WRITE < %t.stderr-write %s 26 # RUN: %{python} %S/write-to-stderr.py 2>> %t.stderr-write 27 # RUN: FileCheck --check-prefix=STDERR-APPEND < %t.stderr-write %s [all …]
|
| /llvm-project-15.0.7/llvm/lib/XRay/ |
| H A D | FDRTraceWriter.cpp | 48 OS.write(FirstByte); in writeMetadata() 53 OS.write('\0'); in writeMetadata() 68 OS.write(H.Version); in FDRTraceWriter() 69 OS.write(H.Type); in FDRTraceWriter() 70 OS.write(BitField); in FDRTraceWriter() 71 OS.write(H.CycleFrequency); in FDRTraceWriter() 74 OS.write(FreeFormBytes); in FDRTraceWriter() 100 OS.write(Bytes); in visit() 109 OS.write(Bytes); in visit() 118 OS.write(Bytes); in visit() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/ |
| H A D | gen-static-analyzer-docs.py | 66 f.write(".. title:: clang-tidy - %s\n" % checker["FullPackageName"]) 68 f.write(".. meta::\n") 70 f.write("\n") 71 f.write("%s\n" % checker["FullPackageName"]) 72 f.write("=" * len(checker["FullPackageName"]) + "\n") 73 f.write("\n") 75 f.write("%s\n" % checker["HelpText"]) 79 f.write("for more information.\n") 99 f.write(header) 100 f.write(".. toctree::") [all …]
|
| /llvm-project-15.0.7/lldb/test/API/macosx/DBGSourcePathRemapping/ |
| H A D | TestDSYMSourcePathRemapping.py | 37 f.write('<?xml version="1.0" encoding="UTF-8"?>\n') 38 …f.write('<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyL… 39 f.write('<plist version="1.0">\n') 40 f.write('<dict>\n') 41 f.write(' <key>DBGSourcePathRemapping</key>\n') 42 f.write(' <dict>\n') 43 f.write(' <key>' + os.path.realpath(botdir) + '</key>\n') 44 f.write(' <string>' + userdir + '</string>\n') 45 f.write(' </dict>\n') 46 f.write('</dict>\n') [all …]
|
| /llvm-project-15.0.7/lldb/test/Shell/Register/ |
| H A D | x86-64-gp-write.test | 3 # RUN: %clangxx_host -fomit-frame-pointer %p/Inputs/x86-64-gp-write.cpp -o %t 7 register write rax 0x0102030405060708 8 register write rbx 0x1112131415161718 9 register write rcx 0x2122232425262728 10 register write rdx 0x3132333435363738 11 register write rsp 0x4142434445464748 12 register write rbp 0x5152535455565758 13 register write rsi 0x6162636465666768 14 register write rdi 0x7172737475767778
|
| H A D | x86-gp-write.test | 3 # RUN: %clangxx_host -mmmx -fomit-frame-pointer %p/Inputs/x86-gp-write.cpp -o %t 7 register write eax 0x01020304 8 register write ebx 0x11121314 9 register write ecx 0x21222324 10 register write edx 0x31323334 11 register write esp 0x41424344 12 register write ebp 0x51525354 13 register write esi 0x61626364 14 register write edi 0x71727374
|
| H A D | x86-64-write.test | 9 # RUN: %clangxx_host %p/Inputs/x86-64-write.cpp -o %t 13 register write r8 0x0001020304050607 14 register write r9 0x1011121314151617 15 register write r10 0x2021222324252627 16 register write r11 0x3031323334353637 17 register write r12 0x4041424344454647 18 register write r13 0x5051525354555657 19 register write r14 0x6061626364656667 20 register write r15 0x7071727374757677 22 register write xmm8 "{0x08 0x09 0x0a 0x0b 0x0c 0x0d 0x0e 0x0f 0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x… [all …]
|
| H A D | x86-mm-xmm-write.test | 4 # RUN: %clangxx_host %p/Inputs/x86-mm-xmm-write.cpp -o %t 8 register write mm0 0x0001020304050607 9 register write mm1 0x1011121314151617 10 register write mm2 0x2021222324252627 11 register write mm3 0x3031323334353637 12 register write mm4 0x4041424344454647 13 register write mm5 0x5051525354555657 14 register write mm6 0x6061626364656667 15 register write mm7 0x7071727374757677 17 register write xmm0 "{0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0a 0x0b 0x0c 0x0d 0x0e 0x… [all …]
|
| H A D | x86-64-fp-write.test | 6 # RUN: %clangxx_host %p/Inputs/x86-fp-write.cpp -o %t 10 register write fctrl 0x037b 11 register write fstat 0x8884 13 register write ftag 0x2a58 14 register write fop 0x0033 18 register write fip 0x0000056789abcdef 19 register write fdp 0x00000a9876543210 21 register write st0 "{0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x80 0x00 0x40}" 22 register write st1 "{0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x3f 0x00 0x00}" 23 register write st2 "{0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}" [all …]
|
| H A D | x86-fp-write.test | 6 # RUN: %clangxx_host %p/Inputs/x86-fp-write.cpp -o %t 10 register write fctrl 0x037b 11 register write fstat 0x8884 13 register write ftag 0x2a58 14 register write fop 0x0033 17 register write fioff 0x89abcdef 18 register write fooff 0x76543210 20 register write st0 "{0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x80 0x00 0x40}" 21 register write st1 "{0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x3f 0x00 0x00}" 22 register write st2 "{0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}" [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/ |
| H A D | add_new_check.py | 50 f.write(line) 62 f.write('//===--- ') 67 f.write(""" 113 f.write('//===--- ') 117 f.write('-===//') 118 f.write(""" 220 f.write(line) 258 f.write(line) 262 f.write(line) 275 f.write(line) [all …]
|
| /llvm-project-15.0.7/llvm/utils/lit/lit/builtin_commands/ |
| H A D | cat.py | 15 newdata.write(chr(intval)) 19 newdata.write("M-") 21 newdata.write("^") 22 newdata.write(chr(intval+64)) 24 newdata.write("^?") 26 newdata.write(chr(intval)) 40 sys.stderr.write("Unsupported: 'cat': %s\n" % str(err)) 59 writer.write(contents) 63 sys.stderr.write(str(error))
|
| /llvm-project-15.0.7/polly/lib/External/isl/imath/tests/gmp-compat-test/ |
| H A D | genpytest.py | 8 outf.write(""" 21 outf.write(""" 108 outf.write(""" 120 outf.write(""" 125 outf.write(' "{}" : {},\n'.format(api.name, "test_" + api.name)) 126 outf.write(" }\n") 127 outf.write(" return test_wrappers[name]\n")
|