Home
last modified time | relevance | path

Searched refs:DstOps (Results 1 – 5 of 5) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DCSEMIRBuilder.cpp97 profileDstOps(DstOps, B); in profileEverything()
115 if (DstOps.size() == 1) in checkCopyToDefsPossible()
118 return std::all_of(DstOps.begin(), DstOps.end(), [](const DstOp &Op) { in checkCopyToDefsPossible()
127 assert(checkCopyToDefsPossible(DstOps) && in generateCopiesIfRequired()
129 if (DstOps.size() == 1) { in generateCopiesIfRequired()
130 const DstOp &Op = DstOps[0]; in generateCopiesIfRequired()
159 assert(DstOps.size() == 1 && "Invalid dsts"); in buildInstr()
162 return buildConstant(DstOps[0], Cst->getSExtValue()); in buildInstr()
166 bool CanCopy = checkCopyToDefsPossible(DstOps); in buildInstr()
181 profileEverything(Opc, DstOps, SrcOps, Flag, ProfBuilder); in buildInstr()
[all …]
H A DMachineIRBuilder.cpp818 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
827 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
834 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
841 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
864 LLT DstTy = DstOps[0].getLLTTy(*getMRI()); in buildInstr()
876 assert(std::all_of(DstOps.begin(), DstOps.end(), in buildInstr()
882 assert(DstOps.size() * DstOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
889 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
900 return buildCast(DstOps[0], SrcOps[0]); in buildInstr()
914 DstOps[0].getLLTTy(*getMRI()) && in buildInstr()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/GlobalISel/
H A DConstantFoldingMIRBuilder.h29 MachineInstrBuilder buildInstr(unsigned Opc, ArrayRef<DstOp> DstOps,
48 assert(DstOps.size() == 1 && "Invalid dst ops");
50 const DstOp &Dst = DstOps[0];
59 return MachineIRBuilder::buildInstr(Opc, DstOps, SrcOps);
H A DCSEMIRBuilder.h73 void profileEverything(unsigned Opc, ArrayRef<DstOp> DstOps,
83 MachineInstrBuilder generateCopiesIfRequired(ArrayRef<DstOp> DstOps,
89 bool checkCopyToDefsPossible(ArrayRef<DstOp> DstOps);
95 MachineInstrBuilder buildInstr(unsigned Opc, ArrayRef<DstOp> DstOps,
H A DMachineIRBuilder.h1158 virtual MachineInstrBuilder buildInstr(unsigned Opc, ArrayRef<DstOp> DstOps,