Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DLowLevelTypeImpl.h66 return LLT{ScalarTy.isPointer(), /*isVector=*/true, /*isScalar=*/false, in vector()
69 ScalarTy.isPointer() ? ScalarTy.getAddressSpace() : 0}; in vector()
107 explicit LLT(bool isPointer, bool isVector, bool isScalar, ElementCount EC, in LLT() argument
109 init(isPointer, isVector, isScalar, EC, SizeInBits, AddressSpace); in LLT()
120 bool isPointer() const { return isValid() && IsPointer && !IsVector; } in isPointer() function
153 if (isPointer() || isScalar()) in getSizeInBits()
181 assert(!getScalarType().isPointer() && in changeElementSize()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp270 assert(getMRI()->getType(TablePtr).isPointer() && in buildBrJT()
321 assert(!Ty.isPointer() && "invalid operand type"); in buildFConstant()
549 if (SrcTy.isPointer() && DstTy.isScalar()) in buildCast()
551 else if (DstTy.isPointer() && SrcTy.isScalar()) in buildCast()
554 assert(!SrcTy.isPointer() && !DstTy.isPointer() && "n G_ADDRCAST yet"); in buildCast()
809 assert(AddrTy.isPointer() && "invalid operand type"); in buildAtomicCmpXchgWithSuccess()
835 assert(AddrTy.isPointer() && "invalid operand type"); in buildAtomicCmpXchg()
860 assert(AddrTy.isPointer() && "invalid operand type"); in buildAtomicRMW()
1012 if (ResTy.isScalar() || ResTy.isPointer()) in validateSelectOp()
1129 if (Op0Ty.isScalar() || Op0Ty.isPointer()) in buildInstr()
[all …]
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 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.cpp360 if (OrigTy.isPointer()) { in buildCopyFromRegs()
431 if (RealDstEltTy.isPointer()) { in buildCopyFromRegs()
1072 if (Flags.isPointer()) { in getStackValueStoreType()
1126 if (ValRegTy.isPointer()) { in extendRegister()
1198 return (SrcTy.isPointer() && DstTy.isScalar()) || in isCopyCompatibleType()
1199 (DstTy.isScalar() && SrcTy.isPointer()); in isCopyCompatibleType()
H A DLegalizerHelper.cpp683 if (OpLLT.isPointer()) in createMemLibcall()
1418 if (Ty.isPointer()) { in coerceToScalar()
1428 if (EltTy.isPointer()) in coerceToScalar()
1635 if (SrcTy.isPointer()) { in widenScalarUnmergeValues()
1676 if (SrcTy.isPointer()) { in widenScalarUnmergeValues()
1761 if (SrcTy.isPointer()) { in widenScalarExtract()
1773 if (DstTy.isPointer()) in widenScalarExtract()
3134 if (SrcTy.isPointer()) { in lowerStore()
6510 if (DstTy.isPointer()) { in lowerMergeValues()
6530 if (DstTy.isPointer()) in lowerUnmergeValues()
[all …]
/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DLowLevelTypeTest.cpp32 ASSERT_FALSE(Ty.isPointer()); in TEST()
79 ASSERT_FALSE(VTy.isPointer()); in TEST()
261 ASSERT_TRUE(Ty.isPointer()); in TEST()
268 ASSERT_TRUE(VTy.getElementType().isPointer()); in TEST()
298 ASSERT_FALSE(Ty.isPointer()); in TEST()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsRegisterBankInfo.cpp181 assert(!MRI.getType(Reg).isPointer() && in addDefUses()
196 assert(!MRI.getType(Reg).isPointer() && in addUseDef()
505 if (!Op0Ty.isPointer()) in getInstrMapping()
525 if (!Op0Ty.isPointer()) in getInstrMapping()
545 if (!Op0Ty.isPointer()) in getInstrMapping()
566 if (!Op0Ty.isPointer()) in getInstrMapping()
706 assert(MRI.getType(Dest).isPointer() && "Unexpected operand type."); in setRegBank()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineVerifier.cpp1067 if (!PtrTy.isPointer()) in verifyPreISelGenericInstruction()
1126 if (SrcTy.isPointer() != DstTy.isPointer()) in verifyPreISelGenericInstruction()
1151 if (!DstTy.isPointer()) in verifyPreISelGenericInstruction()
1153 if (SrcTy.isPointer()) in verifyPreISelGenericInstruction()
1156 if (!SrcTy.isPointer()) in verifyPreISelGenericInstruction()
1158 if (DstTy.isPointer()) in verifyPreISelGenericInstruction()
1162 if (!SrcTy.isPointer() || !DstTy.isPointer()) in verifyPreISelGenericInstruction()
1223 if (DstElTy.isPointer() || SrcElTy.isPointer()) in verifyPreISelGenericInstruction()
1412 if (!DstTy.isPointer()) in verifyPreISelGenericInstruction()
1550 if (!DstPtrTy.isPointer() || !SrcPtrTy.isPointer()) { in verifyPreISelGenericInstruction()
[all …]
/llvm-project-15.0.7/llvm/lib/Support/
H A DLowLevelType.cpp41 } else if (isPointer()) in print()
/llvm-project-15.0.7/flang/lib/Lower/
H A DAllocatable.cpp123 box.isPointer() in genRuntimeSetBounds()
143 box.isPointer() in genRuntimeInitCharacter()
171 box.isPointer() in genRuntimeAllocate()
192 box.isPointer() in genRuntimeDeallocate()
379 if (box.isPointer()) { in genSimpleAllocation()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVLegalizerInfo.cpp289 MRI.getType(Reg0).isPointer() && MRI.getType(Reg1).isPointer()) { in legalizeCustom()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTargetCallingConv.h141 bool isPointer() const { return IsPointer; } in isPointer() function
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DInfoByHwMode.h138 bool isPointer() const { in isPointer() function
H A DCodeGenDAGPatterns.h230 bool isPointer() const { in isPointer() function
231 return getValueTypeByHwMode().isPointer(); in isPointer()
235 assert(isPointer()); in getPtrAddrSpace()
/llvm-project-15.0.7/clang/utils/TableGen/
H A DNeonEmitter.cpp186 bool isPointer() const { return Pointer; } in isPointer() function in __anonc6b5f5bf0111::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()
1263 if (getParamType(I).isPointer()) in emitShadowedArgs()
2059 if (Type.isPointer()) { in genOverloadTypeCheckCode()
H A DSveEmitter.cpp85 bool isPointer() const { return Pointer; } in isPointer() function in __anon409da13d0111::SVEType
393 if ((isChar() || isPointer()) && !isVoidPointer()) { in builtin_str()
/llvm-project-15.0.7/llvm/include/llvm/Target/
H A DTargetCallingConv.td103 : CCIf<"(ArgFlags.isPointer() && ArgFlags.getPointerAddrSpace() == " # AS # ")", A> {}
107 class CCIfPtr<CCAction A> : CCIf<"ArgFlags.isPointer()", A> {}
/llvm-project-15.0.7/llvm/unittests/FuzzMutate/
H A DOperationsTest.cpp147 auto isPointer = [](Value *V) { return V->getType()->isPointerTy(); }; in TEST() local
150 AllOf(SizeIs(Ge(3u)), Each(Truly(isPointer)))); in TEST()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86RegisterBankInfo.cpp66 if ((Ty.isScalar() && !isFP) || Ty.isPointer()) { in getPartialMappingIdx()
/llvm-project-15.0.7/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h234 bool isPointer() const { return IsPointer; } in isPointer() function
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaRISCVVectorLookup.cpp124 if (Type->isPointer()) in RVVType2Qual()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp295 return EltTy.isPointer() && EltTy.getAddressSpace() == 0; in AArch64LegalizerInfo()
410 return Ty.isVector() && !SrcTy.getElementType().isPointer() && in AArch64LegalizerInfo()
1120 if (!ValTy.isVector() || !ValTy.getElementType().isPointer() || in legalizeLoadStore()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Ddata-to-inits.cpp304 bool isPointer{lastSymbol && IsPointer(*lastSymbol)}; in InitElement() local
355 } else if (isPointer) { in InitElement()
/llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/
H A DBoxValue.h353 bool isPointer() const { in isPointer() function

12