Lines Matching refs:AMDGPUPerfHint
68 struct AMDGPUPerfHint {
72 AMDGPUPerfHint(AMDGPUPerfHintAnalysis::FuncInfoMap &FIM_,
145 bool AMDGPUPerfHint::isIndirectAccess(const Instruction *Inst) const {
207 AMDGPUPerfHintAnalysis::FuncInfo *AMDGPUPerfHint::visit(const Function &F) {
210 LLVM_DEBUG(dbgs() << "[AMDGPUPerfHint] process " << F.getName() << '\n');
260 bool AMDGPUPerfHint::runOnFunction(Function &F) {
291 bool AMDGPUPerfHint::isMemBound(const AMDGPUPerfHintAnalysis::FuncInfo &FI) {
295 bool AMDGPUPerfHint::needLimitWave(const AMDGPUPerfHintAnalysis::FuncInfo &FI) {
301 bool AMDGPUPerfHint::isGlobalAddr(const Value *V) const {
310 bool AMDGPUPerfHint::isLocalAddr(const Value *V) const {
316 bool AMDGPUPerfHint::isLargeStride(const Instruction *Inst) {
327 AMDGPUPerfHint::MemAccessInfo
328 AMDGPUPerfHint::makeMemAccessInfo(Instruction *Inst) const {
342 bool AMDGPUPerfHint::isConstantAddr(const Value *V) const {
351 bool AMDGPUPerfHint::MemAccessInfo::isLargeStride(
381 AMDGPUPerfHint Analyzer(FIM, ST->getTargetLowering());
395 return AMDGPUPerfHint::isMemBound(FI->second);
403 return AMDGPUPerfHint::needLimitWave(FI->second);