LLVM
8.0.1
|
#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/Support/Debug.h"
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) |
#define DEBUG_TYPE "NVPTXtti" |
Definition at line 21 of file NVPTXTargetTransformInfo.cpp.
|
static |
Definition at line 39 of file NVPTXTargetTransformInfo.cpp.
References llvm::IntrinsicInst::getIntrinsicID(), llvm::Intrinsic::nvvm_atomic_add_gen_f_cta, llvm::Intrinsic::nvvm_atomic_add_gen_f_sys, llvm::Intrinsic::nvvm_atomic_add_gen_i_cta, llvm::Intrinsic::nvvm_atomic_add_gen_i_sys, llvm::Intrinsic::nvvm_atomic_and_gen_i_cta, llvm::Intrinsic::nvvm_atomic_and_gen_i_sys, llvm::Intrinsic::nvvm_atomic_cas_gen_i_cta, llvm::Intrinsic::nvvm_atomic_cas_gen_i_sys, llvm::Intrinsic::nvvm_atomic_dec_gen_i_cta, llvm::Intrinsic::nvvm_atomic_dec_gen_i_sys, llvm::Intrinsic::nvvm_atomic_exch_gen_i_cta, llvm::Intrinsic::nvvm_atomic_exch_gen_i_sys, llvm::Intrinsic::nvvm_atomic_inc_gen_i_cta, llvm::Intrinsic::nvvm_atomic_inc_gen_i_sys, llvm::Intrinsic::nvvm_atomic_load_add_f32, llvm::Intrinsic::nvvm_atomic_load_dec_32, llvm::Intrinsic::nvvm_atomic_load_inc_32, llvm::Intrinsic::nvvm_atomic_max_gen_i_cta, llvm::Intrinsic::nvvm_atomic_max_gen_i_sys, llvm::Intrinsic::nvvm_atomic_min_gen_i_cta, llvm::Intrinsic::nvvm_atomic_min_gen_i_sys, llvm::Intrinsic::nvvm_atomic_or_gen_i_cta, llvm::Intrinsic::nvvm_atomic_or_gen_i_sys, llvm::Intrinsic::nvvm_atomic_xor_gen_i_cta, and llvm::Intrinsic::nvvm_atomic_xor_gen_i_sys.
Referenced by llvm::NVPTXTTIImpl::isSourceOfDivergence().
|
static |
Definition at line 34 of file NVPTXTargetTransformInfo.cpp.
References llvm::IntrinsicInst::getIntrinsicID(), and llvm::Intrinsic::nvvm_read_ptx_sreg_laneid.
Referenced by llvm::NVPTXTTIImpl::isSourceOfDivergence().
|
static |
Definition at line 24 of file NVPTXTargetTransformInfo.cpp.
References llvm::IntrinsicInst::getIntrinsicID(), llvm::Intrinsic::nvvm_read_ptx_sreg_tid_x, llvm::Intrinsic::nvvm_read_ptx_sreg_tid_y, and llvm::Intrinsic::nvvm_read_ptx_sreg_tid_z.
Referenced by llvm::NVPTXTTIImpl::isSourceOfDivergence().