Home
last modified time | relevance | path

Searched refs:RegClass (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm/lib/Target/R600/MCTargetDesc/
DSIMCCodeEmitter.cpp77 unsigned RegClass = Desc.OpInfo[OpNo].RegClass; in isSrcOperand() local
78 return (AMDGPU::SSrc_32RegClassID == RegClass) || in isSrcOperand()
79 (AMDGPU::SSrc_64RegClassID == RegClass) || in isSrcOperand()
80 (AMDGPU::VSrc_32RegClassID == RegClass) || in isSrcOperand()
81 (AMDGPU::VSrc_64RegClassID == RegClass); in isSrcOperand()
/external/llvm/lib/Target/R600/
DSIISelLowering.cpp596 static bool isVSrc(unsigned RegClass) { in isVSrc() argument
597 return AMDGPU::VSrc_32RegClassID == RegClass || in isVSrc()
598 AMDGPU::VSrc_64RegClassID == RegClass; in isVSrc()
602 static bool isSSrc(unsigned RegClass) { in isSSrc() argument
603 return AMDGPU::SSrc_32RegClassID == RegClass || in isSSrc()
604 AMDGPU::SSrc_64RegClassID == RegClass; in isSSrc()
696 int OpClassID = Desc.OpInfo[Op.getResNo()].RegClass; in getRegClassForNode()
730 unsigned RegClass) const { in fitsRegClass()
736 return TRI->getRegClass(RegClass)->hasSubClassEq(RC); in fitsRegClass()
741 unsigned RegClass, in ensureSRegLimit() argument
[all …]
DSIISelLowering.h36 unsigned RegClass) const;
38 unsigned RegClass, bool &ScalarSlotUsed) const;
DR600InstrInfo.cpp689 switch (MI->getDesc().OpInfo->RegClass) { in getBranchInstr()
/external/llvm/include/llvm/CodeGen/
DRegisterScavenging.h125 unsigned FindUnusedReg(const TargetRegisterClass *RegClass) const;
154 unsigned scavengeRegister(const TargetRegisterClass *RegClass,
156 unsigned scavengeRegister(const TargetRegisterClass *RegClass, int SPAdj) { in scavengeRegister() argument
157 return scavengeRegister(RegClass, MBBI, SPAdj); in scavengeRegister()
DRegisterClassInfo.h46 OwningArrayPtr<RCInfo> RegClass; variable
72 const RCInfo &RCI = RegClass[RC->getID()]; in get()
DMachineRegisterInfo.h340 unsigned createVirtualRegister(const TargetRegisterClass *RegClass);
/external/llvm/lib/Target/AArch64/
DAArch64AsmPrinter.cpp35 const TargetRegisterClass &RegClass, in printModifiedFPRAsmOperand() argument
41 if (RegClass.contains(*AR)) { in printModifiedFPRAsmOperand()
53 const TargetRegisterClass &RegClass, in printModifiedGPRAsmOperand() argument
55 char Prefix = &RegClass == &AArch64::GPR32RegClass ? 'w' : 'x'; in printModifiedGPRAsmOperand()
67 if (RegClass.contains(*AR)) { in printModifiedGPRAsmOperand()
DAArch64FrameLowering.h31 const TargetRegisterClass *RegClass; // E.g. GPR64RegClass member
DAArch64FrameLowering.cpp452 if (PossClasses[ClassIdx].RegClass->contains(Reg)) in emitFrameMemOps()
457 const TargetRegisterClass &TheClass = *PossClasses[ClassIdx].RegClass; in emitFrameMemOps()
/external/llvm/lib/Target/X86/
DX86InstrArithmetic.td597 /// RegClass - This is the register class associated with this type. For
599 RegisterClass RegClass = regclass;
691 (ins typeinfo.RegClass:$src1, typeinfo.RegClass:$src2),
699 : BinOpRR<opcode, mnemonic, typeinfo, (outs typeinfo.RegClass:$dst),
700 [(set typeinfo.RegClass:$dst,
701 (opnode typeinfo.RegClass:$src1, typeinfo.RegClass:$src2))],
710 (opnode typeinfo.RegClass:$src1, typeinfo.RegClass:$src2))],
717 : BinOpRR<opcode, mnemonic, typeinfo, (outs typeinfo.RegClass:$dst),
718 [(set typeinfo.RegClass:$dst, EFLAGS,
719 (opnode typeinfo.RegClass:$src1, typeinfo.RegClass:$src2))],
[all …]
/external/llvm/lib/CodeGen/
DMachineRegisterInfo.cpp101 MachineRegisterInfo::createVirtualRegister(const TargetRegisterClass *RegClass){ in createVirtualRegister() argument
102 assert(RegClass && "Cannot create register without RegClass!"); in createVirtualRegister()
103 assert(RegClass->isAllocatable() && in createVirtualRegister()
109 VRegInfo[Reg].first = RegClass; in createVirtualRegister()
DRegisterClassInfo.cpp42 RegClass.reset(new RCInfo[TRI->getNumRegClasses()]); in runOnMachineFunction()
79 RCInfo &RCI = RegClass[RC->getID()]; in compute()
DTargetInstrInfo.cpp45 short RegClass = MCID.OpInfo[OpNum].RegClass; in getRegClass() local
47 return TRI->getPointerRegClass(MF, RegClass); in getRegClass()
50 if (RegClass < 0) in getRegClass()
54 return TRI->getRegClass(RegClass); in getRegClass()
/external/llvm/include/llvm/MC/
DMCInstrDesc.h63 int16_t RegClass;
/external/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp432 SDValue RegClass = CurDAG->getTargetConstant(RCID, MVT::i32); in selectNode() local
435 const SDValue Ops[] = { RegClass, Node->getOperand(0), LoIdx, in selectNode()
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp1580 SDValue RegClass = in createGPRPairNode() local
1584 const SDValue Ops[] = { RegClass, V0, SubReg0, V1, SubReg1 }; in createGPRPairNode()
1591 SDValue RegClass = in createSRegPairNode() local
1595 const SDValue Ops[] = { RegClass, V0, SubReg0, V1, SubReg1 }; in createSRegPairNode()
1602 SDValue RegClass = CurDAG->getTargetConstant(ARM::QPRRegClassID, MVT::i32); in createDRegPairNode() local
1605 const SDValue Ops[] = { RegClass, V0, SubReg0, V1, SubReg1 }; in createDRegPairNode()
1612 SDValue RegClass = CurDAG->getTargetConstant(ARM::QQPRRegClassID, MVT::i32); in createQRegPairNode() local
1615 const SDValue Ops[] = { RegClass, V0, SubReg0, V1, SubReg1 }; in createQRegPairNode()
1623 SDValue RegClass = in createQuadSRegsNode() local
1629 const SDValue Ops[] = { RegClass, V0, SubReg0, V1, SubReg1, in createQuadSRegsNode()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp846 if (UseInfo->RegClass /* Kind */ != 1) in FoldImmediate()
849 if (UseInfo->RegClass != PPC::GPRC_NOR0RegClassID && in FoldImmediate()
850 UseInfo->RegClass != PPC::G8RC_NOX0RegClassID) in FoldImmediate()
865 ZeroReg = UseInfo->RegClass == PPC::G8RC_NOX0RegClassID ? in FoldImmediate()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
DR600InstrInfo.cpp253 switch (MI->getDesc().OpInfo->RegClass) { in getBranchInstr()
/external/mesa3d/src/gallium/drivers/radeon/
DR600InstrInfo.cpp253 switch (MI->getDesc().OpInfo->RegClass) { in getBranchInstr()
/external/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGRRList.cpp278 unsigned &RegClass, unsigned &Cost, in GetCostForDef() argument
291 RegClass = RC->getID(); in GetCostForDef()
300 RegClass = RC->getID(); in GetCostForDef()
308 RegClass = RC->getID(); in GetCostForDef()
313 RegClass = TLI->getRepRegClassFor(VT)->getID(); in GetCostForDef()
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp179 int matchRegisterByNumber(unsigned RegNum, unsigned RegClass);
900 int MipsAsmParser::matchRegisterByNumber(unsigned RegNum, unsigned RegClass) { in matchRegisterByNumber() argument
905 return getReg(RegClass, RegNum); in matchRegisterByNumber()
/external/llvm/utils/TableGen/
DCodeGenRegisters.cpp1261 CodeGenRegisterClass *RegClass = RegBank.getRegClasses()[i]; in computeUberSets() local
1262 if (!RegClass->Allocatable) in computeUberSets()
1265 const CodeGenRegister::Set &Regs = RegClass->getMembers(); in computeUberSets()
DCodeGenDAGPatterns.cpp1341 Record *RegClass = R->getValueAsDef("RegClass"); in getImplicitType() local
1343 return EEVT::TypeSet(T.getRegisterClass(RegClass).getValueTypes()); in getImplicitType()
/external/llvm/include/llvm/Target/
DTarget.td603 // RegClass - The register class of the operand.
604 RegisterClass RegClass = regclass;

12