|
LLVM
4.0.0
|
#include "AMDGPUTargetTransformInfo.h"#include "llvm/Analysis/LoopInfo.h"#include "llvm/Analysis/TargetTransformInfo.h"#include "llvm/Analysis/ValueTracking.h"#include "llvm/CodeGen/BasicTTIImpl.h"#include "llvm/IR/Module.h"#include "llvm/IR/Intrinsics.h"#include "llvm/Support/Debug.h"#include "llvm/Target/CostTable.h"#include "llvm/Target/TargetLowering.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "AMDGPUtti" |
Functions | |
| static bool | isIntrinsicSourceOfDivergence (const TargetIntrinsicInfo *TII, const IntrinsicInst *I) |
| static bool | isArgPassedInSGPR (const Argument *A) |
| #define DEBUG_TYPE "AMDGPUtti" |
Definition at line 30 of file AMDGPUTargetTransformInfo.cpp.
Definition at line 290 of file AMDGPUTargetTransformInfo.cpp.
References F, llvm::Argument::getArgNo(), llvm::Function::getAttributes(), llvm::Function::getCallingConv(), llvm::Argument::getParent(), llvm::AttributeSet::hasAttribute(), and llvm::AMDGPU::isShader().
Referenced by llvm::AMDGPUTTIImpl::isSourceOfDivergence().
|
static |
Definition at line 231 of file AMDGPUTargetTransformInfo.cpp.
References llvm::StringRef::bytes_begin(), llvm::CallInst::getCalledFunction(), llvm::IntrinsicInst::getIntrinsicID(), llvm::Value::getName(), llvm::TargetIntrinsicInfo::lookupName(), llvm::Intrinsic::not_intrinsic, and llvm::StringRef::size().
Referenced by llvm::AMDGPUTTIImpl::isSourceOfDivergence().
1.8.6