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.h30 template <typename ISelOp> class ByteProvider {
32 ByteProvider(std::optional<ISelOp> Src, int64_t DestOffset, int64_t SrcOffset) in ByteProvider() function
64 ByteProvider() = default;
66 static ByteProvider getSrc(std::optional<ISelOp> Val, int64_t ByteOffset, in getSrc()
70 return ByteProvider(Val, ByteOffset, VectorOffset); in getSrc()
73 static ByteProvider getConstantZero() { in getConstantZero()
74 return ByteProvider<ISelOp>(std::nullopt, 0, 0); in getConstantZero()
80 bool hasSameSrc(const ByteProvider &Other) const { return Other.Src == Src; } in hasSameSrc()
82 bool operator==(const ByteProvider &Other) const {
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp11731 static const std::optional<ByteProvider<SDValue>>
11742 return ByteProvider<SDValue>::getSrc(Op, DestByte, SrcIndex); in calculateSrcByte()
11784 return ByteProvider<SDValue>::getSrc(Op, DestByte, SrcIndex); in calculateSrcByte()
11796 static const std::optional<ByteProvider<SDValue>>
11852 return ByteProvider<SDValue>::getConstantZero(); in calculateByteProvider()
11911 : ByteProvider<SDValue>::getConstantZero(); in calculateByteProvider()
11932 ? ByteProvider<SDValue>::getConstantZero() in calculateByteProvider()
11959 ? std::optional<ByteProvider<SDValue>>( in calculateByteProvider()
11960 ByteProvider<SDValue>::getConstantZero()) in calculateByteProvider()
11999 ? std::optional<ByteProvider<SDValue>>( in calculateByteProvider()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp8674 using SDByteProvider = ByteProvider<SDNode *>;