Lines Matching refs:Acc
86 Value *Acc = nullptr; member in __anonb3a2f3ff0111::Reduction
121 if (Add == Acc) in InsertMuls()
134 if (Acc) in InsertAcc()
136 Acc = V; in InsertAcc()
162 Value *getAccumulator() { return Acc; } in getAccumulator()
188 LLVM_DEBUG(if (Acc) dbgs() << "Acc in: " << *Acc << "\n") in dump()
624 Value *Acc, bool Exchange, in InsertParallelMACs()
628 Value* Args[] = { WideLd0, WideLd1, Acc }; in InsertParallelMACs()
631 SMLAD = Acc->getType()->isIntegerTy(32) ? in InsertParallelMACs()
635 SMLAD = Acc->getType()->isIntegerTy(32) ? in InsertParallelMACs()
662 Value *Acc = R.getAccumulator(); in InsertParallelMACs() local
681 if (!Acc) { in InsertParallelMACs()
682 Acc = Mul; in InsertParallelMACs()
689 Builder.SetInsertPoint(GetInsertPoint(Mul, Acc)); in InsertParallelMACs()
690 Acc = Builder.CreateAdd(Mul, Acc); in InsertParallelMACs()
693 if (!Acc) { in InsertParallelMACs()
694 Acc = R.is64Bit() ? in InsertParallelMACs()
697 } else if (Acc->getType() != R.getType()) { in InsertParallelMACs()
699 Acc = Builder.CreateSExt(Acc, R.getType()); in InsertParallelMACs()
721 InsertAfter = GetInsertPoint(InsertAfter, Acc); in InsertParallelMACs()
722 Acc = CreateSMLAD(WideLHS, WideRHS, Acc, RHSMul->Exchange, InsertAfter); in InsertParallelMACs()
724 R.UpdateRoot(cast<Instruction>(Acc)); in InsertParallelMACs()