Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalityPredicates.cpp96 const LLT QueryTy = Query.Types[TypeIdx]; in elementTypeIs() local
97 return QueryTy.isVector() && QueryTy.getElementType() == EltTy; in elementTypeIs()
104 const LLT QueryTy = Query.Types[TypeIdx]; in scalarNarrowerThan() local
105 return QueryTy.isScalar() && QueryTy.getSizeInBits() < Size; in scalarNarrowerThan()
112 const LLT QueryTy = Query.Types[TypeIdx]; in scalarWiderThan() local
113 return QueryTy.isScalar() && QueryTy.getSizeInBits() > Size; in scalarWiderThan()
136 const LLT QueryTy = Query.Types[TypeIdx]; in scalarOrEltNarrowerThan() local
144 const LLT QueryTy = Query.Types[TypeIdx]; in scalarOrEltWiderThan() local
160 return QueryTy.isScalar() && QueryTy.getSizeInBits() % Size != 0; in sizeNotMultipleOf()
167 return QueryTy.isScalar() && in sizeNotPow2()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/GISel/
H A DPPCLegalizerInfo.cpp25 const LLT QueryTy = Query.Types[TypeIdx]; in isRegisterType() local
26 unsigned TypeSize = QueryTy.getSizeInBits(); in isRegisterType()
32 if (QueryTy.isVector()) { in isRegisterType()
33 const int EltSize = QueryTy.getElementType().getSizeInBits(); in isRegisterType()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h989 const LLT QueryTy = Query.Types[TypeIdx]; in minScalarIf()
990 return QueryTy.isScalar() && in minScalarIf()
991 QueryTy.getSizeInBits() < Ty.getSizeInBits() && in minScalarIf()
1025 const LLT QueryTy = Query.Types[TypeIdx]; in maxScalarIf()
1026 return QueryTy.isScalar() && in maxScalarIf()
1027 QueryTy.getSizeInBits() > Ty.getSizeInBits() && in maxScalarIf()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp207 const LLT QueryTy = Query.Types[TypeIdx]; in vectorSmallerThan() local
208 return QueryTy.isVector() && QueryTy.getSizeInBits() < Size; in vectorSmallerThan()
214 const LLT QueryTy = Query.Types[TypeIdx]; in vectorWiderThan() local
215 return QueryTy.isVector() && QueryTy.getSizeInBits() > Size; in vectorWiderThan()
221 const LLT QueryTy = Query.Types[TypeIdx]; in numElementsNotEven() local
222 return QueryTy.isVector() && QueryTy.getNumElements() % 2 != 0; in numElementsNotEven()
271 const LLT QueryTy = Query.Types[TypeIdx]; in elementTypeIsLegal() local
272 if (!QueryTy.isVector()) in elementTypeIsLegal()
274 const LLT EltTy = QueryTy.getElementType(); in elementTypeIsLegal()