Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.cpp433 if (auto PType = dyn_cast<PointerType>(Ty)) { in isSpecialType() local
434 if (!PType->isOpaque()) in isSpecialType()
435 Ty = PType->getNonOpaquePointerElementType(); in isSpecialType()
548 if (auto PType = dyn_cast<PointerType>(Ty)) { in createSPIRVType() local
553 if (PType->isOpaque()) in createSPIRVType()
557 findSPIRVType(PType->getNonOpaquePointerElementType(), MIRBuilder, in createSPIRVType()
559 auto SC = addressSpaceToStorageClass(PType->getAddressSpace()); in createSPIRVType()
564 ForwardPointerTypes[PType] = getOpTypeForwardPointer(SC, MIRBuilder); in createSPIRVType()
565 return ForwardPointerTypes[PType]; in createSPIRVType()
570 if (ForwardPointerTypes.find(PType) != ForwardPointerTypes.end()) in createSPIRVType()
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DHover.cpp678 std::string typeAsDefinition(const HoverInfo::PrintedType &PType) { in typeAsDefinition() argument
681 OS << PType.Type; in typeAsDefinition()
682 if (PType.AKA) in typeAsDefinition()
683 OS << " // aka: " << *PType.AKA; in typeAsDefinition()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp7555 QualType PType = PI->getType(); in getObjCEncodingForBlock() local
7576 PType = PVDecl->getType(); in getObjCEncodingForBlock()
7577 } else if (PType->isFunctionType()) in getObjCEncodingForBlock()
7578 PType = PVDecl->getType(); in getObjCEncodingForBlock()
7599 QualType PType = PI->getType(); in getObjCEncodingForFunctionDecl() local
7619 PType = PVDecl->getType(); in getObjCEncodingForFunctionDecl()
7621 PType = PVDecl->getType(); in getObjCEncodingForFunctionDecl()
7622 getObjCEncodingForType(PType, S); in getObjCEncodingForFunctionDecl()
7666 QualType PType = (*PI)->getType(); in getObjCEncodingForMethodDecl() local
7690 PType = PVDecl->getType(); in getObjCEncodingForMethodDecl()
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp377 auto PType = PrototypeDescriptorStr.back(); in parsePrototypeDescriptor() local
378 switch (PType) { in parsePrototypeDescriptor()
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dattr-swift_name.m10 __attribute__((__swift_name__("PType")))
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp15444 static void diagnoseArrayStarInParamType(Sema &S, QualType PType, in diagnoseArrayStarInParamType() argument
15446 if (!PType->isVariablyModifiedType()) in diagnoseArrayStarInParamType()
15448 if (const auto *PointerTy = dyn_cast<PointerType>(PType)) { in diagnoseArrayStarInParamType()
15452 if (const auto *ReferenceTy = dyn_cast<ReferenceType>(PType)) { in diagnoseArrayStarInParamType()
15456 if (const auto *ParenTy = dyn_cast<ParenType>(PType)) { in diagnoseArrayStarInParamType()
15461 const ArrayType *AT = S.Context.getAsArrayType(PType); in diagnoseArrayStarInParamType()
15508 QualType PType = Param->getOriginalType(); in CheckParmsForFunctionDef() local
15511 diagnoseArrayStarInParamType(*this, PType, Param->getLocation()); in CheckParmsForFunctionDef()
H A DSemaTemplateDeduction.cpp5565 QualType PType = Context.getTemplateSpecializationType(X, PArgs); in isTemplateTemplateParameterAtLeastAsSpecializedAs() local
5571 return isAtLeastAsSpecializedAs(*this, PType, AType, AArg, Info); in isTemplateTemplateParameterAtLeastAsSpecializedAs()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp3206 llvm::Type *PType = in EmitMemberDataPointerAddress() local
3244 return Builder.CreateBitCast(Addr, PType); in EmitMemberDataPointerAddress()
H A DItaniumCXXABI.cpp840 llvm::Type *PType = CGF.ConvertTypeForMem(MPT->getPointeeType()) in EmitMemberDataPointerAddress() local
842 return Builder.CreateBitCast(Addr, PType); in EmitMemberDataPointerAddress()