Home
last modified time | relevance | path

Searched refs:DstOp (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h59 class DstOp {
68 DstOp(unsigned R) : Reg(R), Ty(DstType::Ty_Reg) {} in DstOp() function
69 DstOp(Register R) : Reg(R), Ty(DstType::Ty_Reg) {} in DstOp() function
70 DstOp(const MachineOperand &Op) : Reg(Op.getReg()), Ty(DstType::Ty_Reg) {} in DstOp() function
71 DstOp(const LLT &T) : LLTTy(T), Ty(DstType::Ty_LLT) {} in DstOp() function
72 DstOp(const TargetRegisterClass *TRC) : RC(TRC), Ty(DstType::Ty_RC) {} in DstOp() function
381 MachineInstrBuilder buildDynStackAlloc(const DstOp &Res, const SrcOp &Size,
393 MachineInstrBuilder buildFrameIndex(const DstOp &Res, int Idx);
405 MachineInstrBuilder buildGlobalValue(const DstOp &Res, const GlobalValue *GV);
419 MachineInstrBuilder buildPtrAdd(const DstOp &Res, const SrcOp &Op0,
[all …]
DCSEMIRBuilder.h56 void profileDstOp(const DstOp &Op, GISelInstProfileBuilder &B) const;
58 void profileDstOps(ArrayRef<DstOp> Ops, GISelInstProfileBuilder &B) const { in profileDstOps()
59 for (const DstOp &Op : Ops) in profileDstOps()
72 void profileEverything(unsigned Opc, ArrayRef<DstOp> DstOps,
82 MachineInstrBuilder generateCopiesIfRequired(ArrayRef<DstOp> DstOps,
88 bool checkCopyToDefsPossible(ArrayRef<DstOp> DstOps);
94 MachineInstrBuilder buildInstr(unsigned Opc, ArrayRef<DstOp> DstOps,
100 MachineInstrBuilder buildConstant(const DstOp &Res,
105 MachineInstrBuilder buildFConstant(const DstOp &Res,
DConstantFoldingMIRBuilder.h28 MachineInstrBuilder buildInstr(unsigned Opc, ArrayRef<DstOp> DstOps,
49 const DstOp &Dst = DstOps[0];
60 const DstOp &Dst = DstOps[0];
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCSEMIRBuilder.cpp58 void CSEMIRBuilder::profileDstOp(const DstOp &Op, in profileDstOp()
61 case DstOp::DstType::Ty_RC: in profileDstOp()
90 void CSEMIRBuilder::profileEverything(unsigned Opc, ArrayRef<DstOp> DstOps, in profileEverything()
114 bool CSEMIRBuilder::checkCopyToDefsPossible(ArrayRef<DstOp> DstOps) { in checkCopyToDefsPossible()
118 return std::all_of(DstOps.begin(), DstOps.end(), [](const DstOp &Op) { in checkCopyToDefsPossible()
119 DstOp::DstType DT = Op.getDstOpKind(); in checkCopyToDefsPossible()
120 return DT == DstOp::DstType::Ty_LLT || DT == DstOp::DstType::Ty_RC; in checkCopyToDefsPossible()
125 CSEMIRBuilder::generateCopiesIfRequired(ArrayRef<DstOp> DstOps, in generateCopiesIfRequired()
130 const DstOp &Op = DstOps[0]; in generateCopiesIfRequired()
131 if (Op.getDstOpKind() == DstOp::DstType::Ty_Reg) in generateCopiesIfRequired()
[all …]
DMachineIRBuilder.cpp163 MachineInstrBuilder MachineIRBuilder::buildDynStackAlloc(const DstOp &Res, in buildDynStackAlloc()
174 MachineInstrBuilder MachineIRBuilder::buildFrameIndex(const DstOp &Res, in buildFrameIndex()
183 MachineInstrBuilder MachineIRBuilder::buildGlobalValue(const DstOp &Res, in buildGlobalValue()
214 MachineInstrBuilder MachineIRBuilder::buildPtrAdd(const DstOp &Res, in buildPtrAdd()
240 MachineInstrBuilder MachineIRBuilder::buildPtrMask(const DstOp &Res, in buildPtrMask()
273 MachineInstrBuilder MachineIRBuilder::buildCopy(const DstOp &Res, in buildCopy()
278 MachineInstrBuilder MachineIRBuilder::buildConstant(const DstOp &Res, in buildConstant()
298 MachineInstrBuilder MachineIRBuilder::buildConstant(const DstOp &Res, in buildConstant()
306 MachineInstrBuilder MachineIRBuilder::buildFConstant(const DstOp &Res, in buildFConstant()
331 MachineInstrBuilder MachineIRBuilder::buildConstant(const DstOp &Res, in buildConstant()
[all …]
DLegalizerHelper.cpp4431 static MachineInstrBuilder SwapN(unsigned N, DstOp Dst, MachineIRBuilder &B, in SwapN()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonRDFOpt.cpp121 const MachineOperand &DstOp = MI->getOperand(0); in INITIALIZE_PASS_DEPENDENCY() local
124 assert(DstOp.getSubReg() == 0 && "Unexpected subregister"); in INITIALIZE_PASS_DEPENDENCY()
125 mapRegs(DFG.makeRegRef(DstOp.getReg(), Hexagon::isub_hi), in INITIALIZE_PASS_DEPENDENCY()
127 mapRegs(DFG.makeRegRef(DstOp.getReg(), Hexagon::isub_lo), in INITIALIZE_PASS_DEPENDENCY()
138 const MachineOperand &DstOp = MI->getOperand(0); in INITIALIZE_PASS_DEPENDENCY() local
140 mapRegs(DFG.makeRegRef(DstOp.getReg(), DstOp.getSubReg()), in INITIALIZE_PASS_DEPENDENCY()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
DIRMover.cpp1231 MDNode *DstOp; in linkModuleFlagsMetadata() local
1233 std::tie(DstOp, DstIndex) = Flags.lookup(ID); in linkModuleFlagsMetadata()
1247 if (!DstOp) { in linkModuleFlagsMetadata()
1255 mdconst::extract<ConstantInt>(DstOp->getOperand(0)); in linkModuleFlagsMetadata()
1267 SrcOp->getOperand(2) != DstOp->getOperand(2)) in linkModuleFlagsMetadata()
1293 Metadata *FlagOps[] = {DstOp->getOperand(0), ID, New}; in linkModuleFlagsMetadata()
1303 SrcOp->getOperand(2) != DstOp->getOperand(2)) { in linkModuleFlagsMetadata()
1309 << *DstOp->getOperand(2) << "' from " << DstM.getModuleIdentifier() in linkModuleFlagsMetadata()
1317 mdconst::extract<ConstantInt>(DstOp->getOperand(2)); in linkModuleFlagsMetadata()
1324 (DstBehaviorValue != Module::Max ? SrcOp : DstOp)->getOperand(0), ID, in linkModuleFlagsMetadata()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DR600ExpandSpecialInstrs.cpp100 MachineOperand &DstOp = MI.getOperand(DstIdx); in runOnMachineFunction() local
102 DstOp.getReg(), R600::OQAP); in runOnMachineFunction()
103 DstOp.setReg(R600::OQAP); in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrFoldTables.h70 uint16_t DstOp; member
DX86MCInstLower.cpp1771 const MachineOperand &DstOp = MI->getOperand(0); in getShuffleComment() local
1775 StringRef DstName = DstOp.isReg() ? GetRegisterName(DstOp.getReg()) : "mem"; in getShuffleComment()
2437 const MachineOperand &DstOp = MI->getOperand(0); in EmitInstruction() local
2438 CS << X86ATTInstPrinter::getRegisterName(DstOp.getReg()) << " = "; in EmitInstruction()
2518 const MachineOperand &DstOp = MI->getOperand(0); in EmitInstruction() local
2519 CS << X86ATTInstPrinter::getRegisterName(DstOp.getReg()) << " = "; in EmitInstruction()
2628 const MachineOperand &DstOp = MI->getOperand(0); in EmitInstruction() local
2629 CS << X86ATTInstPrinter::getRegisterName(DstOp.getReg()) << " = "; in EmitInstruction()
DX86InstrInfo.cpp4892 unsigned Opcode = I->DstOp; in foldMemoryOperandImpl()
5457 unsigned Opc = I->DstOp; in unfoldMemoryOperand()
5605 unsigned Opc = I->DstOp; in unfoldMemoryOperand()
5742 return I->DstOp; in getOpcodeAfterMemoryUnfold()
DX86InstrFoldTables.cpp5657 Table.push_back({Entry.DstOp, Entry.KeyOp, in addTableEntry()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineVerifier.cpp1441 const MachineOperand &DstOp = MI->getOperand(0); in verifyPreISelGenericInstruction() local
1445 if (!DstOp.isReg() || !MRI->getType(DstOp.getReg()).isPointer()) { in verifyPreISelGenericInstruction()
1528 const MachineOperand &DstOp = MI->getOperand(0); in visitMachineInstrBefore() local
1530 LLT DstTy = MRI->getType(DstOp.getReg()); in visitMachineInstrBefore()
1543 unsigned DstSize = TRI->getRegSizeInBits(DstOp.getReg(), *MRI); in visitMachineInstrBefore()
1547 if (!DstOp.getSubReg() && !SrcOp.getSubReg()) { in visitMachineInstrBefore()
DMachineScheduler.cpp1694 const MachineOperand &DstOp = Copy->getOperand(0); in constrainLocalCopy() local
1695 Register DstReg = DstOp.getReg(); in constrainLocalCopy()
1696 if (!Register::isVirtualRegister(DstReg) || DstOp.isDead()) in constrainLocalCopy()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXIntrinsics.td7485 bit WithStride, DAGOperand DstOp>
7487 [!con((ins DstOp:$dst),