Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/
H A DLowLevelType.h74 return LLT{ScalarTy.isPointer(), in vector()
79 ScalarTy.isPointer() ? ScalarTy.getAddressSpace() : 0}; in vector()
134 explicit constexpr LLT(bool isPointer, bool isVector, bool isScalar, in LLT() argument
138 init(isPointer, isVector, isScalar, EC, SizeInBits, AddressSpace); in LLT()
149 constexpr bool isPointer() const { in isPointer() function
194 if (isPointer() || isScalar()) in getSizeInBits()
/freebsd/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.cpp139 assert(Res.getLLTTy(*getMRI()).isPointer() && "expected ptr dst type"); in buildDynStackAlloc()
149 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildFrameIndex()
158 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildGlobalValue()
171 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildConstantPool()
297 assert(getMRI()->getType(Tgt).isPointer() && "invalid branch destination"); in buildBrIndirect()
304 assert(getMRI()->getType(TablePtr).isPointer() && in buildBrJT()
358 assert(!Ty.isPointer() && "invalid operand type"); in buildFConstant()
442 assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildLoadInstr()
472 assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildStore()
603 if (SrcTy.isPointer() && DstTy.isScalar()) in buildCast()
[all …]
H A DLegacyLegalizerInfo.cpp125 if (Type.isPointer()) in computeTables()
204 if (Aspect.Type.isScalar() || Aspect.Type.isPointer()) in getAspectAction()
304 assert(Aspect.Type.isScalar() || Aspect.Type.isPointer()); in findScalarLegalAction()
308 if (Aspect.Type.isPointer() && in findScalarLegalAction()
314 Aspect.Type.isPointer() in findScalarLegalAction()
H A DCallLowering.cpp412 if (OrigTy.isPointer()) { in buildCopyFromRegs()
484 if (RealDstEltTy.isPointer()) { in buildCopyFromRegs()
1254 if (Flags.isPointer()) { in getStackValueStoreType()
1308 if (ValRegTy.isPointer()) { in extendRegister()
1380 return (SrcTy.isPointer() && DstTy.isScalar()) || in isCopyCompatibleType()
1381 (DstTy.isPointer() && SrcTy.isScalar()); in isCopyCompatibleType()
H A DLegalizerHelper.cpp652 if (OpLLT.isPointer()) in createMemLibcall()
1768 if (Ty.isPointer()) { in coerceToScalar()
1887 else if (DstTy.isPointer()) in widenScalarMergeValues()
1983 if (SrcTy.isPointer()) { in widenScalarUnmergeValues()
2024 if (SrcTy.isPointer()) { in widenScalarUnmergeValues()
2105 if (SrcTy.isPointer()) { in widenScalarExtract()
2117 if (DstTy.isPointer()) in widenScalarExtract()
3594 assert(DstTy.isPointer() && "expected pointer"); in lowerLoad()
3677 if (SrcTy.isPointer()) { in lowerStore()
7472 if (DstTy.isPointer()) { in lowerMergeValues()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsRegisterBankInfo.cpp162 assert(!MRI.getType(Reg).isPointer() && in addDefUses()
177 assert(!MRI.getType(Reg).isPointer() && in addUseDef()
486 if (!Op0Ty.isPointer()) in getInstrMapping()
506 if (!Op0Ty.isPointer()) in getInstrMapping()
526 if (!Op0Ty.isPointer()) in getInstrMapping()
547 if (!Op0Ty.isPointer()) in getInstrMapping()
693 assert(MRI.getType(Dest).isPointer() && "Unexpected operand type."); in setRegBank()
H A DMipsInstructionSelector.cpp126 assert((Ty.isScalar() || Ty.isPointer()) && TySize == 32 && in getRegClassForTypeOnBank()
194 (Ty.isPointer() && TySize == 32 && MemSizeInBytes == 4)) && in selectLoadStoreOpCode()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineVerifier.cpp1218 if (!PtrTy.isPointer()) in verifyPreISelGenericInstruction()
1280 if (SrcTy.isPointer() != DstTy.isPointer()) in verifyPreISelGenericInstruction()
1305 if (!DstTy.isPointer()) in verifyPreISelGenericInstruction()
1307 if (SrcTy.isPointer()) in verifyPreISelGenericInstruction()
1310 if (!SrcTy.isPointer()) in verifyPreISelGenericInstruction()
1312 if (DstTy.isPointer()) in verifyPreISelGenericInstruction()
1316 if (!SrcTy.isPointer() || !DstTy.isPointer()) in verifyPreISelGenericInstruction()
1627 if (!DstTy.isPointer()) in verifyPreISelGenericInstruction()
1632 if (!MRI->getType(MI->getOperand(0).getReg()).isPointer()) in verifyPreISelGenericInstruction()
1639 if (!IdxOp.isReg() || MRI->getType(IdxOp.getReg()).isPointer()) in verifyPreISelGenericInstruction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGenTypes/
H A DLowLevelType.cpp42 } else if (isPointer()) in print()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVLegalizerInfo.cpp352 MRI.getType(Reg0).isPointer() && MRI.getType(Reg1).isPointer()) { in legalizeCustom()
H A DSPIRVRegisterInfo.td20 int isPointer = true;
H A DSPIRVPreLegalizer.cpp327 if (SrcLLT.isPointer()) { in createNewIdReg()
596 bool IsDstPtr = MRI.getType(DstReg).isPointer(); in processInstrsWithTypeFolding()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetCallingConv.h141 bool isPointer() const { return IsPointer; } in isPointer() function
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTable.cpp361 if (Ty.isPointer()) { in emitCxxEnumValue()
383 if (Ty.isPointer() && Ty.getSizeInBits() > 0) { in emitCxxConstructorCall()
404 if (Ty.isPointer() != Other.Ty.isPointer()) in operator <()
405 return Ty.isPointer() < Other.Ty.isPointer(); in operator <()
407 if (Ty.isPointer() && Ty.getAddressSpace() != Other.Ty.getAddressSpace()) in operator <()
1417 else if (VTy.isPointer()) in addTypeCheckPredicate()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp185 bool isPointer() const { return Pointer; } in isPointer() function in __anonfaf0748f0111::Type
186 bool isValue() const { return !isVoid() && !isPointer(); } in isValue()
402 if (Type.isImmediate() || Type.isPointer() || in Intrinsic()
648 if (isPointer()) { in builtin_str()
676 if (isChar() && !isPointer() && isSigned()) in builtin_str()
1268 if (getParamType(I).isPointer()) in emitShadowedArgs()
2098 if (Type.isPointer()) { in genOverloadTypeCheckCode()
H A DSveEmitter.cpp93 bool isPointer() const { return Pointer; } in isPointer() function in __anone51b860d0111::SVEType
474 if ((isChar() || isPointer()) && !isVoidPointer()) { in builtin_str()
/freebsd/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/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DInfoByHwMode.h172 bool isPointer() const { in isPointer() function
H A DCodeGenDAGPatterns.h218 bool isPointer() const { return getValueTypeByHwMode().isPointer(); } in isPointer() function
221 assert(isPointer()); in getPtrAddrSpace()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterBankInfo.cpp
/freebsd/contrib/llvm-project/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h317 bool isPointer() const { return IsPointer; } in isPointer() function
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86RegisterBankInfo.cpp176 if ((Ty.isScalar() && !isFP) || Ty.isPointer()) { in getPartialMappingIdx()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h286 LegalityPredicate isPointer(unsigned TypeIdx);
289 LegalityPredicate isPointer(unsigned TypeIdx, unsigned AddrSpace);
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64CallLowering.cpp161 if (Flags.isPointer()) in getStackValueStoreType()
287 if (Flags.isPointer()) in getStackValueStoreType()

12