Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DLowLevelTypeImpl.h67 return LLT{ScalarTy.isPointer(), /*isVector=*/true, /*isScalar=*/false, in vector()
70 ScalarTy.isPointer() ? ScalarTy.getAddressSpace() : 0}; in vector()
108 explicit LLT(bool isPointer, bool isVector, bool isScalar, ElementCount EC, in LLT() argument
110 init(isPointer, isVector, isScalar, EC, SizeInBits, AddressSpace); in LLT()
121 bool isPointer() const { return isValid() && IsPointer && !IsVector; } in isPointer() function
154 if (isPointer() || isScalar()) in getSizeInBits()
182 assert(!getScalarType().isPointer() && in changeElementSize()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalityPredicates.cpp79 LegalityPredicate LegalityPredicates::isPointer(unsigned TypeIdx) { in isPointer() function in LegalityPredicates
81 return Query.Types[TypeIdx].isPointer(); in isPointer()
85 LegalityPredicate LegalityPredicates::isPointer(unsigned TypeIdx, in isPointer() function in LegalityPredicates
89 return Ty.isPointer() && Ty.getAddressSpace() == AddrSpace; in isPointer()
H A DMachineIRBuilder.cpp230 assert(getMRI()->getType(TablePtr).isPointer() && in buildBrJT()
293 assert(!Ty.isPointer() && "invalid operand type"); in buildFConstant()
504 if (SrcTy.isPointer() && DstTy.isScalar()) in buildCast()
506 else if (DstTy.isPointer() && SrcTy.isScalar()) in buildCast()
509 assert(!SrcTy.isPointer() && !DstTy.isPointer() && "n G_ADDRCAST yet"); in buildCast()
795 assert(AddrTy.isPointer() && "invalid operand type"); in buildAtomicCmpXchgWithSuccess()
821 assert(AddrTy.isPointer() && "invalid operand type"); in buildAtomicCmpXchg()
846 assert(AddrTy.isPointer() && "invalid operand type"); in buildAtomicRMW()
984 if (ResTy.isScalar() || ResTy.isPointer()) in validateSelectOp()
1101 if (Op0Ty.isScalar() || Op0Ty.isPointer()) in buildInstr()
[all …]
H A DLegacyLegalizerInfo.cpp122 if (Type.isPointer()) in computeTables()
201 if (Aspect.Type.isScalar() || Aspect.Type.isPointer()) in getAspectAction()
301 assert(Aspect.Type.isScalar() || Aspect.Type.isPointer()); in findScalarLegalAction()
305 if (Aspect.Type.isPointer() && in findScalarLegalAction()
311 Aspect.Type.isPointer() in findScalarLegalAction()
H A DCallLowering.cpp342 if (OrigTy.isPointer()) { in buildCopyFromRegs()
413 if (RealDstEltTy.isPointer()) { in buildCopyFromRegs()
1024 if (Flags.isPointer()) { in getStackValueStoreType()
1078 if (ValRegTy.isPointer()) { in extendRegister()
1150 return (SrcTy.isPointer() && DstTy.isScalar()) || in isCopyCompatibleType()
1151 (DstTy.isScalar() && SrcTy.isPointer()); in isCopyCompatibleType()
H A DLegalizerHelper.cpp606 if (OpLLT.isPointer()) in createMemLibcall()
1323 if (Ty.isPointer()) { in coerceToScalar()
1333 if (EltTy.isPointer()) in coerceToScalar()
1465 else if (DstTy.isPointer()) in widenScalarMergeValues()
1594 if (SrcTy.isPointer()) { in widenScalarUnmergeValues()
1635 if (SrcTy.isPointer()) { in widenScalarUnmergeValues()
1720 if (SrcTy.isPointer()) { in widenScalarExtract()
1732 if (DstTy.isPointer()) in widenScalarExtract()
6584 if (DstTy.isPointer()) { in lowerMergeValues()
6604 if (DstTy.isPointer()) in lowerUnmergeValues()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsRegisterBankInfo.cpp183 assert(!MRI.getType(Reg).isPointer() && in addDefUses()
198 assert(!MRI.getType(Reg).isPointer() && in addUseDef()
507 if (!Op0Ty.isPointer()) in getInstrMapping()
527 if (!Op0Ty.isPointer()) in getInstrMapping()
547 if (!Op0Ty.isPointer()) in getInstrMapping()
568 if (!Op0Ty.isPointer()) in getInstrMapping()
708 assert(MRI.getType(Dest).isPointer() && "Unexpected operand type."); in setRegBank()
H A DMipsInstructionSelector.cpp126 assert((Ty.isScalar() || Ty.isPointer()) && TySize == 32 && in getRegClassForTypeOnBank()
193 (Ty.isPointer() && TySize == 32 && MemSizeInBytes == 4)) && in selectLoadStoreOpCode()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineVerifier.cpp1024 if (!PtrTy.isPointer()) in verifyPreISelGenericInstruction()
1071 if (SrcTy.isPointer() != DstTy.isPointer()) in verifyPreISelGenericInstruction()
1096 if (!DstTy.isPointer()) in verifyPreISelGenericInstruction()
1098 if (SrcTy.isPointer()) in verifyPreISelGenericInstruction()
1101 if (!SrcTy.isPointer()) in verifyPreISelGenericInstruction()
1103 if (DstTy.isPointer()) in verifyPreISelGenericInstruction()
1107 if (!SrcTy.isPointer() || !DstTy.isPointer()) in verifyPreISelGenericInstruction()
1168 if (DstElTy.isPointer() || SrcElTy.isPointer()) in verifyPreISelGenericInstruction()
1363 if (!DstTy.isPointer()) in verifyPreISelGenericInstruction()
1501 if (!DstPtrTy.isPointer() || !SrcPtrTy.isPointer()) { in verifyPreISelGenericInstruction()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DLowLevelType.cpp41 } else if (isPointer()) in print()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetCallingConv.h141 bool isPointer() const { return IsPointer; } in isPointer() function
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DInfoByHwMode.h140 bool isPointer() const { in isPointer() function
H A DCodeGenDAGPatterns.h227 bool isPointer() const { in isPointer() function
228 return getValueTypeByHwMode().isPointer(); in isPointer()
232 assert(isPointer()); in getPtrAddrSpace()
H A DGlobalISelEmitter.cpp126 if (Ty.isPointer()) { in emitCxxEnumValue()
148 if (Ty.isPointer() && Ty.getSizeInBits() > 0) { in emitCxxConstructorCall()
171 if (Ty.isPointer() != Other.Ty.isPointer()) in operator <()
172 return Ty.isPointer() < Other.Ty.isPointer(); in operator <()
174 if (Ty.isPointer() && Ty.getAddressSpace() != Other.Ty.getAddressSpace()) in operator <()
1739 else if (VTy.isPointer()) in addTypeCheckPredicate()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetCallingConv.td103 : CCIf<"(ArgFlags.isPointer() && ArgFlags.getPointerAddrSpace() == " # AS # ")", A> {}
107 class CCIfPtr<CCAction A> : CCIf<"ArgFlags.isPointer()", A> {}
/freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp186 bool isPointer() const { return Pointer; } in isPointer() function in __anonf5d68bc30111::Type
187 bool isValue() const { return !isVoid() && !isPointer(); } in isValue()
401 if (Type.isImmediate() || Type.isPointer() || in Intrinsic()
640 if (isPointer()) { in builtin_str()
668 if (isChar() && !isPointer() && isSigned()) in builtin_str()
1254 if (getParamType(I).isPointer()) in emitShadowedArgs()
2053 if (Type.isPointer()) { in genOverloadTypeCheckCode()
H A DSveEmitter.cpp85 bool isPointer() const { return Pointer; } in isPointer() function in __anon1b4186c10111::SVEType
393 if ((isChar() || isPointer()) && !isVoidPointer()) { in builtin_str()
/freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DArchHandler.h108 virtual bool isPointer(const Reference &) = 0;
H A DArchHandler_x86.cpp45 bool isPointer(const Reference &) override;
239 bool ArchHandler_x86::isPointer(const Reference &ref) { in isPointer() function in lld::mach_o::ArchHandler_x86
H A DArchHandler_x86_64.cpp142 bool isPointer(const Reference &) override;
347 bool ArchHandler_x86_64::isPointer(const Reference &ref) { in isPointer() function in lld::mach_o::ArchHandler_x86_64
H A DArchHandler_arm64.cpp96 bool isPointer(const Reference &) override;
322 bool ArchHandler_arm64::isPointer(const Reference &ref) { in isPointer() function in lld::mach_o::ArchHandler_arm64
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterBankInfo.cpp67 if ((Ty.isScalar() && !isFP) || Ty.isPointer()) { in getPartialMappingIdx()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp283 return EltTy.isPointer() && EltTy.getAddressSpace() == 0; in AArch64LegalizerInfo()
391 return Ty.isVector() && !SrcTy.getElementType().isPointer() && in AArch64LegalizerInfo()
993 if (!ValTy.isVector() || !ValTy.getElementType().isPointer() || in legalizeLoadStore()
H A DAArch64CallLowering.cpp153 if (Flags.isPointer()) in getStackValueStoreType()
267 if (Flags.isPointer()) in getStackValueStoreType()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h272 LegalityPredicate isPointer(unsigned TypeIdx);
275 LegalityPredicate isPointer(unsigned TypeIdx, unsigned AddrSpace);

12