LLVM: lib/Target/SPIRV/TargetInfo/SPIRVTargetInfo.cpp Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

12

13using namespace llvm;

14

16 static Target TheSPIRV32Target;

17 return TheSPIRV32Target;

18}

20 static Target TheSPIRV64Target;

21 return TheSPIRV64Target;

22}

24 static Target TheSPIRVLogicalTarget;

25 return TheSPIRVLogicalTarget;

26}

27

31 "SPIR-V 32-bit", "SPIRV");

33 "SPIR-V 64-bit", "SPIRV");

35 "SPIR-V Logical", "SPIRV");

36}

#define LLVM_EXTERNAL_VISIBILITY

LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSPIRVTargetInfo()

Definition SPIRVTargetInfo.cpp:29

static TableGen::Emitter::Opt Y("gen-skeleton-entry", EmitSkeleton, "Generate example skeleton entry")

static TableGen::Emitter::OptClass< SkeletonEmitter > X("gen-skeleton-class", "Generate example skeleton class")

Target - Wrapper for Target specific information.

This is an optimization pass for GlobalISel generic memory operations.

Target & getTheSPIRV32Target()

Definition SPIRVTargetInfo.cpp:15

Target & getTheSPIRV64Target()

Definition SPIRVTargetInfo.cpp:19

Target & getTheSPIRVLogicalTarget()

Definition SPIRVTargetInfo.cpp:23

RegisterTarget - Helper template for registering a target, for use in the target's initialization fun...