Skip to content

Commit 09926ee

Browse files
committed
added symbolic operands
1 parent c42952a commit 09926ee

File tree

5 files changed

+484
-0
lines changed

5 files changed

+484
-0
lines changed

llvm/lib/Target/SPIRV/SPIRVCommandLine.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ static const std::map<std::string, SPIRV::Extension::Extension, std::less<>>
8989
SPIRV::Extension::Extension::SPV_KHR_cooperative_matrix},
9090
{"SPV_KHR_non_semantic_info",
9191
SPIRV::Extension::Extension::SPV_KHR_non_semantic_info},
92+
{"SPV_INTEL_fpga_memory_accesses",
93+
SPIRV::Extension::Extension::SPV_INTEL_fpga_memory_accesses},
9294
{"SPV_INTEL_long_composites",
9395
SPIRV::Extension::Extension::SPV_INTEL_long_composites},
9496
{"SPV_INTEL_fp_max_error",

llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,7 @@ defm LongCompositesINTEL : CapabilityOperand<6089, 0, 0, [SPV_INTEL_long_composi
513513
defm BindlessImagesINTEL : CapabilityOperand<6528, 0, 0, [SPV_INTEL_bindless_images], []>;
514514
defm MemoryAccessAliasingINTEL : CapabilityOperand<5910, 0, 0, [SPV_INTEL_memory_access_aliasing], []>;
515515
defm FPMaxErrorINTEL : CapabilityOperand<6169, 0, 0, [SPV_INTEL_fp_max_error], []>;
516+
defm FPGAMemoryAccessesINTEL : CapabilityOperand<5898, 0, 0, [SPV_INTEL_fpga_memory_accesses], []>;
516517

517518
//===----------------------------------------------------------------------===//
518519
// Multiclass used to define SourceLanguage enum values and at the same time
@@ -1264,6 +1265,11 @@ defm FunctionFloatingPointModeINTEL : DecorationOperand<6080, 0, 0, [], [Functio
12641265
defm AliasScopeINTEL : DecorationOperand<5914, 0, 0, [], [MemoryAccessAliasingINTEL]>;
12651266
defm NoAliasINTEL : DecorationOperand<5915, 0, 0, [], [MemoryAccessAliasingINTEL]>;
12661267
defm FPMaxErrorDecorationINTEL : DecorationOperand<6170, 0, 0, [], [FPMaxErrorINTEL]>;
1268+
defm BurstCoalesceINTEL : DecorationOperand<5899, 0, 0, [], [FPGAMemoryAccessesINTEL]>;
1269+
defm CacheSizeINTEL : DecorationOperand<5900, 0, 0, [], [FPGAMemoryAccessesINTEL]>;
1270+
defm DontStaticallyCoalesceINTEL : DecorationOperand<5901, 0, 0, [], [FPGAMemoryAccessesINTEL]>;
1271+
defm PrefetchINTEL : DecorationOperand<5902, 0, 0, [], [FPGAMemoryAccessesINTEL]>;
1272+
12671273

12681274
//===----------------------------------------------------------------------===//
12691275
// Multiclass used to define BuiltIn enum values and at the same time

0 commit comments

Comments
 (0)