AMDGPU: Add analysis pass for function argument info
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 3 Aug 2017 22:30:46 +0000 (22:30 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 3 Aug 2017 22:30:46 +0000 (22:30 +0000)
commit7016f134508ee55d0ede9c247be0bb2926458f53
tree7d1db8a510990648f372e1a316174d57acf36c29
parent2d30c64ae3704c8698345711a2396b0d952aed64
AMDGPU: Add analysis pass for function argument info

This will allow only adding necessary inputs to callee functions
that need special inputs forwarded from the kernel.

llvm-svn: 309996
llvm/lib/Target/AMDGPU/AMDGPU.h
llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.cpp [new file with mode: 0644]
llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h [new file with mode: 0644]
llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
llvm/lib/Target/AMDGPU/CMakeLists.txt