Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCSEMIRBuilder.cpp118 ArrayRef<SrcOp> SrcOps, in profileEverything() argument
126 profileSrcOps(SrcOps, B); in profileEverything()
181 ArrayRef<SrcOp> SrcOps, in buildInstr() argument
187 assert(SrcOps.size() == 3 && "Invalid sources"); in buildInstr()
189 LLT SrcTy = SrcOps[1].getLLTTy(*getMRI()); in buildInstr()
194 SrcOps[0].getPredicate(), SrcOps[1].getReg(), SrcOps[2].getReg(), in buildInstr()
221 assert(SrcOps.size() == 2 && "Invalid sources"); in buildInstr()
223 LLT SrcTy = SrcOps[0].getLLTTy(*getMRI()); in buildInstr()
232 Opc, SrcOps[0].getReg(), SrcOps[1].getReg(), *getMRI()); in buildInstr()
239 Opc, SrcOps[0].getReg(), SrcOps[1].getReg(), *getMRI())) in buildInstr()
[all …]
H A DMachineIRBuilder.cpp676 ArrayRef<SrcOp> SrcOps) const { in getOpcodeForMerge()
678 if (SrcOps[0].getLLTTy(*getMRI()).isVector()) in getOpcodeForMerge()
1241 ArrayRef<SrcOp> SrcOps, in buildInstr() argument
1248 assert(SrcOps.size() == 3 && "Invalid select"); in buildInstr()
1250 DstOps[0].getLLTTy(*getMRI()), SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
1251 SrcOps[1].getLLTTy(*getMRI()), SrcOps[2].getLLTTy(*getMRI())); in buildInstr()
1258 assert(SrcOps.size() == 1 && "Invalid Srcs"); in buildInstr()
1260 SrcOps[0].getLLTTy(*getMRI())); in buildInstr()
1282 assert(SrcOps.size() == 2 && "Invalid Srcs"); in buildInstr()
1284 SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DCSEMIRBuilder.h80 ArrayRef<SrcOp> SrcOps, std::optional<unsigned> Flags,
102 buildInstr(unsigned Opc, ArrayRef<DstOp> DstOps, ArrayRef<SrcOp> SrcOps,
H A DMachineIRBuilder.h240 unsigned getOpcodeForMerge(const DstOp &DstOp, ArrayRef<SrcOp> SrcOps) const;
2433 buildInstr(unsigned Opc, ArrayRef<DstOp> DstOps, ArrayRef<SrcOp> SrcOps,
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp71 SmallVector<SrcOp, 2> SrcOps; ///< Source registers. member
73 std::initializer_list<SrcOp> SrcOps) in ShuffleVectorPseudo()
74 : Opc(Opc), Dst(Dst), SrcOps(SrcOps){}; in ShuffleVectorPseudo()
386 MIRBuilder.buildInstr(MatchInfo.Opc, {MatchInfo.Dst}, MatchInfo.SrcOps); in applyShuffleVectorPseudo()
395 if (MatchInfo.SrcOps[2].getImm() == 0) in applyEXT()
396 MIRBuilder.buildCopy(MatchInfo.Dst, MatchInfo.SrcOps[0]); in applyEXT()
400 MIRBuilder.buildConstant(LLT::scalar(32), MatchInfo.SrcOps[2].getImm()); in applyEXT()
402 {MatchInfo.SrcOps[0], MatchInfo.SrcOps[1], Cst}); in applyEXT()
H A DAArch64InstructionSelector.cpp262 std::initializer_list<llvm::SrcOp> SrcOps,
4387 std::initializer_list<llvm::SrcOp> SrcOps, MachineIRBuilder &MIRBuilder, in emitInstr() argument
4392 auto MI = MIRBuilder.buildInstr(Opcode, DstOps, SrcOps); in emitInstr()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp4317 SmallVector<SDValue, 4> SrcOps; in collectConcatOps() local
4318 if (collectConcatOps(Src.getNode(), SrcOps, DAG) && in collectConcatOps()
4319 VT.getSizeInBits() > SrcOps[0].getValueSizeInBits() && in collectConcatOps()
4320 (VT.getSizeInBits() % SrcOps[0].getValueSizeInBits()) == 0 && in collectConcatOps()
4321 (Idx % SrcOps[0].getValueType().getVectorNumElements()) == 0) { in collectConcatOps()
4322 unsigned SubIdx = Idx / SrcOps[0].getValueType().getVectorNumElements(); in collectConcatOps()
4323 unsigned NumSubs = VT.getSizeInBits() / SrcOps[0].getValueSizeInBits(); in collectConcatOps()
4324 Ops.append(SrcOps.begin() + SubIdx, SrcOps.begin() + SubIdx + NumSubs); in collectConcatOps()
4530 SmallVector<SDValue> SrcOps(Ops); in getAVX512Node() local
4531 for (SDValue &Op : SrcOps) { in getAVX512Node()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp25108 SmallVector<SDValue, 4> SrcOps; in combineConcatVectorOfCasts() local
25113 SrcOps.push_back(Op.getOperand(0)); in combineConcatVectorOfCasts()
25143 SDValue NewConcat = DAG.getNode(ISD::CONCAT_VECTORS, DL, ConcatSrcVT, SrcOps); in combineConcatVectorOfCasts()