| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | xxhash.cpp | 56 static uint64_t round(uint64_t Acc, uint64_t Input) { in round() argument 57 Acc += Input * PRIME64_2; in round() 58 Acc = rotl64(Acc, 31); in round() 59 Acc *= PRIME64_1; in round() 60 return Acc; in round() 63 static uint64_t mergeRound(uint64_t Acc, uint64_t Val) { in mergeRound() argument 65 Acc ^= Val; in mergeRound() 66 Acc = Acc * PRIME64_1 + PRIME64_4; in mergeRound() 67 return Acc; in mergeRound()
|
| /llvm-project-15.0.7/polly/lib/Support/ |
| H A D | VirtualInstruction.cpp | 322 ScopStmt *Stmt = Acc->getStatement(); in walkReachable() 330 if (Acc->isRead()) { in walkReachable() 333 if (Acc->isLatestValueKind()) { in walkReachable() 341 if (Acc->isLatestAnyPHIKind()) { in walkReachable() 347 if (Acc->isWrite()) { in walkReachable() 348 if (Acc->isOriginalValueKind() || in walkReachable() 349 (Acc->isOriginalArrayKind() && Acc->getAccessValue())) { in walkReachable() 356 if (Acc->isOriginalAnyPHIKind()) { in walkReachable() 364 if (Acc->isOriginalArrayKind()) in walkReachable() 400 for (MemoryAccess *Acc : *Accs) in walkReachable() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMParallelDSP.cpp | 122 if (Add == Acc) in InsertMuls() 135 if (Acc) in InsertAcc() 137 Acc = V; in InsertAcc() 193 LLVM_DEBUG(if (Acc) dbgs() << "Acc in: " << *Acc << "\n") in dump() 687 if (!Acc) { in InsertParallelMACs() 688 Acc = Mul; in InsertParallelMACs() 696 Acc = Builder.CreateAdd(Mul, Acc); in InsertParallelMACs() 699 if (!Acc) { in InsertParallelMACs() 700 Acc = R.is64Bit() ? in InsertParallelMACs() 705 Acc = Builder.CreateSExt(Acc, R.getType()); in InsertParallelMACs() [all …]
|
| H A D | ARMInstrCDE.td | 98 bit Acc; // "acc" field for encoding 108 bit Acc; // "acc" field for encoding 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, 398 : CDE_Vec_Instr<params.Acc, params.Oops, 428 : CDE_FP_Instr<params.Acc, sz, params.Oops, 501 let Acc = acc; [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | ScalarEvolutionTest.cpp | 308 Muls[0] = BinaryOperator::CreateMul(Acc[0], Acc[0], "", LoopBB); in TEST_F() 310 Muls[1] = BinaryOperator::CreateMul(Acc[1], Acc[1], "", LoopBB); in TEST_F() 312 Muls[2] = BinaryOperator::CreateMul(Acc[2], Acc[2], "", LoopBB); in TEST_F() 325 Acc = NextAcc; in TEST_F() 339 Acc[0] = BinaryOperator::CreateAdd(Acc[0], Acc[1], "", ExitBB); in TEST_F() 340 Acc[1] = BinaryOperator::CreateAdd(Acc[2], Acc[3], "", ExitBB); in TEST_F() 341 Acc[2] = BinaryOperator::CreateAdd(Acc[4], Acc[5], "", ExitBB); in TEST_F() 342 Acc[3] = BinaryOperator::CreateAdd(Acc[6], Acc[7], "", ExitBB); in TEST_F() 343 Acc[0] = BinaryOperator::CreateAdd(Acc[0], Acc[1], "", ExitBB); in TEST_F() 344 Acc[1] = BinaryOperator::CreateAdd(Acc[2], Acc[3], "", ExitBB); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerInfo.cpp | 383 [](unsigned Acc, const MCOperandInfo &OpInfo) { in verify() argument 385 ? std::max(OpInfo.getGenericTypeIndex() + 1U, Acc) in verify() 386 : Acc; in verify() 390 [](unsigned Acc, const MCOperandInfo &OpInfo) { in verify() argument 392 ? std::max(OpInfo.getGenericImmIndex() + 1U, Acc) in verify() 393 : Acc; in verify()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCPreEmitPeephole.cpp | 379 Register Acc = BBI.getOperand(0).getReg(); in removeAccPrimeUnprime() local 380 assert(PPC::ACCRCRegClass.contains(Acc) && in removeAccPrimeUnprime() 382 Candidates[Acc - PPC::ACC0] = &BBI; in removeAccPrimeUnprime() 387 Register Acc = BBI.getOperand(0).getReg(); in removeAccPrimeUnprime() local 388 assert(PPC::ACCRCRegClass.contains(Acc) && in removeAccPrimeUnprime() 390 if (!Candidates[Acc - PPC::ACC0]) in removeAccPrimeUnprime() 393 InstrsToErase.insert(Candidates[Acc - PPC::ACC0]); in removeAccPrimeUnprime()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonStoreWidening.cpp | 400 unsigned Acc = 0; // Value accumulator. in createWideStores() local 411 Acc |= Val; in createWideStores() 422 if (Acc < 0x10000) { in createWideStores() 428 int Val = (TotalSize == 2) ? int16_t(Acc) : int(Acc); in createWideStores() 445 .addImm(int(Acc)); in createWideStores()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | ExpandReductions.cpp | 121 Value *Acc = II->getArgOperand(0); in expandReductions() local 124 Rdx = getOrderedReduction(Builder, Acc, Vec, getOpcode(ID), RK); in expandReductions() 132 Acc, Rdx, "bin.rdx"); in expandReductions()
|
| /llvm-project-15.0.7/llvm/tools/llvm-rc/ |
| H A D | ResourceScriptStmt.cpp | 49 for (const auto &Acc : Accelerators) { in log() local 50 OS << " Accelerator: " << Acc.Event << " " << Acc.Id; in log() 52 if (Acc.Flags & Accelerator::OptionsFlags[i]) in log()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | Attributor.cpp | 393 if ((IsLoad && !Acc.isWrite()) || (!IsLoad && !Acc.isRead())) in getPotentialCopiesOfMemoryValue() 395 if (IsLoad && Acc.isWrittenValueYetUndetermined()) in getPotentialCopiesOfMemoryValue() 412 if (!Acc.isWrittenValueUnknown()) { in getPotentialCopiesOfMemoryValue() 413 NewCopies.push_back(Acc.getWrittenValue()); in getPotentialCopiesOfMemoryValue() 435 NewCopies.push_back(Acc.getRemoteInst()); in getPotentialCopiesOfMemoryValue() 3253 OS << " [" << Acc.getKind() << "] " << *Acc.getRemoteInst(); in operator <<() 3254 if (Acc.getLocalInst() != Acc.getRemoteInst()) in operator <<() 3255 OS << " via " << *Acc.getLocalInst(); in operator <<() 3256 if (Acc.getContent()) { in operator <<() 3257 if (*Acc.getContent()) in operator <<() [all …]
|
| H A D | AttributorAttributes.cpp | 844 Accesses.push_back(Acc); in insert() 874 auto It = Bin->find(Acc); in addAccess() 876 Bin->insert(Acc); in addAccess() 883 Current &= Acc; in addAccess() 1078 IsSameThreadAsLoad(Acc)) in forallInterferingAccesses() 1098 if ((!Acc.isWrite() || in forallInterferingAccesses() 1101 (!Acc.isRead() || in forallInterferingAccesses() 1108 if (!IsSameThreadAsLoad(Acc)) in forallInterferingAccesses() 1117 if (DomAcc != &Acc && in forallInterferingAccesses() 1188 O << " - " << Acc.getKind() << " - " << *Acc.getLocalInst() << "\n"; in dumpState() [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | mma-phi-accs.ll | 81 %Acc.0.lcssa = phi <512 x i1> [ %3, %entry ], [ %13, %for.body ] 82 …<16 x i8>, <16 x i8>, <16 x i8>, <16 x i8> } @llvm.ppc.mma.disassemble.acc(<512 x i1> %Acc.0.lcssa) 98 %Acc.012 = phi <512 x i1> [ %3, %for.body.preheader ], [ %13, %for.body ] 101 …%13 = tail call <512 x i1> @llvm.ppc.mma.xvf64gerpp(<512 x i1> %Acc.012, <256 x i1> %2, <16 x i8> … 180 %Acc.0.lcssa = phi <512 x i1> [ %4, %entry ], [ %14, %for.body ] 181 …<16 x i8>, <16 x i8>, <16 x i8>, <16 x i8> } @llvm.ppc.mma.disassemble.acc(<512 x i1> %Acc.0.lcssa) 197 %Acc.015 = phi <512 x i1> [ %4, %for.body.preheader ], [ %14, %for.body ] 200 …%14 = tail call <512 x i1> @llvm.ppc.mma.xvf64gerpp(<512 x i1> %Acc.015, <256 x i1> %2, <16 x i8> …
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 1811 APInt Acc = EltC->getValue(); in constantFoldVectorReduce() local 1818 Acc = Acc + X; in constantFoldVectorReduce() 1821 Acc = Acc * X; in constantFoldVectorReduce() 1824 Acc = Acc & X; in constantFoldVectorReduce() 1827 Acc = Acc | X; in constantFoldVectorReduce() 1830 Acc = Acc ^ X; in constantFoldVectorReduce() 1833 Acc = APIntOps::smin(Acc, X); in constantFoldVectorReduce() 1836 Acc = APIntOps::smax(Acc, X); in constantFoldVectorReduce() 1839 Acc = APIntOps::umin(Acc, X); in constantFoldVectorReduce() 1842 Acc = APIntOps::umax(Acc, X); in constantFoldVectorReduce() [all …]
|
| H A D | MemorySSAUpdater.cpp | 609 const MemorySSA::AccessList *Acc = MSSA->getBlockAccesses(BB); in cloneUsesAndDefs() local 610 if (!Acc) in cloneUsesAndDefs() 612 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()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | PPCGCodeGeneration.cpp | 308 for (MemoryAccess *Acc : *Stmt) { in pollyBuildAstExprForStmt() 309 isl::map AddrFunc = Acc->getAddressFunction(); in pollyBuildAstExprForStmt() 312 isl::id RefId = Acc->getId(); in pollyBuildAstExprForStmt() 2655 for (auto &Acc : Stmt) in getTaggedAccesses() local 2656 if (Acc->getType() == AccessTy) { in getTaggedAccesses() 2796 for (MemoryAccess *Acc : Stmt) { in getStmtAccesses() 2799 Access->read = Acc->isRead(); in getStmtAccesses() 2800 Access->write = Acc->isWrite(); in getStmtAccesses() 2801 Access->access = Acc->getAccessRelation().release(); in getStmtAccesses() 2809 Access->exact_write = !Acc->isMayWrite(); in getStmtAccesses() [all …]
|
| /llvm-project-15.0.7/bolt/test/X86/ |
| H A D | fallthrough-to-noop.test | 14 CHECK: Profile Acc : 100.0%
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | SveEmitter.cpp | 1017 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()
|
| H A D | ClangOpenCLBuiltinEmitter.cpp | 1008 StringRef Acc = Type->getValueAsString("AccessQualifier"); in getTypeString() local 1009 if (Acc != "") { in getTypeString() 1010 S += StringSwitch<const char *>(Acc) in getTypeString()
|
| /llvm-project-15.0.7/polly/lib/Analysis/ |
| H A D | ScopDetection.cpp | 1001 MemAcc *Acc = &TempMemoryAccesses.find(Insn)->second; in computeAccessFunctions() local 1006 Acc->DelinearizedSubscripts.push_back(Pair.second); in computeAccessFunctions() 1011 Acc->DelinearizedSubscripts.push_back(AF); in computeAccessFunctions() 1013 llvm::computeAccessFunctions(SE, AF, Acc->DelinearizedSubscripts, in computeAccessFunctions() 1015 if (Acc->DelinearizedSubscripts.size() == 0) in computeAccessFunctions() 1018 for (const SCEV *S : Acc->DelinearizedSubscripts) in computeAccessFunctions()
|
| H A D | ScopBuilder.cpp | 2430 if (MemoryAccess *Acc = IncomingStmt->lookupPHIWriteOf(PHI)) { in ensurePHIWrite() local 2431 assert(Acc->getAccessInstruction() == PHI); in ensurePHIWrite() 2432 Acc->addIncoming(IncomingBlock, IncomingValue); in ensurePHIWrite() 2436 MemoryAccess *Acc = addMemoryAccess( in ensurePHIWrite() local 2440 assert(Acc); in ensurePHIWrite() 2441 Acc->addIncoming(IncomingBlock, IncomingValue); in ensurePHIWrite() 3220 MemAccInst Acc(MA->getAccessInstruction()); in buildAliasGroupsForAccesses() local 3221 if (MA->isRead() && isa<MemTransferInst>(Acc)) in buildAliasGroupsForAccesses() 3222 PtrToAcc[cast<MemTransferInst>(Acc)->getRawSource()] = MA; in buildAliasGroupsForAccesses() 3224 PtrToAcc[Acc.getPointerOperand()] = MA; in buildAliasGroupsForAccesses() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86LowerAMXIntrinsics.cpp | 88 Value *Row, Value *Col, Value *K, Value *Acc, Value *LHS, 246 Value *Col, Value *K, Value *Acc, in createTileDPLoops() argument 304 auto *BitCastAcc = cast<BitCastInst>(Acc); in createTileDPLoops()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAttributor.cpp | 591 OAS, [](const AAPointerInfo::Access &Acc, bool IsExact) { in funcRetrievesImplicitKernelArg() argument 592 return Acc.getRemoteInst()->isDroppable(); in funcRetrievesImplicitKernelArg()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | DeadStoreElimination.cpp | 1064 auto PushMemUses = [&WorkList, &Visited](MemoryAccess *Acc) { in isWriteAtEndOfFunction() argument 1065 if (!Visited.insert(Acc).second) in isWriteAtEndOfFunction() 1067 for (Use &U : Acc->uses()) in isWriteAtEndOfFunction() 1395 auto PushMemUses = [&WorkList](MemoryAccess *Acc) { in getDomMemoryDef() argument 1396 for (Use &U : Acc->uses()) in getDomMemoryDef()
|
| H A D | GVNHoist.cpp | 636 const MemorySSA::AccessList *Acc = MSSA->getBlockAccesses(BB); in hasMemoryUse() local 637 if (!Acc) in hasMemoryUse() 645 for (const MemoryAccess &MA : *Acc) in hasMemoryUse()
|