llvm-project/llvm/lib/Target/NVPTX
Simon Pilgrim b1f38a27f0 [Target][CodeGen] Remove default CostKind arguments on inner/impl TTI overrides
Based off a discussion on D110100, we should be avoiding default CostKinds whenever possible.

This initial patch removes them from the 'inner' target implementation callbacks - these should only be used by the main TTI calls, so this should guarantee that we don't cause changes in CostKind by missing it in an inner call. This exposed a few missing arguments in getGEPCost and reduction cost calls that I've cleaned up.

Differential Revision: https://reviews.llvm.org/D110242
2021-09-22 15:28:08 +01:00
..
MCTargetDesc [clangd, llvm] Remove redundant calls to c_str() (NFC) 2021-09-02 09:07:13 -07:00
TargetInfo
CMakeLists.txt [NVPTX] Enable lowering of atomics on local memory 2021-04-26 20:12:12 -04:00
ManagedStringPool.h
NVPTX.h
NVPTX.td [CUDA] Add support for CUDA-11.4 2021-08-23 13:24:46 -07:00
NVPTXAllocaHoisting.cpp
NVPTXAllocaHoisting.h
NVPTXAsmPrinter.cpp [NVPTX] Simplify and generalize constant printer. 2021-09-09 11:30:19 -07:00
NVPTXAsmPrinter.h [NVPTX] Simplify and generalize constant printer. 2021-09-09 11:30:19 -07:00
NVPTXAssignValidGlobalNames.cpp
NVPTXAtomicLower.cpp [NVPTX] Enable lowering of atomics on local memory 2021-04-26 20:12:12 -04:00
NVPTXAtomicLower.h [NVPTX] Enable lowering of atomics on local memory 2021-04-26 20:12:12 -04:00
NVPTXFrameLowering.cpp
NVPTXFrameLowering.h
NVPTXGenericToNVVM.cpp [llvm] Use make_early_inc_range (NFC) 2021-09-20 19:30:02 -07:00
NVPTXISelDAGToDAG.cpp Rename MachineMemOperand::getOrdering -> getSuccessOrdering. 2021-06-21 16:49:27 -07:00
NVPTXISelDAGToDAG.h
NVPTXISelLowering.cpp [NFC] Remove AttributeList::hasParamAttribute() 2021-08-13 10:58:21 -07:00
NVPTXISelLowering.h
NVPTXImageOptimizer.cpp
NVPTXInstrFormats.td
NVPTXInstrInfo.cpp
NVPTXInstrInfo.h
NVPTXInstrInfo.td [NVPTX, CUDA] Add .and.popc variant of the b1 MMA instruction. 2021-07-15 12:02:09 -07:00
NVPTXIntrinsics.td [NVPTX] NFC: Remove unused imm type intrinsic arg 2021-09-15 08:56:51 +00:00
NVPTXLowerAggrCopies.cpp
NVPTXLowerAggrCopies.h
NVPTXLowerAlloca.cpp [OpaquePtr] Use AllocaInst::getAllocatedType() 2021-07-13 09:34:33 -07:00
NVPTXLowerArgs.cpp [NVPTX] Pass explicit GEP type (NFC) 2021-07-08 21:21:43 +02:00
NVPTXMCExpr.cpp
NVPTXMCExpr.h
NVPTXMachineFunctionInfo.h
NVPTXPeephole.cpp
NVPTXPrologEpilogPass.cpp [NFC][CodeGen] Tidy up TargetRegisterInfo stack realignment functions 2021-03-30 17:31:39 +01:00
NVPTXProxyRegErasure.cpp
NVPTXRegisterInfo.cpp
NVPTXRegisterInfo.h
NVPTXRegisterInfo.td
NVPTXReplaceImageHandles.cpp
NVPTXSubtarget.cpp
NVPTXSubtarget.h
NVPTXTargetMachine.cpp Take OptimizationLevel class out of Pass Builder 2021-07-29 21:57:23 -07:00
NVPTXTargetMachine.h [NewPM] Hide pass manager debug logging behind -debug-pass-manager-verbose 2021-05-07 21:51:47 -07:00
NVPTXTargetObjectFile.h
NVPTXTargetTransformInfo.cpp [BasicTTIImpl][LoopUnroll] getUnrollingPreferences(): emit ORE remark when advising against unrolling due to a call in a loop 2021-08-03 00:57:26 +03:00
NVPTXTargetTransformInfo.h [Target][CodeGen] Remove default CostKind arguments on inner/impl TTI overrides 2021-09-22 15:28:08 +01:00
NVPTXUtilities.cpp
NVPTXUtilities.h
NVVMIntrRange.cpp
NVVMReflect.cpp
cl_common_defines.h