Home
last modified time | relevance | path

Searched refs:Store (Results 1 – 25 of 354) sorted by relevance

12345678910>>...15

/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h86 virtual std::optional<SVal> getDefaultBinding(Store store,
108 virtual StoreRef Bind(Store store, Loc loc, SVal val) = 0;
123 virtual StoreRef killBinding(Store ST, Loc L) = 0;
191 virtual bool includedInBindings(Store store,
196 virtual void incrementReferenceCount(Store store) {} in incrementReferenceCount()
201 virtual void decrementReferenceCount(Store store) {} in decrementReferenceCount()
228 virtual StoreRef invalidateRegions(Store store,
240 StoreRef enterStackFrame(Store store,
247 virtual bool scanReachableSymbols(Store S, const MemRegion *R,
258 virtual bool HandleBinding(StoreManager& SMgr, Store store,
[all …]
H A DStoreRef.h27 using Store = const void *; variable
30 Store store;
34 StoreRef(Store store, StoreManager &smgr);
46 Store getStore() const { return store; } in getStore()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp86 StoreInst *Store; member
89 : Load(Load), Store(Store) {} in StoreToLoadForwardingCandidate()
97 Value *StorePtr = Store->getPointerOperand(); in isDependenceDistanceOfOne()
140 OS << *Cand.Store << " -->\n"; in operator <<()
215 auto *Store = dyn_cast<StoreInst>(Source); in findStoreToLoadDependences() local
216 if (!Store) in findStoreToLoadDependences()
228 Candidates.emplace_front(Load, Store); in findStoreToLoadDependences()
288 if (Cand.Store->getParent() == OtherCand->Store->getParent() && in removeDependencesFromMultipleStores()
292 if (getInstrIndex(OtherCand->Store) < getInstrIndex(Cand.Store)) in removeDependencesFromMultipleStores()
365 ->Store; in findPointersWrittenOnForwardingPath()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp198 StoreInst *Store = nullptr; in findSafeStoreForStoreStrongContraction() local
211 if (Store && SawRelease) in findSafeStoreForStoreStrongContraction()
227 if (Store) { in findSafeStoreForStoreStrongContraction()
256 Store = dyn_cast<StoreInst>(Inst); in findSafeStoreForStoreStrongContraction()
262 if (!Store || !Store->isSimple()) in findSafeStoreForStoreStrongContraction()
276 if (!Store || !SawRelease) in findSafeStoreForStoreStrongContraction()
280 return Store; in findSafeStoreForStoreStrongContraction()
350 StoreInst *Store = in tryToContractReleaseIntoStoreStrong() local
353 if (!Store) in tryToContractReleaseIntoStoreStrong()
403 if (&*Iter == Store) ++Iter; in tryToContractReleaseIntoStoreStrong()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DMetadataImpl.h22 static T *getUniqued(DenseSet<T *, InfoT> &Store, in getUniqued() argument
24 auto I = Store.find_as(Key); in getUniqued()
25 return I == Store.end() ? nullptr : *I; in getUniqued()
42 T *MDNode::storeImpl(T *N, StorageType Storage, StoreT &Store) { in storeImpl() argument
45 Store.insert(N); in storeImpl()
H A DMetadata.cpp115 return Store.lookup(MD); in getIfExists()
124 Store.erase(this->MD); in handleChangedMetadata()
129 auto *&Entry = Store[MD]; in handleChangedMetadata()
329 auto I = Store.find(&C); in SalvageDebugInfo()
514 auto I = Store.find(V); in handleDeletion()
515 if (I == Store.end()) in handleDeletion()
522 Store.erase(I); in handleDeletion()
538 if (I == Store.end()) { in handleRAUW()
549 Store.erase(I); in handleRAUW()
968 Store.insert(N); in uniquifyImpl()
[all …]
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_memintrinsics.cpp25 CheckAddressSized<ErrorAction::Recover, AccessType::Store>( in __hwasan_memset()
31 CheckAddressSized<ErrorAction::Recover, AccessType::Store>( in __hwasan_memcpy()
39 CheckAddressSized<ErrorAction::Recover, AccessType::Store>( in __hwasan_memmove()
49 CheckAddressSized<ErrorAction::Recover, AccessType::Store>( in __hwasan_memset_match_all()
57 CheckAddressSized<ErrorAction::Recover, AccessType::Store>( in __hwasan_memcpy_match_all()
68 CheckAddressSized<ErrorAction::Recover, AccessType::Store>( in __hwasan_memmove_match_all()
H A Dhwasan.cpp589 CheckAddress<ErrorAction::Abort, AccessType::Store, 0>(p); in __hwasan_store1()
592 CheckAddress<ErrorAction::Abort, AccessType::Store, 1>(p); in __hwasan_store2()
595 CheckAddress<ErrorAction::Abort, AccessType::Store, 2>(p); in __hwasan_store4()
598 CheckAddress<ErrorAction::Abort, AccessType::Store, 3>(p); in __hwasan_store8()
601 CheckAddress<ErrorAction::Abort, AccessType::Store, 4>(p); in __hwasan_store16()
608 CheckAddress<ErrorAction::Recover, AccessType::Store, 0>(p); in __hwasan_store1_noabort()
611 CheckAddress<ErrorAction::Recover, AccessType::Store, 1>(p); in __hwasan_store2_noabort()
614 CheckAddress<ErrorAction::Recover, AccessType::Store, 2>(p); in __hwasan_store4_noabort()
617 CheckAddress<ErrorAction::Recover, AccessType::Store, 3>(p); in __hwasan_store8_noabort()
620 CheckAddress<ErrorAction::Recover, AccessType::Store, 4>(p); in __hwasan_store16_noabort()
[all …]
H A Dhwasan_checks.h24 enum class AccessType { Load, Store }; enumerator
30 0x10 * (AT == AccessType::Store) + LogSize; in SigTrapEncoding()
49 .is_store = AT == AccessType::Store, in SigTrap()
98 .is_store = AT == AccessType::Store, in SigTrap()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DValueLatticeUtils.cpp34 if (auto *Store = dyn_cast<StoreInst>(U)) in canTrackGlobalVariableInterprocedurally() local
35 return Store->getValueOperand() != GV && !Store->isVolatile() && in canTrackGlobalVariableInterprocedurally()
36 Store->getValueOperand()->getType() == GV->getValueType(); in canTrackGlobalVariableInterprocedurally()
H A DAliasAnalysisEvaluator.cpp159 for (Value *Store : Stores) { in runInternal()
161 MemoryLocation::get(cast<StoreInst>(Store))); in runInternal()
164 PrintLoadStoreResults(AR, PrintNoAlias, Load, Store, F.getParent()); in runInternal()
168 PrintLoadStoreResults(AR, PrintMayAlias, Load, Store, F.getParent()); in runInternal()
172 PrintLoadStoreResults(AR, PrintPartialAlias, Load, Store, F.getParent()); in runInternal()
176 PrintLoadStoreResults(AR, PrintMustAlias, Load, Store, F.getParent()); in runInternal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveStaticOffset.cpp244 StoreInst *Store) { in makeGEPAndStore() argument
246 Args.push_back(Store->getValueOperand()); in makeGEPAndStore()
247 fillCommonArgs(M->getContext(), Args, GEP, Store); in makeGEPAndStore()
255 Store->getDebugLoc()); in makeGEPAndStore()
256 if (Store->isUnordered()) { in makeGEPAndStore()
263 Call->setAAMetadata(Store->getAAMetadata()); in makeGEPAndStore()
319 reconstructCommon(Call, GEP, Store, 1); in reconstructStore()
320 return std::pair{GEP, Store}; in reconstructStore()
537 auto [GEP, Store] = in rewriteAccessChain()
540 TryToReplace(Store); in rewriteAccessChain()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DSVEIntrinsicOpts.cpp299 auto *Store = dyn_cast<StoreInst>(I); in optimizePredicateStore() local
300 if (!Store || !Store->isSimple()) in optimizePredicateStore()
304 if (Store->getOperand(0)->getType() != FixedPredType) in optimizePredicateStore()
308 auto *IntrI = dyn_cast<IntrinsicInst>(Store->getOperand(0)); in optimizePredicateStore()
328 Builder.CreateStore(BitCast->getOperand(0), Store->getPointerOperand()); in optimizePredicateStore()
330 Store->eraseFromParent(); in optimizePredicateStore()
411 case Instruction::Store: in optimizeInstructions()
H A DAArch64SchedNeoverseN1.td384 // Store instructions
387 // Store register, immed offset
390 // Store register, immed offset, index
393 // Store pair, immed offset
396 // Store pair, immed offset, W-form
519 // Store vector reg, unscaled immed, Q-form
526 // Store vector reg, immed pre-index, Q-form
533 // Store vector reg, unsigned immed, Q-form
554 // Store vector pair, immed offset, S-form
557 // Store vector pair, immed offset, D-form
[all …]
H A DAArch64Schedule.td44 def WriteST : SchedWrite; // Store to base addr plus immediate offset
45 def WriteSTP : SchedWrite; // Store a register pair.
49 def WriteSTIdx : SchedWrite; // Store to a register index (maybe scaled).
65 // Store-exclusive is a store followed by a dependent load.
94 // Store a shuffled vector.
H A DAArch64SchedAmpere1B.td573 } // Store to base addr plus immediate offset
577 } // Store a register pair.
586 } // Store to a register index (maybe scaled).
812 // -- Store pair, Q-form
814 // -- Store pair, S/D-form
816 // -- Store register
996 // Store allocation tags
999 // Store allocation tags and pair of registers
1002 // Store allocation tags and zero data
1005 // Store two tags
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrSystem.td69 // Store control.
104 // Store prefix.
117 // Store BEAR.
204 // Store real address.
213 // Store using real address.
346 // Store clock comparator.
350 // Store CPU timer.
358 // Store CPU address.
362 // Store CPU ID.
370 // Store facility list.
[all …]
H A DSystemZISelDAGToDAG.cpp1255 SDValue Value = Store->getValue(); in tryScatter()
1277 SDLoc DL(Store); in tryScatter()
1280 Store->getChain() in tryScatter()
1452 if (Load->getMemoryVT() != Store->getMemoryVT()) in canUseBlockOperation()
1456 if (Load->isVolatile() || Store->isVolatile()) in canUseBlockOperation()
1472 int64_t End2 = Store->getSrcValueOffset() + Size; in canUseBlockOperation()
1481 auto *Store = cast<StoreSDNode>(N); in storeLoadCanUseMVC() local
1496 return canUseBlockOperation(Store, Load); in storeLoadCanUseMVC()
1734 auto *Store = cast<StoreSDNode>(Node); in Select() local
1737 if (tryScatter(Store, SystemZ::VSCEF)) in Select()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp85 StoreInst *Store = LoopBuilder.CreateAlignedStore( in createMemCpyLoopKnownSize() local
89 Store->setMetadata(LLVMContext::MD_noalias, MDNode::get(Ctx, NewScope)); in createMemCpyLoopKnownSize()
93 Store->setAtomic(AtomicOrdering::Unordered); in createMemCpyLoopKnownSize()
141 StoreInst *Store = RBuilder.CreateAlignedStore(Load, DstGEP, PartDstAlign, in createMemCpyLoopKnownSize() local
145 Store->setMetadata(LLVMContext::MD_noalias, MDNode::get(Ctx, NewScope)); in createMemCpyLoopKnownSize()
149 Store->setAtomic(AtomicOrdering::Unordered); in createMemCpyLoopKnownSize()
218 StoreInst *Store = in createMemCpyLoopUnknownSize() local
222 Store->setMetadata(LLVMContext::MD_noalias, MDNode::get(Ctx, NewScope)); in createMemCpyLoopUnknownSize()
226 Store->setAtomic(AtomicOrdering::Unordered); in createMemCpyLoopUnknownSize()
295 Store->setMetadata(LLVMContext::MD_noalias, MDNode::get(Ctx, NewScope)); in createMemCpyLoopUnknownSize()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerCombiner.cpp308 GStore &Store = cast<GStore>(MI); in matchSplitStoreZero128() local
309 if (!Store.isSimple()) in matchSplitStoreZero128()
311 LLT ValTy = MRI.getType(Store.getValueReg()); in matchSplitStoreZero128()
314 if (ValTy.getSizeInBits() != Store.getMemSizeInBits()) in matchSplitStoreZero128()
316 if (!MRI.hasOneNonDBGUse(Store.getValueReg())) in matchSplitStoreZero128()
319 *MRI.getVRegDef(Store.getValueReg()), MRI); in matchSplitStoreZero128()
327 GStore &Store = cast<GStore>(MI); in applySplitStoreZero128() local
328 assert(MRI.getType(Store.getValueReg()).isVector() && in applySplitStoreZero128()
331 Register PtrReg = Store.getPointerReg(); in applySplitStoreZero128()
336 auto *LowMMO = MF.getMachineMemOperand(&Store.getMMO(), 0, NewTy); in applySplitStoreZero128()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CallFrameOptimization.cpp508 MachineBasicBlock::iterator Store = *Context.ArgStoreVector[Idx]; in adjustCallSequence() local
509 const MachineOperand &PushOp = Store->getOperand(X86::AddrNumOperands); in adjustCallSequence()
512 switch (Store->getOpcode()) { in adjustCallSequence()
525 Push->cloneMemRefs(MF, *Store); in adjustCallSequence()
533 if (Is64Bit && Store->getOpcode() == X86::MOV32mr) { in adjustCallSequence()
557 Push->cloneMergedMemRefs(MF, {DefMov, &*Store}); in adjustCallSequence()
564 Push->cloneMemRefs(MF, *Store); in adjustCallSequence()
578 MBB.erase(Store); in adjustCallSequence()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsEVAInstrInfo.td19 // Memory Load/Store EVA encodings
36 // Load-linked EVA, Store-conditional EVA encodings
52 // Memory Load/Store EVA descriptions
88 // Load/Store Left/Right EVA descriptions
123 // Load-linked EVA, Store-conditional EVA descriptions
189 /// Load and Store EVA Instructions
205 /// Load-linked EVA, Store-conditional EVA
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DP10InstrResources.td1776 // 3 Cycles Store operations, 1 input operands
1797 // 3 Cycles Store operations, 2 input operands
1809 // 3 Cycles Store operations, 3 input operands
1850 // 3 Cycles Store operations, 0 input operands
1860 // 3 Cycles Store operations, 2 input operands
1892Store operations, 3 Cycles ALU operations, 3 Cycles Store operations, 3 Cycles ALU operations, 3 C…
1900 // 3 Cycles Store operations, 3 Cycles ALU operations, 3 Cycles Store operations, and 3 Cycles Stor…
1908 // 3 Cycles Store operations, 3 Cycles Store operations, 3 Cycles Store operations, and 3 Cycles St…
1915 // 3 Cycles Store operations, 3 Cycles Store operations, 3 Cycles Store operations, and 3 Cycles St…
1936 // 3 Cycles Store operations, and 3 Cycles Store operations, 1 input operands
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp46 StoreRef StoreManager::enterStackFrame(Store OldStore, in enterStackFrame()
49 StoreRef Store = StoreRef(OldStore, *this); in enterStackFrame() local
55 Store = Bind(Store.getStore(), I.first.castAs<Loc>(), I.second); in enterStackFrame()
57 return Store; in enterStackFrame()
524 Store store, in HandleBinding()
H A DRegionStore.cpp223 Store asStore() const { in asStore()
224 llvm::PointerIntPair<Store, 1, bool> Ptr = { in asStore()
415 StoreRef invalidateRegions(Store store,
523 StoreRef killBinding(Store ST, Loc L) override;
525 void incrementReferenceCount(Store store) override { in incrementReferenceCount()
532 void decrementReferenceCount(Store store) override { in decrementReferenceCount()
605 std::pair<Store, const SubRegion *>
635 llvm::PointerIntPair<Store, 1, bool> Ptr; in getRegionBindings()
1302 RegionStoreManager::invalidateRegions(Store store, in invalidateRegions()
1563 std::pair<Store, const SubRegion *>
[all …]

12345678910>>...15