Home
last modified time | relevance | path

Searched refs:ByteProvider (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DByteProvider.h32 template <typename ISelOp> class ByteProvider {
34 ByteProvider(std::optional<ISelOp> Src, int64_t DestOffset, int64_t SrcOffset) in ByteProvider() function
58 ByteProvider() = default;
60 static ByteProvider getSrc(std::optional<ISelOp> Val, int64_t ByteOffset, in getSrc()
64 return ByteProvider(Val, ByteOffset, VectorOffset); in getSrc()
67 static ByteProvider getConstantZero() { in getConstantZero()
68 return ByteProvider<ISelOp>(std::nullopt, 0, 0); in getConstantZero()
74 bool hasSameSrc(const ByteProvider &Other) const { return Other.Src == Src; } in hasSameSrc()
76 bool operator==(const ByteProvider &Other) const {
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp12501 static const std::optional<ByteProvider<SDValue>>
12512 return ByteProvider<SDValue>::getSrc(Op, DestByte, SrcIndex); in calculateSrcByte()
12554 return ByteProvider<SDValue>::getSrc(Op, DestByte, SrcIndex); in calculateSrcByte()
12566 static const std::optional<ByteProvider<SDValue>>
12622 return ByteProvider<SDValue>::getConstantZero(); in calculateByteProvider()
12681 : ByteProvider<SDValue>::getConstantZero(); in calculateByteProvider()
12702 ? ByteProvider<SDValue>::getConstantZero() in calculateByteProvider()
12729 ? std::optional<ByteProvider<SDValue>>( in calculateByteProvider()
12730 ByteProvider<SDValue>::getConstantZero()) in calculateByteProvider()
12769 ? std::optional<ByteProvider<SDValue>>( in calculateByteProvider()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp9128 using SDByteProvider = ByteProvider<SDNode *>;