Searched refs:isPointer (Results 1 - 25 of 40) sorted by relevance

12

/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLowLevelType.h43 return LLT{/*isPointer=*/false, /*isVector=*/false, /*isScalar=*/true,
51 return LLT{/*isPointer=*/true, /*isVector=*/false, /*isScalar=*/false,
58 return LLT{/*isPointer=*/false, /*isVector=*/true, /*isScalar=*/false,
66 return LLT{ScalarTy.isPointer(),
71 ScalarTy.isPointer() ? ScalarTy.getAddressSpace() : 0};
126 explicit constexpr LLT(bool isPointer, bool isVector, bool isScalar, argument
130 init(isPointer, isVector, isScalar, EC, SizeInBits, AddressSpace);
141 constexpr bool isPointer() const { function in class:llvm::LLT
184 if (isPointer() || isScalar())
212 assert(!getScalarType().isPointer()
[all...]
H A DTargetCallingConv.h141 bool isPointer() const { return IsPointer; } function in struct:llvm::ISD::ArgFlagsTy
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalityPredicates.cpp79 LegalityPredicate LegalityPredicates::isPointer(unsigned TypeIdx) {
81 return Query.Types[TypeIdx].isPointer();
85 LegalityPredicate LegalityPredicates::isPointer(unsigned TypeIdx,
89 return Ty.isPointer() && Ty.getAddressSpace() == AddrSpace;
H A DMachineIRBuilder.cpp137 assert(Res.getLLTTy(*getMRI()).isPointer() && "expected ptr dst type");
147 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type");
156 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type");
169 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type");
202 assert(Res.getLLTTy(*getMRI()).getScalarType().isPointer() &&
290 assert(getMRI()->getType(Tgt).isPointer() && "invalid branch destination");
297 assert(getMRI()->getType(TablePtr).isPointer() &&
351 assert(!Ty.isPointer() && "invalid operand type");
422 assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type");
452 assert(Addr.getLLTTy(*getMRI()).isPointer()
[all...]
H A DLegacyLegalizerInfo.cpp125 if (Type.isPointer())
204 if (Aspect.Type.isScalar() || Aspect.Type.isPointer())
304 assert(Aspect.Type.isScalar() || Aspect.Type.isPointer());
308 if (Aspect.Type.isPointer() &&
314 Aspect.Type.isPointer()
H A DCallLowering.cpp382 if (OrigTy.isPointer()) {
454 if (RealDstEltTy.isPointer()) {
1139 if (Flags.isPointer()) {
1193 if (ValRegTy.isPointer()) {
1264 return (SrcTy.isPointer() && DstTy.isScalar()) ||
1265 (DstTy.isPointer() && SrcTy.isScalar());
H A DLegalizerHelper.cpp633 if (OpLLT.isPointer())
1703 if (Ty.isPointer()) {
1713 if (EltTy.isPointer())
1823 else if (DstTy.isPointer())
1919 if (SrcTy.isPointer()) {
1960 if (SrcTy.isPointer()) {
2041 if (SrcTy.isPointer()) {
2053 if (DstTy.isPointer())
3422 assert(DstTy.isPointer() && "expected pointer");
3505 if (SrcTy.isPointer()) {
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowLevelType.cpp41 } else if (isPointer())
H A DMachineVerifier.cpp1180 if (!PtrTy.isPointer())
1239 if (SrcTy.isPointer() != DstTy.isPointer())
1264 if (!DstTy.isPointer())
1266 if (SrcTy.isPointer())
1269 if (!SrcTy.isPointer())
1271 if (DstTy.isPointer())
1275 if (!SrcTy.isPointer() || !DstTy.isPointer())
1292 if (!PtrTy.getScalarType().isPointer())
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsRegisterBankInfo.cpp181 assert(!MRI.getType(Reg).isPointer() &&
196 assert(!MRI.getType(Reg).isPointer() &&
505 if (!Op0Ty.isPointer())
525 if (!Op0Ty.isPointer())
545 if (!Op0Ty.isPointer())
566 if (!Op0Ty.isPointer())
712 assert(MRI.getType(Dest).isPointer() && "Unexpected operand type.");
H A DMipsInstructionSelector.cpp126 assert((Ty.isScalar() || Ty.isPointer()) && TySize == 32 &&
193 (Ty.isPointer() && TySize == 32 && MemSizeInBytes == 4)) &&
/freebsd-current/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVLegalizerInfo.cpp308 MRI.getType(Reg0).isPointer() && MRI.getType(Reg1).isPointer()) {
/freebsd-current/contrib/llvm-project/llvm/utils/TableGen/
H A DInfoByHwMode.h176 bool isPointer() const { function in struct:llvm::ValueTypeByHwMode
H A DGlobalISelMatchTable.cpp361 if (Ty.isPointer()) {
383 if (Ty.isPointer() && Ty.getSizeInBits() > 0) {
404 if (Ty.isPointer() != Other.Ty.isPointer())
405 return Ty.isPointer() < Other.Ty.isPointer();
407 if (Ty.isPointer() && Ty.getAddressSpace() != Other.Ty.getAddressSpace())
1376 else if (VTy.isPointer())
H A DCodeGenDAGPatterns.h228 bool isPointer() const { function in struct:llvm::TypeSetByHwMode
229 return getValueTypeByHwMode().isPointer();
233 assert(isPointer());
/freebsd-current/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86RegisterBankInfo.cpp67 if ((Ty.isScalar() && !isFP) || Ty.isPointer()) {
/freebsd-current/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp185 bool isPointer() const { return Pointer; } function in class:__anon1092::Type
186 bool isValue() const { return !isVoid() && !isPointer(); }
402 if (Type.isImmediate() || Type.isPointer() ||
648 if (isPointer()) {
676 if (isChar() && !isPointer() && isSigned())
1275 if (getParamType(I).isPointer())
2105 if (Type.isPointer()) {
H A DSveEmitter.cpp93 bool isPointer() const { return Pointer; } function in class:__anon1095::SVEType
453 if ((isChar() || isPointer()) && !isVoidPointer()) {
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h286 LegalityPredicate isPointer(unsigned TypeIdx);
289 LegalityPredicate isPointer(unsigned TypeIdx, unsigned AddrSpace);
1087 if (T.isVector() && T.getElementType().isPointer())
/freebsd-current/contrib/llvm-project/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h317 bool isPointer() const { return IsPointer; } function in class:clang::RISCV::RVVType
/freebsd-current/contrib/llvm-project/clang/lib/Sema/
H A DSemaRISCVVectorLookup.cpp147 if (Type->isPointer())
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp345 return EltTy.isPointer() && EltTy.getAddressSpace() == 0;
520 return Ty.isVector() && !SrcTy.getElementType().isPointer() &&
567 return Ty.isVector() && !SrcTy.getElementType().isPointer() &&
1655 if (!ValTy.isVector() || !ValTy.getElementType().isPointer() ||
H A DAArch64CallLowering.cpp155 if (Flags.isPointer())
281 if (Flags.isPointer())
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCallLowering.cpp80 if (Ty.isPointer())
434 if (SplitArg.Flags[0].isPointer()) {
H A DAMDGPULegalizerInfo.cpp393 if (Ty.isPointer() && Ty.getAddressSpace() == AMDGPUAS::BUFFER_RESOURCE)
420 if (EltTy.isPointer())
677 .legalIf(isPointer(0))
847 .legalIf(isPointer(0))
1129 .legalIf(all(isPointer(0), sameSize(0, 1)))
1162 .legalIf(all(typeInSet(0, {S1, S32}), isPointer(1)));
1642 .legalIf(all(isPointer(0), typeInSet(1, {S1, S32})));
1708 if (EltTy.isPointer() && EltSize > 64)
2624 if (EltTy.isPointer() && EltTy.getSizeInBits() > 64) {
2677 if (EltTy.isPointer()
[all...]

Completed in 224 milliseconds

12