LLVM 20.0.0git
|
#include "AMDGPU.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Module.h"
#include "llvm/InitializePasses.h"
#include "llvm/Support/DataExtractor.h"
#include "llvm/TargetParser/Triple.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
Go to the source code of this file.
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
Macros | |
#define | DEBUG_TYPE "printfToRuntime" |
Enumerations | |
enum | { DWORD_ALIGN = 4 } |
Functions | |
INITIALIZE_PASS_BEGIN (AMDGPUPrintfRuntimeBinding, "amdgpu-printf-runtime-binding", "AMDGPU Printf lowering", false, false) INITIALIZE_PASS_END(AMDGPUPrintfRuntimeBinding | |
ModulePass * | llvm::createAMDGPUPrintfRuntimeBinding () |
static bool | shouldPrintAsStr (char Specifier, Type *OpType) |
constexpr StringLiteral | NonLiteralStr ("???") |
static StringRef | getAsConstantStr (Value *V) |
static void | diagnoseInvalidFormatString (const CallBase *CI) |
Variables | |
amdgpu printf runtime | binding |
amdgpu printf runtime AMDGPU Printf | lowering |
amdgpu printf runtime AMDGPU Printf | false |
#define DEBUG_TYPE "printfToRuntime" |
Definition at line 36 of file AMDGPUPrintfRuntimeBinding.cpp.
anonymous enum |
Enumerator | |
---|---|
DWORD_ALIGN |
Definition at line 37 of file AMDGPUPrintfRuntimeBinding.cpp.
Definition at line 136 of file AMDGPUPrintfRuntimeBinding.cpp.
References llvm::LLVMContext::diagnose(), llvm::Value::getContext(), llvm::Instruction::getDebugLoc(), and llvm::ilist_detail::node_parent_access< NodeTy, ParentTy >::getParent().
Definition at line 128 of file AMDGPUPrintfRuntimeBinding.cpp.
References llvm::getConstantStringInfo(), and NonLiteralStr().
INITIALIZE_PASS_BEGIN | ( | AMDGPUPrintfRuntimeBinding | , |
"amdgpu-printf-runtime-binding" | , | ||
"AMDGPU Printf lowering" | , | ||
false | , | ||
false | |||
) |
|
constexpr |
Referenced by getAsConstantStr().
Definition at line 121 of file AMDGPUPrintfRuntimeBinding.cpp.
amdgpu printf runtime binding |
Definition at line 74 of file AMDGPUPrintfRuntimeBinding.cpp.
amdgpu printf runtime AMDGPU Printf false |
Definition at line 75 of file AMDGPUPrintfRuntimeBinding.cpp.
amdgpu printf runtime AMDGPU Printf lowering |
Definition at line 75 of file AMDGPUPrintfRuntimeBinding.cpp.