Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiInstPrinter.cpp214 const MCOperand &RegOp) { in printMemoryBaseRegister() argument
215 assert(RegOp.isReg() && "Register operand expected"); in printMemoryBaseRegister()
219 OS << "%" << LanaiInstPrinter::getRegisterName(RegOp.getReg()); in printMemoryBaseRegister()
240 const MCOperand &RegOp = MI->getOperand(OpNo); in printMemRiOperand() local
249 printMemoryBaseRegister(OS, AluCode, RegOp); in printMemRiOperand()
255 const MCOperand &RegOp = MI->getOperand(OpNo); in printMemRrOperand() local
259 assert(OffsetOp.isReg() && RegOp.isReg() && "Registers expected."); in printMemRrOperand()
265 OS << "%" << getRegisterName(RegOp.getReg()); in printMemRrOperand()
276 const MCOperand &RegOp = MI->getOperand(OpNo); in printMemSplsOperand() local
285 printMemoryBaseRegister(OS, AluCode, RegOp); in printMemSplsOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineInstrBuilder.h496 inline unsigned getRegState(const MachineOperand &RegOp) { in getRegState() argument
497 assert(RegOp.isReg() && "Not a register operand"); in getRegState()
498 return getDefRegState(RegOp.isDef()) | getImplRegState(RegOp.isImplicit()) | in getRegState()
499 getKillRegState(RegOp.isKill()) | getDeadRegState(RegOp.isDead()) | in getRegState()
500 getUndefRegState(RegOp.isUndef()) | in getRegState()
501 getInternalReadRegState(RegOp.isInternalRead()) | in getRegState()
502 getDebugRegState(RegOp.isDebug()) | in getRegState()
503 getRenamableRegState(Register::isPhysicalRegister(RegOp.getReg()) && in getRegState()
504 RegOp.isRenamable()); in getRegState()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/MCTargetDesc/
DBPFInstPrinter.cpp67 const MCOperand &RegOp = MI->getOperand(OpNo); in printMemOperand() local
71 assert(RegOp.isReg() && "Register operand not a register"); in printMemOperand()
72 O << getRegisterName(RegOp.getReg()); in printMemOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRAsmPrinter.cpp96 const MachineOperand &RegOp = MI->getOperand(OpNum); in PrintAsmOperand() local
98 assert(RegOp.isReg() && "Operand must be a register when you're" in PrintAsmOperand()
100 Register Reg = RegOp.getReg(); in PrintAsmOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrFoldTables.h86 const X86MemoryFoldTableEntry *lookupTwoAddrFoldTable(unsigned RegOp);
90 const X86MemoryFoldTableEntry *lookupFoldTable(unsigned RegOp, unsigned OpNum);
DX86MCInstLower.cpp351 unsigned RegOp = IsStore ? 0 : 5; in SimplifyShortMoveForm() local
354 Inst.getNumOperands() == 6 && Inst.getOperand(RegOp).isReg() && in SimplifyShortMoveForm()
363 unsigned Reg = Inst.getOperand(RegOp).getReg(); in SimplifyShortMoveForm()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiAsmPrinter.cpp130 unsigned RegOp = OpNo + 1; in PrintAsmOperand() local
131 if (RegOp >= MI->getNumOperands()) in PrintAsmOperand()
133 const MachineOperand &MO = MI->getOperand(RegOp); in PrintAsmOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/MCTargetDesc/
DAVRMCCodeEmitter.cpp137 auto RegOp = MI.getOperand(OpNo); in encodeMemri() local
140 assert(RegOp.isReg() && "Expected register operand"); in encodeMemri()
144 switch (RegOp.getReg()) { in encodeMemri()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp1388 const MachineOperand *RegOp = nullptr; in isOMod() local
1394 RegOp = Src1; in isOMod()
1397 RegOp = Src0; in isOMod()
1409 return std::make_pair(RegOp, OMod); in isOMod()
1439 const MachineOperand *RegOp; in tryFoldOMod() local
1441 std::tie(RegOp, OMod) = isOMod(MI); in tryFoldOMod()
1442 if (OMod == SIOutMods::NONE || !RegOp->isReg() || in tryFoldOMod()
1443 RegOp->getSubReg() != AMDGPU::NoSubRegister || in tryFoldOMod()
1444 !hasOneNonDBGUseInst(*MRI, RegOp->getReg())) in tryFoldOMod()
1447 MachineInstr *Def = MRI->getVRegDef(RegOp->getReg()); in tryFoldOMod()
DSIInstrInfo.cpp875 MachineOperand RegOp = Cond[1]; in insertVectorSelect() local
876 RegOp.setImplicit(false); in insertVectorSelect()
879 .add(RegOp); in insertVectorSelect()
889 MachineOperand RegOp = Cond[1]; in insertVectorSelect() local
890 RegOp.setImplicit(false); in insertVectorSelect()
893 .add(RegOp); in insertVectorSelect()
1652 MachineOperand &RegOp, in swapRegAndNonRegOperand() argument
1654 Register Reg = RegOp.getReg(); in swapRegAndNonRegOperand()
1655 unsigned SubReg = RegOp.getSubReg(); in swapRegAndNonRegOperand()
1656 bool IsKill = RegOp.isKill(); in swapRegAndNonRegOperand()
[all …]
DAMDGPUMachineCFGStructurizer.cpp1882 MachineOperand RegOp = MachineOperand::CreateReg(Reg, false, false, true); in createIfBlock() local
1883 ArrayRef<MachineOperand> Cond(RegOp); in createIfBlock()
2341 MachineOperand RegOp = in createIfRegion() local
2343 ArrayRef<MachineOperand> Cond(RegOp); in createIfRegion()
2400 MachineOperand RegOp = MachineOperand::CreateReg(Reg, false, false, true); in createIfRegion() local
2401 ArrayRef<MachineOperand> Cond(RegOp); in createIfRegion()
DGCNHazardRecognizer.cpp126 const MachineOperand *RegOp = TII->getNamedOperand(RegInstr, in getHWReg() local
128 return RegOp->getImm() & AMDGPU::Hwreg::ID_MASK_; in getHWReg()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsAsmPrinter.cpp586 unsigned RegOp = OpNum; in PrintAsmOperand() local
592 RegOp = (Subtarget->isLittle()) ? OpNum + 1 : OpNum; in PrintAsmOperand()
595 RegOp = (Subtarget->isLittle()) ? OpNum : OpNum + 1; in PrintAsmOperand()
598 RegOp = OpNum + 1; in PrintAsmOperand()
600 if (RegOp >= MI->getNumOperands()) in PrintAsmOperand()
602 const MachineOperand &MO = MI->getOperand(RegOp); in PrintAsmOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/AsmParser/
DBPFAsmParser.cpp87 struct RegOp { struct
98 RegOp Reg;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
DX86Operand.h46 struct RegOp { struct
75 struct RegOp Reg;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachinePipeliner.cpp358 MachineOperand &RegOp = PI.getOperand(i); in preprocessPhiNodes() local
359 if (RegOp.getSubReg() == 0) in preprocessPhiNodes()
369 .addReg(RegOp.getReg(), getRegState(RegOp), in preprocessPhiNodes()
370 RegOp.getSubReg()); in preprocessPhiNodes()
372 RegOp.setReg(NewReg); in preprocessPhiNodes()
373 RegOp.setSubReg(0); in preprocessPhiNodes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86MCCodeEmitter.cpp1606 unsigned RegOp = CurOp++; in encodeInstruction() local
1613 emitMemModRMByte(MI, FirstMemOp, getX86RegNum(MI.getOperand(RegOp)), in encodeInstruction()
1619 unsigned RegOp = CurOp++; in encodeInstruction() local
1623 emitRegModRMByte(MI.getOperand(RegOp), 0, CurByte, OS); in encodeInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstructionSelector.cpp629 MachineOperand &RegOp = I.getOperand(1); in selectSubregisterCopy() local
630 RegOp.setReg(SubRegCopy.getReg(0)); in selectSubregisterCopy()
758 MachineOperand &RegOp = I.getOperand(1); in selectCopy() local
759 RegOp.setReg(PromoteReg); in selectCopy()
1649 MachineOperand &RegOp = I.getOperand(0); in select() local
1650 RegOp.setReg(DefGPRReg); in select()
4032 MachineOperand &RegOp = I.getOperand(1); in selectBuildVector() local
4033 RegOp.setReg(Reg); in selectBuildVector()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp120 struct RegOp { struct
137 struct RegOp Reg;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMAsmPrinter.cpp388 unsigned RegOp = FirstHalf ? OpNum : OpNum + 1; in PrintAsmOperand() local
389 if (RegOp >= MI->getNumOperands()) in PrintAsmOperand()
391 const MachineOperand &MO = MI->getOperand(RegOp); in PrintAsmOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp105 struct RegOp { struct in __anonebb34d150111::SystemZOperand
135 RegOp Reg;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp230 struct RegOp { struct in __anon4c4d37890211::SparcOperand
247 struct RegOp Reg;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/AsmParser/
DRISCVAsmParser.cpp226 struct RegOp { struct
245 RegOp Reg;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonConstExtenders.cpp1760 const MachineOperand &RegOp = MI.getOperand(IsAddi ? 1 : 2); in replaceInstrExpr() local
1762 assert(Ex.Rs == RegOp && EV == ImmOp && Ex.Neg != IsAddi && in replaceInstrExpr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGRRList.cpp1336 if (const auto *RegOp = dyn_cast<RegisterMaskSDNode>(Op.getNode())) in getNodeRegMask() local
1337 return RegOp->getRegMask(); in getNodeRegMask()

12