Home
last modified time | relevance | path

Searched refs:Stores (Results 1 – 25 of 93) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp360 bool LoadStoreOpt::doSingleStoreMerge(SmallVectorImpl<GStore *> &Stores) { in doSingleStoreMerge() argument
361 assert(Stores.size() > 1); in doSingleStoreMerge()
367 GStore *FirstStore = Stores[0]; in doSingleStoreMerge()
368 const unsigned NumStores = Stores.size(); in doSingleStoreMerge()
374 DebugLoc MergedLoc = Stores.front()->getDebugLoc(); in doSingleStoreMerge()
375 for (auto *Store : drop_begin(Stores)) in doSingleStoreMerge()
378 Builder.setInstr(*Stores.back()); in doSingleStoreMerge()
385 for (auto *Store : Stores) { in doSingleStoreMerge()
419 LLVM_DEBUG(dbgs() << "Merged " << Stores.size() in doSingleStoreMerge()
421 LLVM_DEBUG(for (auto *MI : Stores) dbgs() << " " << *MI;); in doSingleStoreMerge()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSink.cpp31 SmallPtrSetImpl<Instruction *> &Stores) { in isSafeToMove() argument
34 Stores.insert(Inst); in isSafeToMove()
40 for (Instruction *S : Stores) in isSafeToMove()
55 for (Instruction *S : Stores) in isSafeToMove()
103 SmallPtrSetImpl<Instruction *> &Stores, in SinkInstruction()
113 if (!isSafeToMove(Inst, AA, Stores)) in SinkInstruction()
188 SmallPtrSet<Instruction *, 8> Stores; in ProcessBlock() local
201 if (SinkInstruction(Inst, Stores, DT, LI, AA)) { in ProcessBlock()
104 SinkInstruction(Instruction * Inst,SmallPtrSetImpl<Instruction * > & Stores,DominatorTree & DT,LoopInfo & LI,AAResults & AA) SinkInstruction() argument
H A DLoopIdiomRecognize.cpp211 SmallPtrSetImpl<Instruction *> &Stores,
1008 SmallPtrSetImpl<Instruction *> &Stores, const SCEVAddRecExpr *Ev, in processLoopStridedStore() argument
1061 StoreSizeSCEV, *AA, Stores)) in processLoopStridedStore()
1084 for (Instruction *Store : Stores) in processLoopStridedStore()
1147 if (!Stores.empty()) in processLoopStridedStore()
1149 for (auto *I : Stores) { in processLoopStridedStore()
1158 for (auto *I : Stores) { in processLoopStridedStore()
H A DScalarizer.cpp1144 ValueVector Stores; in visitStoreInst() local
1145 Stores.resize(Layout->VS.NumFragments); in visitStoreInst()
1149 Stores[I] = in visitStoreInst()
1152 transferMetadataAndIRFlags(&SI, Stores); in visitStoreInst()
H A DSROA.cpp4313 SmallVector<StoreInst *, 4> Stores; in presplitLoadsAndStores() local
4386 Stores.push_back(SI); in presplitLoadsAndStores()
4428 llvm::erase_if(Stores, [&UnsplittableLoads, &SplitOffsetsMap](StoreInst *SI) { in presplitLoadsAndStores()
4466 llvm::erase_if(Stores, [&UnsplittableLoads](StoreInst *SI) { in presplitLoadsAndStores()
4478 if (Loads.empty() && Stores.empty()) in presplitLoadsAndStores()
4567 if (!Stores.empty() && SplitOffsetsMap.count(SI)) { in presplitLoadsAndStores()
4633 for (StoreInst *SI : Stores) { in presplitLoadsAndStores()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerCombiner.cpp512 bool tryOptimizeConsecStores(SmallVectorImpl<StoreInfo> &Stores,
580 SmallVectorImpl<StoreInfo> &Stores, CSEMIRBuilder &MIB) { in tryOptimizeConsecStores() argument
581 if (Stores.size() <= 2) in tryOptimizeConsecStores()
585 int64_t BaseOffset = Stores[0].Offset; in tryOptimizeConsecStores()
586 unsigned NumPairsExpected = Stores.size() / 2; in tryOptimizeConsecStores()
587 unsigned TotalInstsExpected = NumPairsExpected + (Stores.size() % 2); in tryOptimizeConsecStores()
593 int SavingsExpected = Stores.size() - TotalInstsExpected; in tryOptimizeConsecStores()
601 Register NewBase = Stores[0].Ptr->getReg(0); in tryOptimizeConsecStores()
602 for (auto &SInfo : Stores) { in tryOptimizeConsecStores()
614 LLVM_DEBUG(dbgs() << "Split a series of " << Stores.size() in tryOptimizeConsecStores()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLoadStoreOpt.h105 SmallVector<GStore *> Stores; in reset()
108 // unsigned value is an index into the Stores vector. The indexed store is in reset()
119 Stores.clear();
139 /// Perform a merge of all the stores in \p Stores into a single store.
143 bool doSingleStoreMerge(SmallVectorImpl<GStore *> &Stores);
92 SmallVector<GStore *> Stores; global() variable
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp109 SetVector<Value *> Stores; in runInternal() local
118 Stores.insert(SI); in runInternal()
159 for (Value *Store : Stores) { in runInternal()
184 for (SetVector<Value *>::iterator I1 = Stores.begin(), E = Stores.end(); in runInternal()
186 for (SetVector<Value *>::iterator I2 = Stores.begin(); I2 != I1; ++I2) { in runInternal()
H A DLoopAccessAnalysis.cpp2396 SmallVector<StoreInst *, 16> Stores; in analyzeLoop() local
2500 Stores.push_back(St); in analyzeLoop()
2516 if (!Stores.size()) { in analyzeLoop()
2536 for (StoreInst *ST : Stores) { in analyzeLoop()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonStoreWidening.cpp96 bool instrAliased(InstrGroup &Stores, const MachineMemOperand &MMO);
97 bool instrAliased(InstrGroup &Stores, const MachineInstr *MI);
170 bool HexagonStoreWidening::instrAliased(InstrGroup &Stores, in instrAliased() argument
177 for (auto *SI : Stores) { in instrAliased()
192 bool HexagonStoreWidening::instrAliased(InstrGroup &Stores, in instrAliased() argument
195 if (instrAliased(Stores, *I)) in instrAliased()
H A DHexagonLoopIdiomRecognition.cpp134 SmallVectorImpl<StoreInst *> &Stores);
2007 SmallVectorImpl<StoreInst*> &Stores) { in collectStores() argument
2008 Stores.clear(); in collectStores()
2012 Stores.push_back(SI); in collectStores()
2368 SmallVector<StoreInst*,8> Stores; in runOnLoopBlock() local
2369 collectStores(CurLoop, BB, Stores); in runOnLoopBlock()
2372 for (auto &SI : Stores) in runOnLoopBlock()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DScheduleDAGInstrs.cpp770 Value2SUsMap Stores, Loads(1 /*TrueMemOrderLatency*/); in buildSchedGraph() local
913 addBarrierChain(Stores); in buildSchedGraph()
956 addChainDependencies(SU, Stores); in buildSchedGraph()
962 Stores.insert(SU, UnknownValue); in buildSchedGraph()
971 addChainDependencies(SU, (ThisMayAlias ? Stores : NonAliasStores), V); in buildSchedGraph()
981 (ThisMayAlias ? Stores : NonAliasStores).insert(SU, V); in buildSchedGraph()
986 addChainDependencies(SU, Stores, UnknownValue); in buildSchedGraph()
991 addChainDependencies(SU, Stores); in buildSchedGraph()
1002 addChainDependencies(SU, (ThisMayAlias ? Stores : NonAliasStores), V); in buildSchedGraph()
1008 addChainDependencies(SU, Stores, UnknownValue); in buildSchedGraph()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/
H A DSLPVectorizer.h163 ArrayRef<StoreInst *> Stores, slpvectorizer::BoUpSLP &R,
168 StoreListMap Stores; member
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp232 ArrayRef<StoreInst *> Stores);
647 SmallVector<StoreInst *, 8> Stores; in instrumentFunction() local
682 Stores.push_back(SI); in instrumentFunction()
699 InjectTraceForLoadsAndStores(F, Loads, Stores); in instrumentFunction()
881 Function &, ArrayRef<LoadInst *> Loads, ArrayRef<StoreInst *> Stores) { in InjectTraceForLoadsAndStores() argument
899 for (auto *SI : Stores) { in InjectTraceForLoadsAndStores()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoZfbfmin.td49 /// Stores
H A DRISCVScheduleV.td288 // 7. Vector Loads and Stores
543 // 7. Vector Loads and Stores
790 // 7. Vector Loads and Stores
829 // Vector Segment Loads and Stores
976 // 7. Vector Loads and Stores
H A DRISCVInstrInfoD.td479 /// Stores
507 /// Stores
522 /// Stores
H A DRISCVInstrInfoV.td182 // Vector Unit-Stride Loads and Stores
196 // Vector Strided Loads and Stores
210 // Vector Indexed Loads and Stores
237 // Unit-Stride Segment Loads and Stores
259 // Strided Segment Loads and Stores
275 // Indexed Segment Loads and Stores
/freebsd/crypto/openssl/doc/man3/
H A DEVP_rc5_32_12_16_cbc.pod52 Stores the number of rounds currently configured in B<*rounds> where B<*rounds>
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp521 SmallVector<std::pair<CharUnits, CharUnits>, 1> Stores; in EmitNullBaseClassInitialization() local
522 Stores.emplace_back(CharUnits::Zero(), NVSize); in EmitNullBaseClassInitialization()
532 std::pair<CharUnits, CharUnits> LastStore = Stores.pop_back_val(); in EmitNullBaseClassInitialization()
540 Stores.emplace_back(SplitBeforeOffset, SplitBeforeSize); in EmitNullBaseClassInitialization()
546 Stores.emplace_back(SplitAfterOffset, SplitAfterSize); in EmitNullBaseClassInitialization()
569 for (std::pair<CharUnits, CharUnits> Store : Stores) { in EmitNullBaseClassInitialization()
583 for (std::pair<CharUnits, CharUnits> Store : Stores) { in EmitNullBaseClassInitialization()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCScheduleP8.td
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMScheduleM4.td59 // Stores we use a latency of 1 as they have no outputs
H A DARMScheduleM7.td93 // Loads/Stores.
273 // Stores
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRInstrInfo.td1078 // Stores the value of Rr into the location addressed by pointer P.
1084 // Stores the value of Rr into the location addressed by pointer P.
1101 // Stores the value of Rr into the location addressed by pointer P.
1111 // Stores the value of Rr into the location addressed by pointer P.
1126 // Stores the value of Rr into the location addressed by pointer P.
1136 // Stores the value of Rr into the location addressed by pointer P.
1152 // Stores the value of Rr into the location addressed by pointer P with a
1159 // Stores the value of Rr into the location addressed by pointer P with a
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1361 SmallVector<StoreInst *, 4> Stores; in isPointerValueDeadOnEntryToFunction() local
1371 Stores.push_back(SI); in isPointerValueDeadOnEntryToFunction()
1392 if (Loads.size() * Stores.size() > Threshold) in isPointerValueDeadOnEntryToFunction()
1397 if (none_of(Stores, [&](const StoreInst *S) { in isPointerValueDeadOnEntryToFunction()

1234