Home
last modified time | relevance | path

Searched refs:ImageKind (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/llvm/test/ObjectYAML/Offload/
H A Denumeration_kinds.yaml4 - ImageKind: IMG_None
6 - ImageKind: IMG_Object
8 - ImageKind: IMG_Bitcode
10 - ImageKind: IMG_Cubin
12 - ImageKind: IMG_Fatbinary
13 - ImageKind: IMG_PTX
14 - ImageKind: 999
19 # CHECK-NEXT: - ImageKind: IMG_None
22 # CHECK-NEXT: - ImageKind: IMG_Object
34 # CHECK-NEXT: - ImageKind: IMG_PTX
[all …]
H A Dmultiple_members.yaml4 - ImageKind: IMG_Cubin
13 - ImageKind: IMG_Bitcode
25 # CHECK-NEXT: - ImageKind: IMG_Cubin
34 # CHECK-NEXT: - ImageKind: IMG_Bitcode
H A Dbinary.yaml4 - ImageKind: IMG_Cubin
16 # CHECK-NEXT: - ImageKind: IMG_Cubin
H A Dmalformed-entry-size.yaml5 - ImageKind: IMG_Cubin
H A Dmalformed-version.yaml5 - ImageKind: IMG_Cubin
H A Dmalformed-size.yaml5 - ImageKind: IMG_Cubin
H A Dmalformed-offset.yaml5 - ImageKind: IMG_Cubin
H A Ddefault.yaml12 # CHECK-NEXT: - ImageKind: IMG_None
/llvm-project-15.0.7/llvm/test/tools/llvm-objdump/Offloading/Inputs/
H A Dbinary.yaml3 - ImageKind: IMG_Bitcode
10 - ImageKind: IMG_Bitcode
17 - ImageKind: IMG_Cubin
24 - ImageKind: IMG_None
H A Dmalformed.yaml4 - ImageKind: IMG_Cubin
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DOffloadBinary.h41 enum ImageKind : uint16_t { enum
70 ImageKind TheImageKind;
85 ImageKind getImageKind() const { return TheEntry->TheImageKind; } in getImageKind()
115 ImageKind TheImageKind; // The kind of the image stored.
155 ImageKind getImageKind(StringRef Name);
158 StringRef getImageKindName(ImageKind Name);
/llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/
H A DOffloadYAML.h33 Optional<object::ImageKind> ImageKind; member
56 template <> struct ScalarEnumerationTraits<object::ImageKind> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
57 static void enumeration(IO &IO, object::ImageKind &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DOffloadYAML.cpp20 void ScalarEnumerationTraits<object::ImageKind>::enumeration( in enumeration()
21 IO &IO, object::ImageKind &Value) { in enumeration()
69 IO.mapOptional("ImageKind", M.ImageKind); in mapping()
H A DOffloadEmitter.cpp24 if (Member.ImageKind) in yaml2offload()
25 Image.TheImageKind = *Member.ImageKind; in yaml2offload()
/llvm-project-15.0.7/llvm/lib/Object/
H A DOffloadBinary.cpp139 ImageKind object::getImageKind(StringRef Name) { in getImageKind()
140 return llvm::StringSwitch<ImageKind>(Name) in getImageKind()
149 StringRef object::getImageKindName(ImageKind Kind) { in getImageKindName()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Doffload2yaml.cpp23 Member.ImageKind = OB.getImageKind(); in populateYAML()
/llvm-project-15.0.7/llvm/unittests/Object/
H A DOffloadingTest.cpp40 Data.TheImageKind = static_cast<ImageKind>(KindDist(Rng)); in TEST()