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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1058 Type *ParamTy = FT->getParamType(i); local
1061 if (!CastInst::isCastable(ActTy, ParamTy))
1065 if (Attrs & Attribute::typeIncompatible(ParamTy))
1070 if (ParamTy != ActTy && (Attrs & Attribute::ByVal)) {
1071 PointerType *ParamPTy = dyn_cast<PointerType>(ParamTy);
1083 bool isConvertible = ActTy == ParamTy ||
1084 (TD && ((ParamTy->isPointerTy() ||
1085 ParamTy == TD->getIntPtrType(Caller->getContext())) &&
1138 Type *ParamTy = FT->getParamType(i); local
1139 if ((*AI)->getType() == ParamTy) {
[all...]
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARCOpts.cpp910 Type *ParamTy = CInst->getArgOperand(0)->getType(); local
918 if (Op->getType() != ParamTy)
919 Op = new BitCastInst(Op, ParamTy, "", InsertPos);
1482 Type *ParamTy = PointerType::getUnqual(Type::getInt8Ty(ArgTy->getContext())); local
1488 Value *MyArg = ArgTy == ParamTy ? Arg :
1489 new BitCastInst(Arg, ParamTy, "", InsertPt);
1499 Value *MyArg = ArgTy == ParamTy ? Arg :
1500 new BitCastInst(Arg, ParamTy, "", InsertPt);
/external/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp769 QualType ParamTy = Param->getType(); local
770 assert(!ParamTy.isNull() && "Couldn't parse type?");
771 if (ParamTy->containsUnexpandedParameterPack()) return true;
H A DSemaType.cpp4211 QualType ParamTy = Param->getType(); local
4212 assert(!ParamTy.isNull() && "Couldn't parse type?");
4217 if (ParamTy->isVoidType()) {
4223 ParamTy = Context.IntTy;
4224 Param->setType(ParamTy);
4228 ParamTy = Context.IntTy;
4229 Param->setType(ParamTy);
4232 if (ParamTy.hasQualifiers())
4238 } else if (ParamTy->isHalfType()) {
4244 diag::err_opencl_half_param) << ParamTy;
[all...]
H A DSemaOverload.cpp7456 QualType ParamTy = *Ptr;
7457 QualType PointeeTy = ParamTy->getPointeeType();
7466 &ParamTy, Args, CandidateSet);
7506 QualType ParamTy = *Ptr; local
7507 S.AddBuiltinCandidate(ParamTy, &ParamTy, Args, CandidateSet);
8084 QualType ParamTy = S.Context.BoolTy; local
8085 S.AddBuiltinCandidate(ParamTy, &ParamTy, Args, CandidateSet,
H A DSemaLookup.cpp3150 QualType ParamTy = FD->getParamDecl(ArgIdx)->getType();
3151 if (!Context.hasSameUnqualifiedType(ArgTys[ArgIdx], ParamTy)) {
H A DSemaDeclAttr.cpp2737 QualType ParamTy = FD->getParamDecl(0)->getType(); local
2739 ParamTy, Ty) != Sema::Compatible) {
2741 << NI.getName() << ParamTy << Ty;
/external/clang/lib/AST/
H A DExprCXX.cpp667 QualType ParamTy = local
669 if (ParamTy->isPointerType())
671 if (ParamTy->isAnyCharacterType())
673 if (ParamTy->isIntegerType())
675 if (ParamTy->isFloatingType())
H A DDeclCXX.cpp586 const ReferenceType *ParamTy =
588 if (!ParamTy || ParamTy->getPointeeType().isConstQualified())
H A DItaniumMangle.cpp2583 QualType ParamTy = Proto->getParamType(I); local
2584 mangleType(Context.getASTContext().getSignatureParameterType(ParamTy));
/external/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp136 for (Type *ParamTy : FTy->params()) {
137 PointerType *PtrTy = dyn_cast<PointerType>(ParamTy);
H A DSIISelLowering.cpp755 auto *ParamTy = local
758 ParamTy && ParamTy->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS) {
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2687 Type *ParamTy = FT->getParamType(i); local
2690 if (!CastInst::isBitOrNoopPointerCastable(ActTy, ParamTy, DL))
2694 overlaps(AttributeFuncs::typeIncompatible(ParamTy)))
2702 if (ParamTy != ActTy &&
2705 PointerType *ParamPTy = dyn_cast<PointerType>(ParamTy);
2776 Type *ParamTy = FT->getParamType(i); local
2778 if ((*AI)->getType() == ParamTy) {
2781 Args.push_back(Builder->CreateBitOrPointerCast(*AI, ParamTy));
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DObjCARC.cpp2156 Type *ParamTy = CInst->getArgOperand(0)->getType(); local
2164 if (Op->getType() != ParamTy)
2165 Op = new BitCastInst(Op, ParamTy, "", InsertPos);
2680 Type *ParamTy = PointerType::getUnqual(Type::getInt8Ty(ArgTy->getContext())); local
2687 Value *MyArg = ArgTy == ParamTy ? Arg :
2688 new BitCastInst(Arg, ParamTy, "", InsertPt);
2717 Value *MyArg = ArgTy == ParamTy ? Arg :
2718 new BitCastInst(Arg, ParamTy, "", InsertPt);
/external/llvm/lib/IR/
H A DVerifier.cpp2598 for (Type *ParamTy : FTy->params()) {
2599 Assert(!ParamTy->isMetadataTy(),
2601 Assert(!ParamTy->isTokenTy(),
/external/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp1571 QualType ParamTy = local
1573 llvm::Type *TypeParams[] = {CGM.getTypes().ConvertTypeForMem(ParamTy)};
1581 QualType ParamTy = local
1583 llvm::Type *TypeParams[] = {CGM.getTypes().ConvertTypeForMem(ParamTy)};

Completed in 300 milliseconds