Searched refs:EncodedOffset (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelDAGToDAG.cpp | 1083 int64_t EncodedOffset) { in isLegalSMRDImmOffset() argument 1085 isUInt<8>(EncodedOffset) : isUInt<20>(EncodedOffset); in isLegalSMRDImmOffset() 1099 int64_t EncodedOffset = Gen < AMDGPUSubtarget::VOLCANIC_ISLANDS ? in SelectSMRDOffset() local 1102 if (isLegalSMRDImmOffset(Subtarget, EncodedOffset)) { in SelectSMRDOffset() 1103 Offset = CurDAG->getTargetConstant(EncodedOffset, SL, MVT::i32); in SelectSMRDOffset() 1108 if (!isUInt<32>(EncodedOffset) || !isUInt<32>(ByteOffset)) in SelectSMRDOffset() 1111 if (Gen == AMDGPUSubtarget::SEA_ISLANDS && isUInt<32>(EncodedOffset)) { in SelectSMRDOffset() 1113 Offset = CurDAG->getTargetConstant(EncodedOffset, SL, MVT::i32); in SelectSMRDOffset()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/Utils/ |
D | AMDGPUBaseInfo.cpp | 933 int64_t EncodedOffset = getSMRDEncodedOffset(ST, ByteOffset); in isLegalSMRDImmOffset() local 935 isUInt<20>(EncodedOffset) : isUInt<8>(EncodedOffset); in isLegalSMRDImmOffset()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelDAGToDAG.cpp | 1402 int64_t EncodedOffset = AMDGPU::getSMRDEncodedOffset(*Subtarget, ByteOffset); in SelectSMRDOffset() local 1405 Offset = CurDAG->getTargetConstant(EncodedOffset, SL, MVT::i32); in SelectSMRDOffset() 1410 if (!isUInt<32>(EncodedOffset) || !isUInt<32>(ByteOffset)) in SelectSMRDOffset() 1413 if (Gen == AMDGPUSubtarget::SEA_ISLANDS && isUInt<32>(EncodedOffset)) { in SelectSMRDOffset() 1415 Offset = CurDAG->getTargetConstant(EncodedOffset, SL, MVT::i32); in SelectSMRDOffset()
|