Home
last modified time | relevance | path

Searched refs:Acc (Results 1 – 25 of 38) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
Dxxhash.cpp57 static uint64_t round(uint64_t Acc, uint64_t Input) { in round() argument
58 Acc += Input * PRIME64_2; in round()
59 Acc = rotl64(Acc, 31); in round()
60 Acc *= PRIME64_1; in round()
61 return Acc; in round()
64 static uint64_t mergeRound(uint64_t Acc, uint64_t Val) { in mergeRound() argument
66 Acc ^= Val; in mergeRound()
67 Acc = Acc * PRIME64_1 + PRIME64_4; in mergeRound()
68 return Acc; in mergeRound()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
DARMParallelDSP.cpp87 Value *Acc = nullptr; member in __anon227087a10111::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()
625 Value *Acc, bool Exchange, in InsertParallelMACs()
629 Value* Args[] = { WideLd0, WideLd1, Acc }; in InsertParallelMACs()
632 SMLAD = Acc->getType()->isIntegerTy(32) ? in InsertParallelMACs()
636 SMLAD = Acc->getType()->isIntegerTy(32) ? in InsertParallelMACs()
[all …]
DARMInstrCDE.td98 bit Acc; // "acc" field for encoding
108 bit Acc; // "acc" field for encoding
114 : CDE_GPR_Instr<params.Dual, params.Acc, params.Oops,
130 : CDE_GPR_Instr<params.Dual, params.Acc, params.Oops,
148 : CDE_GPR_Instr<params.Dual, params.Acc, params.Oops,
195 let Acc = acc;
276 : CDE_Vec_Instr<params.Acc, params.Oops,
297 : CDE_FP_Instr<params.Acc, sz, params.Oops,
331 : CDE_Vec_Instr<params.Acc, params.Oops,
358 : CDE_FP_Instr<params.Acc, sz, params.Oops,
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerInfo.cpp386 [](unsigned Acc, const MCOperandInfo &OpInfo) { in verify() argument
388 ? std::max(OpInfo.getGenericTypeIndex() + 1U, Acc) in verify()
389 : Acc; in verify()
393 [](unsigned Acc, const MCOperandInfo &OpInfo) { in verify() argument
395 ? std::max(OpInfo.getGenericImmIndex() + 1U, Acc) in verify()
396 : Acc; in verify()
/freebsd-12-stable/contrib/binutils/opcodes/
Di386-reg.tbl6 al, Reg8|Acc, 0, 0
14 axl, Reg8|Acc, RegRex64, 0
31 ax, Reg16|Acc, 0, 0
48 eax, Reg32|BaseIndex|Acc, 0, 0
64 rax, Reg64|BaseIndex|Acc, 0, 0
Di386-opc.h181 #define Acc 0x4000000 /* Accumulator %al or %ax or %eax */ macro
196 #define ImplicitRegister (InOutPortReg|ShiftCount|Acc|FloatAcc)
Di386-tbl.h10 Acc } },
14 Acc } },
86 Acc } },
222 Acc } },
225 { Acc,
238 Acc } },
242 Acc } },
251 { Acc,
255 { Acc,
340 Acc } },
[all …]
Di386-opc.tbl6 mov, 2, 0xa0, None, Cpu64, D|W|No_sSuf|No_xSuf, { Disp64, Acc }
7 mov, 2, 0xa0, None, CpuNo64, D|W|No_sSuf|No_qSuf|No_xSuf, { Disp16|Disp32, Acc }
34 movabs, 2, 0xa0, None, Cpu64, D|W|No_sSuf|No_xSuf, { Disp64, Acc }
100 xchg, 2, 0x90, None, 0, ShortForm|No_bSuf|No_sSuf|No_xSuf, { Reg16|Reg32|Reg64, Acc }
101 xchg, 2, 0x90, None, 0, ShortForm|No_bSuf|No_sSuf|No_xSuf, { Acc, Reg16|Reg32|Reg64 }
107 in, 2, 0xe4, None, 0, W|No_sSuf|No_qSuf|No_xSuf, { Imm8, Acc }
108 in, 2, 0xec, None, 0, W|No_sSuf|No_qSuf|No_xSuf, { InOutPortReg, Acc }
111 out, 2, 0xe6, None, 0, W|No_sSuf|No_qSuf|No_xSuf, { Acc, Imm8 }
112 out, 2, 0xee, None, 0, W|No_sSuf|No_qSuf|No_xSuf, { Acc, InOutPortReg }
145 add, 2, 0x4, None, 0, W|No_sSuf|No_xSuf, { Imm8|Imm16|Imm32|Imm32S, Acc }
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
DPPCPreEmitPeephole.cpp374 Register Acc = BBI.getOperand(0).getReg(); in removeAccPrimeUnprime() local
375 assert(PPC::ACCRCRegClass.contains(Acc) && in removeAccPrimeUnprime()
377 Candidates[Acc - PPC::ACC0] = &BBI; in removeAccPrimeUnprime()
382 Register Acc = BBI.getOperand(0).getReg(); in removeAccPrimeUnprime() local
383 assert(PPC::ACCRCRegClass.contains(Acc) && in removeAccPrimeUnprime()
385 if (!Candidates[Acc - PPC::ACC0]) in removeAccPrimeUnprime()
388 InstrsToErase.insert(Candidates[Acc - PPC::ACC0]); in removeAccPrimeUnprime()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
DHexagonStoreWidening.cpp400 unsigned Acc = 0; // Value accumulator. in createWideStores() local
412 Acc |= Val; in createWideStores()
423 if (Acc < 0x10000) { in createWideStores()
429 int Val = (TotalSize == 2) ? int16_t(Acc) : int(Acc); in createWideStores()
446 .addImm(int(Acc)); in createWideStores()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DExpandReductions.cpp123 Value *Acc = II->getArgOperand(0); in expandReductions() local
126 Rdx = getOrderedReduction(Builder, Acc, Vec, getOpcode(ID), RK); in expandReductions()
134 Acc, Rdx, "bin.rdx"); in expandReductions()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DConstantFolding.cpp1774 APInt Acc = EltC->getValue(); in constantFoldVectorReduce() local
1781 Acc = Acc + X; in constantFoldVectorReduce()
1784 Acc = Acc * X; in constantFoldVectorReduce()
1787 Acc = Acc & X; in constantFoldVectorReduce()
1790 Acc = Acc | X; in constantFoldVectorReduce()
1793 Acc = Acc ^ X; in constantFoldVectorReduce()
1796 Acc = APIntOps::smin(Acc, X); in constantFoldVectorReduce()
1799 Acc = APIntOps::smax(Acc, X); in constantFoldVectorReduce()
1802 Acc = APIntOps::umin(Acc, X); in constantFoldVectorReduce()
1805 Acc = APIntOps::umax(Acc, X); in constantFoldVectorReduce()
[all …]
DMemorySSAUpdater.cpp610 const MemorySSA::AccessList *Acc = MSSA->getBlockAccesses(BB); in cloneUsesAndDefs() local
611 if (!Acc) in cloneUsesAndDefs()
613 for (const MemoryAccess &MA : *Acc) { in cloneUsesAndDefs()
1385 if (MemorySSA::AccessList *Acc = MSSA->getWritableBlockAccesses(BB)) in removeBlocks() local
1386 for (MemoryAccess &MA : *Acc) in removeBlocks()
1392 MemorySSA::AccessList *Acc = MSSA->getWritableBlockAccesses(BB); in removeBlocks() local
1393 if (!Acc) in removeBlocks()
1395 for (MemoryAccess &MA : llvm::make_early_inc_range(*Acc)) { in removeBlocks()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
DAttributor.cpp332 auto CheckAccess = [&](const AAPointerInfo::Access &Acc, bool IsExact) { in getPotentialCopiesOfStoredValue() argument
333 if (!Acc.isRead()) in getPotentialCopiesOfStoredValue()
335 auto *LI = dyn_cast<LoadInst>(Acc.getRemoteInst()); in getPotentialCopiesOfStoredValue()
339 << *Acc.getRemoteInst() << "\n";); in getPotentialCopiesOfStoredValue()
2768 const AAPointerInfo::Access &Acc) { in operator <<() argument
2769 OS << " [" << Acc.getKind() << "] " << *Acc.getRemoteInst(); in operator <<()
2770 if (Acc.getLocalInst() != Acc.getRemoteInst()) in operator <<()
2771 OS << " via " << *Acc.getLocalInst(); in operator <<()
2772 if (Acc.getContent().hasValue()) in operator <<()
2773 OS << " [" << *Acc.getContent() << "]"; in operator <<()
DAttributorAttributes.cpp1000 AAPointerInfo::Access Acc(&I, RemoteI ? RemoteI : &I, Content, Kind, Ty); in addAccess() local
1003 auto It = Bin.find(Acc); in addAccess()
1005 Bin.insert(Acc); in addAccess()
1011 *It &= Acc; in addAccess()
1316 for (auto &Acc : It.getSecond()) { in updateImpl()
1317 dbgs() << " - " << Acc.getKind() << " - " << *Acc.getLocalInst() in updateImpl()
1319 if (Acc.getLocalInst() != Acc.getRemoteInst()) in updateImpl()
1321 << *Acc.getRemoteInst() << "\n"; in updateImpl()
1322 if (!Acc.isWrittenValueYetUndetermined()) in updateImpl()
1323 dbgs() << " - " << Acc.getWrittenValue() << "\n"; in updateImpl()
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/utils/TableGen/
DClangOpenCLBuiltinEmitter.cpp953 StringRef Acc = Type->getValueAsString("AccessQualifier"); in getTypeString() local
954 if (Acc != "") { in getTypeString()
955 S += StringSwitch<const char *>(Acc) in getTypeString()
DSveEmitter.cpp1017 TypeSpec Acc; in createIntrinsic() local
1019 Acc.push_back(I); in createIntrinsic()
1021 TypeSpecs.push_back(TypeSpec(Acc)); in createIntrinsic()
1022 Acc.clear(); in createIntrinsic()
DNeonEmitter.cpp122 TypeSpec Acc; in fromTypeSpecs() local
125 Acc.push_back(I); in fromTypeSpecs()
126 Ret.push_back(TypeSpec(Acc)); in fromTypeSpecs()
127 Acc.clear(); in fromTypeSpecs()
129 Acc.push_back(I); in fromTypeSpecs()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
DX86LowerAMXIntrinsics.cpp87 Value *Row, Value *Col, Value *K, Value *Acc, Value *LHS,
245 Value *Col, Value *K, Value *Acc, in createTileDPLoops() argument
303 auto *BitCastAcc = cast<BitCastInst>(Acc); in createTileDPLoops()
/freebsd-12-stable/contrib/binutils/gas/config/
Dtc-i386.c1467 { Acc, "Acc" },
2531 || ((((m0) & Acc) ? Reg : (t0)) & (((m1) & Acc) ? Reg : (t1)) & Reg) == 0 ) in match_template()
2642 && i.types [0] == (Acc | Reg32) in match_template()
2643 && i.types [1] == (Acc | Reg32)) in match_template()
3022 || i.types [0] != (Acc | Reg64) in process_suffix()
3023 || i.types [1] != (Acc | Reg64) in process_suffix()
3115 && (i.tm.operand_types[op] & (Reg16 | Reg32 | Acc)) != 0) in check_long_reg()
3127 && (i.tm.operand_types[op] & (Reg32 | Acc)) != 0) in check_long_reg()
3150 && (i.tm.operand_types[op] & (Reg32 | Acc)) != 0) in check_long_reg()
3169 && (i.tm.operand_types[op] & (Reg16 | Reg32 | Acc)) != 0) in check_qword_reg()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DDeadStoreElimination.cpp1167 auto PushMemUses = [&WorkList, &Visited](MemoryAccess *Acc) { in isWriteAtEndOfFunction() argument
1168 if (!Visited.insert(Acc).second) in isWriteAtEndOfFunction()
1170 for (Use &U : Acc->uses()) in isWriteAtEndOfFunction()
1488 auto PushMemUses = [&WorkList](MemoryAccess *Acc) { in getDomMemoryDef() argument
1489 for (Use &U : Acc->uses()) in getDomMemoryDef()
DGVNHoist.cpp634 const MemorySSA::AccessList *Acc = MSSA->getBlockAccesses(BB); in hasMemoryUse() local
635 if (!Acc) in hasMemoryUse()
643 for (const MemoryAccess &MA : *Acc) in hasMemoryUse()
DLICM.cpp1175 for (const auto &Acc : *Accs) { in isOnlyMemoryAccess()
1176 if (isa<MemoryPhi>(&Acc)) in isOnlyMemoryAccess()
1178 const auto *MUD = cast<MemoryUseOrDef>(&Acc); in isOnlyMemoryAccess()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
DLoopUtils.h347 Value *getOrderedReduction(IRBuilderBase &Builder, Value *Acc, Value *Src,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
DIRBuilder.cpp368 CallInst *IRBuilderBase::CreateFAddReduce(Value *Acc, Value *Src) { in CreateFAddReduce() argument
370 Value *Ops[] = {Acc, Src}; in CreateFAddReduce()
376 CallInst *IRBuilderBase::CreateFMulReduce(Value *Acc, Value *Src) { in CreateFMulReduce() argument
378 Value *Ops[] = {Acc, Src}; in CreateFMulReduce()

12