Home
last modified time | relevance | path

Searched refs:AMDGPUDeviceInfo (Results 1 – 18 of 18) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeon/
DAMDILDevice.cpp16 mHWBits.resize(AMDGPUDeviceInfo::MaxNumberCapabilities); in AMDGPUDevice()
17 mSWBits.resize(AMDGPUDeviceInfo::MaxNumberCapabilities); in AMDGPUDevice()
41 if (usesHardware(AMDGPUDeviceInfo::ConstantMem)) { in getMaxNumCBs()
50 if (usesHardware(AMDGPUDeviceInfo::ConstantMem)) { in getMaxCBSize()
69 mSWBits.set(AMDGPUDeviceInfo::HalfOps); in setCaps()
70 mSWBits.set(AMDGPUDeviceInfo::ByteOps); in setCaps()
71 mSWBits.set(AMDGPUDeviceInfo::ShortOps); in setCaps()
72 mSWBits.set(AMDGPUDeviceInfo::HW64BitDivMod); in setCaps()
73 if (mSTM->isOverride(AMDGPUDeviceInfo::NoInline)) { in setCaps()
74 mSWBits.set(AMDGPUDeviceInfo::NoInline); in setCaps()
[all …]
DAMDILEvergreenDevice.cpp32 if (usesHardware(AMDGPUDeviceInfo::LocalMem)) { in getMaxLDSSize()
39 if (usesHardware(AMDGPUDeviceInfo::RegionMem)) { in getMaxGDSSize()
61 if (usesHardware(AMDGPUDeviceInfo::LocalMem)) { in getResourceID()
67 if (usesHardware(AMDGPUDeviceInfo::RegionMem)) { in getResourceID()
73 if (usesHardware(AMDGPUDeviceInfo::PrivateMem)) { in getResourceID()
87 return AMDGPUDeviceInfo::HD5XXX; in getGeneration()
91 mSWBits.set(AMDGPUDeviceInfo::ArenaSegment); in setCaps()
92 mHWBits.set(AMDGPUDeviceInfo::ArenaUAV); in setCaps()
93 mHWBits.set(AMDGPUDeviceInfo::HW64BitDivMod); in setCaps()
94 mSWBits.reset(AMDGPUDeviceInfo::HW64BitDivMod); in setCaps()
[all …]
DAMDIL7XXDevice.cpp34 mSWBits.set(AMDGPUDeviceInfo::LocalMem); in setCaps()
39 if (usesHardware(AMDGPUDeviceInfo::LocalMem)) { in getMaxLDSSize()
52 return AMDGPUDeviceInfo::HD4XXX; in getGeneration()
67 if (usesHardware(AMDGPUDeviceInfo::LocalMem)) { in getResourceID()
72 if (usesHardware(AMDGPUDeviceInfo::PrivateMem)) { in getResourceID()
78 if (usesHardware(AMDGPUDeviceInfo::RegionMem)) { in getResourceID()
103 if (mSTM->isOverride(AMDGPUDeviceInfo::DoubleOps)) { in setCaps()
104 mSWBits.set(AMDGPUDeviceInfo::FMA); in setCaps()
105 mHWBits.set(AMDGPUDeviceInfo::DoubleOps); in setCaps()
107 mSWBits.set(AMDGPUDeviceInfo::BarrierDetect); in setCaps()
[all …]
DAMDILNIDevice.cpp36 if (usesHardware(AMDGPUDeviceInfo::LocalMem)) { in getMaxLDSSize()
46 return AMDGPUDeviceInfo::HD6XXX; in getGeneration()
63 if (mSTM->isOverride(AMDGPUDeviceInfo::DoubleOps)) { in setCaps()
64 mHWBits.set(AMDGPUDeviceInfo::DoubleOps); in setCaps()
65 mHWBits.set(AMDGPUDeviceInfo::FMA); in setCaps()
67 mHWBits.set(AMDGPUDeviceInfo::Signed24BitOps); in setCaps()
68 mSWBits.reset(AMDGPUDeviceInfo::Signed24BitOps); in setCaps()
69 mSWBits.set(AMDGPUDeviceInfo::ArenaSegment); in setCaps()
DAMDILBase.td22 "CapsOverride[AMDGPUDeviceInfo::DoubleOps]",
26 "CapsOverride[AMDGPUDeviceInfo::ByteStores]",
30 "CapsOverride[AMDGPUDeviceInfo::BarrierDetect]",
34 "CapsOverride[AMDGPUDeviceInfo::Images]",
38 "CapsOverride[AMDGPUDeviceInfo::MultiUAV]",
42 "CapsOverride[AMDGPUDeviceInfo::MacroDB]",
46 "CapsOverride[AMDGPUDeviceInfo::NoAlias]",
50 "CapsOverride[AMDGPUDeviceInfo::NoInline]",
64 "CapsOverride[AMDGPUDeviceInfo::Debug]",
DAMDILDevice.h94 bool isSupported(AMDGPUDeviceInfo::Caps Mode) const;
95 bool usesHardware(AMDGPUDeviceInfo::Caps Mode) const;
96 bool usesSoftware(AMDGPUDeviceInfo::Caps Mode) const;
110 AMDGPUDeviceInfo::ExecutionMode
111 getExecutionMode(AMDGPUDeviceInfo::Caps Caps) const;
DAMDILInstrInfo.td17 "->getGeneration() > AMDGPUDeviceInfo::HD4XXX && "
18 "Subtarget.device()->usesHardware(AMDGPUDeviceInfo::DoubleOps)">;
23 "->getGeneration() == AMDGPUDeviceInfo::HD4XXX &&"
24 "Subtarget.device()->usesHardware(AMDGPUDeviceInfo::DoubleOps)">;
29 "->getGeneration() > AMDGPUDeviceInfo::HD5XXX">;
33 "->usesHardware(AMDGPUDeviceInfo::LongOps)">;
35 "->usesSoftware(AMDGPUDeviceInfo::LongOps)">;
39 "->isSupported(AMDGPUDeviceInfo::TmrReg)">;
42 "->getGeneration() >= AMDGPUDeviceInfo::HD5XXX">;
46 "->usesHardware(AMDGPUDeviceInfo::RegionMem)">;
[all …]
DAMDGPUSubtarget.cpp28 * AMDGPUDeviceInfo::MaxNumberCapabilities); in AMDGPUSubtarget()
37 mDevice = AMDGPUDeviceInfo::getDeviceFromName(mDevName, this, mIs64bit); in AMDGPUSubtarget()
46 AMDGPUSubtarget::isOverride(AMDGPUDeviceInfo::Caps caps) const in isOverride()
48 assert(caps < AMDGPUDeviceInfo::MaxNumberCapabilities && in isOverride()
DAMDGPUTargetMachine.cpp59 if (Subtarget.device()->getGeneration() <= AMDGPUDeviceInfo::HD6XXX) { in AMDGPUTargetMachine()
99 if (ST.device()->getGeneration() <= AMDGPUDeviceInfo::HD6XXX) { in addPreISel()
115 if (ST.device()->getGeneration() > AMDGPUDeviceInfo::HD6XXX) { in addPreRegAlloc()
137 if (ST.device()->getGeneration() <= AMDGPUDeviceInfo::HD6XXX) { in addPreEmitPass()
DAMDILSIDevice.cpp27 if (usesHardware(AMDGPUDeviceInfo::LocalMem)) { in getMaxLDSSize()
37 return AMDGPUDeviceInfo::HD7XXX; in getGeneration()
DAMDGPUSubtarget.h31 bool CapsOverride[AMDGPUDeviceInfo::MaxNumberCapabilities];
49 bool isOverride(AMDGPUDeviceInfo::Caps) const;
DAMDILDeviceInfo.h19 namespace AMDGPUDeviceInfo
DAMDILDeviceInfo.cpp18 namespace AMDGPUDeviceInfo { namespace
DAMDILPeepholeOptimizer.cpp375 if (!mSTM->device()->isSupported(AMDGPUDeviceInfo::ArenaSegment) in optimizeCallInst()
376 && !mSTM->device()->isSupported(AMDGPUDeviceInfo::MultiUAV)) { in optimizeCallInst()
466 if (mSTM->device()->getGeneration() == AMDGPUDeviceInfo::HD4XXX) { in optimizeBitInsert()
706 if (mSTM->device()->getGeneration() == AMDGPUDeviceInfo::HD4XXX) { in optimizeBitExtract()
988 if (mSTM->device()->usesHardware(AMDGPUDeviceInfo::Signed24BitOps)) { in isSigned24BitOps()
1080 if (mSTM->device()->getGeneration() == AMDGPUDeviceInfo::HD6XXX in convertAccurateDivide()
DAMDGPUAsmPrinter.cpp46 if (STM.device()->getGeneration() > AMDGPUDeviceInfo::HD6XXX) { in runOnMachineFunction()
DR600Instructions.td216 "->getGeneration() == AMDGPUDeviceInfo::HD4XXX">;
218 "->getGeneration() == AMDGPUDeviceInfo::HD4XXX &&"
222 "->getGeneration() >= AMDGPUDeviceInfo::HD5XXX && "
227 "->getGeneration() == AMDGPUDeviceInfo::HD5XXX"
229 "AMDGPUDeviceInfo::HD6XXX">;
232 "Subtarget.device()->getGeneration() <= AMDGPUDeviceInfo::HD6XXX">;
DAMDILISelLowering.cpp173 if (STM.device()->isSupported(AMDGPUDeviceInfo::LongOps)) { in InitAMDILLowering()
187 if (STM.device()->isSupported(AMDGPUDeviceInfo::DoubleOps)) { in InitAMDILLowering()
DSIInstructions.td11 "->getGeneration() == AMDGPUDeviceInfo::HD7XXX">;