Home
last modified time | relevance | path

Searched refs:ReplacementTypes (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DAttributor.cpp2422 Argument &Arg, ArrayRef<Type *> ReplacementTypes) { in isValidFunctionSignatureRewrite() argument
2487 Argument &Arg, ArrayRef<Type *> ReplacementTypes, in registerFunctionSignatureRewrite() argument
2492 << ReplacementTypes.size() << " replacements\n"); in registerFunctionSignatureRewrite()
2493 assert(isValidFunctionSignatureRewrite(Arg, ReplacementTypes) && in registerFunctionSignatureRewrite()
2516 << ReplacementTypes.size() << " replacements\n"); in registerFunctionSignatureRewrite()
2519 ARI.reset(new ArgumentReplacementInfo(*this, Arg, ReplacementTypes, in registerFunctionSignatureRewrite()
2561 NewArgumentTypes.append(ARI->ReplacementTypes.begin(), in rewriteFunctionSignatures()
2562 ARI->ReplacementTypes.end()); in rewriteFunctionSignatures()
2647 NewArgOperandAttributes.append(ARI->ReplacementTypes.size(), in rewriteFunctionSignatures()
2708 if (ARI->ReplacementTypes.empty()) in rewriteFunctionSignatures()
[all …]
H A DAttributorAttributes.cpp6503 SmallVector<Type *, 16> ReplacementTypes; in updateImpl() local
6504 identifyReplacementTypes(*PrivatizableType, ReplacementTypes); in updateImpl()
6520 CB->getCaller(), CB->getCalledFunction(), ReplacementTypes); in updateImpl()
6533 if (!A.isValidFunctionSignatureRewrite(*Arg, ReplacementTypes)) { in updateImpl()
6661 SmallVectorImpl<Type *> &ReplacementTypes) { in identifyReplacementTypes()
6669 ReplacementTypes.push_back(PrivStructType->getElementType(u)); in identifyReplacementTypes()
6671 ReplacementTypes.append(PrivArrayType->getNumElements(), in identifyReplacementTypes()
6674 ReplacementTypes.push_back(PrivType); in identifyReplacementTypes()
6827 SmallVector<Type *, 16> ReplacementTypes; in manifest() local
6828 identifyReplacementTypes(*PrivatizableType, ReplacementTypes); in manifest()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h1886 unsigned getNumReplacementArgs() const { return ReplacementTypes.size(); }
1888 return ReplacementTypes;
1898 ArrayRef<Type *> ReplacementTypes,
1902 ReplacementTypes(ReplacementTypes.begin(), ReplacementTypes.end()),
1916 const SmallVector<Type *, 8> ReplacementTypes;
1936 ArrayRef<Type *> ReplacementTypes);
1947 Argument &Arg, ArrayRef<Type *> ReplacementTypes,