Lines Matching defs:Func
55 static std::string createMASSVFuncName(Function &Func,
57 bool handlePowSpecialCases(CallInst *CI, Function &Func, Module &M);
58 bool lowerMASSVCall(CallInst *CI, Function &Func, Module &M,
97 PPCLowerMASSVEntries::createMASSVFuncName(Function &Func,
100 auto GenericName = Func.getName().str();
107 bool PPCLowerMASSVEntries::handlePowSpecialCases(CallInst *CI, Function &Func,
109 if (Func.getName() != "__powf4" && Func.getName() != "__powd2")
136 bool PPCLowerMASSVEntries::lowerMASSVCall(CallInst *CI, Function &Func,
143 if (handlePowSpecialCases(CI, Func, M))
146 std::string MASSVEntryName = createMASSVFuncName(Func, Subtarget);
148 MASSVEntryName, Func.getFunctionType(), Func.getAttributes());
165 for (Function &Func : M) {
166 if (!Func.isDeclaration())
169 if (!isMASSVFunc(Func.getName()))
175 SmallVector<User *, 4> MASSVUsers(Func.users());
183 Changed |= lowerMASSVCall(CI, Func, M, Subtarget);