LLVM: lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp File Reference (original) (raw)
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 * | convertNvvmIntrinsicToLlvm (InstCombiner &IC, IntrinsicInst *II) |
| static std::optional< bool > | evaluateIsSpace (Intrinsic::ID IID, unsigned AS) |
| static std::optional< Instruction * > | handleSpaceCheckIntrinsics (InstCombiner &IC, IntrinsicInst &II) |
◆ DEBUG_TYPE
#define DEBUG_TYPE "NVPTXtti"
◆ convertNvvmIntrinsicToLlvm()
Definition at line 121 of file NVPTXTargetTransformInfo.cpp.
References llvm::BinaryOperator::Create(), llvm::CallInst::Create(), llvm::CastInst::Create(), llvm::dyn_cast(), llvm::Intrinsic::getOrInsertDeclaration(), llvm::APFloatBase::IEEEhalf(), llvm::APFloatBase::IEEEsingle(), II, llvm_unreachable, Mode, llvm::DenormalMode::PreserveSign, and llvm::InstCombiner::replaceInstUsesWith().
Referenced by llvm::NVPTXTTIImpl::instCombineIntrinsic().