Home
last modified time | relevance | path

Searched refs:PType (Results 1 – 11 of 11) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.cpp346 auto PType = dyn_cast<PointerType>(Ty); in getTypedPtrEltType() local
347 if (!PType || PType->isOpaque()) in getTypedPtrEltType()
349 return PType->getNonOpaquePointerElementType(); in getTypedPtrEltType()
H A DSPIRVGlobalRegistry.cpp572 if (auto PType = dyn_cast<PointerType>(Ty)) { in getOrCreateSpecialType() local
573 assert(!PType->isOpaque()); in getOrCreateSpecialType()
574 Ty = PType->getNonOpaquePointerElementType(); in getOrCreateSpecialType()
684 if (auto PType = dyn_cast<PointerType>(Ty)) { in createSPIRVType() local
689 if (PType->isOpaque()) in createSPIRVType()
693 findSPIRVType(PType->getNonOpaquePointerElementType(), MIRBuilder, in createSPIRVType()
695 auto SC = addressSpaceToStorageClass(PType->getAddressSpace()); in createSPIRVType()
700 ForwardPointerTypes[PType] = getOpTypeForwardPointer(SC, MIRBuilder); in createSPIRVType()
701 return ForwardPointerTypes[PType]; in createSPIRVType()
706 if (ForwardPointerTypes.find(PType) != ForwardPointerTypes.end()) in createSPIRVType()
[all …]
H A DSPIRVBuiltins.cpp1584 Type *PType = const_cast<Type *>(getBlockStructType(BlockLiteralReg, MRI)); in buildEnqueueKernel() local
1587 MIB.addUse(buildConstantIntReg(DL.getTypeStoreSize(PType), MIRBuilder, GR)); in buildEnqueueKernel()
1590 buildConstantIntReg(DL.getPrefTypeAlignment(PType), MIRBuilder, GR)); in buildEnqueueKernel()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DPredicateInfo.h140 PredicateWithEdge(PredicateType PType, Value *Op, BasicBlock *From, in PredicateWithEdge() argument
142 : PredicateBase(PType, Op, Cond), From(From), To(To) {} in PredicateWithEdge()
/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp511 const DIType *PType = stripQualifiers(cast<DIType>(ParentType)); in IsValidAIChain() local
520 if (const auto *PtrTy = dyn_cast<DIDerivedType>(PType)) { in IsValidAIChain()
527 const auto *PTy = dyn_cast<DICompositeType>(PType); in IsValidAIChain()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DASTContext.cpp7660 QualType PType = PI->getType(); in getObjCEncodingForBlock() local
7661 CharUnits sz = getObjCEncodingTypeSize(PType); in getObjCEncodingForBlock()
7675 QualType PType = PVDecl->getOriginalType(); in getObjCEncodingForBlock() local
7677 dyn_cast<ArrayType>(PType->getCanonicalTypeInternal())) { in getObjCEncodingForBlock()
7681 PType = PVDecl->getType(); in getObjCEncodingForBlock()
7682 } else if (PType->isFunctionType()) in getObjCEncodingForBlock()
7683 PType = PVDecl->getType(); in getObjCEncodingForBlock()
7685 getObjCEncodingForMethodParameter(Decl::OBJC_TQ_None, PType, in getObjCEncodingForBlock()
7688 getObjCEncodingForType(PType, S); in getObjCEncodingForBlock()
7690 ParmOffset += getObjCEncodingTypeSize(PType); in getObjCEncodingForBlock()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp377 auto PType = PrototypeDescriptorStr.back(); in parsePrototypeDescriptor() local
378 switch (PType) { in parsePrototypeDescriptor()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaChecking.cpp15787 static void diagnoseArrayStarInParamType(Sema &S, QualType PType, in diagnoseArrayStarInParamType() argument
15789 if (!PType->isVariablyModifiedType()) in diagnoseArrayStarInParamType()
15791 if (const auto *PointerTy = dyn_cast<PointerType>(PType)) { in diagnoseArrayStarInParamType()
15795 if (const auto *ReferenceTy = dyn_cast<ReferenceType>(PType)) { in diagnoseArrayStarInParamType()
15799 if (const auto *ParenTy = dyn_cast<ParenType>(PType)) { in diagnoseArrayStarInParamType()
15804 const ArrayType *AT = S.Context.getAsArrayType(PType); in diagnoseArrayStarInParamType()
15851 QualType PType = Param->getOriginalType(); in CheckParmsForFunctionDef() local
15854 diagnoseArrayStarInParamType(*this, PType, Param->getLocation()); in CheckParmsForFunctionDef()
H A DSemaTemplateDeduction.cpp5790 QualType PType = Context.getCanonicalTemplateSpecializationType(X, PArgs); in isTemplateTemplateParameterAtLeastAsSpecializedAs() local
5796 return isAtLeastAsSpecializedAs(*this, PType, AType, AArg, Info); in isTemplateTemplateParameterAtLeastAsSpecializedAs()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp3219 llvm::Type *PType = in EmitMemberDataPointerAddress() local
3257 return Builder.CreateBitCast(Addr, PType); in EmitMemberDataPointerAddress()
H A DItaniumCXXABI.cpp828 llvm::Type *PType = CGF.ConvertTypeForMem(MPT->getPointeeType()) in EmitMemberDataPointerAddress() local
830 return Builder.CreateBitCast(Addr, PType); in EmitMemberDataPointerAddress()