Home
last modified time | relevance | path

Searched refs:isSGPRClass (Results 1 – 14 of 14) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIRegisterInfo.h154 bool isSGPRClass(const TargetRegisterClass *RC) const { in isSGPRClass() function
160 return isSGPRClass(getRegClass(RCID)); in isSGPRClassID()
238 return !isSGPRClass(RC); in isDivergentRegClass()
H A DSIFixSGPRCopies.cpp164 return SrcRC != &AMDGPU::VReg_1RegClass && TRI.isSGPRClass(DstRC) && in isVGPRToSGPRCopy()
171 return DstRC != &AMDGPU::VReg_1RegClass && TRI.isSGPRClass(SrcRC) && in isSGPRToVGPRCopy()
223 if (!TRI->isSGPRClass(MRI.getRegClass(DstReg))) in foldVGPRCopyIntoRegSequence()
269 assert(TRI->isSGPRClass(SrcRC) && in foldVGPRCopyIntoRegSequence()
688 if (TRI->isSGPRClass(DstRC) && in runOnMachineFunction()
814 if (!TRI->isSGPRClass(OpRC) && OpRC != &AMDGPU::VS_32RegClass && in processPHINode()
842 if (TRI->isSGPRClass(RC)) in processPHINode()
H A DGCNPreRAOptimizations.cpp156 if (RC->MC->getSizeInBits() != 64 || !TRI->isSGPRClass(RC)) in runOnMachineFunction()
H A DSIInstrInfo.cpp884 if (RI.isSGPRClass(RC)) { in copyPhysReg()
885 if (!RI.isSGPRClass(SrcRC)) { in copyPhysReg()
902 (SrcRC == RC || RI.isSGPRClass(SrcRC)))) { in copyPhysReg()
1023 if (RI.isSGPRClass(RegClass)) { in materializeImmediate()
1432 if (RI.isSGPRClass(RC)) { in storeRegToStackSlot()
1571 if (RI.isSGPRClass(RC)) { in loadRegFromStackSlot()
2580 return RI.isSGPRClass(RC); in canInsertSelect()
4582 else if (RI.isSGPRClass(RC)) in legalizeOpWithMove()
4972 if (!RI.isSGPRClass(MRI.getRegClass(MO.getReg()))) in legalizeOperandsVOP3()
6992 bool IsRequiredSGPR = RI.isSGPRClass(OpRC); in findUsedSGPR()
[all …]
H A DGCNRegPressure.cpp77 return STI->isSGPRClass(RC) ? in getRegKind()
H A DAMDGPUTargetMachine.cpp72 return static_cast<const SIRegisterInfo &>(TRI).isSGPRClass(&RC); in onlyAllocateSGPRs()
77 return !static_cast<const SIRegisterInfo &>(TRI).isSGPRClass(&RC); in onlyAllocateVGPRs()
H A DGCNHazardRecognizer.cpp981 if (MO.isDef() && TRI->isSGPRClass(TRI->getPhysRegClass(MO.getReg()))) { in fixSMEMtoVectorWriteHazards()
1062 if (MO.isDef() && TRI->isSGPRClass(TRI->getPhysRegClass(MO.getReg()))) in fixVcmpxExecWARHazard()
H A DSIRegisterInfo.cpp2152 return isSGPRClass(RC); in isSGPRReg()
2216 if (isSGPRClass(RC)) { in getSubRegClass()
H A DAMDGPUTargetTransformInfo.cpp942 if (!RC || !TRI->isSGPRClass(RC)) in isInlineAsmSourceOfDivergence()
H A DAMDGPUISelDAGToDAG.cpp1650 return RC && TRI.isSGPRClass(RC); in IsCopyFromSGPR()
3033 if (!RC || SIRI->isSGPRClass(RC)) in isVGPRImm()
H A DSIFoldOperands.cpp697 if (TRI->isSGPRClass(SrcRC) && TRI->hasVectorRegisters(DestRC)) { in foldOperand()
H A DSIISelLowering.cpp3753 if (TII->getRegisterInfo().isSGPRClass(IdxRC)) { in emitIndirectSrc()
3857 if (TII->getRegisterInfo().isSGPRClass(IdxRC)) { in emitIndirectDst()
12164 if (!TRI->isSGPRClass(RC) && !isDivergent) in getRegClassFor()
12166 else if (TRI->isSGPRClass(RC) && isDivergent) in getRegClassFor()
12247 else if (SIRI->isSGPRClass(RC)) in requiresUniformRegister()
H A DAMDGPUInstructionSelector.cpp157 TRI.isSGPRClass(SrcRC) ? AMDGPU::S_AND_B32 : AMDGPU::V_AND_B32_e32; in selectCOPY()
H A DAMDGPURegisterBankInfo.cpp283 if (TRI->isSGPRClass(&RC)) { in getRegBankFromRegClass()