Searched refs:ParamTy (Results 1 - 22 of 22) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCallLowering.h26 Register lowerParameterPtr(MachineIRBuilder &B, Type *ParamTy,
29 void lowerParameter(MachineIRBuilder &B, Type *ParamTy, uint64_t Offset,
H A DAMDGPUCallLowering.cpp341 Type *ParamTy,
349 PointerType *PtrTy = PointerType::get(ParamTy, AMDGPUAS::CONSTANT_ADDRESS);
365 Type *ParamTy, uint64_t Offset,
372 unsigned TypeSize = DL.getTypeStoreSize(ParamTy);
373 Register PtrReg = lowerParameterPtr(B, ParamTy, Offset);
340 lowerParameterPtr(MachineIRBuilder &B, Type *ParamTy, uint64_t Offset) const argument
364 lowerParameter(MachineIRBuilder &B, Type *ParamTy, uint64_t Offset, unsigned Align, Register DstReg) const argument
H A DAMDGPUPromoteAlloca.cpp634 for (Type *ParamTy : FTy->params()) {
635 PointerType *PtrTy = dyn_cast<PointerType>(ParamTy);
H A DSIISelLowering.cpp2152 auto *ParamTy = local
2155 ParamTy && (ParamTy->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS ||
2156 ParamTy->getAddressSpace() == AMDGPUAS::REGION_ADDRESS)) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DInnerPointerChecker.cpp159 QualType ParamTy = FD->getParamDecl(I)->getType(); local
160 if (!ParamTy->isReferenceType() ||
161 ParamTy->getPointeeType().isConstQualified())
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp615 QualType ParamTy = PVD->getType(); local
616 if (ParamTy.isNull() ||
617 (!ParamTy->isPointerType() && !ParamTy->isReferenceType()))
619 QualType Pointee = ParamTy->getPointeeType();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCOpts.cpp1134 Type *ParamTy = CInst->getArgOperand(0)->getType(); local
1143 if (Op->getType() != ParamTy)
1144 Op = new BitCastInst(Op, ParamTy, "", InsertPos);
1694 Type *ParamTy = PointerType::getUnqual(Type::getInt8Ty(ArgTy->getContext())); local
1700 Value *MyArg = ArgTy == ParamTy ? Arg :
1701 new BitCastInst(Arg, ParamTy, "", InsertPt);
1713 Value *MyArg = ArgTy == ParamTy ? Arg :
1714 new BitCastInst(Arg, ParamTy, "", InsertPt);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp909 QualType ParamTy = Param->getType(); local
910 assert(!ParamTy.isNull() && "Couldn't parse type?");
911 if (ParamTy->containsUnexpandedParameterPack()) return true;
H A DSemaType.cpp4952 QualType ParamTy = Param->getType(); local
4953 assert(!ParamTy.isNull() && "Couldn't parse type?");
4958 if (ParamTy->isVoidType()) {
4964 ParamTy = Context.IntTy;
4965 Param->setType(ParamTy);
4969 ParamTy = Context.IntTy;
4970 Param->setType(ParamTy);
4973 if (ParamTy.hasQualifiers())
4979 } else if (ParamTy->isHalfType()) {
4985 diag::err_opencl_half_param) << ParamTy;
[all...]
H A DSemaChecking.cpp1090 QualType ParamTy = [&]() {
1100 TheCall->setType(ParamTy);
1103 if (!ParamTy->isPointerType())
1105 if (ParamTy->isFunctionPointerType())
1107 if (ParamTy->isVoidPointerType())
1123 if (S.RequireCompleteType(TheCall->getBeginLoc(), ParamTy->getPointeeType(),
1127 assert(ParamTy->getPointeeType()->isObjectType() &&
1131 InitializedEntity::InitializeParameter(S.Context, ParamTy, false);
H A DSemaOverload.cpp8230 QualType ParamTy = *Ptr;
8231 QualType PointeeTy = ParamTy->getPointeeType();
8239 S.AddBuiltinCandidate(&ParamTy, Args, CandidateSet);
8279 QualType ParamTy = *Ptr;
8280 S.AddBuiltinCandidate(&ParamTy, Args, CandidateSet);
8879 QualType ParamTy = S.Context.BoolTy;
8880 S.AddBuiltinCandidate(&ParamTy, Args, CandidateSet,
H A DSemaTemplate.cpp2223 QualType ParamTy = NewDI->getType(); local
2226 ParamTy.getNonLValueExprType(SemaRef.Context),
2227 ParamTy->isLValueReferenceType() ? VK_LValue :
2228 ParamTy->isRValueReferenceType() ? VK_XValue :
H A DSemaLookup.cpp3444 QualType ParamTy = FD->getParamDecl(ArgIdx)->getType();
3445 if (!Context.hasSameUnqualifiedType(ArgTys[ArgIdx], ParamTy)) {
H A DSemaDeclAttr.cpp3155 QualType ParamTy = FD->getParamDecl(0)->getType(); local
3157 ParamTy, Ty) != Sema::Compatible) {
3159 << NI.getName() << ParamTy << Ty;
H A DSemaExprCXX.cpp3556 QualType ParamTy = OperatorNewOrDelete->getParamDecl(i)->getType();
3558 InitializedEntity::InitializeParameter(Context, ParamTy, false);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp335 for (Type *ParamTy : FTy->params())
336 OS << "_" << *ParamTy; local
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp967 QualType ParamTy = local
969 if (ParamTy->isPointerType())
971 if (ParamTy->isAnyCharacterType())
973 if (ParamTy->isIntegerType())
975 if (ParamTy->isFloatingType())
H A DDeclCXX.cpp827 const auto *ParamTy =
829 if (!ParamTy || ParamTy->getPointeeType().isConstQualified())
H A DItaniumMangle.cpp2915 QualType ParamTy = Proto->getParamType(I); local
2916 mangleType(Context.getASTContext().getSignatureParameterType(ParamTy));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp4626 Type *ParamTy = FT->getParamType(i); local
4629 if (!CastInst::isBitOrNoopPointerCastable(ActTy, ParamTy, DL))
4633 .overlaps(AttributeFuncs::typeIncompatible(ParamTy)))
4641 if (ParamTy != ActTy && CallerPAL.hasParamAttribute(i, Attribute::ByVal)) {
4642 PointerType *ParamPTy = dyn_cast<PointerType>(ParamTy);
4703 Type *ParamTy = FT->getParamType(i); local
4706 if ((*AI)->getType() != ParamTy)
4707 NewArg = Builder.CreateBitOrPointerCast(*AI, ParamTy);
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp307 QualType ParamTy = Ctx.getPointerType(Ctx.VoidPtrTy); local
311 Ctx, nullptr, SourceLocation(), &Ctx.Idents.get(ValNameStr[I]), ParamTy,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp2991 for (Type *ParamTy : FTy->params()) {
2992 Assert(!ParamTy->isMetadataTy(),
2994 Assert(!ParamTy->isTokenTy(),

Completed in 704 milliseconds