search for: intrinsicsamdgpu

Displaying 2 results from an estimated 2 matches for "intrinsicsamdgpu".

2020 Apr 13
3
Are AMDGPU intrinsics available in LLVM IR ?
Hi! I'm trying to figure out how to access the workgroup id from within the LLVM IR language when lowering with the AMDGPU backend. Looking at the 'llvm/include/llvm/IR/IntrinsicsAMDGPU.td' file there are intrinsics defined to access the workitem index (thread index), but this file lives in 'llvm/include': //===----------------------------------------------------------------------===// // ABI Special Intrinsics //===----------------------------------------------------...
2020 Sep 29
3
TableGen processing of target-specific intrinsics
...ude "llvm/IR/IntrinsicsARM.td" include "llvm/IR/IntrinsicsAArch64.td" include "llvm/IR/IntrinsicsXCore.td" include "llvm/IR/IntrinsicsHexagon.td" include "llvm/IR/IntrinsicsNVVM.td" include "llvm/IR/IntrinsicsMips.td" include "llvm/IR/IntrinsicsAMDGPU.td" include "llvm/IR/IntrinsicsBPF.td" include "llvm/IR/IntrinsicsSystemZ.td" include "llvm/IR/IntrinsicsWebAssembly.td" include "llvm/IR/IntrinsicsRISCV.td" Why does every target include the all the instrinsics for all the targets? For example, when I...