Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DPredicateInfo.h139 PredicateWithEdge(PredicateType PType, Value *Op, BasicBlock *From,
141 : PredicateBase(PType, Op, Cond), From(From), To(To) {} in PredicateWithEdge()
140 PredicateWithEdge(PredicateType PType,Value * Op,BasicBlock * From,BasicBlock * To,Value * Cond) PredicateWithEdge() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.h183 if (auto PType = dyn_cast<TypedPointerType>(Ty)) in getPointeeType() local
184 return PType->getElementType(); in getPointeeType()
H A DSPIRVGlobalRegistry.cpp885 if (auto PType = dyn_cast<TypedPointerType>(Ty)) in createSPIRVType() local
886 AddrSpace = PType->getAddressSpace(); in createSPIRVType()
887 else if (auto PType = dyn_cast<PointerType>(Ty)) in createSPIRVType() local
888 AddrSpace = PType->getAddressSpace(); in createSPIRVType()
893 if (auto PType = dyn_cast<TypedPointerType>(Ty)) in createSPIRVType() local
894 SpvElementType = getOrCreateSPIRVType(PType->getElementType(), MIRBuilder, in createSPIRVType()
H A DSPIRVEmitIntrinsics.cpp1021 if (auto PType = dyn_cast<TypedPointerType>(VTy)) in insertAssignPtrTypeTargetExt() local
1022 if (PType->getElementType() != AssignedType) in insertAssignPtrTypeTargetExt()
1476 if (auto PType = dyn_cast<TypedPointerType>(OpTy)) { in insertAssignTypeIntrs() local
1477 buildAssignPtr(B, PType->getElementType(), Op); in insertAssignTypeIntrs()
H A DSPIRVBuiltins.cpp2133 Type *PType = const_cast<Type *>(getBlockStructType(BlockLiteralReg, MRI)); in buildEnqueueKernel() local
2136 MIB.addUse(buildConstantIntReg(DL.getTypeStoreSize(PType), MIRBuilder, GR)); in buildEnqueueKernel()
2139 buildConstantIntReg(DL.getPrefTypeAlign(PType).value(), MIRBuilder, GR)); in buildEnqueueKernel()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp500 const DIType *PType = stripQualifiers(cast<DIType>(ParentType)); in IsValidAIChain() local
509 if (const auto *PtrTy = dyn_cast<DIDerivedType>(PType)) { in IsValidAIChain()
516 const auto *PTy = dyn_cast<DICompositeType>(PType); in IsValidAIChain()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp8123 QualType PType = PI->getType(); in getObjCEncodingForBlock() local
8124 CharUnits sz = getObjCEncodingTypeSize(PType); in getObjCEncodingForBlock()
8138 QualType PType = PVDecl->getOriginalType(); in getObjCEncodingForBlock() local
8140 dyn_cast<ArrayType>(PType->getCanonicalTypeInternal())) { in getObjCEncodingForBlock()
8144 PType = PVDecl->getType(); in getObjCEncodingForBlock()
8145 } else if (PType->isFunctionType()) in getObjCEncodingForBlock()
8146 PType = PVDecl->getType(); in getObjCEncodingForBlock()
8148 getObjCEncodingForMethodParameter(Decl::OBJC_TQ_None, PType, in getObjCEncodingForBlock()
8151 getObjCEncodingForType(PType, S); in getObjCEncodingForBlock()
8153 ParmOffset += getObjCEncodingTypeSize(PType); in getObjCEncodingForBlock()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp418 auto PType = PrototypeDescriptorStr.back(); in parsePrototypeDescriptor() local
419 switch (PType) { in parsePrototypeDescriptor()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp3365 QualType PType; in DeduceTemplateArgumentsFromType() local
3368 PType = Context.getTypeDeclType(CTD->getTemplatedDecl()); in DeduceTemplateArgumentsFromType()
3370 PType = AliasTemplate->getTemplatedDecl() in DeduceTemplateArgumentsFromType()
3388 SmallVector<TemplateArgument> PArgs = {TemplateArgument(PType)}; in DeduceTemplateArgumentsFromType()
H A DSemaChecking.cpp12670 static void diagnoseArrayStarInParamType(Sema &S, QualType PType, in diagnoseArrayStarInParamType() argument
12672 if (!PType->isVariablyModifiedType()) in diagnoseArrayStarInParamType()
12674 if (const auto *PointerTy = dyn_cast<PointerType>(PType)) { in diagnoseArrayStarInParamType()
12678 if (const auto *ReferenceTy = dyn_cast<ReferenceType>(PType)) { in diagnoseArrayStarInParamType()
12682 if (const auto *ParenTy = dyn_cast<ParenType>(PType)) { in diagnoseArrayStarInParamType()
12687 const ArrayType *AT = S.Context.getAsArrayType(PType); in diagnoseArrayStarInParamType()
12736 QualType PType = Param->getOriginalType(); in CheckParmsForFunctionDef() local
12739 diagnoseArrayStarInParamType(*this, PType, Param->getLocation()); in CheckParmsForFunctionDef()