Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUCallLowering.cpp45 Type *ParamTy, in lowerParameterPtr() argument
53 PointerType *PtrTy = PointerType::get(ParamTy, AMDGPUASI.CONSTANT_ADDRESS); in lowerParameterPtr()
69 Type *ParamTy, uint64_t Offset, in lowerParameter() argument
75 PointerType *PtrTy = PointerType::get(ParamTy, AMDGPUASI.CONSTANT_ADDRESS); in lowerParameter()
77 unsigned TypeSize = DL.getTypeStoreSize(ParamTy); in lowerParameter()
78 unsigned PtrReg = lowerParameterPtr(MIRBuilder, ParamTy, Offset); in lowerParameter()
DAMDGPUCallLowering.h28 unsigned lowerParameterPtr(MachineIRBuilder &MIRBuilder, Type *ParamTy,
31 void lowerParameter(MachineIRBuilder &MIRBuilder, Type *ParamTy,
DAMDGPUPromoteAlloca.cpp611 for (Type *ParamTy : FTy->params()) { in hasSufficientLocalMem()
612 PointerType *PtrTy = dyn_cast<PointerType>(ParamTy); in hasSufficientLocalMem()
DSIISelLowering.cpp1887 auto *ParamTy = in LowerFormalArguments() local
1890 ParamTy && ParamTy->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS) { in LowerFormalArguments()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCOpts.cpp910 Type *ParamTy = CInst->getArgOperand(0)->getType(); in OptimizeIndividualCalls() local
918 if (Op->getType() != ParamTy) in OptimizeIndividualCalls()
919 Op = new BitCastInst(Op, ParamTy, "", InsertPos); in OptimizeIndividualCalls()
1482 Type *ParamTy = PointerType::getUnqual(Type::getInt8Ty(ArgTy->getContext())); in MoveCalls() local
1488 Value *MyArg = ArgTy == ParamTy ? Arg : in MoveCalls()
1489 new BitCastInst(Arg, ParamTy, "", InsertPt); in MoveCalls()
1499 Value *MyArg = ArgTy == ParamTy ? Arg : in MoveCalls()
1500 new BitCastInst(Arg, ParamTy, "", InsertPt); in MoveCalls()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/
DObjCARCOpts.cpp966 Type *ParamTy = CInst->getArgOperand(0)->getType(); in OptimizeIndividualCalls() local
975 if (Op->getType() != ParamTy) in OptimizeIndividualCalls()
976 Op = new BitCastInst(Op, ParamTy, "", InsertPos); in OptimizeIndividualCalls()
1516 Type *ParamTy = PointerType::getUnqual(Type::getInt8Ty(ArgTy->getContext())); in MoveCalls() local
1522 Value *MyArg = ArgTy == ParamTy ? Arg : in MoveCalls()
1523 new BitCastInst(Arg, ParamTy, "", InsertPt); in MoveCalls()
1535 Value *MyArg = ArgTy == ParamTy ? Arg : in MoveCalls()
1536 new BitCastInst(Arg, ParamTy, "", InsertPt); in MoveCalls()
/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp769 QualType ParamTy = Param->getType(); in containsUnexpandedParameterPacks() local
770 assert(!ParamTy.isNull() && "Couldn't parse type?"); in containsUnexpandedParameterPacks()
771 if (ParamTy->containsUnexpandedParameterPack()) return true; in containsUnexpandedParameterPacks()
DSemaType.cpp4211 QualType ParamTy = Param->getType(); in GetFullTypeForDeclarator() local
4212 assert(!ParamTy.isNull() && "Couldn't parse type?"); in GetFullTypeForDeclarator()
4217 if (ParamTy->isVoidType()) { in GetFullTypeForDeclarator()
4223 ParamTy = Context.IntTy; in GetFullTypeForDeclarator()
4224 Param->setType(ParamTy); in GetFullTypeForDeclarator()
4228 ParamTy = Context.IntTy; in GetFullTypeForDeclarator()
4229 Param->setType(ParamTy); in GetFullTypeForDeclarator()
4232 if (ParamTy.hasQualifiers()) in GetFullTypeForDeclarator()
4238 } else if (ParamTy->isHalfType()) { in GetFullTypeForDeclarator()
4244 diag::err_opencl_half_param) << ParamTy; in GetFullTypeForDeclarator()
[all …]
DSemaOverload.cpp7456 QualType ParamTy = *Ptr; in addUnaryStarPointerOverloads() local
7457 QualType PointeeTy = ParamTy->getPointeeType(); in addUnaryStarPointerOverloads()
7466 &ParamTy, Args, CandidateSet); in addUnaryStarPointerOverloads()
7506 QualType ParamTy = *Ptr; in addUnaryPlusPointerOverloads() local
7507 S.AddBuiltinCandidate(ParamTy, &ParamTy, Args, CandidateSet); in addUnaryPlusPointerOverloads()
8084 QualType ParamTy = S.Context.BoolTy; in addExclaimOverload() local
8085 S.AddBuiltinCandidate(ParamTy, &ParamTy, Args, CandidateSet, in addExclaimOverload()
DSemaLookup.cpp3150 QualType ParamTy = FD->getParamDecl(ArgIdx)->getType(); in LookupLiteralOperator() local
3151 if (!Context.hasSameUnqualifiedType(ArgTys[ArgIdx], ParamTy)) { in LookupLiteralOperator()
DSemaDeclAttr.cpp2737 QualType ParamTy = FD->getParamDecl(0)->getType(); in handleCleanupAttr() local
2739 ParamTy, Ty) != Sema::Compatible) { in handleCleanupAttr()
2741 << NI.getName() << ParamTy << Ty; in handleCleanupAttr()
/external/clang/lib/AST/
DExprCXX.cpp667 QualType ParamTy = in getLiteralOperatorKind() local
669 if (ParamTy->isPointerType()) in getLiteralOperatorKind()
671 if (ParamTy->isAnyCharacterType()) in getLiteralOperatorKind()
673 if (ParamTy->isIntegerType()) in getLiteralOperatorKind()
675 if (ParamTy->isFloatingType()) in getLiteralOperatorKind()
DDeclCXX.cpp586 const ReferenceType *ParamTy = in addedMember() local
588 if (!ParamTy || ParamTy->getPointeeType().isConstQualified()) in addedMember()
DItaniumMangle.cpp2583 QualType ParamTy = Proto->getParamType(I); in mangleBareFunctionType() local
2584 mangleType(Context.getASTContext().getSignatureParameterType(ParamTy)); in mangleBareFunctionType()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp2687 Type *ParamTy = FT->getParamType(i); in transformConstExprCastCall() local
2690 if (!CastInst::isBitOrNoopPointerCastable(ActTy, ParamTy, DL)) in transformConstExprCastCall()
2694 overlaps(AttributeFuncs::typeIncompatible(ParamTy))) in transformConstExprCastCall()
2702 if (ParamTy != ActTy && in transformConstExprCastCall()
2705 PointerType *ParamPTy = dyn_cast<PointerType>(ParamTy); in transformConstExprCastCall()
2776 Type *ParamTy = FT->getParamType(i); in transformConstExprCastCall() local
2778 if ((*AI)->getType() == ParamTy) { in transformConstExprCastCall()
2781 Args.push_back(Builder->CreateBitOrPointerCast(*AI, ParamTy)); in transformConstExprCastCall()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp136 for (Type *ParamTy : FTy->params()) { in runOnFunction()
137 PointerType *PtrTy = dyn_cast<PointerType>(ParamTy); in runOnFunction()
DSIISelLowering.cpp755 auto *ParamTy = in LowerFormalArguments() local
758 ParamTy && ParamTy->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS) { in LowerFormalArguments()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp4195 Type *ParamTy = FT->getParamType(i); in transformConstExprCastCall() local
4198 if (!CastInst::isBitOrNoopPointerCastable(ActTy, ParamTy, DL)) in transformConstExprCastCall()
4202 .overlaps(AttributeFuncs::typeIncompatible(ParamTy))) in transformConstExprCastCall()
4210 if (ParamTy != ActTy && CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall()
4211 PointerType *ParamPTy = dyn_cast<PointerType>(ParamTy); in transformConstExprCastCall()
4271 Type *ParamTy = FT->getParamType(i); in transformConstExprCastCall() local
4274 if ((*AI)->getType() != ParamTy) in transformConstExprCastCall()
4275 NewArg = Builder.CreateBitOrPointerCast(*AI, ParamTy); in transformConstExprCastCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp354 for (Type *ParamTy : FTy->params()) in getSignature()
355 OS << "_" << *ParamTy; in getSignature()
/external/llvm/lib/IR/
DVerifier.cpp2598 for (Type *ParamTy : FTy->params()) { in verifyCallSite()
2599 Assert(!ParamTy->isMetadataTy(), in verifyCallSite()
2601 Assert(!ParamTy->isTokenTy(), in verifyCallSite()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DVerifier.cpp2816 for (Type *ParamTy : FTy->params()) { in verifyCallSite()
2817 Assert(!ParamTy->isMetadataTy(), in verifyCallSite()
2819 Assert(!ParamTy->isTokenTy(), in verifyCallSite()
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp1571 QualType ParamTy = in createRuntimeFunction() local
1573 llvm::Type *TypeParams[] = {CGM.getTypes().ConvertTypeForMem(ParamTy)}; in createRuntimeFunction()
1581 QualType ParamTy = in createRuntimeFunction() local
1583 llvm::Type *TypeParams[] = {CGM.getTypes().ConvertTypeForMem(ParamTy)}; in createRuntimeFunction()