Home
last modified time | relevance | path

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

1234

/external/golang-protobuf/proto/
Ddiscard.go159 var isPointer, isSlice bool
165 isPointer = true
168 if isPointer && isSlice && tf.Kind() != reflect.Struct {
175 case !isPointer:
198 case isPointer || isSlice:
219 case isPointer || isSlice:
274 var isPointer, isSlice bool
280 isPointer = true
283 if isPointer && isSlice && tf.Kind() != reflect.Struct {
290 case !isPointer:
[all …]
Dtable_merge.go72 isPointer bool member
123 if fi.isPointer && sfp.getPointer().isNil() { // Could be slice or string
191 mfi.isPointer = true
202 var isPointer, isSlice bool
208 isPointer = true
211 if isPointer && isSlice && tf.Kind() != reflect.Struct {
241 case isPointer: // E.g., *int32
285 case isPointer: // E.g., *int64
317 case isPointer: // E.g., *uint32
349 case isPointer: // E.g., *uint64
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DLowLevelTypeImpl.h68 return LLT{ScalarTy.isPointer(), /*isVector=*/true, NumElements, in vector()
70 ScalarTy.isPointer() ? ScalarTy.getAddressSpace() : 0}; in vector()
81 explicit LLT(bool isPointer, bool isVector, uint16_t NumElements, in LLT() argument
83 init(isPointer, isVector, NumElements, SizeInBits, AddressSpace); in LLT()
93 bool isPointer() const { return isValid() && IsPointer && !IsVector; } in isPointer() function
109 if (isPointer() || isScalar()) in getSizeInBits()
134 assert(!getScalarType().isPointer() && in changeElementSize()
/external/llvm-project/llvm/include/llvm/Support/
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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp166 assert(Res.getLLTTy(*getMRI()).isPointer() && "expected ptr dst type"); in buildDynStackAlloc()
176 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildFrameIndex()
185 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildGlobalValue()
217 assert(Res.getLLTTy(*getMRI()).isPointer() && in buildPtrAdd()
243 assert(Res.getLLTTy(*getMRI()).isPointer() && in buildPtrMask()
258 assert(getMRI()->getType(Tgt).isPointer() && "invalid branch destination"); in buildBrIndirect()
265 assert(getMRI()->getType(TablePtr).isPointer() && in buildBrJT()
315 assert(!Ty.isPointer() && "invalid operand type"); in buildFConstant()
371 assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildLoadInstr()
384 assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildStore()
[all …]
DLegalityPredicates.cpp80 LegalityPredicate LegalityPredicates::isPointer(unsigned TypeIdx) { in isPointer() function in LegalityPredicates
82 return Query.Types[TypeIdx].isPointer(); in isPointer()
86 LegalityPredicate LegalityPredicates::isPointer(unsigned TypeIdx, in isPointer() function in LegalityPredicates
90 return Ty.isPointer() && Ty.getAddressSpace() == AddrSpace; in isPointer()
DLegalizerInfo.cpp306 if (Type.isPointer()) in computeTables()
385 if (Aspect.Type.isScalar() || Aspect.Type.isPointer()) in getAspectAction()
622 assert(Aspect.Type.isScalar() || Aspect.Type.isPointer()); in findScalarLegalAction()
626 if (Aspect.Type.isPointer() && in findScalarLegalAction()
632 Aspect.Type.isPointer() in findScalarLegalAction()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
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()
281 assert(!Ty.isPointer() && "invalid operand type"); in buildFConstant()
350 assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildLoadInstr()
380 assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildStore()
485 if (SrcTy.isPointer() && DstTy.isScalar()) in buildCast()
[all …]
DLegalityPredicates.cpp80 LegalityPredicate LegalityPredicates::isPointer(unsigned TypeIdx) { in isPointer() function in LegalityPredicates
82 return Query.Types[TypeIdx].isPointer(); in isPointer()
86 LegalityPredicate LegalityPredicates::isPointer(unsigned TypeIdx, in isPointer() function in LegalityPredicates
90 return Ty.isPointer() && Ty.getAddressSpace() == AddrSpace; in isPointer()
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()
/external/llvm-project/llvm/unittests/CodeGen/
DLowLevelTypeTest.cpp31 ASSERT_FALSE(Ty.isPointer()); in TEST()
71 ASSERT_FALSE(VTy.isPointer()); in TEST()
200 ASSERT_TRUE(Ty.isPointer()); in TEST()
207 ASSERT_TRUE(VTy.getElementType().isPointer()); in TEST()
237 ASSERT_FALSE(Ty.isPointer()); in TEST()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DModifyStruct.cpp716 state.addModifiedField(field, newType, storage, packing, state.symbolEnv.isPointer(field)); in RecurseStruct()
717 if (state.symbolEnv.isPointer(field)) in RecurseStruct()
749 state.addModifiedField(field, rowType, storage, packing, state.symbolEnv.isPointer(field)); in SplitMatrixColumns()
750 if (state.symbolEnv.isPointer(field)) in SplitMatrixColumns()
784 state.addModifiedField(field, satType, storage, packing, state.symbolEnv.isPointer(field)); in SaturateMatrixRows()
785 if (state.symbolEnv.isPointer(field)) in SaturateMatrixRows()
864 state.addModifiedField(field, satType, storage, packing, state.symbolEnv.isPointer(field)); in SaturateScalarOrVectorCommon()
865 if (state.symbolEnv.isPointer(field)) in SaturateScalarOrVectorCommon()
917 state.addModifiedField(field, promotedType, storage, packing, state.symbolEnv.isPointer(field)); in PromoteBoolToUint()
918 if (state.symbolEnv.isPointer(field)) in PromoteBoolToUint()
DEmitMetal.cpp121 const AddressSpace *isPointer = nullptr; member
930 if (evdConfig.isPointer) in emitType()
932 mOut << toString(*evdConfig.isPointer); in emitType()
986 if (evdConfig.isPointer) in emitType()
1020 evdConfig.isPointer = mSymbolEnv.isPointer(field); in emitFieldDeclaration()
1154 evdConfig.isPointer = mSymbolEnv.isPointer(field); in emitUniformBufferDeclaration()
1486 if (mSymbolEnv.isPointer(field) && mSymbolEnv.isUBO(field)) in visitBinary()
1491 if (!mSymbolEnv.isPointer(field)) in visitBinary()
1773 evdConfig.isPointer = mSymbolEnv.isPointer(param); in emitFunctionParameter()
DSymbolEnv.h182 const AddressSpace *isPointer(VarField x) const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsRegisterBankInfo.cpp174 assert(!MRI.getType(Reg).isPointer() && in addDefUses()
189 assert(!MRI.getType(Reg).isPointer() && in addUseDef()
477 if (!Op0Ty.isPointer()) in getInstrMapping()
491 if (!Op0Ty.isPointer()) in getInstrMapping()
505 if (!Op0Ty.isPointer()) in getInstrMapping()
523 if (!Op0Ty.isPointer()) in getInstrMapping()
644 assert(MRI.getType(Dest).isPointer() && "Unexpected operand type."); in setRegBank()
/external/llvm-project/llvm/lib/Target/Mips/
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()
/external/llvm-project/llvm/lib/CodeGen/
DMachineVerifier.cpp981 if (!PtrTy.isPointer()) in verifyPreISelGenericInstruction()
1029 if (SrcTy.isPointer() != DstTy.isPointer()) in verifyPreISelGenericInstruction()
1054 if (!DstTy.isPointer()) in verifyPreISelGenericInstruction()
1056 if (SrcTy.isPointer()) in verifyPreISelGenericInstruction()
1059 if (!SrcTy.isPointer()) in verifyPreISelGenericInstruction()
1061 if (DstTy.isPointer()) in verifyPreISelGenericInstruction()
1065 if (!SrcTy.isPointer() || !DstTy.isPointer()) in verifyPreISelGenericInstruction()
1082 if (!PtrTy.getScalarType().isPointer()) in verifyPreISelGenericInstruction()
1085 if (OffsetTy.getScalarType().isPointer()) in verifyPreISelGenericInstruction()
1098 if (!DstTy.getScalarType().isPointer()) in verifyPreISelGenericInstruction()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DLowLevelType.cpp39 else if (isPointer()) in print()
/external/llvm-project/llvm/lib/Support/
DLowLevelType.cpp39 else if (isPointer()) in print()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineVerifier.cpp1012 if (!PtrTy.isPointer()) in verifyPreISelGenericInstruction()
1060 if (SrcTy.isPointer() != DstTy.isPointer()) in verifyPreISelGenericInstruction()
1081 if (!DstTy.isPointer()) in verifyPreISelGenericInstruction()
1083 if (SrcTy.isPointer()) in verifyPreISelGenericInstruction()
1086 if (!SrcTy.isPointer()) in verifyPreISelGenericInstruction()
1088 if (DstTy.isPointer()) in verifyPreISelGenericInstruction()
1092 if (!SrcTy.isPointer() || !DstTy.isPointer()) in verifyPreISelGenericInstruction()
1109 if (!PtrTy.getScalarType().isPointer()) in verifyPreISelGenericInstruction()
1112 if (OffsetTy.getScalarType().isPointer()) in verifyPreISelGenericInstruction()
1137 if (DstElTy.isPointer() || SrcElTy.isPointer()) in verifyPreISelGenericInstruction()
[all …]
/external/llvm-project/flang/lib/Evaluate/
Dinitial-image.cpp99 bool isPointer{IsPointer(component)}; in Test() local
105 if (isPointer) { in Test()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetCallingConv.h125 bool isPointer() const { return IsPointer; } in isPointer() function
/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetCallingConv.h141 bool isPointer() const { return IsPointer; } in isPointer() function
/external/llvm-project/llvm/utils/TableGen/
DInfoByHwMode.h140 bool isPointer() const { in isPointer() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64LegalizerInfo.cpp244 return EltTy.isPointer() && EltTy.getAddressSpace() == 0; in AArch64LegalizerInfo()
327 return Ty.isVector() && !SrcTy.getElementType().isPointer() && in AArch64LegalizerInfo()
701 if (!ValTy.isVector() || !ValTy.getElementType().isPointer() || in legalizeLoadStore()

1234