Home
last modified time | relevance | path

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

12

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/
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-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp129 assert(Res.getLLTTy(*getMRI()).isPointer() && "expected ptr dst type"); in buildDynStackAlloc()
139 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildFrameIndex()
148 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildGlobalValue()
185 assert(Res.getLLTTy(*getMRI()).getScalarType().isPointer() && in buildPtrAdd()
223 assert(getMRI()->getType(Tgt).isPointer() && "invalid branch destination"); in buildBrIndirect()
230 assert(getMRI()->getType(TablePtr).isPointer() && in buildBrJT()
293 assert(!Ty.isPointer() && "invalid operand type"); in buildFConstant()
361 assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildLoadInstr()
391 assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildStore()
504 if (SrcTy.isPointer() && DstTy.isScalar()) in buildCast()
[all …]
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()
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()
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()
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-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/
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()
DMipsInstructionSelector.cpp126 assert((Ty.isScalar() || Ty.isPointer()) && TySize == 32 && in getRegClassForTypeOnBank()
193 (Ty.isPointer() && TySize == 32 && MemSizeInBytes == 4)) && in selectLoadStoreOpCode()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
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()
1124 if (!PtrTy.getScalarType().isPointer()) in verifyPreISelGenericInstruction()
1127 if (OffsetTy.getScalarType().isPointer()) in verifyPreISelGenericInstruction()
1140 if (!DstTy.getScalarType().isPointer()) in verifyPreISelGenericInstruction()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
DLowLevelType.cpp41 } else if (isPointer()) in print()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
DTargetCallingConv.h141 bool isPointer() const { return IsPointer; } in isPointer() function
/freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/
DInfoByHwMode.h140 bool isPointer() const { in isPointer() function
DCodeGenDAGPatterns.h227 bool isPointer() const { in isPointer() function
228 return getValueTypeByHwMode().isPointer(); in isPointer()
232 assert(isPointer()); in getPtrAddrSpace()
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-12-stable/contrib/llvm-project/clang/utils/TableGen/
DNeonEmitter.cpp186 bool isPointer() const { return Pointer; } in isPointer() function in __anonb0e659a70111::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()
DSveEmitter.cpp85 bool isPointer() const { return Pointer; } in isPointer() function in __anone2dd28250111::SVEType
393 if ((isChar() || isPointer()) && !isVoidPointer()) { in builtin_str()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Target/
DTargetCallingConv.td103 : CCIf<"(ArgFlags.isPointer() && ArgFlags.getPointerAddrSpace() == " # AS # ")", A> {}
107 class CCIfPtr<CCAction A> : CCIf<"ArgFlags.isPointer()", A> {}
/freebsd-12-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
DArchHandler.h108 virtual bool isPointer(const Reference &) = 0;
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
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
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
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
DX86RegisterBankInfo.cpp67 if ((Ty.isScalar() && !isFP) || Ty.isPointer()) { in getPartialMappingIdx()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
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()
DAArch64CallLowering.cpp153 if (Flags.isPointer()) in getStackValueStoreType()
267 if (Flags.isPointer()) in getStackValueStoreType()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h272 LegalityPredicate isPointer(unsigned TypeIdx);
275 LegalityPredicate isPointer(unsigned TypeIdx, unsigned AddrSpace);

12