|
LLVM 22.0.0git
|
#include "AMDGPU.h"#include "GCNSubtarget.h"#include "Utils/AMDGPUBaseInfo.h"#include "llvm/IR/IntrinsicsAMDGPU.h"#include "llvm/IR/IntrinsicsR600.h"#include "llvm/Target/TargetMachine.h"#include "llvm/Transforms/IPO/Attributor.h"#include "AMDGPUAttributes.def"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "amdgpu-attributor" |
| #define | AMDGPU_ATTRIBUTE(Name, Str) |
| #define | AMDGPU_ATTRIBUTE(Name, Str) |
| #define | AMDGPU_ATTRIBUTE(Name, Str) |
Enumerations | |
| enum | ImplicitArgumentPositions { LAST_ARG_POS } |
| enum | ImplicitArgumentMask { UNKNOWN_INTRINSIC = 0 , ALL_ARGUMENT_MASK = (1 << LAST_ARG_POS) - 1 , NOT_IMPLICIT_INPUT } |
Functions | |
| static ImplicitArgumentMask | intrinsicToAttrMask (Intrinsic::ID ID, bool &NonKernelOnly, bool &NeedsImplicit, bool HasApertureRegs, bool SupportsGetDoorBellID, unsigned CodeObjectVersion) |
| static bool | castRequiresQueuePtr (unsigned SrcAS) |
| static bool | isDSAddress (const Constant *C) |
| static bool | hasSanitizerAttributes (const Function &F) |
| Returns true if sanitizer attributes are present on a function. | |
Variables | |
| static cl::opt< unsigned > | IndirectCallSpecializationThreshold ("amdgpu-indirect-call-specialization-threshold", cl::desc("A threshold controls whether an indirect call will be specialized"), cl::init(3)) |
| static constexpr std::pair< ImplicitArgumentMask, StringLiteral > | ImplicitAttrs [] |
| #define AMDGPU_ATTRIBUTE | ( | Name, | |
| Str ) |
Definition at line 31 of file AMDGPUAttributor.cpp.
| #define AMDGPU_ATTRIBUTE | ( | Name, | |
| Str ) |
Definition at line 31 of file AMDGPUAttributor.cpp.
| #define AMDGPU_ATTRIBUTE | ( | Name, | |
| Str ) |
Definition at line 31 of file AMDGPUAttributor.cpp.
| #define DEBUG_TYPE "amdgpu-attributor" |
Definition at line 21 of file AMDGPUAttributor.cpp.
| enum ImplicitArgumentMask |
| Enumerator | |
|---|---|
| UNKNOWN_INTRINSIC | |
| ALL_ARGUMENT_MASK | |
| NOT_IMPLICIT_INPUT | |
Definition at line 40 of file AMDGPUAttributor.cpp.
| Enumerator | |
|---|---|
| LAST_ARG_POS | |
Definition at line 33 of file AMDGPUAttributor.cpp.
Definition at line 123 of file AMDGPUAttributor.cpp.
References llvm::AMDGPUAS::LOCAL_ADDRESS, and llvm::AMDGPUAS::PRIVATE_ADDRESS.
Returns true if sanitizer attributes are present on a function.
Definition at line 136 of file AMDGPUAttributor.cpp.
References F.
|
static |
Definition at line 59 of file AMDGPUAttributor.cpp.
Definition at line 127 of file AMDGPUAttributor.cpp.
References llvm::CallingConv::C, llvm::dyn_cast(), llvm::GlobalValue::getAddressSpace(), llvm::AMDGPUAS::LOCAL_ADDRESS, and llvm::AMDGPUAS::REGION_ADDRESS.
|
staticconstexpr |
Definition at line 49 of file AMDGPUAttributor.cpp.
Referenced by llvm::SITargetLowering::passSpecialInputs().
|
static |