Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DLowLevelTypeImpl.h66 return LLT{ScalarTy.isPointer(), in vector()
71 ScalarTy.isPointer() ? ScalarTy.getAddressSpace() : 0}; in vector()
110 explicit constexpr LLT(bool isPointer, bool isVector, bool isScalar, in LLT() argument
114 init(isPointer, isVector, isScalar, EC, SizeInBits, AddressSpace); in LLT()
125 constexpr bool isPointer() const { in isPointer() function
160 if (isPointer() || isScalar()) in getSizeInBits()
188 assert(!getScalarType().isPointer() && in changeElementSize()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp137 assert(Res.getLLTTy(*getMRI()).isPointer() && "expected ptr dst type"); in buildDynStackAlloc()
147 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildFrameIndex()
156 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildGlobalValue()
193 assert(Res.getLLTTy(*getMRI()).getScalarType().isPointer() && in buildPtrAdd()
273 assert(getMRI()->getType(Tgt).isPointer() && "invalid branch destination"); in buildBrIndirect()
280 assert(getMRI()->getType(TablePtr).isPointer() && in buildBrJT()
331 assert(!Ty.isPointer() && "invalid operand type"); in buildFConstant()
399 assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildLoadInstr()
429 assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildStore()
559 if (SrcTy.isPointer() && DstTy.isScalar()) in buildCast()
[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.cpp375 if (OrigTy.isPointer()) { in buildCopyFromRegs()
446 if (RealDstEltTy.isPointer()) { in buildCopyFromRegs()
1097 if (Flags.isPointer()) { in getStackValueStoreType()
1151 if (ValRegTy.isPointer()) { in extendRegister()
1223 return (SrcTy.isPointer() && DstTy.isScalar()) || in isCopyCompatibleType()
1224 (DstTy.isPointer() && SrcTy.isScalar()); in isCopyCompatibleType()
H A DLegalizerHelper.cpp688 if (OpLLT.isPointer()) in createMemLibcall()
1424 if (Ty.isPointer()) { in coerceToScalar()
1434 if (EltTy.isPointer()) in coerceToScalar()
1546 else if (DstTy.isPointer()) in widenScalarMergeValues()
1642 if (SrcTy.isPointer()) { in widenScalarUnmergeValues()
1683 if (SrcTy.isPointer()) { in widenScalarUnmergeValues()
1768 if (SrcTy.isPointer()) { in widenScalarExtract()
1780 if (DstTy.isPointer()) in widenScalarExtract()
3058 assert(DstTy.isPointer() && "expected pointer"); in lowerLoad()
3141 if (SrcTy.isPointer()) { in lowerStore()
[all …]
/openbsd-src/gnu/llvm/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()
H A DMipsInstructionSelector.cpp126 assert((Ty.isScalar() || Ty.isPointer()) && TySize == 32 && in getRegClassForTypeOnBank()
193 (Ty.isPointer() && TySize == 32 && MemSizeInBytes == 4)) && in selectLoadStoreOpCode()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMachineVerifier.cpp1108 if (!PtrTy.isPointer()) in verifyPreISelGenericInstruction()
1167 if (SrcTy.isPointer() != DstTy.isPointer()) in verifyPreISelGenericInstruction()
1192 if (!DstTy.isPointer()) in verifyPreISelGenericInstruction()
1194 if (SrcTy.isPointer()) in verifyPreISelGenericInstruction()
1197 if (!SrcTy.isPointer()) in verifyPreISelGenericInstruction()
1199 if (DstTy.isPointer()) in verifyPreISelGenericInstruction()
1203 if (!SrcTy.isPointer() || !DstTy.isPointer()) in verifyPreISelGenericInstruction()
1220 if (!PtrTy.getScalarType().isPointer()) in verifyPreISelGenericInstruction()
1223 if (OffsetTy.getScalarType().isPointer()) in verifyPreISelGenericInstruction()
1236 if (!DstTy.getScalarType().isPointer()) in verifyPreISelGenericInstruction()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DLowLevelType.cpp41 } else if (isPointer()) in print()
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVLegalizerInfo.cpp304 MRI.getType(Reg0).isPointer() && MRI.getType(Reg1).isPointer()) { in legalizeCustom()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetCallingConv.h141 bool isPointer() const { return IsPointer; } in isPointer() function
/openbsd-src/gnu/llvm/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()
H A DGlobalISelEmitter.cpp125 if (Ty.isPointer()) { in emitCxxEnumValue()
147 if (Ty.isPointer() && Ty.getSizeInBits() > 0) { in emitCxxConstructorCall()
170 if (Ty.isPointer() != Other.Ty.isPointer()) in operator <()
171 return Ty.isPointer() < Other.Ty.isPointer(); in operator <()
173 if (Ty.isPointer() && Ty.getAddressSpace() != Other.Ty.getAddressSpace()) in operator <()
1744 else if (VTy.isPointer()) in addTypeCheckPredicate()
/openbsd-src/gnu/llvm/clang/utils/TableGen/
H A DNeonEmitter.cpp185 bool isPointer() const { return Pointer; } in isPointer() function in __anoncfaa73c60111::Type
186 bool isValue() const { return !isVoid() && !isPointer(); } in isValue()
402 if (Type.isImmediate() || Type.isPointer() || in Intrinsic()
644 if (isPointer()) { in builtin_str()
672 if (isChar() && !isPointer() && isSigned()) in builtin_str()
1271 if (getParamType(I).isPointer()) in emitShadowedArgs()
2077 if (Type.isPointer()) { in genOverloadTypeCheckCode()
H A DSveEmitter.cpp85 bool isPointer() const { return Pointer; } in isPointer() function in __anon5066fa640111::SVEType
393 if ((isChar() || isPointer()) && !isVoidPointer()) { in builtin_str()
/openbsd-src/gnu/llvm/llvm/include/llvm/Target/
H A DTargetCallingConv.td103 : CCIf<"(ArgFlags.isPointer() && ArgFlags.getPointerAddrSpace() == " # AS # ")", A> {}
107 class CCIfPtr<CCAction A> : CCIf<"ArgFlags.isPointer()", A> {}
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h280 LegalityPredicate isPointer(unsigned TypeIdx);
283 LegalityPredicate isPointer(unsigned TypeIdx, unsigned AddrSpace);
1059 if (T.isVector() && T.getElementType().isPointer()) in minScalarEltSameAsIf()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86RegisterBankInfo.cpp66 if ((Ty.isScalar() && !isFP) || Ty.isPointer()) { in getPartialMappingIdx()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaRISCVVectorLookup.cpp125 if (Type->isPointer()) in RVVType2Qual()
/openbsd-src/gnu/llvm/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h295 bool isPointer() const { return IsPointer; } in isPointer() function
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp308 return EltTy.isPointer() && EltTy.getAddressSpace() == 0; in AArch64LegalizerInfo()
423 return Ty.isVector() && !SrcTy.getElementType().isPointer() && in AArch64LegalizerInfo()
1221 if (!ValTy.isVector() || !ValTy.getElementType().isPointer() || in legalizeLoadStore()
H A DAArch64CallLowering.cpp154 if (Flags.isPointer()) in getStackValueStoreType()
279 if (Flags.isPointer()) in getStackValueStoreType()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUCallLowering.cpp79 if (Ty.isPointer()) in assignValueToReg()
429 if (SplitArg.Flags[0].isPointer()) { in lowerParameter()

12