Lines Matching refs:Func
55 static std::string createMASSVFuncName(Function &Func,
57 bool lowerMASSVCall(CallInst *CI, Function &Func, Module &M,
91 PPCLowerMASSVEntries::createMASSVFuncName(Function &Func,
94 auto GenericName = Func.getName().drop_back(MASSVSuffixLength).str();
102 bool PPCLowerMASSVEntries::lowerMASSVCall(CallInst *CI, Function &Func,
108 std::string MASSVEntryName = createMASSVFuncName(Func, Subtarget);
110 MASSVEntryName, Func.getFunctionType(), Func.getAttributes());
128 for (Function &Func : M) {
129 if (!Func.isDeclaration())
132 if (!isMASSVFunc(Func.getName()))
139 for (auto *User: Func.users())
148 Changed |= lowerMASSVCall(CI, Func, M, Subtarget);