| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | OffloadEmitter.cpp | 23 object::OffloadBinary::OffloadingImage Image{}; in yaml2offload() local 25 Image.TheImageKind = *Member.ImageKind; in yaml2offload() 27 Image.TheOffloadKind = *Member.OffloadKind; in yaml2offload() 29 Image.Flags = *Member.Flags; in yaml2offload() 31 StringMap<StringRef> &StringData = Image.StringData; in yaml2offload() 42 Image.Image = MemoryBuffer::getMemBufferCopy(OS.str()); in yaml2offload() 44 std::unique_ptr<MemoryBuffer> Binary = object::OffloadBinary::write(Image); in yaml2offload()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | hsa-metadata-images.ll | 28 ; CHECK: ValueKind: Image 32 ; CHECK: ValueKind: Image 36 ; CHECK: ValueKind: Image 40 ; CHECK: ValueKind: Image 44 ; CHECK: ValueKind: Image 48 ; CHECK: ValueKind: Image 52 ; CHECK: ValueKind: Image 56 ; CHECK: ValueKind: Image 60 ; CHECK: ValueKind: Image 64 ; CHECK: ValueKind: Image [all …]
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/remote/lib/ |
| H A D | Utils.cpp | 37 auto *Image = Request.add_images(); in loadTargetBinaryDescription() local 39 Image->set_binary(CurImage->ImageStart, Size); in loadTargetBinaryDescription() 48 auto *NewEntry = Image->add_entries(); in loadTargetBinaryDescription() 95 for (auto Image : Request->images()) { in unloadTargetBinaryDescription() local 105 for (size_t I = 0; I < Image.entries_size(); I++) { in unloadTargetBinaryDescription() 126 Image.binary().size()); in unloadTargetBinaryDescription() 160 __tgt_device_image *Image) { in loadTargetTable() argument 161 auto *ImageEntry = Image->EntriesBegin; in loadTargetTable() 282 void dump(__tgt_device_image *Image) { in dump() argument 283 dump(Image->ImageStart, Image->ImageEnd); in dump() [all …]
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/common/elf_common/ |
| H A D | elf_common.cpp | 70 int32_t elf_check_machine(__tgt_device_image *Image, uint16_t TargetId) { in elf_check_machine() argument 74 return withBytesAsElf(reinterpret_cast<char *>(Image->ImageStart), in elf_check_machine() 75 reinterpret_cast<char *>(Image->ImageEnd), in elf_check_machine() 79 int32_t elf_is_dynamic(__tgt_device_image *Image) { in elf_is_dynamic() argument 85 return withBytesAsElf(reinterpret_cast<char *>(Image->ImageStart), in elf_is_dynamic() 86 reinterpret_cast<char *>(Image->ImageEnd), in elf_is_dynamic()
|
| /llvm-project-15.0.7/llvm/unittests/Object/ |
| H A D | OffloadingTest.cpp | 18 std::vector<uint8_t> Image(SizeDist(Rng)); in TEST() local 19 std::generate(Image.begin(), Image.end(), [&]() { return BinaryDist(Rng); }); in TEST() 37 {reinterpret_cast<char *>(Image.data()), Image.size()}, "", false); in TEST() 44 Data.Image = std::move(ImageData); in TEST() 62 EXPECT_TRUE(Data.Image->getBuffer() == Binary.getImage()); in TEST()
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/ve/src/ |
| H A D | rtl.cpp | 187 int32_t __tgt_rtl_is_valid_binary(__tgt_device_image *Image) { in __tgt_rtl_is_valid_binary() argument 191 return elf_check_machine(Image, TARGET_ELF_ID); in __tgt_rtl_is_valid_binary() 216 __tgt_device_image *Image) { in __tgt_rtl_load_binary() argument 218 DPxPTR(Image->ImageStart)); in __tgt_rtl_load_binary() 222 size_t ImageSize = (size_t)Image->ImageEnd - (size_t)Image->ImageStart; in __tgt_rtl_load_binary() 223 size_t NumEntries = (size_t)(Image->EntriesEnd - Image->EntriesBegin); in __tgt_rtl_load_binary() 246 fwrite(Image->ImageStart, ImageSize, 1, ftmp); in __tgt_rtl_load_binary() 259 is_dyn = elf_is_dynamic(Image); in __tgt_rtl_load_binary() 317 DeviceInfo.buildOffloadTableFromHost(ID, LibHandle, Image->EntriesBegin, in __tgt_rtl_load_binary() 318 Image->EntriesEnd); in __tgt_rtl_load_binary()
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/generic-elf-64bit/src/ |
| H A D | rtl.cpp | 116 int32_t __tgt_rtl_is_valid_binary(__tgt_device_image *Image) { in __tgt_rtl_is_valid_binary() argument 121 return elf_check_machine(Image, TARGET_ELF_ID); in __tgt_rtl_is_valid_binary() 130 __tgt_device_image *Image) { in __tgt_rtl_load_binary() argument 133 DPxPTR(Image->ImageStart)); in __tgt_rtl_load_binary() 137 size_t ImageSize = (size_t)Image->ImageEnd - (size_t)Image->ImageStart; in __tgt_rtl_load_binary() 138 size_t NumEntries = (size_t)(Image->EntriesEnd - Image->EntriesBegin); in __tgt_rtl_load_binary() 148 Elf *E = elf_memory((char *)Image->ImageStart, ImageSize); in __tgt_rtl_load_binary() 211 fwrite(Image->ImageStart, ImageSize, 1, Ftmp); in __tgt_rtl_load_binary()
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/postmortem/minidump-new/ |
| H A D | linux-arm-uuids-elf-build-id-16.yaml | 11 - Base of Image: 0x0000000000001000 12 Size of Image: 0x00001000 15 - Base of Image: 0x0000000000001000 16 Size of Image: 0x00001000
|
| H A D | linux-arm-uuids-elf-build-id-20.yaml | 11 - Base of Image: 0x0000000000001000 12 Size of Image: 0x00001000 15 - Base of Image: 0x0000000000001000 16 Size of Image: 0x00001000
|
| H A D | linux-arm-uuids-no-age.yaml | 11 - Base of Image: 0x0000000000001000 12 Size of Image: 0x00001000 15 - Base of Image: 0x0000000000001000 16 Size of Image: 0x00001000
|
| H A D | linux-arm-uuids-with-age.yaml | 11 - Base of Image: 0x0000000000001000 12 Size of Image: 0x00001000 15 - Base of Image: 0x0000000000001000 16 Size of Image: 0x00001000
|
| H A D | linux-arm-uuids-elf-build-id-4.yaml | 11 - Base of Image: 0x0000000000001000 12 Size of Image: 0x00001000 15 - Base of Image: 0x0000000000001000 16 Size of Image: 0x00001000
|
| H A D | linux-arm-uuids-elf-build-id-zero.yaml | 11 - Base of Image: 0x0000000000001000 12 Size of Image: 0x00001000 15 - Base of Image: 0x0000000000001000 16 Size of Image: 0x00001000
|
| H A D | macos-arm-uuids-no-age.yaml | 13 - Base of Image: 0x0000000000001000 14 Size of Image: 0x00001000 17 - Base of Image: 0x0000000000001000 18 Size of Image: 0x00001000
|
| H A D | linux-arm-same-uuids.yaml | 13 - Base of Image: 0x0000000000001000 14 Size of Image: 0x00001000 17 - Base of Image: 0x0000000000003000 18 Size of Image: 0x00001000
|
| H A D | linux-arm-zero-uuids.yaml | 13 - Base of Image: 0x0000000000001000 14 Size of Image: 0x00001000 17 - Base of Image: 0x0000000000001000 18 Size of Image: 0x00001000
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVImageOps.td | 1 //===-- SPIRVImageOps.td - MLIR SPIR-V Image Ops ------*- tablegen -*------===// 10 // to "3.37.10. Image Instructions" of the SPIR-V specification. 31 Sampled Image must be an object whose type is OpTypeSampledImage. Its 37 Sampled Image. 42 Image Operands encodes what operands follow, as per Image Operands. 90 let summary = "Query the dimensions of Image, with no level of detail."; 106 Image must be an object whose type is OpTypeImage. Its Dim operand must 146 def SPV_ImageOp : SPV_Op<"Image", 156 Sampled Image must have type OpTypeSampledImage whose Image Type is the 164 …%0 = spv.Image %1 : !spv.sampled_image<!spv.image<f32, Cube, NoDepth, NonArrayed, SingleSampled, N…
|
| /llvm-project-15.0.7/openmp/libomptarget/src/ |
| H A D | rtl.cpp | 255 if (TT.TargetsImages[RTL.Idx + I] != Image) { in registerImageIntoTranslationTable() 256 TT.TargetsImages[RTL.Idx + I] = Image; in registerImageIntoTranslationTable() 296 llvm::StringRef ImageStr(static_cast<char *>(Image->ImageStart), in getExecutableImage() 297 static_cast<char *>(Image->ImageEnd) - in getExecutableImage() 298 static_cast<char *>(Image->ImageStart)); in getExecutableImage() 303 return *Image; in getExecutableImage() 311 return {Begin, End, Image->EntriesBegin, Image->EntriesEnd}; in getExecutableImage() 314 static __tgt_image_info getImageInfo(__tgt_device_image *Image) { in getImageInfo() argument 315 llvm::StringRef ImageStr(static_cast<char *>(Image->ImageStart), in getImageInfo() 316 static_cast<char *>(Image->ImageEnd) - in getImageInfo() [all …]
|
| /llvm-project-15.0.7/llvm/test/Bitcode/ |
| H A D | upgrade-module-flag.ll | 8 !2 = !{i32 1, !"Objective-C Image Info Version", i32 0} 9 !3 = !{i32 1, !"Objective-C Image Info Section", !"__DATA, __objc_imageinfo, regular, no_dead_strip… 13 ; CHECK: !2 = !{i32 1, !"Objective-C Image Info Version", i32 0} 14 ; CHECK: !3 = !{i32 1, !"Objective-C Image Info Section", !"__DATA,__objc_imageinfo,regular,no_dead…
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | image-info.m | 9 // CHECK-FRAGILE-NEXT: !{{[0-9]+}} = !{i32 1, !"Objective-C Image Info Version", i32 0} 10 // CHECK-FRAGILE-NEXT: !{{[0-9]+}} = !{i32 1, !"Objective-C Image Info Section", !"__OBJC,__image_i… 15 // CHECK-NONFRAGILE-NEXT: !{{[0-9]+}} = !{i32 1, !"Objective-C Image Info Version", i32 0} 16 // CHECK-NONFRAGILE-NEXT: !{{[0-9]+}} = !{i32 1, !"Objective-C Image Info Section", !"__DATA,__objc…
|
| /llvm-project-15.0.7/lldb/test/Shell/SymbolFile/Breakpad/Inputs/ |
| H A D | unwind-via-stack-win.yaml | 14 - Base of Image: 0x00000000000B0000 15 Size of Image: 0x00004000 18 - Base of Image: 0x0000000077260000 19 Size of Image: 0x000E0000
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/remote/src/ |
| H A D | rtl.cpp | 52 int32_t __tgt_rtl_is_valid_binary(__tgt_device_image *Image) { in __tgt_rtl_is_valid_binary() argument 53 return Manager->isValidBinary(Image); in __tgt_rtl_is_valid_binary() 67 __tgt_device_image *Image) { in __tgt_rtl_load_binary() argument 68 return Manager->loadBinary(DeviceId, (__tgt_device_image *)Image); in __tgt_rtl_load_binary()
|
| /llvm-project-15.0.7/clang/tools/clang-linker-wrapper/ |
| H A D | OffloadWrapper.cpp | 184 auto *Image = new GlobalVariable(M, Data->getType(), /*isConstant*/ true, in createBinDesc() local 187 Image->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createBinDesc() 188 Image->setSection(".llvm.offloading"); in createBinDesc() 189 Image->setAlignment(Align(object::OffloadBinary::getAlignment())); in createBinDesc() 195 ConstantExpr::getGetElementPtr(Image->getValueType(), Image, ZeroZero); in createBinDesc() 197 ConstantExpr::getGetElementPtr(Image->getValueType(), Image, ZeroSize); in createBinDesc() 304 auto *Data = ConstantDataArray::get(C, Image); in createFatbinDesc() 604 Error wrapCudaBinary(Module &M, ArrayRef<char> Image) { in wrapCudaBinary() argument 605 GlobalVariable *Desc = createFatbinDesc(M, Image, /* IsHIP */ false); in wrapCudaBinary() 614 Error wrapHIPBinary(Module &M, ArrayRef<char> Image) { in wrapHIPBinary() argument [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/obj2yaml/Minidump/ |
| H A D | basic.yaml | 24 - Base of Image: 0x0001020304050607 25 Size of Image: 0x08090A0B 45 - Base of Image: 0x4C4D4E4F50515253 46 Size of Image: 0x54555657 113 # CHECK-NEXT: - Base of Image: 0x1020304050607 114 # CHECK-NEXT: Size of Image: 0x8090A0B 134 # CHECK-NEXT: - Base of Image: 0x4C4D4E4F50515253 135 # CHECK-NEXT: Size of Image: 0x54555657
|
| /llvm-project-15.0.7/lldb/test/Shell/SymbolFile/Breakpad/ |
| H A D | unwind-via-stack-win-no-memory-info.yaml | 29 - Base of Image: 0x00000000000B0000 30 Size of Image: 0x00004000 33 - Base of Image: 0x0000000077260000 34 Size of Image: 0x000E0000
|