Home
last modified time | relevance | path

Searched refs:CustomOperand (Results 1 – 4 of 4) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUAsmUtils.h28 template <class T> struct CustomOperand { struct
65 extern const CustomOperand<const MCSubtargetInfo &> Msg[];
75 extern const CustomOperand<const MCSubtargetInfo &> Opr[];
H A DAMDGPUAsmUtils.cpp39 const CustomOperand<const MCSubtargetInfo &> Msg[] = {
66 sizeof(Msg) / sizeof(CustomOperand<const MCSubtargetInfo &>));
90 const CustomOperand<const MCSubtargetInfo &> Opr[] = {
135 sizeof(Opr) / sizeof(CustomOperand<const MCSubtargetInfo &>));
H A DAMDGPUBaseInfo.cpp1338 static bool isValidOpr(int Idx, const CustomOperand<T> OpInfo[], int OpInfoSize, in isValidOpr()
1345 static int getOprIdx(std::function<bool(const CustomOperand<T> &)> Test, in getOprIdx()
1346 const CustomOperand<T> OpInfo[], int OpInfoSize, in getOprIdx()
1360 static int getOprIdx(const StringRef Name, const CustomOperand<T> OpInfo[], in getOprIdx()
1362 auto Test = [=](const CustomOperand<T> &Op) { return Op.Name == Name; }; in getOprIdx()
1367 static int getOprIdx(int Id, const CustomOperand<T> OpInfo[], int OpInfoSize, in getOprIdx()
1369 auto Test = [=](const CustomOperand<T> &Op) { in getOprIdx()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.td1175 class CustomOperand<ValueType Type, bit Optional = 0, string Name = NAME,
1190 : CustomOperand<Type, 1, Name, NamedIntOperandClass<Prefix, Name, ConvertMethod>>;
1201 : CustomOperand<i1, 1, Name, BitOperandClass<Id, Name>>;
1203 class DefaultOperand_0<CustomOperand Op>
1232 def flat_offset : CustomOperand<i16, 1, "FlatOffset">;
1258 def R128A16 : CustomOperand<i1, 1>;
1265 def FORMAT : CustomOperand<i8>;
1268 def Dim : CustomOperand<i8>;