Home
last modified time | relevance | path

Searched refs:ValueKind (Results 1 – 25 of 90) sorted by relevance

1234

/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dhsa-metadata-from-llvm-ir-full.ll35 ; CHECK-NEXT: ValueKind: ByValue
39 ; CHECK-NEXT: ValueKind: HiddenGlobalOffsetX
42 ; CHECK-NEXT: ValueKind: HiddenGlobalOffsetY
45 ; CHECK-NEXT: ValueKind: HiddenGlobalOffsetZ
48 ; CHECK-NOT: ValueKind: HiddenHostcallBuffer
49 ; CHECK-NEXT: ValueKind: HiddenPrintfBuffer
51 ; CHECK-NOT: ValueKind: HiddenDefaultQueue
52 ; CHECK-NOT: ValueKind: HiddenCompletionAction
53 ; CHECK: ValueKind: HiddenMultiGridSyncArg
70 ; CHECK-NEXT: ValueKind: ByValue
[all …]
Dhsa-metadata-hidden-args.ll15 ; CHECK-NEXT: ValueKind: GlobalBuffer
20 ; CHECK-NEXT: ValueKind: GlobalBuffer
25 ; CHECK-NEXT: ValueKind: GlobalBuffer
46 ; CHECK-NEXT: ValueKind: GlobalBuffer
51 ; CHECK-NEXT: ValueKind: GlobalBuffer
56 ; CHECK-NEXT: ValueKind: GlobalBuffer
60 ; CHECK-NEXT: ValueKind: HiddenGlobalOffsetX
80 ; CHECK-NEXT: ValueKind: GlobalBuffer
85 ; CHECK-NEXT: ValueKind: GlobalBuffer
90 ; CHECK-NEXT: ValueKind: GlobalBuffer
[all …]
Dhsa-metadata-enqueue-kernel.ll18 ; CHECK-NEXT: ValueKind: ByValue
22 ; CHECK-NEXT: ValueKind: HiddenGlobalOffsetX
25 ; CHECK-NEXT: ValueKind: HiddenGlobalOffsetY
28 ; CHECK-NEXT: ValueKind: HiddenGlobalOffsetZ
29 ; CHECK-NOT: ValueKind: HiddenDefaultQueue
30 ; CHECK-NOT: ValueKind: HiddenCompletionAction
46 ; CHECK-NEXT: ValueKind: ByValue
50 ; CHECK-NEXT: ValueKind: HiddenGlobalOffsetX
53 ; CHECK-NEXT: ValueKind: HiddenGlobalOffsetY
56 ; CHECK-NEXT: ValueKind: HiddenGlobalOffsetZ
[all …]
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 …]
Dhsa-metadata-hostcall-absent.ll17 ; CHECK-NEXT: ValueKind: ByValue
21 ; CHECK-NEXT: ValueKind: HiddenGlobalOffsetX
24 ; CHECK-NEXT: ValueKind: HiddenGlobalOffsetY
27 ; CHECK-NEXT: ValueKind: HiddenGlobalOffsetZ
28 ; CHECK-NOT: ValueKind: HiddenHostcallBuffer
29 ; CHECK-NOT: ValueKind: HiddenDefaultQueue
30 ; CHECK-NOT: ValueKind: HiddenCompletionAction
Dhsa-metadata-hostcall-present.ll17 ; CHECK-NEXT: ValueKind: ByValue
21 ; CHECK-NEXT: ValueKind: HiddenGlobalOffsetX
24 ; CHECK-NEXT: ValueKind: HiddenGlobalOffsetY
27 ; CHECK-NEXT: ValueKind: HiddenGlobalOffsetZ
30 ; CHECK-NEXT: ValueKind: HiddenHostcallBuffer
32 ; CHECK-NOT: ValueKind: HiddenDefaultQueue
33 ; CHECK-NOT: ValueKind: HiddenCompletionAction
/external/llvm/include/llvm/ProfileData/
DInstrProf.h250 InstrProfValueKind ValueKind, uint32_t SiteIndx,
255 uint64_t Sum, InstrProfValueKind ValueKind,
262 InstrProfValueKind ValueKind,
587 inline uint32_t getNumValueSites(uint32_t ValueKind) const;
589 inline uint32_t getNumValueData(uint32_t ValueKind) const;
592 inline uint32_t getNumValueDataForSite(uint32_t ValueKind,
598 getValueForSite(uint32_t ValueKind, uint32_t Site,
603 inline uint64_t getValueForSite(InstrProfValueData Dest[], uint32_t ValueKind,
606 inline void reserveSites(uint32_t ValueKind, uint32_t NumValueSites);
608 void addValueData(uint32_t ValueKind, uint32_t Site,
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DInstrProf.h242 InstrProfValueKind ValueKind, uint32_t SiteIndx,
248 InstrProfValueKind ValueKind, uint32_t MaxMDCount);
254 InstrProfValueKind ValueKind,
680 void overlap(InstrProfValueSiteRecord &Input, uint32_t ValueKind,
714 inline uint32_t getNumValueSites(uint32_t ValueKind) const;
717 inline uint32_t getNumValueData(uint32_t ValueKind) const;
721 inline uint32_t getNumValueDataForSite(uint32_t ValueKind,
728 getValueForSite(uint32_t ValueKind, uint32_t Site,
734 inline uint64_t getValueForSite(InstrProfValueData Dest[], uint32_t ValueKind,
738 inline void reserveSites(uint32_t ValueKind, uint32_t NumValueSites);
[all …]
/external/llvm-project/llvm/include/llvm/ProfileData/
DInstrProf.h248 InstrProfValueKind ValueKind, uint32_t SiteIndx,
254 InstrProfValueKind ValueKind, uint32_t MaxMDCount);
260 InstrProfValueKind ValueKind,
686 void overlap(InstrProfValueSiteRecord &Input, uint32_t ValueKind,
720 inline uint32_t getNumValueSites(uint32_t ValueKind) const;
723 inline uint32_t getNumValueData(uint32_t ValueKind) const;
727 inline uint32_t getNumValueDataForSite(uint32_t ValueKind,
734 getValueForSite(uint32_t ValueKind, uint32_t Site,
740 inline uint64_t getValueForSite(InstrProfValueData Dest[], uint32_t ValueKind,
744 inline void reserveSites(uint32_t ValueKind, uint32_t NumValueSites);
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAMDGPUMetadata.cpp51 struct ScalarEnumerationTraits<ValueKind> {
52 static void enumeration(IO &YIO, ValueKind &EN) { in enumeration()
53 YIO.enumCase(EN, "ByValue", ValueKind::ByValue); in enumeration()
54 YIO.enumCase(EN, "GlobalBuffer", ValueKind::GlobalBuffer); in enumeration()
55 YIO.enumCase(EN, "DynamicSharedPointer", ValueKind::DynamicSharedPointer); in enumeration()
56 YIO.enumCase(EN, "Sampler", ValueKind::Sampler); in enumeration()
57 YIO.enumCase(EN, "Image", ValueKind::Image); in enumeration()
58 YIO.enumCase(EN, "Pipe", ValueKind::Pipe); in enumeration()
59 YIO.enumCase(EN, "Queue", ValueKind::Queue); in enumeration()
60 YIO.enumCase(EN, "HiddenGlobalOffsetX", ValueKind::HiddenGlobalOffsetX); in enumeration()
[all …]
/external/llvm-project/llvm/lib/Support/
DAMDGPUMetadata.cpp51 struct ScalarEnumerationTraits<ValueKind> {
52 static void enumeration(IO &YIO, ValueKind &EN) { in enumeration()
53 YIO.enumCase(EN, "ByValue", ValueKind::ByValue); in enumeration()
54 YIO.enumCase(EN, "GlobalBuffer", ValueKind::GlobalBuffer); in enumeration()
55 YIO.enumCase(EN, "DynamicSharedPointer", ValueKind::DynamicSharedPointer); in enumeration()
56 YIO.enumCase(EN, "Sampler", ValueKind::Sampler); in enumeration()
57 YIO.enumCase(EN, "Image", ValueKind::Image); in enumeration()
58 YIO.enumCase(EN, "Pipe", ValueKind::Pipe); in enumeration()
59 YIO.enumCase(EN, "Queue", ValueKind::Queue); in enumeration()
60 YIO.enumCase(EN, "HiddenGlobalOffsetX", ValueKind::HiddenGlobalOffsetX); in enumeration()
[all …]
/external/llvm-project/llvm/test/MC/AMDGPU/
Dhsa-metadata-kernel-args.s50 ValueKind: ByValue label
55 ValueKind: HiddenGlobalOffsetX label
59 ValueKind: HiddenGlobalOffsetY label
63 ValueKind: HiddenGlobalOffsetZ label
67 ValueKind: HiddenPrintfBuffer label
Dhsa-metadata-unknown-key.s21 ValueKind: ByValue label
27 ValueKind: HiddenGlobalOffsetX label
31 ValueKind: HiddenGlobalOffsetY label
35 ValueKind: HiddenGlobalOffsetZ label
39 ValueKind: HiddenPrintfBuffer label
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUHSAMetadataStreamer.cpp119 ValueKind MetadataStreamerV2::getValueKind(Type *Ty, StringRef TypeQual, in getValueKind()
122 return ValueKind::Pipe; in getValueKind()
124 return StringSwitch<ValueKind>(BaseTypeName) in getValueKind()
125 .Case("image1d_t", ValueKind::Image) in getValueKind()
126 .Case("image1d_array_t", ValueKind::Image) in getValueKind()
127 .Case("image1d_buffer_t", ValueKind::Image) in getValueKind()
128 .Case("image2d_t", ValueKind::Image) in getValueKind()
129 .Case("image2d_array_t", ValueKind::Image) in getValueKind()
130 .Case("image2d_array_depth_t", ValueKind::Image) in getValueKind()
131 .Case("image2d_array_msaa_t", ValueKind::Image) in getValueKind()
[all …]
DAMDGPUHSAMetadataStreamer.h91 StringRef ValueKind, unsigned &Offset,
134 ValueKind getValueKind(Type *Ty, StringRef TypeQual,
161 ValueKind ValueKind, MaybeAlign PointeeAlign = None,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUHSAMetadataStreamer.cpp102 ValueKind MetadataStreamerV2::getValueKind(Type *Ty, StringRef TypeQual, in getValueKind()
105 return ValueKind::Pipe; in getValueKind()
107 return StringSwitch<ValueKind>(BaseTypeName) in getValueKind()
108 .Case("image1d_t", ValueKind::Image) in getValueKind()
109 .Case("image1d_array_t", ValueKind::Image) in getValueKind()
110 .Case("image1d_buffer_t", ValueKind::Image) in getValueKind()
111 .Case("image2d_t", ValueKind::Image) in getValueKind()
112 .Case("image2d_array_t", ValueKind::Image) in getValueKind()
113 .Case("image2d_array_depth_t", ValueKind::Image) in getValueKind()
114 .Case("image2d_array_msaa_t", ValueKind::Image) in getValueKind()
[all …]
DAMDGPUHSAMetadataStreamer.h90 void emitKernelArg(const DataLayout &DL, Type *Ty, StringRef ValueKind,
133 ValueKind getValueKind(Type *Ty, StringRef TypeQual,
161 void emitKernelArg(const DataLayout &DL, Type *Ty, ValueKind ValueKind,
/external/llvm-project/openmp/libomptarget/plugins/amdgpu/impl/
Dsystem.cpp61 enum class ValueKind { enum in KernelArgMD
76 align_(0), valueKind_(ValueKind::Unknown) {} in KernelArgMD()
84 ValueKind valueKind_;
95 static const std::map<std::string, KernelArgMD::ValueKind> ArgValueKind = {
105 {"HiddenGlobalOffsetX", KernelArgMD::ValueKind::HiddenGlobalOffsetX},
106 {"HiddenGlobalOffsetY", KernelArgMD::ValueKind::HiddenGlobalOffsetY},
107 {"HiddenGlobalOffsetZ", KernelArgMD::ValueKind::HiddenGlobalOffsetZ},
108 {"HiddenNone", KernelArgMD::ValueKind::HiddenNone},
109 {"HiddenPrintfBuffer", KernelArgMD::ValueKind::HiddenPrintfBuffer},
110 {"HiddenDefaultQueue", KernelArgMD::ValueKind::HiddenDefaultQueue},
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProf.cpp502 uint32_t ValueKind, in overlap() argument
515 Overlap.Base.ValueCounts[ValueKind], in overlap()
516 Overlap.Test.ValueCounts[ValueKind]); in overlap()
518 I->Count, J->Count, FuncLevelOverlap.Base.ValueCounts[ValueKind], in overlap()
519 FuncLevelOverlap.Test.ValueCounts[ValueKind]); in overlap()
527 Overlap.Overlap.ValueCounts[ValueKind] += Score; in overlap()
528 FuncLevelOverlap.Overlap.ValueCounts[ValueKind] += FuncLevelScore; in overlap()
532 void InstrProfRecord::overlapValueProfData(uint32_t ValueKind, in overlapValueProfData() argument
536 uint32_t ThisNumValueSites = getNumValueSites(ValueKind); in overlapValueProfData()
537 assert(ThisNumValueSites == Other.getNumValueSites(ValueKind)); in overlapValueProfData()
[all …]
/external/llvm-project/llvm/lib/ProfileData/
DInstrProf.cpp506 uint32_t ValueKind, in overlap() argument
519 Overlap.Base.ValueCounts[ValueKind], in overlap()
520 Overlap.Test.ValueCounts[ValueKind]); in overlap()
522 I->Count, J->Count, FuncLevelOverlap.Base.ValueCounts[ValueKind], in overlap()
523 FuncLevelOverlap.Test.ValueCounts[ValueKind]); in overlap()
531 Overlap.Overlap.ValueCounts[ValueKind] += Score; in overlap()
532 FuncLevelOverlap.Overlap.ValueCounts[ValueKind] += FuncLevelScore; in overlap()
536 void InstrProfRecord::overlapValueProfData(uint32_t ValueKind, in overlapValueProfData() argument
540 uint32_t ThisNumValueSites = getNumValueSites(ValueKind); in overlapValueProfData()
541 assert(ThisNumValueSites == Other.getNumValueSites(ValueKind)); in overlapValueProfData()
[all …]
/external/llvm/lib/ProfileData/
DInstrProf.cpp371 void InstrProfRecord::mergeValueProfData(uint32_t ValueKind, in mergeValueProfData() argument
374 uint32_t ThisNumValueSites = getNumValueSites(ValueKind); in mergeValueProfData()
375 uint32_t OtherNumValueSites = Src.getNumValueSites(ValueKind); in mergeValueProfData()
381 getValueSitesForKind(ValueKind); in mergeValueProfData()
383 Src.getValueSitesForKind(ValueKind); in mergeValueProfData()
408 void InstrProfRecord::scaleValueProfData(uint32_t ValueKind, uint64_t Weight) { in scaleValueProfData() argument
409 uint32_t ThisNumValueSites = getNumValueSites(ValueKind); in scaleValueProfData()
411 getValueSitesForKind(ValueKind); in scaleValueProfData()
428 uint64_t InstrProfRecord::remapValue(uint64_t Value, uint32_t ValueKind, in remapValue() argument
432 switch (ValueKind) { in remapValue()
[all …]
/external/llvm-project/llvm/test/tools/llvm-profdata/Inputs/
Doverlap_1_vp.proftext12 # ValueKind = IPVK_IndirectCallTarget:
19 # ValueKind = IPVK_MemOPSize:
Doverlap_2_vp.proftext12 # ValueKind = IPVK_IndirectCallTarget:
19 # ValueKind = IPVK_MemOPSize:
/external/llvm-project/clang/lib/AST/
DComparisonCategories.cpp72 ComparisonCategoryResult ValueKind) const { in lookupValueInfo()
75 Objects, [&](ValueInfo const &Info) { return Info.Kind == ValueKind; }); in lookupValueInfo()
82 &Ctx.Idents.get(ComparisonCategories::getResultString(ValueKind))); in lookupValueInfo()
85 Objects.emplace_back(ValueKind, cast<VarDecl>(Lookup.front())); in lookupValueInfo()
/external/llvm-project/clang/include/clang/AST/
DComparisonCategories.h112 ValueInfo *lookupValueInfo(ComparisonCategoryResult ValueKind) const;
126 const ValueInfo *getValueInfo(ComparisonCategoryResult ValueKind) const { in getValueInfo() argument
127 ValueInfo *Info = lookupValueInfo(ValueKind); in getValueInfo()

1234