LLVM 20.0.0git
Macros | Functions
NVPTXTargetTransformInfo.cpp File Reference
#include "NVPTXTargetTransformInfo.h"
#include "NVPTXUtilities.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/CodeGen/BasicTTIImpl.h"
#include "llvm/CodeGen/CostTable.h"
#include "llvm/CodeGen/TargetLowering.h"
#include "llvm/IR/IntrinsicsNVPTX.h"
#include "llvm/Support/Debug.h"
#include <optional>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "NVPTXtti"
 

Functions

static bool readsThreadIndex (const IntrinsicInst *II)
 
static bool readsLaneId (const IntrinsicInst *II)
 
static bool isNVVMAtomic (const IntrinsicInst *II)
 
static InstructionsimplifyNvvmIntrinsic (IntrinsicInst *II, InstCombiner &IC)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "NVPTXtti"

Definition at line 22 of file NVPTXTargetTransformInfo.cpp.

Function Documentation

◆ isNVVMAtomic()

static bool isNVVMAtomic ( const IntrinsicInst II)
static

Definition at line 40 of file NVPTXTargetTransformInfo.cpp.

References II.

Referenced by llvm::NVPTXTTIImpl::isSourceOfDivergence().

◆ readsLaneId()

static bool readsLaneId ( const IntrinsicInst II)
static

Definition at line 35 of file NVPTXTargetTransformInfo.cpp.

References II.

Referenced by llvm::NVPTXTTIImpl::isSourceOfDivergence().

◆ readsThreadIndex()

static bool readsThreadIndex ( const IntrinsicInst II)
static

Definition at line 25 of file NVPTXTargetTransformInfo.cpp.

References II.

Referenced by llvm::NVPTXTTIImpl::isSourceOfDivergence().

◆ simplifyNvvmIntrinsic()

static Instruction * simplifyNvvmIntrinsic ( IntrinsicInst II,
InstCombiner IC 
)
static