Home
last modified time | relevance | path

Searched refs:Image (Results 1 – 25 of 177) sorted by relevance

12345678

/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DOffloadEmitter.cpp23 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 Dhsa-metadata-images.ll28 ; 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 DUtils.cpp37 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 Delf_common.cpp70 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 DOffloadingTest.cpp18 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 Drtl.cpp187 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 Drtl.cpp116 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 Dlinux-arm-uuids-elf-build-id-16.yaml11 - Base of Image: 0x0000000000001000
12 Size of Image: 0x00001000
15 - Base of Image: 0x0000000000001000
16 Size of Image: 0x00001000
H A Dlinux-arm-uuids-elf-build-id-20.yaml11 - Base of Image: 0x0000000000001000
12 Size of Image: 0x00001000
15 - Base of Image: 0x0000000000001000
16 Size of Image: 0x00001000
H A Dlinux-arm-uuids-no-age.yaml11 - Base of Image: 0x0000000000001000
12 Size of Image: 0x00001000
15 - Base of Image: 0x0000000000001000
16 Size of Image: 0x00001000
H A Dlinux-arm-uuids-with-age.yaml11 - Base of Image: 0x0000000000001000
12 Size of Image: 0x00001000
15 - Base of Image: 0x0000000000001000
16 Size of Image: 0x00001000
H A Dlinux-arm-uuids-elf-build-id-4.yaml11 - Base of Image: 0x0000000000001000
12 Size of Image: 0x00001000
15 - Base of Image: 0x0000000000001000
16 Size of Image: 0x00001000
H A Dlinux-arm-uuids-elf-build-id-zero.yaml11 - Base of Image: 0x0000000000001000
12 Size of Image: 0x00001000
15 - Base of Image: 0x0000000000001000
16 Size of Image: 0x00001000
H A Dmacos-arm-uuids-no-age.yaml13 - Base of Image: 0x0000000000001000
14 Size of Image: 0x00001000
17 - Base of Image: 0x0000000000001000
18 Size of Image: 0x00001000
H A Dlinux-arm-same-uuids.yaml13 - Base of Image: 0x0000000000001000
14 Size of Image: 0x00001000
17 - Base of Image: 0x0000000000003000
18 Size of Image: 0x00001000
H A Dlinux-arm-zero-uuids.yaml13 - 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 DSPIRVImageOps.td1 //===-- 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 Drtl.cpp255 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 Dupgrade-module-flag.ll8 !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 Dimage-info.m9 // 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 Dunwind-via-stack-win.yaml14 - 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 Drtl.cpp52 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 DOffloadWrapper.cpp184 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 Dbasic.yaml24 - 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 Dunwind-via-stack-win-no-memory-info.yaml29 - Base of Image: 0x00000000000B0000
30 Size of Image: 0x00004000
33 - Base of Image: 0x0000000077260000
34 Size of Image: 0x000E0000

12345678