LLVM
15.0.0git
|
#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"
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 Instruction * | simplifyNvvmIntrinsic (IntrinsicInst *II, InstCombiner &IC) |
#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().
Referenced by llvm::NVPTXTTIImpl::isSourceOfDivergence().
|
static |
Definition at line 34 of file NVPTXTargetTransformInfo.cpp.
References llvm::IntrinsicInst::getIntrinsicID().
Referenced by llvm::NVPTXTTIImpl::isSourceOfDivergence().
|
static |
Definition at line 24 of file NVPTXTargetTransformInfo.cpp.
References llvm::IntrinsicInst::getIntrinsicID().
Referenced by llvm::NVPTXTTIImpl::isSourceOfDivergence().
|
static |
Definition at line 115 of file NVPTXTargetTransformInfo.cpp.
References llvm::AMDGPU::HSAMD::Kernel::Key::Args, llvm::CallBase::args(), ceil, llvm::BinaryOperator::Create(), llvm::CastInst::Create(), llvm::CallInst::Create(), floor, llvm::ConstantFP::get(), llvm::CallBase::getArgOperand(), llvm::Intrinsic::getDeclaration(), llvm::Function::getFnAttribute(), llvm::Instruction::getFunction(), llvm::IntrinsicInst::getIntrinsicID(), llvm::Instruction::getModule(), llvm::Value::getName(), llvm::Value::getType(), llvm::Attribute::getValueAsString(), llvm::DenormalMode::IEEE, llvm_unreachable, maximum, llvm::maxnum(), minimum, llvm::minnum(), Mode, llvm::parseDenormalFPAttribute(), round(), and trunc.
Referenced by llvm::NVPTXTTIImpl::instCombineIntrinsic().