Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCSEMIRBuilder.cpp90 void CSEMIRBuilder::profileEverything(unsigned Opc, ArrayRef<DstOp> DstOps, in profileEverything() argument
97 profileDstOps(DstOps, B); in profileEverything()
114 bool CSEMIRBuilder::checkCopyToDefsPossible(ArrayRef<DstOp> DstOps) { in checkCopyToDefsPossible() argument
115 if (DstOps.size() == 1) in checkCopyToDefsPossible()
118 return std::all_of(DstOps.begin(), DstOps.end(), [](const DstOp &Op) { in checkCopyToDefsPossible()
125 CSEMIRBuilder::generateCopiesIfRequired(ArrayRef<DstOp> DstOps, in generateCopiesIfRequired() argument
127 assert(checkCopyToDefsPossible(DstOps) && in generateCopiesIfRequired()
129 if (DstOps.size() == 1) { in generateCopiesIfRequired()
130 const DstOp &Op = DstOps[0]; in generateCopiesIfRequired()
138 ArrayRef<DstOp> DstOps, in buildInstr() argument
[all …]
DMachineIRBuilder.cpp946 ArrayRef<DstOp> DstOps, in buildInstr() argument
953 assert(DstOps.size() == 1 && "Invalid select"); in buildInstr()
956 DstOps[0].getLLTTy(*getMRI()), SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
975 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
977 validateBinaryOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
985 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
987 validateShiftOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
995 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
997 validateTruncExt(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1002 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
[all …]
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCSEMIRBuilder.cpp105 void CSEMIRBuilder::profileEverything(unsigned Opc, ArrayRef<DstOp> DstOps, in profileEverything() argument
112 profileDstOps(DstOps, B); in profileEverything()
129 bool CSEMIRBuilder::checkCopyToDefsPossible(ArrayRef<DstOp> DstOps) { in checkCopyToDefsPossible() argument
130 if (DstOps.size() == 1) in checkCopyToDefsPossible()
133 return std::all_of(DstOps.begin(), DstOps.end(), [](const DstOp &Op) { in checkCopyToDefsPossible()
140 CSEMIRBuilder::generateCopiesIfRequired(ArrayRef<DstOp> DstOps, in generateCopiesIfRequired() argument
142 assert(checkCopyToDefsPossible(DstOps) && in generateCopiesIfRequired()
144 if (DstOps.size() == 1) { in generateCopiesIfRequired()
145 const DstOp &Op = DstOps[0]; in generateCopiesIfRequired()
168 ArrayRef<DstOp> DstOps, in buildInstr() argument
[all …]
DMachineIRBuilder.cpp975 ArrayRef<DstOp> DstOps, in buildInstr() argument
982 assert(DstOps.size() == 1 && "Invalid select"); in buildInstr()
985 DstOps[0].getLLTTy(*getMRI()), SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
992 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
994 validateUnaryOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1016 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1018 validateBinaryOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1028 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1030 validateShiftOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1038 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DConstantFoldingMIRBuilder.h28 MachineInstrBuilder buildInstr(unsigned Opc, ArrayRef<DstOp> DstOps,
47 assert(DstOps.size() == 1 && "Invalid dst ops");
49 const DstOp &Dst = DstOps[0];
58 assert(DstOps.size() == 1 && "Invalid dst ops");
60 const DstOp &Dst = DstOps[0];
69 return MachineIRBuilder::buildInstr(Opc, DstOps, SrcOps);
DCSEMIRBuilder.h72 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,
DMachineIRBuilder.h1480 virtual MachineInstrBuilder buildInstr(unsigned Opc, ArrayRef<DstOp> DstOps,
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DConstantFoldingMIRBuilder.h28 MachineInstrBuilder buildInstr(unsigned Opc, ArrayRef<DstOp> DstOps,
47 assert(DstOps.size() == 1 && "Invalid dst ops");
49 const DstOp &Dst = DstOps[0];
58 assert(DstOps.size() == 1 && "Invalid dst ops");
60 const DstOp &Dst = DstOps[0];
69 return MachineIRBuilder::buildInstr(Opc, DstOps, SrcOps);
DCSEMIRBuilder.h72 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,
DMachineIRBuilder.h1795 virtual MachineInstrBuilder buildInstr(unsigned Opc, ArrayRef<DstOp> DstOps,
/external/llvm-project/llvm/lib/Target/AArch64/GISel/
DAArch64InstructionSelector.cpp184 std::initializer_list<llvm::DstOp> DstOps,
4008 unsigned Opcode, std::initializer_list<llvm::DstOp> DstOps, in emitInstr() argument
4014 auto MI = MIRBuilder.buildInstr(Opcode, DstOps, SrcOps); in emitInstr()