Lines Matching defs:Acc
88 Value *Acc = nullptr;
123 if (Add == Acc)
136 if (Acc)
138 Acc = V;
164 Value *getAccumulator() { return Acc; }
190 LLVM_DEBUG(if (Acc) dbgs() << "Acc in: " << *Acc << "\n")
626 Value *Acc, bool Exchange,
630 Value* Args[] = { WideLd0, WideLd1, Acc };
633 SMLAD = Acc->getType()->isIntegerTy(32) ?
637 SMLAD = Acc->getType()->isIntegerTy(32) ?
664 Value *Acc = R.getAccumulator();
683 if (!Acc) {
684 Acc = Mul;
688 // If Acc is the original incoming value to the reduction, it could be a
691 Builder.SetInsertPoint(GetInsertPoint(Mul, Acc));
692 Acc = Builder.CreateAdd(Mul, Acc);
695 if (!Acc) {
696 Acc = R.is64Bit() ?
699 } else if (Acc->getType() != R.getType()) {
701 Acc = Builder.CreateSExt(Acc, R.getType());
723 InsertAfter = GetInsertPoint(InsertAfter, Acc);
724 Acc = CreateSMLAD(WideLHS, WideRHS, Acc, RHSMul->Exchange, InsertAfter);
726 R.UpdateRoot(cast<Instruction>(Acc));