Home
last modified time | relevance | path

Searched refs:AMDGPUSubtarget (Results 1 – 25 of 83) sorted by relevance

1234

/external/llvm/lib/Target/AMDGPU/
DAMDGPUInstrInfo.cpp33 AMDGPUInstrInfo::AMDGPUInstrInfo(const AMDGPUSubtarget &ST) in AMDGPUInstrInfo()
88 static SIEncodingFamily subtargetEncodingFamily(const AMDGPUSubtarget &ST) { in subtargetEncodingFamily()
90 case AMDGPUSubtarget::SOUTHERN_ISLANDS: in subtargetEncodingFamily()
91 case AMDGPUSubtarget::SEA_ISLANDS: in subtargetEncodingFamily()
93 case AMDGPUSubtarget::VOLCANIC_ISLANDS: in subtargetEncodingFamily()
97 case AMDGPUSubtarget::R600: in subtargetEncodingFamily()
98 case AMDGPUSubtarget::R700: in subtargetEncodingFamily()
99 case AMDGPUSubtarget::EVERGREEN: in subtargetEncodingFamily()
100 case AMDGPUSubtarget::NORTHERN_ISLANDS: in subtargetEncodingFamily()
DAMDGPUSubtarget.cpp34 AMDGPUSubtarget::~AMDGPUSubtarget() {} in ~AMDGPUSubtarget()
36 AMDGPUSubtarget &
37 AMDGPUSubtarget::initializeSubtargetDependencies(const Triple &TT, in initializeSubtargetDependencies()
58 if (getGeneration() <= AMDGPUSubtarget::NORTHERN_ISLANDS) { in initializeSubtargetDependencies()
70 AMDGPUSubtarget::AMDGPUSubtarget(const Triple &TT, StringRef GPU, StringRef FS, in AMDGPUSubtarget() function in AMDGPUSubtarget
125 unsigned AMDGPUSubtarget::getMaxLocalMemSizeWithWaveCount(unsigned NWaves) const { in getMaxLocalMemSizeWithWaveCount()
150 unsigned AMDGPUSubtarget::getOccupancyWithLocalMemSize(uint32_t Bytes) const { in getOccupancyWithLocalMemSize()
183 AMDGPUSubtarget(TT, GPU, FS, TM), in R600Subtarget()
190 AMDGPUSubtarget(TT, GPU, FS, TM), in SISubtarget()
DAMDGPUSubtarget.h37 class AMDGPUSubtarget : public AMDGPUGenSubtargetInfo {
113 AMDGPUSubtarget(const Triple &TT, StringRef GPU, StringRef FS,
115 virtual ~AMDGPUSubtarget();
116 AMDGPUSubtarget &initializeSubtargetDependencies(const Triple &TT,
267 if (getGeneration() >= AMDGPUSubtarget::SOUTHERN_ISLANDS) in getMaxWavesPerCU()
294 class R600Subtarget final : public AMDGPUSubtarget {
335 class SISubtarget final : public AMDGPUSubtarget {
432 inline const AMDGPUInstrInfo *AMDGPUSubtarget::getInstrInfo() const { in getInstrInfo()
439 inline const AMDGPUFrameLowering *AMDGPUSubtarget::getFrameLowering() const { in getFrameLowering()
446 inline const AMDGPUTargetLowering *AMDGPUSubtarget::getTargetLowering() const { in getTargetLowering()
[all …]
DAMDGPUMCInstLower.h16 class AMDGPUSubtarget; variable
23 const AMDGPUSubtarget &ST;
26 AMDGPUMCInstLower(MCContext &ctx, const AMDGPUSubtarget &ST);
DAMDGPUInstrInfo.h33 class AMDGPUSubtarget; variable
40 const AMDGPUSubtarget &ST;
45 explicit AMDGPUInstrInfo(const AMDGPUSubtarget &st);
DAMDGPUCallingConv.td117 CCIf<"static_cast<const AMDGPUSubtarget&>"
119 "AMDGPUSubtarget::SOUTHERN_ISLANDS && "
122 CCIf<"static_cast<const AMDGPUSubtarget&>"
124 "AMDGPUSubtarget::SOUTHERN_ISLANDS && "
127 CCIf<"static_cast<const AMDGPUSubtarget&>"
129 "AMDGPUSubtarget::SOUTHERN_ISLANDS",
131 CCIf<"static_cast<const AMDGPUSubtarget&>"
133 "AMDGPUSubtarget::SOUTHERN_ISLANDS",
DAMDGPUTargetMachine.h42 const AMDGPUSubtarget *getSubtargetImpl() const;
43 const AMDGPUSubtarget *getSubtargetImpl(const Function &) const override;
93 inline const AMDGPUSubtarget *AMDGPUTargetMachine::getSubtargetImpl( in getSubtargetImpl()
DAMDGPUAsmPrinter.cpp117 const AMDGPUSubtarget &STM = MF->getSubtarget<AMDGPUSubtarget>(); in EmitFunctionBodyStart()
127 const AMDGPUSubtarget &STM = MF->getSubtarget<AMDGPUSubtarget>(); in EmitFunctionEntryLabel()
159 const AMDGPUSubtarget &STM = MF.getSubtarget<AMDGPUSubtarget>(); in runOnMachineFunction()
161 if (STM.getGeneration() >= AMDGPUSubtarget::SOUTHERN_ISLANDS) { in runOnMachineFunction()
181 if (STM.getGeneration() >= AMDGPUSubtarget::SOUTHERN_ISLANDS) { in runOnMachineFunction()
DAMDGPUISelDAGToDAG.cpp58 const AMDGPUSubtarget *Subtarget;
171 Subtarget = &MF.getSubtarget<AMDGPUSubtarget>(); in runOnMachineFunction()
220 if (Subtarget->getGeneration() < AMDGPUSubtarget::SOUTHERN_ISLANDS || in glueCopyToM0()
280 Subtarget->getGeneration() < AMDGPUSubtarget::SOUTHERN_ISLANDS) in Select()
295 if (Subtarget->getGeneration() >= AMDGPUSubtarget::SOUTHERN_ISLANDS) { in Select()
365 if (Subtarget->getGeneration() <= AMDGPUSubtarget::NORTHERN_ISLANDS) { in Select()
389 if (Subtarget->getGeneration() < AMDGPUSubtarget::SOUTHERN_ISLANDS || in Select()
425 if (Subtarget->getGeneration() < AMDGPUSubtarget::SOUTHERN_ISLANDS) in Select()
468 Subtarget->getGeneration() < AMDGPUSubtarget::SOUTHERN_ISLANDS) in Select()
647 if (Subtarget->getGeneration() >= AMDGPUSubtarget::SEA_ISLANDS || in isDSOffsetLegal()
[all …]
DAMDGPUMCInstLower.cpp39 AMDGPUMCInstLower::AMDGPUMCInstLower(MCContext &ctx, const AMDGPUSubtarget &st): in AMDGPUMCInstLower()
99 const AMDGPUSubtarget &STI = MF->getSubtarget<AMDGPUSubtarget>(); in EmitInstruction()
DAMDGPUTargetTransformInfo.h33 const AMDGPUSubtarget *ST;
36 const AMDGPUSubtarget *getST() const { return ST; } in getST()
DAMDGPU.td270 SubtargetFeature <Value, "Gen", "AMDGPUSubtarget::"#Value,
369 "Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
370 "Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS"
374 "Subtarget->getGeneration() >= AMDGPUSubtarget::VOLCANIC_ISLANDS">,
378 "Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS || "
379 "Subtarget->getGeneration() == AMDGPUSubtarget::VOLCANIC_ISLANDS"
DAMDGPU.h20 class AMDGPUSubtarget; variable
88 FunctionPass *createAMDGPUAddDivergenceMetadata(const AMDGPUSubtarget &ST);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUSubtarget.cpp36 #define AMDGPUSubtarget GCNSubtarget macro
40 #undef AMDGPUSubtarget
65 if (getGeneration() <= AMDGPUSubtarget::NORTHERN_ISLANDS) { in initializeSubtargetDependencies()
99 if (getGeneration() >= AMDGPUSubtarget::SOUTHERN_ISLANDS) { in initializeSubtargetDependencies()
122 assert(!hasFP64() || (getGeneration() >= AMDGPUSubtarget::SOUTHERN_ISLANDS)); in initializeSubtargetDependencies()
151 HasFminFmaxLegacy = getGeneration() < AMDGPUSubtarget::VOLCANIC_ISLANDS; in initializeSubtargetDependencies()
169 AMDGPUSubtarget::AMDGPUSubtarget(const Triple &TT) : in AMDGPUSubtarget() function in AMDGPUSubtarget
191 AMDGPUSubtarget(TT), in GCNSubtarget()
316 unsigned AMDGPUSubtarget::getMaxLocalMemSizeWithWaveCount(unsigned NWaves, in getMaxLocalMemSizeWithWaveCount()
328 unsigned AMDGPUSubtarget::getOccupancyWithLocalMemSize(uint32_t Bytes, in getOccupancyWithLocalMemSize()
[all …]
DAMDGPUSubtarget.h48 class AMDGPUSubtarget {
83 AMDGPUSubtarget(const Triple &TT);
85 static const AMDGPUSubtarget &get(const MachineFunction &MF);
86 static const AMDGPUSubtarget &get(const TargetMachine &TM,
249 virtual ~AMDGPUSubtarget() {} in ~AMDGPUSubtarget()
253 public AMDGPUSubtarget {
255 using AMDGPUSubtarget::getMaxWavesPerEU;
500 return (getGeneration() < AMDGPUSubtarget::VOLCANIC_ISLANDS); in hasAddr64()
534 return getGeneration() >= AMDGPUSubtarget::GFX9; in hasMed3_16()
538 return getGeneration() >= AMDGPUSubtarget::GFX9; in hasMin3Max3_16()
[all …]
DAMDGPU.td975 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS">,
979 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
980 "Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS">,
984 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
985 "Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
986 "Subtarget->getGeneration() == AMDGPUSubtarget::GFX10">,
990 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS">,
994 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
995 "Subtarget->getGeneration() == AMDGPUSubtarget::GFX10">,
999 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
[all …]
DAMDGPUInstructionSelector.h26 #define AMDGPUSubtarget GCNSubtarget macro
29 #undef AMDGPUSubtarget
200 #define AMDGPUSubtarget GCNSubtarget macro
203 #undef AMDGPUSubtarget
DAMDGPUPromoteAlloca.cpp160 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(*TM, F); in runOnFunction()
185 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(*TM, F); in getLocalSizeYZ()
271 const AMDGPUSubtarget &ST = in getWorkitemID()
272 AMDGPUSubtarget::get(*TM, *Builder.GetInsertBlock()->getParent()); in getWorkitemID()
629 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(*TM, F); in hasSufficientLocalMem()
759 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(*TM, ContainingFunction); in handleAlloca()
DAMDGPUMachineFunction.cpp26 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(MF); in AMDGPUMachineFunction()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUSubtarget.cpp36 #define AMDGPUSubtarget GCNSubtarget macro
40 #undef AMDGPUSubtarget
112 assert(!hasFP64() || (getGeneration() >= AMDGPUSubtarget::SOUTHERN_ISLANDS)); in initializeSubtargetDependencies()
141 HasFminFmaxLegacy = getGeneration() < AMDGPUSubtarget::VOLCANIC_ISLANDS; in initializeSubtargetDependencies()
161 AMDGPUSubtarget::AMDGPUSubtarget(const Triple &TT) : in AMDGPUSubtarget() function in AMDGPUSubtarget
183 AMDGPUSubtarget(TT), in GCNSubtarget()
322 unsigned AMDGPUSubtarget::getMaxLocalMemSizeWithWaveCount(unsigned NWaves, in getMaxLocalMemSizeWithWaveCount()
335 unsigned AMDGPUSubtarget::getOccupancyWithLocalMemSize(uint32_t Bytes, in getOccupancyWithLocalMemSize()
372 AMDGPUSubtarget::getOccupancyWithLocalMemSize(const MachineFunction &MF) const { in getOccupancyWithLocalMemSize()
378 AMDGPUSubtarget::getDefaultFlatWorkGroupSize(CallingConv::ID CC) const { in getDefaultFlatWorkGroupSize()
[all …]
DAMDGPUSubtarget.h50 class AMDGPUSubtarget {
85 AMDGPUSubtarget(const Triple &TT);
87 static const AMDGPUSubtarget &get(const MachineFunction &MF);
88 static const AMDGPUSubtarget &get(const TargetMachine &TM,
266 virtual ~AMDGPUSubtarget() {} in ~AMDGPUSubtarget()
270 public AMDGPUSubtarget {
272 using AMDGPUSubtarget::getMaxWavesPerEU;
527 return (getGeneration() < AMDGPUSubtarget::VOLCANIC_ISLANDS); in hasAddr64()
565 return getGeneration() >= AMDGPUSubtarget::GFX9; in hasMed3_16()
569 return getGeneration() >= AMDGPUSubtarget::GFX9; in hasMin3Max3_16()
[all …]
DAMDGPU.td1069 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS">,
1073 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
1074 "Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS">,
1078 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
1079 "Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
1080 "Subtarget->getGeneration() == AMDGPUSubtarget::GFX10">,
1084 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS">,
1088 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
1089 "Subtarget->getGeneration() == AMDGPUSubtarget::GFX10">,
1093 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
[all …]
DAMDGPUPromoteAlloca.cpp194 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(*TM, F); in runOnFunction()
226 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(*TM, F); in getLocalSizeYZ()
312 const AMDGPUSubtarget &ST = in getWorkitemID()
313 AMDGPUSubtarget::get(*TM, *Builder.GetInsertBlock()->getParent()); in getWorkitemID()
733 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(*TM, F); in hasSufficientLocalMem()
907 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(*TM, ContainingFunction); in handleAlloca()
1096 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(*TM, F); in runOnFunction()
DAMDGPUMachineFunction.cpp21 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(MF); in AMDGPUMachineFunction()
DAMDGPULowerIntrinsics.cpp135 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(TM, *Caller); in makeLIDRangeMetadata()

1234