Home
last modified time | relevance | path

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

/external/llvm/lib/Target/R600/
DAMDILDevice.cpp16 mHWBits.resize(AMDGPUDeviceInfo::MaxNumberCapabilities); in AMDGPUDevice()
17 mSWBits.resize(AMDGPUDeviceInfo::MaxNumberCapabilities); in AMDGPUDevice()
37 if (usesHardware(AMDGPUDeviceInfo::ConstantMem)) { in getMaxNumCBs()
45 if (usesHardware(AMDGPUDeviceInfo::ConstantMem)) { in getMaxCBSize()
61 mSWBits.set(AMDGPUDeviceInfo::HalfOps); in setCaps()
62 mSWBits.set(AMDGPUDeviceInfo::ByteOps); in setCaps()
63 mSWBits.set(AMDGPUDeviceInfo::ShortOps); in setCaps()
64 mSWBits.set(AMDGPUDeviceInfo::HW64BitDivMod); in setCaps()
65 if (mSTM->isOverride(AMDGPUDeviceInfo::NoInline)) { in setCaps()
66 mSWBits.set(AMDGPUDeviceInfo::NoInline); in setCaps()
[all …]
DAMDILEvergreenDevice.cpp33 if (usesHardware(AMDGPUDeviceInfo::LocalMem)) { in getMaxLDSSize()
40 if (usesHardware(AMDGPUDeviceInfo::RegionMem)) { in getMaxGDSSize()
62 if (usesHardware(AMDGPUDeviceInfo::LocalMem)) { in getResourceID()
68 if (usesHardware(AMDGPUDeviceInfo::RegionMem)) { in getResourceID()
74 if (usesHardware(AMDGPUDeviceInfo::PrivateMem)) { in getResourceID()
88 return AMDGPUDeviceInfo::HD5XXX; in getGeneration()
92 mSWBits.set(AMDGPUDeviceInfo::ArenaSegment); in setCaps()
93 mHWBits.set(AMDGPUDeviceInfo::ArenaUAV); in setCaps()
94 mHWBits.set(AMDGPUDeviceInfo::HW64BitDivMod); in setCaps()
95 mSWBits.reset(AMDGPUDeviceInfo::HW64BitDivMod); in setCaps()
[all …]
DAMDIL7XXDevice.cpp32 mSWBits.set(AMDGPUDeviceInfo::LocalMem); in setCaps()
36 if (usesHardware(AMDGPUDeviceInfo::LocalMem)) { in getMaxLDSSize()
47 return AMDGPUDeviceInfo::HD4XXX; in getGeneration()
61 if (usesHardware(AMDGPUDeviceInfo::LocalMem)) { in getResourceID()
66 if (usesHardware(AMDGPUDeviceInfo::PrivateMem)) { in getResourceID()
72 if (usesHardware(AMDGPUDeviceInfo::RegionMem)) { in getResourceID()
93 if (mSTM->isOverride(AMDGPUDeviceInfo::DoubleOps)) { in setCaps()
94 mSWBits.set(AMDGPUDeviceInfo::FMA); in setCaps()
95 mHWBits.set(AMDGPUDeviceInfo::DoubleOps); in setCaps()
97 mSWBits.set(AMDGPUDeviceInfo::BarrierDetect); in setCaps()
[all …]
DAMDILNIDevice.cpp34 if (usesHardware(AMDGPUDeviceInfo::LocalMem)) { in getMaxLDSSize()
43 return AMDGPUDeviceInfo::HD6XXX; in getGeneration()
57 if (mSTM->isOverride(AMDGPUDeviceInfo::DoubleOps)) { in setCaps()
58 mHWBits.set(AMDGPUDeviceInfo::DoubleOps); in setCaps()
59 mHWBits.set(AMDGPUDeviceInfo::FMA); in setCaps()
61 mHWBits.set(AMDGPUDeviceInfo::Signed24BitOps); in setCaps()
62 mSWBits.reset(AMDGPUDeviceInfo::Signed24BitOps); in setCaps()
63 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.h96 bool isSupported(AMDGPUDeviceInfo::Caps Mode) const;
97 bool usesHardware(AMDGPUDeviceInfo::Caps Mode) const;
98 bool usesSoftware(AMDGPUDeviceInfo::Caps Mode) const;
112 AMDGPUDeviceInfo::ExecutionMode
113 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 …]
DAMDGPUTargetMachine.cpp66 if (Subtarget.device()->getGeneration() <= AMDGPUDeviceInfo::HD6XXX) { in AMDGPUTargetMachine()
84 if (ST.device()->getGeneration() <= AMDGPUDeviceInfo::HD6XXX) { in AMDGPUPassConfig()
110 if (ST.device()->getGeneration() > AMDGPUDeviceInfo::HD6XXX) { in addPreISel()
122 if (ST.device()->getGeneration() <= AMDGPUDeviceInfo::HD6XXX) { in addInstSelector()
137 if (ST.device()->getGeneration() > AMDGPUDeviceInfo::HD6XXX) { in addPostRegAlloc()
151 if (ST.device()->getGeneration() <= AMDGPUDeviceInfo::HD6XXX) { in addPreEmitPass()
DAMDGPUSubtarget.cpp29 * AMDGPUDeviceInfo::MaxNumberCapabilities); in AMDGPUSubtarget()
38 Device = AMDGPUDeviceInfo::getDeviceFromName(DevName, this, Is64bit); in AMDGPUSubtarget()
46 AMDGPUSubtarget::isOverride(AMDGPUDeviceInfo::Caps caps) const { in isOverride()
47 assert(caps < AMDGPUDeviceInfo::MaxNumberCapabilities && in isOverride()
DAMDILSIDevice.cpp25 if (usesHardware(AMDGPUDeviceInfo::LocalMem)) { in getMaxLDSSize()
34 return AMDGPUDeviceInfo::HD7XXX; in getGeneration()
DAMDGPUSubtarget.h31 bool CapsOverride[AMDGPUDeviceInfo::MaxNumberCapabilities];
49 bool isOverride(AMDGPUDeviceInfo::Caps) const;
DAMDILDeviceInfo.h19 namespace AMDGPUDeviceInfo {
DAMDILDeviceInfo.cpp19 namespace AMDGPUDeviceInfo { namespace
DAMDGPUCallingConv.td41 "->getGeneration() == AMDGPUDeviceInfo::HD7XXX", CCDelegateTo<CC_SI>>
DAMDILPeepholeOptimizer.cpp372 if (!mSTM->device()->isSupported(AMDGPUDeviceInfo::ArenaSegment) in optimizeCallInst()
373 && !mSTM->device()->isSupported(AMDGPUDeviceInfo::MultiUAV)) { in optimizeCallInst()
461 if (mSTM->device()->getGeneration() == AMDGPUDeviceInfo::HD4XXX) { in optimizeBitInsert()
659 if (mSTM->device()->getGeneration() == AMDGPUDeviceInfo::HD4XXX) { in optimizeBitExtract()
936 if (mSTM->device()->usesHardware(AMDGPUDeviceInfo::Signed24BitOps)) { in isSigned24BitOps()
1025 if (mSTM->device()->getGeneration() == AMDGPUDeviceInfo::HD6XXX in convertAccurateDivide()
DAMDGPUAsmPrinter.cpp54 if (STM.device()->getGeneration() > AMDGPUDeviceInfo::HD6XXX) { in runOnMachineFunction()
DAMDILISelDAGToDAG.cpp167 if (ST.device()->getGeneration() > AMDGPUDeviceInfo::HD6XXX) { in Select()
199 if (ST.device()->getGeneration() > AMDGPUDeviceInfo::HD6XXX) { in Select()
294 if (ST.device()->getGeneration() <= AMDGPUDeviceInfo::HD6XXX) { in Select()
DR600Instructions.td478 "->getGeneration() == AMDGPUDeviceInfo::HD4XXX">;
480 "->getGeneration() == AMDGPUDeviceInfo::HD4XXX &&"
484 "Subtarget.device()->getGeneration() >= AMDGPUDeviceInfo::HD5XXX && "
485 "Subtarget.device()->getGeneration() < AMDGPUDeviceInfo::HD7XXX && "
491 "->getGeneration() == AMDGPUDeviceInfo::HD5XXX"
493 "AMDGPUDeviceInfo::HD6XXX">;
496 "Subtarget.device()->getGeneration() <= AMDGPUDeviceInfo::HD6XXX">;
DR600MachineScheduler.cpp44 if (ST.device()->getGeneration() <= AMDGPUDeviceInfo::HD5XXX) { in initialize()
DAMDILISelLowering.cpp161 if (STM.device()->isSupported(AMDGPUDeviceInfo::LongOps)) { in InitAMDILLowering()
175 if (STM.device()->isSupported(AMDGPUDeviceInfo::DoubleOps)) { in InitAMDILLowering()
DSIInstructions.td26 "->getGeneration() == AMDGPUDeviceInfo::HD7XXX">;