Lines Matching refs:Acc
87 Value *Acc = nullptr; member in __anonea9789b90111::Reduction
122 if (Add == Acc) in InsertMuls()
135 if (Acc) in InsertAcc()
137 Acc = V; in InsertAcc()
167 Value *getAccumulator() { return Acc; } in getAccumulator()
193 LLVM_DEBUG(if (Acc) dbgs() << "Acc in: " << *Acc << "\n") in dump()
630 Value *Acc, bool Exchange, in InsertParallelMACs()
634 Value* Args[] = { WideLd0, WideLd1, Acc }; in InsertParallelMACs()
637 SMLAD = Acc->getType()->isIntegerTy(32) ? in InsertParallelMACs()
641 SMLAD = Acc->getType()->isIntegerTy(32) ? in InsertParallelMACs()
668 Value *Acc = R.getAccumulator(); in InsertParallelMACs() local
687 if (!Acc) { in InsertParallelMACs()
688 Acc = Mul; in InsertParallelMACs()
695 Builder.SetInsertPoint(GetInsertPoint(Mul, Acc)); in InsertParallelMACs()
696 Acc = Builder.CreateAdd(Mul, Acc); in InsertParallelMACs()
699 if (!Acc) { in InsertParallelMACs()
700 Acc = R.is64Bit() ? in InsertParallelMACs()
703 } else if (Acc->getType() != R.getType()) { in InsertParallelMACs()
705 Acc = Builder.CreateSExt(Acc, R.getType()); in InsertParallelMACs()
727 InsertAfter = GetInsertPoint(InsertAfter, Acc); in InsertParallelMACs()
728 Acc = CreateSMLAD(WideLHS, WideRHS, Acc, RHSMul->Exchange, InsertAfter); in InsertParallelMACs()
730 R.UpdateRoot(cast<Instruction>(Acc)); in InsertParallelMACs()