Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/
H A DLowLevelType.h75 return LLT{ScalarTy.isPointer(), in vector()
80 ScalarTy.isPointer() ? ScalarTy.getAddressSpace() : 0}; in vector()
135 explicit constexpr LLT(bool isPointer, bool isVector, bool isScalar, in LLT() argument
139 init(isPointer, isVector, isScalar, EC, SizeInBits, AddressSpace); in LLT()
150 constexpr bool isPointer() const { in isPointer() function
192 if (isPointer() || isScalar()) in getSizeInBits()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dtype_traits.h37 template <typename T> struct isPointer {
41 template <typename T> struct isPointer<T *> {
H A Dlist.h31 template <class T, bool LinkWithPtr = isPointer<decltype(T::Next)>::value>
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalityPredicates.cpp90 LegalityPredicate LegalityPredicates::isPointer(unsigned TypeIdx) { in isPointer() function in LegalityPredicates
92 return Query.Types[TypeIdx].isPointer(); in isPointer()
96 LegalityPredicate LegalityPredicates::isPointer(unsigned TypeIdx, in isPointer() function in LegalityPredicates
100 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()
360 assert(!Ty.isPointer() && "invalid operand type"); in buildFConstant()
444 assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildLoadInstr()
474 assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildStore()
997 assert(AddrTy.isPointer() && "invalid operand type"); in buildAtomicCmpXchgWithSuccess()
[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()
309 if (Aspect.Type.isPointer()) { in findScalarLegalAction()
H A DCallLowering.cpp411 if (OrigTy.isPointer()) { in buildCopyFromRegs()
483 if (RealDstEltTy.isPointer()) { in buildCopyFromRegs()
1253 if (Flags.isPointer()) { in getStackValueStoreType()
1307 if (ValRegTy.isPointer()) { in extendRegister()
1379 return (SrcTy.isPointer() && DstTy.isScalar()) || in isCopyCompatibleType()
1380 (DstTy.isPointer() && SrcTy.isScalar()); in isCopyCompatibleType()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsRegisterBankInfo.cpp133 assert(!MRI.getType(Reg).isPointer() && in addDefUses()
148 assert(!MRI.getType(Reg).isPointer() && in addUseDef()
457 if (!Op0Ty.isPointer()) in getInstrMapping()
477 if (!Op0Ty.isPointer()) in getInstrMapping()
497 if (!Op0Ty.isPointer()) in getInstrMapping()
518 if (!Op0Ty.isPointer()) in getInstrMapping()
664 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.cpp1260 if (!PtrTy.isPointer()) in verifyPreISelGenericInstruction()
1335 if (SrcTy.isPointer() != DstTy.isPointer()) in verifyPreISelGenericInstruction()
1360 if (!DstTy.isPointer()) in verifyPreISelGenericInstruction()
1362 if (SrcTy.isPointer()) in verifyPreISelGenericInstruction()
1365 if (!SrcTy.isPointer()) in verifyPreISelGenericInstruction()
1367 if (DstTy.isPointer()) in verifyPreISelGenericInstruction()
1371 if (!SrcTy.isPointer() || !DstTy.isPointer()) in verifyPreISelGenericInstruction()
1689 if (!DstTy.isPointer()) in verifyPreISelGenericInstruction()
1694 if (!MRI->getType(MI->getOperand(0).getReg()).isPointer()) in verifyPreISelGenericInstruction()
1701 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/clang/lib/AST/ByteCode/
H A DEvaluationResult.h86 bool isPointer() const { return std::holds_alternative<Pointer>(Value); } in isPointer() function
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVRegisterInfo.td19 int isPointer = true;
H A DSPIRVLegalizerInfo.cpp370 MRI.getType(Reg0).isPointer() && MRI.getType(Reg1).isPointer()) { in legalizeCustom()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTable.cpp369 if (Ty.isPointer()) { in emitCxxEnumValue()
391 if (Ty.isPointer() && Ty.getSizeInBits() > 0) { in emitCxxConstructorCall()
412 if (Ty.isPointer() != Other.Ty.isPointer()) in operator <()
413 return Ty.isPointer() < Other.Ty.isPointer(); in operator <()
415 if (Ty.isPointer() && Ty.getAddressSpace() != Other.Ty.getAddressSpace()) in operator <()
1425 else if (VTy.isPointer()) in addTypeCheckPredicate()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetCallingConv.h145 bool isPointer() const { return IsPointer; } in isPointer() function
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp183 bool isPointer() const { return Pointer; } in isPointer() function in __anonfaf0748f0111::Type
184 bool isValue() const { return !isVoid() && !isPointer(); } in isValue()
405 if (Type.isImmediate() || Type.isPointer() || in Intrinsic()
685 if (isPointer()) { in builtin_str()
718 if (isChar() && !isPointer() && isSigned()) in builtin_str()
1330 if (getParamType(I).isPointer()) in emitShadowedArgs()
2182 if (Type.isPointer()) { in genOverloadTypeCheckCode()
H A DSveEmitter.cpp90 bool isPointer() const { return Pointer; } in isPointer() function in __anone51b860d0111::SVEType
515 if ((ElementBitwidth == 8 || isPointer()) && isSignedInteger()) in builtin_str()
523 if (isPointer()) in builtin_str()
579 if (isPointer()) in 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.h216 bool isPointer() const { return getValueTypeByHwMode().isPointer(); } in isPointer() function
219 assert(isPointer()); in getPtrAddrSpace()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterBankInfo.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86RegisterBankInfo.cpp151 if ((Ty.isScalar() && !isFP) || Ty.isPointer()) { in getPartialMappingIdx()
/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/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h290 LLVM_ABI LegalityPredicate isPointer(unsigned TypeIdx);
293 LLVM_ABI LegalityPredicate isPointer(unsigned TypeIdx, unsigned AddrSpace);

12