Home
last modified time | relevance | path

Searched refs:pType (Results 1 – 25 of 35) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder.cpp176 Type* Builder::GetVectorType(Type* pType) in GetVectorType() argument
178 if (pType->isVectorTy()) in GetVectorType()
180 return pType; in GetVectorType()
184 if (pType->isArrayTy()) in GetVectorType()
186 uint32_t arraySize = pType->getArrayNumElements(); in GetVectorType()
187 Type* pArrayType = pType->getArrayElementType(); in GetVectorType()
194 if (pType->isAggregateType()) in GetVectorType()
196 uint32_t numElems = pType->getStructNumElements(); in GetVectorType()
200 Type* pElemType = pType->getStructElementType(i); in GetVectorType()
209 if (pType->isPointerTy() && pType->getPointerElementType()->isArrayTy()) in GetVectorType()
[all …]
Dbuilder_misc.cpp390 Type* pType = pArg->getType(); in PRINT() local
392 if (pType->isVectorTy()) in PRINT()
394 Type* pContainedType = pType->getContainedType(0); in PRINT()
396 FixedVectorType* pVectorType = cast<FixedVectorType>(pType); in PRINT()
398 VectorType* pVectorType = cast<VectorType>(pType); in PRINT()
413 for (uint32_t i = 1; i < pType->getVectorNumElements(); ++i) in PRINT()
429 for (; i < pType->getVectorNumElements() - 1; i++) in PRINT()
446 for (; i < pType->getVectorNumElements() - 1; i++) in PRINT()
463 for (; i < pType->getVectorNumElements() - 1; i++) in PRINT()
485 else if ((tempStr[pos + 1] == 'f') && (pType->isFloatTy())) in PRINT()
[all …]
DJitManager.h185 llvm::DIType* GetDebugStructType(llvm::Type* pType) in GetDebugStructType()
187 llvm::StructType* pStructTy = llvm::cast<llvm::StructType>(pType); in GetDebugStructType()
196 CreateDebugStructType(llvm::StructType* pType,
Dbuilder_misc.h209 Value* CreateEntryAlloca(Function* pFunc, Type* pType);
210 Value* CreateEntryAlloca(Function* pFunc, Type* pType, Value* pArraySize);
212 uint32_t GetTypeSize(Type* pType);
DJitManager.cpp225 JitManager::CreateDebugStructType(StructType* pType, in CreateDebugStructType() argument
234 uint32_t size = DL.getTypeAllocSizeInBits(pType); in CreateDebugStructType()
235 uint32_t alignment = DL.getABITypeAlignment(pType); in CreateDebugStructType()
249 mDebugStructMap[pType] = pDIStructTy; in CreateDebugStructType()
252 for (auto& elem : pType->elements()) in CreateDebugStructType()
258 uint32_t offset = DL.getStructLayout(pType)->getElementOffsetInBits(idx); in CreateDebugStructType()
Dbuilder.h132 Type* GetVectorType(Type* pType);
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DParseHelper.cpp631 bool TParseContext::boolErrorCheck(const TSourceLoc &line, const TPublicType& pType) in boolErrorCheck() argument
633 if (pType.type != EbtBool || pType.array || (pType.primarySize > 1) || (pType.secondarySize > 1)) { in boolErrorCheck()
641 bool TParseContext::samplerErrorCheck(const TSourceLoc &line, const TPublicType& pType, const char*… in samplerErrorCheck() argument
643 if (pType.type == EbtStruct) { in samplerErrorCheck()
644 if (containsSampler(*pType.userDef)) { in samplerErrorCheck()
645 error(line, reason, getBasicString(pType.type), "(structure contains a sampler)"); in samplerErrorCheck()
651 } else if (IsSampler(pType.type)) { in samplerErrorCheck()
652 error(line, reason, getBasicString(pType.type)); in samplerErrorCheck()
660 bool TParseContext::structQualifierErrorCheck(const TSourceLoc &line, const TPublicType& pType) in structQualifierErrorCheck() argument
662 switch(pType.qualifier) in structQualifierErrorCheck()
[all …]
DParseHelper.h134 bool samplerErrorCheck(const TSourceLoc &line, const TPublicType& pType, const char* reason);
135 bool locationDeclaratorListCheck(const TSourceLoc &line, const TPublicType &pType);
136 bool structQualifierErrorCheck(const TSourceLoc &line, const TPublicType& pType);
157 …ool executeInitializer(const TSourceLoc &line, const TString &identifier, const TPublicType &pType,
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DParseContext.h140 void checkIsScalarBool(const TSourceLoc &line, const TPublicType &pType);
142 const TTypeSpecifierNonArray &pType,
144 void checkDeclaratorLocationIsNotSpecified(const TSourceLoc &line, const TPublicType &pType);
207 TIntermNode *addConditionInitializer(const TPublicType &pType,
DParseContext.cpp896 void TParseContext::checkIsScalarBool(const TSourceLoc &line, const TPublicType &pType) in checkIsScalarBool() argument
898 if (pType.getBasicType() != EbtBool || pType.isAggregate()) in checkIsScalarBool()
905 const TTypeSpecifierNonArray &pType, in checkIsNotOpaqueType() argument
908 if (pType.type == EbtStruct) in checkIsNotOpaqueType()
910 if (ContainsSampler(pType.userDef)) in checkIsNotOpaqueType()
915 error(line, reasonStr.c_str(), getBasicString(pType.type)); in checkIsNotOpaqueType()
922 else if (IsOpaqueType(pType.type)) in checkIsNotOpaqueType()
924 error(line, reason, getBasicString(pType.type)); in checkIsNotOpaqueType()
932 const TPublicType &pType) in checkDeclaratorLocationIsNotSpecified() argument
934 if (pType.layoutQualifier.location != -1) in checkDeclaratorLocationIsNotSpecified()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfix_storage_class.cpp152 analysis::Type* pType = type_mgr->GetType(inst->type_id()); in IsPointerToStorageClass() local
153 const analysis::Pointer* result_type = pType->AsPointer(); in IsPointerToStorageClass()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dfix_storage_class.cpp152 analysis::Type* pType = type_mgr->GetType(inst->type_id()); in IsPointerToStorageClass() local
153 const analysis::Pointer* result_type = pType->AsPointer(); in IsPointerToStorageClass()
/third_party/spirv-tools/source/opt/
Dfix_storage_class.cpp152 analysis::Type* pType = type_mgr->GetType(inst->type_id()); in IsPointerToStorageClass() local
153 const analysis::Pointer* result_type = pType->AsPointer(); in IsPointerToStorageClass()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DParseContext.h146 void checkIsScalarBool(const TSourceLoc &line, const TPublicType &pType);
148 const TTypeSpecifierNonArray &pType,
150 void checkDeclaratorLocationIsNotSpecified(const TSourceLoc &line, const TPublicType &pType);
219 TIntermNode *addConditionInitializer(const TPublicType &pType,
DParseContext.cpp958 void TParseContext::checkIsScalarBool(const TSourceLoc &line, const TPublicType &pType) in checkIsScalarBool() argument
960 if (pType.getBasicType() != EbtBool || pType.isAggregate()) in checkIsScalarBool()
967 const TTypeSpecifierNonArray &pType, in checkIsNotOpaqueType() argument
970 if (pType.type == EbtStruct) in checkIsNotOpaqueType()
972 if (ContainsSampler(pType.userDef)) in checkIsNotOpaqueType()
977 error(line, reasonStr.c_str(), getBasicString(pType.type)); in checkIsNotOpaqueType()
984 else if (IsOpaqueType(pType.type)) in checkIsNotOpaqueType()
986 error(line, reason, getBasicString(pType.type)); in checkIsNotOpaqueType()
994 const TPublicType &pType) in checkDeclaratorLocationIsNotSpecified() argument
996 if (pType.layoutQualifier.location != -1) in checkDeclaratorLocationIsNotSpecified()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Duloc_tag.cpp1634 const char *pType = NULL; /* LDML type */ in _appendLDMLExtensionAsKeywords() local
1685 pType = uloc_toLegacyType(pKey, bcpTypeBuf); in _appendLDMLExtensionAsKeywords()
1686 if (pType == NULL) { in _appendLDMLExtensionAsKeywords()
1690 if (pType == bcpTypeBuf) { in _appendLDMLExtensionAsKeywords()
1699 pType = buf + bufIdx; in _appendLDMLExtensionAsKeywords()
1710 pType = LOCALE_TYPE_YES; in _appendLDMLExtensionAsKeywords()
1715 … if (!variantExists && !uprv_strcmp(pKey, POSIX_KEY) && !uprv_strcmp(pType, POSIX_VALUE) ) { in _appendLDMLExtensionAsKeywords()
1726 kwd->value = pType; in _appendLDMLExtensionAsKeywords()
/third_party/node/deps/icu-small/source/common/
Duloc_tag.cpp1666 const char *pType = NULL; /* LDML type */ in _appendLDMLExtensionAsKeywords() local
1717 pType = uloc_toLegacyType(pKey, bcpTypeBuf); in _appendLDMLExtensionAsKeywords()
1718 if (pType == NULL) { in _appendLDMLExtensionAsKeywords()
1722 if (pType == bcpTypeBuf) { in _appendLDMLExtensionAsKeywords()
1737 pType = type->data(); in _appendLDMLExtensionAsKeywords()
1741 pType = LOCALE_TYPE_YES; in _appendLDMLExtensionAsKeywords()
1746 … if (!variantExists && !uprv_strcmp(pKey, POSIX_KEY) && !uprv_strcmp(pType, POSIX_VALUE) ) { in _appendLDMLExtensionAsKeywords()
1757 kwd->value = pType; in _appendLDMLExtensionAsKeywords()
/third_party/icu/icu4c/source/common/
Duloc_tag.cpp1666 const char *pType = NULL; /* LDML type */ in _appendLDMLExtensionAsKeywords() local
1717 pType = uloc_toLegacyType(pKey, bcpTypeBuf); in _appendLDMLExtensionAsKeywords()
1718 if (pType == NULL) { in _appendLDMLExtensionAsKeywords()
1722 if (pType == bcpTypeBuf) { in _appendLDMLExtensionAsKeywords()
1737 pType = type->data(); in _appendLDMLExtensionAsKeywords()
1741 pType = LOCALE_TYPE_YES; in _appendLDMLExtensionAsKeywords()
1746 … if (!variantExists && !uprv_strcmp(pKey, POSIX_KEY) && !uprv_strcmp(pType, POSIX_VALUE) ) { in _appendLDMLExtensionAsKeywords()
1757 kwd->value = pType; in _appendLDMLExtensionAsKeywords()
/third_party/skia/third_party/externals/icu/source/common/
Duloc_tag.cpp1666 const char *pType = NULL; /* LDML type */ in _appendLDMLExtensionAsKeywords() local
1717 pType = uloc_toLegacyType(pKey, bcpTypeBuf); in _appendLDMLExtensionAsKeywords()
1718 if (pType == NULL) { in _appendLDMLExtensionAsKeywords()
1722 if (pType == bcpTypeBuf) { in _appendLDMLExtensionAsKeywords()
1737 pType = type->data(); in _appendLDMLExtensionAsKeywords()
1741 pType = LOCALE_TYPE_YES; in _appendLDMLExtensionAsKeywords()
1746 … if (!variantExists && !uprv_strcmp(pKey, POSIX_KEY) && !uprv_strcmp(pType, POSIX_VALUE) ) { in _appendLDMLExtensionAsKeywords()
1757 kwd->value = pType; in _appendLDMLExtensionAsKeywords()
/third_party/mesa3d/src/amd/addrlib/src/r800/
Dciaddrlib.h84 AddrTileMode* pMode = 0, AddrTileType* pType = 0) const;
Dsiaddrlib.h147 ADDR_TILEINFO* pInfo, AddrTileMode* pMode = 0, AddrTileType* pType = 0) const;
Dciaddrlib.cpp602 AddrTileType* pType ///< [out] Tile type in HwlSetupTileCfg()
675 if (pType != NULL) in HwlSetupTileCfg()
677 *pType = pCfgTable->type; in HwlSetupTileCfg()
Dsiaddrlib.cpp2998 AddrTileType* pType ///< [out] Tile type in HwlSetupTileCfg()
3013 if (pType) in HwlSetupTileCfg()
3015 *pType = ADDR_DISPLAYABLE; in HwlSetupTileCfg()
3053 if (pType) in HwlSetupTileCfg()
3055 *pType = pCfgTable->type; in HwlSetupTileCfg()
/third_party/glslang/glslang/MachineIndependent/
Dreflection.cpp1077 TObjectReflection::TObjectReflection(const std::string &pName, const TType &pType, int pOffset, int… in TObjectReflection() argument
1080 …embers(-1), arrayStride(0), topLevelArrayStride(0), stages(EShLanguageMask(0)), type(pType.clone()) in TObjectReflection()
/third_party/glslang/glslang/Public/
DShaderLang.h702 …GLSLANG_EXPORT TObjectReflection(const std::string& pName, const TType& pType, int pOffset, int pG…

12