Home
last modified time | relevance | path

Searched refs:RCID (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm/lib/Target/AMDGPU/MCTargetDesc/
DSIMCCodeEmitter.cpp213 int RCID = Desc.OpInfo[i].RegClass; in encodeInstruction() local
214 const MCRegisterClass &RC = MRI.getRegClass(RCID); in encodeInstruction()
283 int RCID = Desc.OpInfo[OpNo].RegClass; in getMachineOpValue() local
284 const MCRegisterClass &RC = MRI.getRegClass(RCID); in getMachineOpValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.h134 bool isSGPRClassID(unsigned RCID) const { in isSGPRClassID() argument
135 return isSGPRClass(getRegClass(RCID)); in isSGPRClassID()
282 const TargetRegisterClass *getRegClass(unsigned RCID) const;
DSIRegisterInfo.cpp1830 SIRegisterInfo::getRegClass(unsigned RCID) const { in getRegClass()
1831 switch ((int)RCID) { in getRegClass()
1840 return AMDGPURegisterInfo::getRegClass(RCID); in getRegClass()
/external/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.h98 bool isSGPRClassID(unsigned RCID) const { in isSGPRClassID()
99 return isSGPRClass(getRegClass(RCID)); in isSGPRClassID()
DSIInstrInfo.cpp1860 unsigned RCID = Desc.OpInfo[OpNo].RegClass; in getOpRegClass() local
1861 return RI.getRegClass(RCID); in getOpRegClass()
1881 unsigned RCID = get(MI.getOpcode()).OpInfo[OpIdx].RegClass; in legalizeOpWithMove() local
1882 const TargetRegisterClass *RC = RI.getRegClass(RCID); in legalizeOpWithMove()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.h154 bool isSGPRClassID(unsigned RCID) const { in isSGPRClassID() argument
155 return isSGPRClass(getRegClass(RCID)); in isSGPRClassID()
287 const TargetRegisterClass *getRegClass(unsigned RCID) const;
DAMDGPUTargetTransformInfo.h170 unsigned getNumberOfRegisters(unsigned RCID) const;
DAMDGPUTargetTransformInfo.cpp276 unsigned GCNTTIImpl::getNumberOfRegisters(unsigned RCID) const { in getNumberOfRegisters()
278 const TargetRegisterClass *RC = TRI->getRegClass(RCID); in getNumberOfRegisters()
DSIRegisterInfo.cpp2061 SIRegisterInfo::getRegClass(unsigned RCID) const { in getRegClass()
2062 switch ((int)RCID) { in getRegClass()
2071 return AMDGPUGenRegisterInfo::getRegClass(RCID); in getRegClass()
/external/llvm-project/llvm/lib/CodeGen/
DMachineInstr.cpp900 unsigned RCID; in getRegClassConstraint() local
904 InlineAsm::hasRegClassConstraint(Flag, RCID)) in getRegClassConstraint()
905 return TRI->getRegClass(RCID); in getRegClassConstraint()
1747 unsigned RCID = 0; in print() local
1749 InlineAsm::hasRegClassConstraint(Flag, RCID)) { in print()
1751 OS << ':' << TRI->getRegClassName(TRI->getRegClass(RCID)); in print()
1753 OS << ":RC" << RCID; in print()
DTargetInstrInfo.cpp1401 unsigned RCID = 0; in createMIROperandComment() local
1403 InlineAsm::hasRegClassConstraint(Flag, RCID)) { in createMIROperandComment()
1405 OS << ':' << TRI->getRegClassName(TRI->getRegClass(RCID)); in createMIROperandComment()
1407 OS << ":RC" << RCID; in createMIROperandComment()
/external/llvm/lib/CodeGen/
DMachineInstr.cpp1203 unsigned RCID; in getRegClassConstraint() local
1204 if (InlineAsm::hasRegClassConstraint(Flag, RCID)) in getRegClassConstraint()
1205 return TRI->getRegClass(RCID); in getRegClassConstraint()
1828 unsigned RCID = 0; in print() local
1829 if (InlineAsm::hasRegClassConstraint(Flag, RCID)) { in print()
1831 OS << ':' << TRI->getRegClassName(TRI->getRegClass(RCID)); in print()
1833 OS << ":RC" << RCID; in print()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineInstr.cpp856 unsigned RCID; in getRegClassConstraint() local
860 InlineAsm::hasRegClassConstraint(Flag, RCID)) in getRegClassConstraint()
861 return TRI->getRegClass(RCID); in getRegClassConstraint()
1631 unsigned RCID = 0; in print() local
1633 InlineAsm::hasRegClassConstraint(Flag, RCID)) { in print()
1635 OS << ':' << TRI->getRegClassName(TRI->getRegClass(RCID)); in print()
1637 OS << ":RC" << RCID; in print()
/external/llvm/lib/Target/AMDGPU/InstPrinter/
DAMDGPUInstPrinter.cpp386 int RCID = Desc.OpInfo[OpNo].RegClass; in printOperand() local
387 if (RCID != -1) { in printOperand()
388 const MCRegisterClass &ImmRC = MRI.getRegClass(RCID); in printOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp1083 unsigned getRegBitWidth(unsigned RCID) { in getRegBitWidth() argument
1084 switch (RCID) { in getRegBitWidth()
1139 unsigned RCID = Desc.OpInfo[OpNo].RegClass; in getRegOperandSize() local
1140 return getRegBitWidth(MRI->getRegClass(RCID)) / 8; in getRegOperandSize()
DAMDGPUBaseInfo.h586 unsigned getRegBitWidth(unsigned RCID);
/external/llvm-project/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp1255 unsigned getRegBitWidth(unsigned RCID) { in getRegBitWidth() argument
1256 switch (RCID) { in getRegBitWidth()
1327 unsigned RCID = Desc.OpInfo[OpNo].RegClass; in getRegOperandSize() local
1328 return getRegBitWidth(MRI->getRegClass(RCID)) / 8; in getRegOperandSize()
DAMDGPUBaseInfo.h633 unsigned getRegBitWidth(unsigned RCID);
/external/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp246 bool isRegClass(unsigned RCID) const { in isRegClass()
247 return isReg() && Reg.TRI->getRegClass(RCID).contains(getReg()); in isRegClass()
932 int RCID = getRegClass(RegKind, RegWidth); in ParseAMDGPURegister() local
933 if (RCID == -1) in ParseAMDGPURegister()
935 const MCRegisterClass RC = TRI->getRegClass(RCID); in ParseAMDGPURegister()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp246 bool isRegOrImmWithInputMods(unsigned RCID, MVT type) const { in isRegOrImmWithInputMods() argument
247 return isRegClass(RCID) || isInlinableImm(type) || isLiteralImm(type); in isRegOrImmWithInputMods()
365 bool isRegClass(unsigned RCID) const;
369 bool isRegOrInlineNoMods(unsigned RCID, MVT type) const { in isRegOrInlineNoMods() argument
370 return (isRegClass(RCID) || isInlinableImm(type)) && !hasModifiers(); in isRegOrInlineNoMods()
1637 bool AMDGPUOperand::isRegClass(unsigned RCID) const { in isRegClass()
1638 return isRegKind() && AsmParser->getMRI()->getRegClass(RCID).contains(getReg()); in isRegClass()
2130 int RCID = getRegClass(RegKind, RegWidth); in getRegularReg() local
2131 if (RCID == -1) in getRegularReg()
2135 const MCRegisterClass RC = TRI->getRegClass(RCID); in getRegularReg()
/external/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp277 bool isRegOrImmWithInputMods(unsigned RCID, MVT type) const { in isRegOrImmWithInputMods() argument
278 return isRegClass(RCID) || isInlinableImm(type) || isLiteralImm(type); in isRegOrImmWithInputMods()
401 bool isRegClass(unsigned RCID) const;
405 bool isRegOrInlineNoMods(unsigned RCID, MVT type) const { in isRegOrInlineNoMods() argument
406 return (isRegClass(RCID) || isInlinableImm(type)) && !hasModifiers(); in isRegOrInlineNoMods()
1748 bool AMDGPUOperand::isRegClass(unsigned RCID) const { in isRegClass()
1749 return isRegKind() && AsmParser->getMRI()->getRegClass(RCID).contains(getReg()); in isRegClass()
2286 int RCID = getRegClass(RegKind, RegWidth); in getRegularReg() local
2287 if (RCID == -1) { in getRegularReg()
2293 const MCRegisterClass RC = TRI->getRegClass(RCID); in getRegularReg()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUInstPrinter.cpp579 int RCID = Desc.OpInfo[OpNo].RegClass; in printOperand() local
580 unsigned RCBits = AMDGPU::getRegBitWidth(MRI.getRegClass(RCID)); in printOperand()
/external/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUInstPrinter.cpp669 int RCID = Desc.OpInfo[OpNo].RegClass; in printOperand() local
670 unsigned RCBits = AMDGPU::getRegBitWidth(MRI.getRegClass(RCID)); in printOperand()
/external/llvm/lib/Target/X86/
DX86FloatingPoint.cpp1467 unsigned RCID; in handleSpecialFP() local
1485 if (InlineAsm::hasRegClassConstraint(Flags, RCID)) { in handleSpecialFP()
/external/llvm-project/llvm/lib/Target/X86/
DX86FloatingPoint.cpp1532 unsigned RCID; in handleSpecialFP() local
1550 if (InlineAsm::hasRegClassConstraint(Flags, RCID)) { in handleSpecialFP()

12