LLVM 20.0.0git
Namespaces | Macros | Functions | Variables
NVPTXLowerArgs.cpp File Reference
#include "MCTargetDesc/NVPTXBaseInfo.h"
#include "NVPTX.h"
#include "NVPTXTargetMachine.h"
#include "NVPTXUtilities.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Analysis/PtrUseVisitor.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/IntrinsicsNVPTX.h"
#include "llvm/IR/Type.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include <numeric>
#include <queue>

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   "nvptx-lower-args"
 

Functions

void llvm::initializeNVPTXLowerArgsPass (PassRegistry &)
 
 INITIALIZE_PASS_BEGIN (NVPTXLowerArgs, "nvptx-lower-args", "Lower arguments (NVPTX)", false, false) INITIALIZE_PASS_END(NVPTXLowerArgs
 
nvptx lower Lower arguments (NVPTX)"
 
nvptx lower Lower static false void convertToParamAS (Use *OldUse, Value *Param, bool HasCvtaParam, bool IsGridConstant)
 
static void adjustByValArgAlignment (Argument *Arg, Value *ArgInParamAS, const NVPTXTargetLowering *TLI)
 
static bool copyFunctionByValArgs (Function &F)
 

Variables

nvptx lower args
 
nvptx lower Lower false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "nvptx-lower-args"

Definition at line 159 of file NVPTXLowerArgs.cpp.

Function Documentation

◆ adjustByValArgAlignment()

static void adjustByValArgAlignment ( Argument Arg,
Value ArgInParamAS,
const NVPTXTargetLowering TLI 
)
static

◆ arguments()

nvptx lower Lower arguments ( NVPTX  )

◆ convertToParamAS()

nvptx lower Lower static false void convertToParamAS ( Use OldUse,
Value Param,
bool  HasCvtaParam,
bool  IsGridConstant 
)
static

◆ copyFunctionByValArgs()

static bool copyFunctionByValArgs ( Function F)
static

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( NVPTXLowerArgs  ,
"nvptx-lower-args"  ,
"Lower arguments (NVPTX)"  ,
false  ,
false   
)

Variable Documentation

◆ args

nvptx lower args

◆ false

nvptx lower Lower false

Definition at line 200 of file NVPTXLowerArgs.cpp.