Home
last modified time | relevance | path

Searched refs:SdwaSel (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIPeepholeSDWA.cpp142 SdwaSel SrcSel;
149 SdwaSel SrcSel_ = DWORD, bool Abs_ = false, bool Neg_ = false, in SDWASrcOperand()
157 SdwaSel getSrcSel() const { return SrcSel; } in getSrcSel()
172 SdwaSel DstSel;
178 SdwaSel DstSel_ = DWORD, DstUnused DstUn_ = UNUSED_PAD) in SDWADstOperand()
184 SdwaSel getDstSel() const { return DstSel; } in getDstSel()
198 MachineOperand *PreserveOp, SdwaSel DstSel_ = DWORD) in SDWADstPreserveOperand()
225 static raw_ostream& operator<<(raw_ostream &OS, SdwaSel Sel) { in operator <<()
398 SdwaSel DstSel = static_cast<SdwaSel>( in convertToSDWA()
400 if (DstSel == AMDGPU::SDWA::SdwaSel::WORD_1 && in convertToSDWA()
[all …]
DSIDefines.h608 enum SdwaSel : unsigned { enum
DSIInstrInfo.cpp882 .addImm(DstLow ? AMDGPU::SDWA::SdwaSel::WORD_0 in copyPhysReg()
883 : AMDGPU::SDWA::SdwaSel::WORD_1) in copyPhysReg()
885 .addImm(SrcLow ? AMDGPU::SDWA::SdwaSel::WORD_0 in copyPhysReg()
886 : AMDGPU::SDWA::SdwaSel::WORD_1) in copyPhysReg()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIPeepholeSDWA.cpp142 SdwaSel SrcSel;
149 SdwaSel SrcSel_ = DWORD, bool Abs_ = false, bool Neg_ = false, in SDWASrcOperand()
157 SdwaSel getSrcSel() const { return SrcSel; } in getSrcSel()
172 SdwaSel DstSel;
178 SdwaSel DstSel_ = DWORD, DstUnused DstUn_ = UNUSED_PAD) in SDWADstOperand()
184 SdwaSel getDstSel() const { return DstSel; } in getDstSel()
198 MachineOperand *PreserveOp, SdwaSel DstSel_ = DWORD) in SDWADstPreserveOperand()
225 static raw_ostream& operator<<(raw_ostream &OS, SdwaSel Sel) { in operator <<()
398 SdwaSel DstSel = static_cast<SdwaSel>( in convertToSDWA()
400 if (DstSel == AMDGPU::SDWA::SdwaSel::WORD_1 && in convertToSDWA()
[all …]
DSIDefines.h413 enum SdwaSel : unsigned { enum
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUInstPrinter.cpp820 case SdwaSel::BYTE_0: O << "BYTE_0"; break; in printSDWASel()
821 case SdwaSel::BYTE_1: O << "BYTE_1"; break; in printSDWASel()
822 case SdwaSel::BYTE_2: O << "BYTE_2"; break; in printSDWASel()
823 case SdwaSel::BYTE_3: O << "BYTE_3"; break; in printSDWASel()
824 case SdwaSel::WORD_0: O << "WORD_0"; break; in printSDWASel()
825 case SdwaSel::WORD_1: O << "WORD_1"; break; in printSDWASel()
826 case SdwaSel::DWORD: O << "DWORD"; break; in printSDWASel()
/external/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUInstPrinter.cpp918 case SdwaSel::BYTE_0: O << "BYTE_0"; break; in printSDWASel()
919 case SdwaSel::BYTE_1: O << "BYTE_1"; break; in printSDWASel()
920 case SdwaSel::BYTE_2: O << "BYTE_2"; break; in printSDWASel()
921 case SdwaSel::BYTE_3: O << "BYTE_3"; break; in printSDWASel()
922 case SdwaSel::WORD_0: O << "WORD_0"; break; in printSDWASel()
923 case SdwaSel::WORD_1: O << "WORD_1"; break; in printSDWASel()
924 case SdwaSel::DWORD: O << "DWORD"; break; in printSDWASel()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp2679 if (!Op.isImm() || Op.getImm() != AMDGPU::SDWA::SdwaSel::DWORD) { in checkTargetMatchPredicate()
6803 .Case("BYTE_0", SdwaSel::BYTE_0) in parseSDWASel()
6804 .Case("BYTE_1", SdwaSel::BYTE_1) in parseSDWASel()
6805 .Case("BYTE_2", SdwaSel::BYTE_2) in parseSDWASel()
6806 .Case("BYTE_3", SdwaSel::BYTE_3) in parseSDWASel()
6807 .Case("WORD_0", SdwaSel::WORD_0) in parseSDWASel()
6808 .Case("WORD_1", SdwaSel::WORD_1) in parseSDWASel()
6809 .Case("DWORD", SdwaSel::DWORD) in parseSDWASel()
6927 …addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySdwaDstSel, SdwaSel::DWORD); in cvtSDWA()
6929 …addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySdwaSrc0Sel, SdwaSel::DWORD… in cvtSDWA()
[all …]
/external/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp2906 if (!Op.isImm() || Op.getImm() != AMDGPU::SDWA::SdwaSel::DWORD) { in checkTargetMatchPredicate()
7618 .Case("BYTE_0", SdwaSel::BYTE_0) in parseSDWASel()
7619 .Case("BYTE_1", SdwaSel::BYTE_1) in parseSDWASel()
7620 .Case("BYTE_2", SdwaSel::BYTE_2) in parseSDWASel()
7621 .Case("BYTE_3", SdwaSel::BYTE_3) in parseSDWASel()
7622 .Case("WORD_0", SdwaSel::WORD_0) in parseSDWASel()
7623 .Case("WORD_1", SdwaSel::WORD_1) in parseSDWASel()
7624 .Case("DWORD", SdwaSel::DWORD) in parseSDWASel()
7742 …addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySdwaDstSel, SdwaSel::DWORD); in cvtSDWA()
7744 …addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySdwaSrc0Sel, SdwaSel::DWORD… in cvtSDWA()
[all …]