Home
last modified time | relevance | path

Searched refs:SrcOps (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp947 ArrayRef<SrcOp> SrcOps, in buildInstr() argument
954 assert(SrcOps.size() == 3 && "Invalid select"); in buildInstr()
956 DstOps[0].getLLTTy(*getMRI()), SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
957 SrcOps[1].getLLTTy(*getMRI()), SrcOps[2].getLLTTy(*getMRI())); in buildInstr()
976 assert(SrcOps.size() == 2 && "Invalid Srcs"); in buildInstr()
978 SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
979 SrcOps[1].getLLTTy(*getMRI())); in buildInstr()
986 assert(SrcOps.size() == 2 && "Invalid Srcs"); in buildInstr()
988 SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
989 SrcOps[1].getLLTTy(*getMRI())); in buildInstr()
[all …]
DCSEMIRBuilder.cpp91 ArrayRef<SrcOp> SrcOps, in profileEverything() argument
99 profileSrcOps(SrcOps, B); in profileEverything()
139 ArrayRef<SrcOp> SrcOps, in buildInstr() argument
158 assert(SrcOps.size() == 2 && "Invalid sources"); in buildInstr()
160 if (Optional<APInt> Cst = ConstantFoldBinOp(Opc, SrcOps[0].getReg(), in buildInstr()
161 SrcOps[1].getReg(), *getMRI())) in buildInstr()
167 assert(SrcOps.size() == 2 && "Invalid src ops"); in buildInstr()
169 const SrcOp &Src0 = SrcOps[0]; in buildInstr()
170 const SrcOp &Src1 = SrcOps[1]; in buildInstr()
179 return MachineIRBuilder::buildInstr(Opc, DstOps, SrcOps, Flag); in buildInstr()
[all …]
DLegalizerHelper.cpp2380 SmallVector<SrcOp, 4> SrcOps; in fewerElementsVectorBasic() local
2384 SrcOps.push_back(PartOpReg); in fewerElementsVectorBasic()
2388 MIRBuilder.buildInstr(Opc, {PartDstReg}, SrcOps, Flags); in fewerElementsVectorBasic()
2396 SmallVector<SrcOp, 4> SrcOps; in fewerElementsVectorBasic() local
2401 SrcOps.push_back(PartOpReg); in fewerElementsVectorBasic()
2405 MIRBuilder.buildInstr(Opc, {PartDstReg}, SrcOps, Flags); in fewerElementsVectorBasic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DConstantFoldingMIRBuilder.h29 ArrayRef<SrcOp> SrcOps,
48 assert(SrcOps.size() == 2 && "Invalid src ops");
50 const SrcOp &Src0 = SrcOps[0];
51 const SrcOp &Src1 = SrcOps[1];
59 assert(SrcOps.size() == 2 && "Invalid src ops");
61 const SrcOp &Src0 = SrcOps[0];
62 const SrcOp &Src1 = SrcOps[1];
69 return MachineIRBuilder::buildInstr(Opc, DstOps, SrcOps);
DCSEMIRBuilder.h73 ArrayRef<SrcOp> SrcOps, Optional<unsigned> Flags,
95 ArrayRef<SrcOp> SrcOps,
DMachineIRBuilder.h1481 ArrayRef<SrcOp> SrcOps,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp20573 SmallVectorImpl<SDValue> &SrcOps) { in matchScalarReduction() argument
20616 SrcOps.push_back(Src); in matchScalarReduction()
34082 ArrayRef<SDValue> SrcOps, int SrcOpIndex, SDValue Root, in combineX86ShufflesRecursively() argument
34097 SDValue Op = SrcOps[SrcOpIndex]; in combineX86ShufflesRecursively()
34151 Ops.append(SrcOps.begin(), SrcOps.end()); in combineX86ShufflesRecursively()
40294 SmallVector<SDValue, 2> SrcOps; in combineAnd() local
40295 if (matchScalarReduction(SDValue(N, 0), ISD::AND, SrcOps) && in combineAnd()
40296 SrcOps.size() == 1) { in combineAnd()
40299 unsigned NumElts = SrcOps[0].getValueType().getVectorNumElements(); in combineAnd()
40301 SDValue Mask = combineBitcastvxi1(DAG, MaskVT, SrcOps[0], dl, Subtarget); in combineAnd()
[all …]