Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DPredicateInfo.h138 PredicateWithEdge(PredicateType PType, Value *Op, BasicBlock *From, in PredicateWithEdge() argument
140 : PredicateBase(PType, Op, Cond), From(From), To(To) {} in PredicateWithEdge()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.h359 if (auto PType = dyn_cast<TypedPointerType>(Ty)) in getPointeeType() local
360 return PType->getElementType(); in getPointeeType()
H A DSPIRVGlobalRegistry.cpp47 if (auto PType = dyn_cast<TypedPointerType>(Ty)) in typeToAddressSpace() local
48 return PType->getAddressSpace(); in typeToAddressSpace()
49 if (auto PType = dyn_cast<PointerType>(Ty)) in typeToAddressSpace() local
50 return PType->getAddressSpace(); in typeToAddressSpace()
H A DSPIRVBuiltins.cpp2499 Type *PType = const_cast<Type *>(getBlockStructType(BlockLiteralReg, MRI)); in buildEnqueueKernel() local
2502 MIB.addUse(buildConstantIntReg32(DL.getTypeStoreSize(PType), MIRBuilder, GR)); in buildEnqueueKernel()
2504 MIB.addUse(buildConstantIntReg32(DL.getPrefTypeAlign(PType).value(), in buildEnqueueKernel()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp491 const DIType *PType = stripQualifiers(cast<DIType>(ParentType)); in IsValidAIChain() local
500 if (const auto *PtrTy = dyn_cast<DIDerivedType>(PType)) { in IsValidAIChain()
507 const auto *PTy = dyn_cast<DICompositeType>(PType); in IsValidAIChain()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp8721 QualType PType = PI->getType(); in getObjCEncodingForBlock() local
8722 CharUnits sz = getObjCEncodingTypeSize(PType); in getObjCEncodingForBlock()
8736 QualType PType = PVDecl->getOriginalType(); in getObjCEncodingForBlock() local
8738 dyn_cast<ArrayType>(PType->getCanonicalTypeInternal())) { in getObjCEncodingForBlock()
8742 PType = PVDecl->getType(); in getObjCEncodingForBlock()
8743 } else if (PType->isFunctionType()) in getObjCEncodingForBlock()
8744 PType = PVDecl->getType(); in getObjCEncodingForBlock()
8746 getObjCEncodingForMethodParameter(Decl::OBJC_TQ_None, PType, in getObjCEncodingForBlock()
8749 getObjCEncodingForType(PType, S); in getObjCEncodingForBlock()
8751 ParmOffset += getObjCEncodingTypeSize(PType); in getObjCEncodingForBlock()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp415 auto PType = PrototypeDescriptorStr.back(); in parsePrototypeDescriptor() local
416 switch (PType) { in parsePrototypeDescriptor()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp3437 QualType PType; in DeduceTemplateArgumentsFromType() local
3440 PType = Context.getTypeDeclType(CTD->getTemplatedDecl()); in DeduceTemplateArgumentsFromType()
3442 PType = AliasTemplate->getTemplatedDecl()->getUnderlyingType(); in DeduceTemplateArgumentsFromType()
3458 SmallVector<TemplateArgument> PArgs = {TemplateArgument(PType)}; in DeduceTemplateArgumentsFromType()
H A DSemaChecking.cpp14103 static void diagnoseArrayStarInParamType(Sema &S, QualType PType, in diagnoseArrayStarInParamType() argument
14105 if (!PType->isVariablyModifiedType()) in diagnoseArrayStarInParamType()
14107 if (const auto *PointerTy = dyn_cast<PointerType>(PType)) { in diagnoseArrayStarInParamType()
14111 if (const auto *ReferenceTy = dyn_cast<ReferenceType>(PType)) { in diagnoseArrayStarInParamType()
14115 if (const auto *ParenTy = dyn_cast<ParenType>(PType)) { in diagnoseArrayStarInParamType()
14120 const ArrayType *AT = S.Context.getAsArrayType(PType); in diagnoseArrayStarInParamType()
14169 QualType PType = Param->getOriginalType(); in CheckParmsForFunctionDef() local
14172 diagnoseArrayStarInParamType(*this, PType, Param->getLocation()); in CheckParmsForFunctionDef()