Home
last modified time | relevance | path

Searched refs:ParamTy (Results 1 – 25 of 25) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUCallLowering.h27 void lowerParameterPtr(Register DstReg, MachineIRBuilder &B, Type *ParamTy,
30 void lowerParameter(MachineIRBuilder &B, Type *ParamTy, uint64_t Offset,
H A DAMDGPUCallLowering.cpp399 Type *ParamTy, in lowerParameterPtr() argument
413 void AMDGPUCallLowering::lowerParameter(MachineIRBuilder &B, Type *ParamTy, in lowerParameter() argument
420 unsigned TypeSize = DL.getTypeStoreSize(ParamTy); in lowerParameter()
424 lowerParameterPtr(PtrReg, B, ParamTy, Offset); in lowerParameter()
H A DAMDGPUPromoteAlloca.cpp718 for (Type *ParamTy : FTy->params()) { in hasSufficientLocalMem()
719 PointerType *PtrTy = dyn_cast<PointerType>(ParamTy); in hasSufficientLocalMem()
H A DSIISelLowering.cpp2399 auto *ParamTy = in LowerFormalArguments() local
2402 ParamTy && (ParamTy->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS || in LowerFormalArguments()
2403 ParamTy->getAddressSpace() == AMDGPUAS::REGION_ADDRESS)) { in LowerFormalArguments()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.cpp109 Type *ParamTy = Func->getArg(0)->getType(); in insertRVCallWithColors() local
110 Value *CallArg = Builder.CreateBitCast(AnnotatedCall, ParamTy); in insertRVCallWithColors()
H A DObjCARCOpts.cpp1184 Type *ParamTy = CInst->getArgOperand(0)->getType(); in OptimizeIndividualCallImpl() local
1193 if (Op->getType() != ParamTy) in OptimizeIndividualCallImpl()
1194 Op = new BitCastInst(Op, ParamTy, "", InsertPos); in OptimizeIndividualCallImpl()
1750 Type *ParamTy = PointerType::getUnqual(Type::getInt8Ty(ArgTy->getContext())); in MoveCalls() local
1756 Value *MyArg = ArgTy == ParamTy ? Arg : in MoveCalls()
1757 new BitCastInst(Arg, ParamTy, "", InsertPt); in MoveCalls()
1769 Value *MyArg = ArgTy == ParamTy ? Arg : in MoveCalls()
1770 new BitCastInst(Arg, ParamTy, "", InsertPt); in MoveCalls()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DInnerPointerChecker.cpp169 QualType ParamTy = FD->getParamDecl(I)->getType(); in checkFunctionArguments() local
170 if (!ParamTy->isReferenceType() || in checkFunctionArguments()
171 ParamTy->getPointeeType().isConstQualified()) in checkFunctionArguments()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp615 QualType ParamTy = PVD->getType(); in evalCall() local
616 if (ParamTy.isNull() || in evalCall()
617 (!ParamTy->isPointerType() && !ParamTy->isReferenceType())) in evalCall()
619 QualType Pointee = ParamTy->getPointeeType(); in evalCall()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2547 Type *ParamTy = FT->getParamType(i); in transformConstExprCastCall() local
2550 if (!CastInst::isBitOrNoopPointerCastable(ActTy, ParamTy, DL)) in transformConstExprCastCall()
2554 .overlaps(AttributeFuncs::typeIncompatible(ParamTy))) in transformConstExprCastCall()
2565 if (ParamTy != ActTy && CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall()
2566 PointerType *ParamPTy = dyn_cast<PointerType>(ParamTy); in transformConstExprCastCall()
2627 Type *ParamTy = FT->getParamType(i); in transformConstExprCastCall() local
2630 if ((*AI)->getType() != ParamTy) in transformConstExprCastCall()
2631 NewArg = Builder.CreateBitOrPointerCast(*AI, ParamTy); in transformConstExprCastCall()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp935 QualType ParamTy = Param->getType(); in containsUnexpandedParameterPacks() local
936 assert(!ParamTy.isNull() && "Couldn't parse type?"); in containsUnexpandedParameterPacks()
937 if (ParamTy->containsUnexpandedParameterPack()) return true; in containsUnexpandedParameterPacks()
H A DSemaType.cpp5224 QualType ParamTy = Param->getType(); in GetFullTypeForDeclarator() local
5225 assert(!ParamTy.isNull() && "Couldn't parse type?"); in GetFullTypeForDeclarator()
5230 if (ParamTy->isVoidType()) { in GetFullTypeForDeclarator()
5236 ParamTy = Context.IntTy; in GetFullTypeForDeclarator()
5237 Param->setType(ParamTy); in GetFullTypeForDeclarator()
5241 ParamTy = Context.IntTy; in GetFullTypeForDeclarator()
5242 Param->setType(ParamTy); in GetFullTypeForDeclarator()
5245 if (ParamTy.hasQualifiers()) in GetFullTypeForDeclarator()
5251 } else if (ParamTy->isHalfType()) { in GetFullTypeForDeclarator()
5258 << ParamTy << 0; in GetFullTypeForDeclarator()
[all …]
H A DSemaChecking.cpp1327 QualType ParamTy = [&]() { in SemaBuiltinLaunder() local
1337 TheCall->setType(ParamTy); in SemaBuiltinLaunder()
1340 if (!ParamTy->isPointerType()) in SemaBuiltinLaunder()
1342 if (ParamTy->isFunctionPointerType()) in SemaBuiltinLaunder()
1344 if (ParamTy->isVoidPointerType()) in SemaBuiltinLaunder()
1360 if (S.RequireCompleteType(TheCall->getBeginLoc(), ParamTy->getPointeeType(), in SemaBuiltinLaunder()
1364 assert(ParamTy->getPointeeType()->isObjectType() && in SemaBuiltinLaunder()
1368 InitializedEntity::InitializeParameter(S.Context, ParamTy, false); in SemaBuiltinLaunder()
4557 QualType ParamTy) { in CheckArgAlignment() argument
4560 if (!ParamTy->isPointerType() && !ParamTy->isReferenceType()) in CheckArgAlignment()
[all …]
H A DSemaDeclAttr.cpp801 QualType ParamTy = getFunctionOrMethodParamType(D, Idx.getASTIndex()); in checkParamIsIntegerType() local
802 if (!ParamTy->isIntegerType() && !ParamTy->isCharType()) { in checkParamIsIntegerType()
3238 QualType ParamTy = FD->getParamDecl(0)->getType(); in handleCleanupAttr() local
3240 ParamTy, Ty) != Sema::Compatible) { in handleCleanupAttr()
3242 << NI.getName() << ParamTy << Ty; in handleCleanupAttr()
6159 QualType ParamTy = Param->getType(); in DiagnoseSwiftName() local
6160 if (ParamTy->isReferenceType() || ParamTy->isPointerType()) in DiagnoseSwiftName()
6161 return !ParamTy->getPointeeType().isConstQualified(); in DiagnoseSwiftName()
H A DSema.cpp1851 for (const auto &ParamTy : FPTy->param_types()) in checkDeviceDecl() local
1852 CheckType(ParamTy); in checkDeviceDecl()
H A DSemaOverload.cpp8363 for (QualType ParamTy : CandidateTypes[0].pointer_types()) { in addUnaryStarPointerOverloads() local
8364 QualType PointeeTy = ParamTy->getPointeeType(); in addUnaryStarPointerOverloads()
8372 S.AddBuiltinCandidate(&ParamTy, Args, CandidateSet); in addUnaryStarPointerOverloads()
8403 for (QualType ParamTy : CandidateTypes[0].pointer_types()) in addUnaryPlusPointerOverloads() local
8404 S.AddBuiltinCandidate(&ParamTy, Args, CandidateSet); in addUnaryPlusPointerOverloads()
8974 QualType ParamTy = S.Context.BoolTy; in addExclaimOverload() local
8975 S.AddBuiltinCandidate(&ParamTy, Args, CandidateSet, in addExclaimOverload()
H A DSemaTemplate.cpp2404 QualType ParamTy = NewDI->getType(); in transformFunctionTypeParam() local
2407 ParamTy.getNonLValueExprType(SemaRef.Context), in transformFunctionTypeParam()
2408 ParamTy->isLValueReferenceType() ? VK_LValue : in transformFunctionTypeParam()
2409 ParamTy->isRValueReferenceType() ? VK_XValue : in transformFunctionTypeParam()
H A DSemaLookup.cpp3417 QualType ParamTy = FD->getParamDecl(ArgIdx)->getType(); in LookupLiteralOperator() local
3418 if (!Context.hasSameUnqualifiedType(ArgTys[ArgIdx], ParamTy)) { in LookupLiteralOperator()
H A DSemaExprCXX.cpp3782 QualType ParamTy = OperatorNewOrDelete->getParamDecl(i)->getType(); in SemaBuiltinOperatorNewDeleteOverloaded() local
3784 InitializedEntity::InitializeParameter(Context, ParamTy, false); in SemaBuiltinOperatorNewDeleteOverloaded()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExprCXX.cpp924 QualType ParamTy = in getLiteralOperatorKind() local
926 if (ParamTy->isPointerType()) in getLiteralOperatorKind()
928 if (ParamTy->isAnyCharacterType()) in getLiteralOperatorKind()
930 if (ParamTy->isIntegerType()) in getLiteralOperatorKind()
932 if (ParamTy->isFloatingType()) in getLiteralOperatorKind()
H A DDeclCXX.cpp846 const auto *ParamTy = in addedMember() local
848 if (!ParamTy || ParamTy->getPointeeType().isConstQualified()) in addedMember()
H A DItaniumMangle.cpp3248 QualType ParamTy = Proto->getParamType(I); in mangleBareFunctionType() local
3249 mangleType(Context.getASTContext().getSignatureParameterType(ParamTy)); in mangleBareFunctionType()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp326 for (Type *ParamTy : FTy->params()) in getSignature()
327 OS << "_" << *ParamTy; in getSignature()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp311 QualType ParamTy = Ctx.getPointerType(Ctx.VoidPtrTy); in getFunctionInfo() local
315 Ctx, nullptr, SourceLocation(), &Ctx.Idents.get(ValNameStr[I]), ParamTy, in getFunctionInfo()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DVerifier.cpp3273 for (Type *ParamTy : FTy->params()) { in visitCallBase()
3274 Assert(!ParamTy->isMetadataTy(), in visitCallBase()
3276 Assert(!ParamTy->isTokenTy(), in visitCallBase()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h12423 StringRef ParamName, QualType ArgTy, QualType ParamTy);