Home
last modified time | relevance | path

Searched refs:EncodedOffset (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp946 int64_t EncodedOffset = getSMRDEncodedOffset(ST, ByteOffset); in isLegalSMRDImmOffset() local
948 isUInt<20>(EncodedOffset) : isUInt<8>(EncodedOffset); in isLegalSMRDImmOffset()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelDAGToDAG.cpp1331 int64_t EncodedOffset = AMDGPU::getSMRDEncodedOffset(*Subtarget, ByteOffset); in SelectSMRDOffset() local
1334 Offset = CurDAG->getTargetConstant(EncodedOffset, SL, MVT::i32); in SelectSMRDOffset()
1339 if (!isUInt<32>(EncodedOffset) || !isUInt<32>(ByteOffset)) in SelectSMRDOffset()
1342 if (Gen == AMDGPUSubtarget::SEA_ISLANDS && isUInt<32>(EncodedOffset)) { in SelectSMRDOffset()
1344 Offset = CurDAG->getTargetConstant(EncodedOffset, SL, MVT::i32); in SelectSMRDOffset()