Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DLowLevelTypeImpl.h69 return LLT{ScalarTy.isPointer(), /*isVector=*/true, NumElements, in vector()
71 ScalarTy.isPointer() ? ScalarTy.getAddressSpace() : 0}; in vector()
82 explicit LLT(bool isPointer, bool isVector, uint16_t NumElements, in LLT() argument
84 init(isPointer, isVector, NumElements, SizeInBits, AddressSpace); in LLT()
94 bool isPointer() const { return isValid() && IsPointer && !IsVector; } in isPointer() function
110 if (isPointer() || isScalar()) in getSizeInBits()
135 assert(!getScalarType().isPointer() && in changeElementSize()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A 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()
362 assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildLoadInstr()
392 assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildStore()
506 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 DLegalizerInfo.cpp314 if (Type.isPointer()) in computeTables()
393 if (Aspect.Type.isScalar() || Aspect.Type.isPointer()) in getAspectAction()
624 assert(Aspect.Type.isScalar() || Aspect.Type.isPointer()); in findScalarLegalAction()
628 if (Aspect.Type.isPointer() && in findScalarLegalAction()
634 Aspect.Type.isPointer() in findScalarLegalAction()
H A DCallLowering.cpp415 if (RealDstEltTy.isPointer()) { in buildCopyFromRegs()
1132 return (SrcTy.isPointer() && DstTy.isScalar()) || in isCopyCompatibleType()
1133 (DstTy.isScalar() && SrcTy.isPointer()); in isCopyCompatibleType()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A 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 …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dmeta.d925 import std.traits : isPointer;
927 static assert(is(Filter!(isPointer, int, void*, char[], int*) == AliasSeq!(void*, int*)));
928 static assert(is(Filter!isPointer == AliasSeq!()));
963 import std.traits : isPointer;
965 alias isNoPointer = templateNot!isPointer;
1068 import std.traits : isPointer, isUnsigned;
1070 alias isPtrOrUnsigned = templateOr!(isPointer, isUnsigned);
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dmeta.d790 import std.traits : isPointer;
792 static assert(is(Filter!(isPointer, int, void*, char[], int*) == AliasSeq!(void*, int*)));
793 static assert(is(Filter!isPointer == AliasSeq!()));
834 import std.traits : isPointer;
836 alias isNoPointer = templateNot!isPointer;
941 import std.traits : isPointer, isUnsigned;
943 alias isPtrOrUnsigned = templateOr!(isPointer, isUnsigned);
H A Dtraits.d891 else static if (isPointer!T) in fqnType()
3927 static if (isPointer!T)
7140 enum bool isPointer(T) = is(T == U*, U) && __traits(isScalar, T);
7147 static assert( isPointer!(int*));
7148 static assert( isPointer!(int function()));
7149 static assert(!isPointer!int);
7150 static assert(!isPointer!string);
7151 static assert(!isPointer!(typeof(null)));
7152 static assert(!isPointer!(typeof(fun)));
7153 static assert(!isPointer!(int delegate()));
[all …]
H A Dexception.d1073 isPointer!S || is(S == class))
1075 static if (isPointer!S || is(S == class) || is(S == interface))
1119 isPointer!S || is(S == class))
1121 static if (isPointer!S || is(S == class) || is(S == interface))
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DLowLevelType.cpp39 else if (isPointer()) in print()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DTargetCallingConv.h141 bool isPointer() const { return IsPointer; } in isPointer() function
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DNeonEmitter.cpp186 bool isPointer() const { return Pointer; } in isPointer() function in __anon9e9e0a7a0111::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()
H A DSveEmitter.cpp85 bool isPointer() const { return Pointer; } in isPointer() function in __anon47288a980111::SVEType
393 if ((isChar() || isPointer()) && !isVoidPointer()) { in builtin_str()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Target/
H A DTargetCallingConv.td103 : CCIf<"(ArgFlags.isPointer() && ArgFlags.getPointerAddrSpace() == " # AS # ")", A> {}
107 class CCIfPtr<CCAction A> : CCIf<"ArgFlags.isPointer()", A> {}
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DInfoByHwMode.h140 bool isPointer() const { in isPointer() function
H A DCodeGenDAGPatterns.h227 bool isPointer() const { in isPointer() function
228 return getValueTypeByHwMode().isPointer(); in isPointer()
232 assert(isPointer()); in getPtrAddrSpace()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/
H A Dtraits.d351 enum hasIndirections = isPointer!T || isDelegate!T || isDynamicArray!T || in hasIndirections()
365 else static if (isPointer!T) in hasUnsharedIndirections()
395 enum bool isPointer(T) = is(T == U*, U) && !isAggregateType!T;
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/format/
H A Dread.d240 import std.traits : isPointer; in formattedRead()
252 enum hasPointer = isPointer!(typeof(args[0])); in formattedRead()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dctfe.h179 bool isPointer(Type *t);
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/
H A Dtyped.d18 import std.traits : isPointer, hasElaborateDestructor;
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/
H A Dtyped.d21 import std.traits : isPointer, hasElaborateDestructor;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86RegisterBankInfo.cpp67 if ((Ty.isScalar() && !isFP) || Ty.isPointer()) { in getPartialMappingIdx()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp276 return EltTy.isPointer() && EltTy.getAddressSpace() == 0; in AArch64LegalizerInfo()
375 return Ty.isVector() && !SrcTy.getElementType().isPointer() && in AArch64LegalizerInfo()
949 if (!ValTy.isVector() || !ValTy.getElementType().isPointer() || in legalizeLoadStore()

123