Home
last modified time | relevance | path

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

12345678910>>...20

/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h74 virtual SVal getBinding(Store store, Loc loc, QualType T = QualType()) = 0;
86 virtual std::optional<SVal> getDefaultBinding(Store store,
108 virtual StoreRef Bind(Store store, Loc loc, SVal val) = 0;
113 virtual StoreRef BindDefaultInitial(Store store, const MemRegion *R,
118 virtual StoreRef BindDefaultZero(Store store, const MemRegion *R) = 0;
123 virtual StoreRef killBinding(Store ST, Loc L) = 0;
188 virtual StoreRef removeDeadBindings(Store store, const StackFrameContext *LCtx,
191 virtual bool includedInBindings(Store store,
196 virtual void incrementReferenceCount(Store store) {} in incrementReferenceCount()
201 virtual void decrementReferenceCount(Store store) {} in decrementReferenceCount()
[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()
/openbsd-src/gnu/usr.bin/perl/lib/DBM_Filter/t/
H A D01error.t94 eval { $db->Filter_Push('Store') ; };
103 like $@, qr/^Filter_Push: No methods \(Filter, Fetch or Store\) found in class 'DBM_Filter::bad1'/,
104 "croak if none of Filter/Fetch/Store in filter" ;
141 return { Store => "abc" } ;
147 like $@, qr/^Filter_Push: value associated with key 'Store' is not a code reference/,
161 like $@, qr/^Filter_Push: expected both Store & Fetch - got neither/,
169 return { Store => sub {} } ;
175 like $@, qr/^Filter_Push: expected both Store & Fetch - got Store/,
189 like $@, qr/^Filter_Push: expected both Store & Fetch - got Fetch/,
196 sub Store {}
[all …]
H A D02core.t61 sub Store { $_ *= 10 }
68 sub Store { $_ .= 'A' }
75 sub Store { $_ .= 'B' }
82 sub Store { $_ .= 'C' }
89 sub Store { $_ .= 'D' }
100 Store => sub { $_ .= $string },
109 sub Store { $_ *= 2 }
116 sub Store { $_ = uc $_ }
123 sub Store { $_ = reverse $_ }
551 Store => sub { $_ .= 'A' },
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp89 StoreInst *Store; member
91 StoreToLoadForwardingCandidate(LoadInst *Load, StoreInst *Store) in StoreToLoadForwardingCandidate()
92 : Load(Load), Store(Store) {} in StoreToLoadForwardingCandidate()
99 Value *StorePtr = Store->getPointerOperand(); in isDependenceDistanceOfOne()
106 DL.getTypeSizeInBits(getLoadStoreType(Store)) && in isDependenceDistanceOfOne()
134 OS << *Cand.Store << " -->\n"; in operator <<()
208 auto *Store = dyn_cast<StoreInst>(Source); in findStoreToLoadDependences() local
209 if (!Store) in findStoreToLoadDependences()
217 getLoadStoreType(Store), getLoadStoreType(Load), in findStoreToLoadDependences()
218 Store->getParent()->getModule()->getDataLayout())) in findStoreToLoadDependences()
[all …]
/openbsd-src/gnu/llvm/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()
267 if (Store->getPointerOperand()->stripPointerCasts() == LocPtr) in findSafeStoreForStoreStrongContraction()
276 if (!Store || !SawRelease) in findSafeStoreForStoreStrongContraction()
280 return Store; in findSafeStoreForStoreStrongContraction()
284 findRetainForStoreStrongContraction(Value *New, StoreInst *Store, in findRetainForStoreStrongContraction() argument
288 BasicBlock::iterator I = Store->getIterator(); in findRetainForStoreStrongContraction()
[all …]
/openbsd-src/gnu/llvm/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.cpp113 auto &Store = Context.pImpl->MetadataAsValues; in getIfExists() local
114 return Store.lookup(MD); in getIfExists()
120 auto &Store = Context.pImpl->MetadataAsValues; in handleChangedMetadata() local
123 Store.erase(this->MD); in handleChangedMetadata()
128 auto *&Entry = Store[MD]; in handleChangedMetadata()
254 auto &Store = Context.pImpl->ValuesAsMetadata; in SalvageDebugInfo() local
255 auto I = Store.find(&C); in SalvageDebugInfo()
419 auto &Store = V->getType()->getContext().pImpl->ValuesAsMetadata; in handleDeletion() local
420 auto I = Store.find(V); in handleDeletion()
421 if (I == Store.end()) in handleDeletion()
[all …]
/openbsd-src/gnu/llvm/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.cpp161 for (Value *Store : Stores) { in runInternal()
163 MemoryLocation::get(cast<StoreInst>(Store))); in runInternal()
166 PrintLoadStoreResults(AR, PrintNoAlias, Load, Store, F.getParent()); in runInternal()
170 PrintLoadStoreResults(AR, PrintMayAlias, Load, Store, F.getParent()); in runInternal()
174 PrintLoadStoreResults(AR, PrintPartialAlias, Load, Store, F.getParent()); in runInternal()
178 PrintLoadStoreResults(AR, PrintMustAlias, Load, Store, F.getParent()); in runInternal()
/openbsd-src/gnu/llvm/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()
329 Store->getPointerOperand(), in optimizePredicateStore()
330 PredType->getPointerTo(Store->getPointerAddressSpace())); in optimizePredicateStore()
333 Store->eraseFromParent(); in optimizePredicateStore()
417 case Instruction::Store: in optimizeInstructions()
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.
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerCombiner.cpp297 GStore &Store = cast<GStore>(MI); in matchSplitStoreZero128() local
298 if (!Store.isSimple()) in matchSplitStoreZero128()
300 LLT ValTy = MRI.getType(Store.getValueReg()); in matchSplitStoreZero128()
303 if (ValTy.getSizeInBits() != Store.getMemSizeInBits()) in matchSplitStoreZero128()
305 if (!MRI.hasOneNonDBGUse(Store.getValueReg())) in matchSplitStoreZero128()
308 *MRI.getVRegDef(Store.getValueReg()), MRI); in matchSplitStoreZero128()
316 GStore &Store = cast<GStore>(MI); in applySplitStoreZero128() local
317 assert(MRI.getType(Store.getValueReg()).isVector() && in applySplitStoreZero128()
320 Register PtrReg = Store.getPointerReg(); in applySplitStoreZero128()
325 auto *LowMMO = MF.getMachineMemOperand(&Store.getMMO(), 0, NewTy); in applySplitStoreZero128()
[all …]
/openbsd-src/gnu/llvm/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()
H A Dhwasan.cpp516 CheckAddressSized<ErrorAction::Abort, AccessType::Store>(p, sz); in __hwasan_storeN()
519 CheckAddress<ErrorAction::Abort, AccessType::Store, 0>(p); in __hwasan_store1()
522 CheckAddress<ErrorAction::Abort, AccessType::Store, 1>(p); in __hwasan_store2()
525 CheckAddress<ErrorAction::Abort, AccessType::Store, 2>(p); in __hwasan_store4()
528 CheckAddress<ErrorAction::Abort, AccessType::Store, 3>(p); in __hwasan_store8()
531 CheckAddress<ErrorAction::Abort, AccessType::Store, 4>(p); in __hwasan_store16()
535 CheckAddressSized<ErrorAction::Recover, AccessType::Store>(p, sz); in __hwasan_storeN_noabort()
538 CheckAddress<ErrorAction::Recover, AccessType::Store, 0>(p); in __hwasan_store1_noabort()
541 CheckAddress<ErrorAction::Recover, AccessType::Store, 1>(p); in __hwasan_store2_noabort()
544 CheckAddress<ErrorAction::Recover, AccessType::Store, 2>(p); in __hwasan_store4_noabort()
[all …]
H A Dhwasan_checks.h98 enum class AccessType { Load, Store }; enumerator
108 0x10 * (AT == AccessType::Store) + LogSize>(p); in CheckAddress()
126 0x10 * (AT == AccessType::Store) + 0xf>(p, sz); in CheckAddressSized()
136 0x10 * (AT == AccessType::Store) + 0xf>(p, sz); in CheckAddressSized()
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stack_store_test.cpp75 EXPECT_EQ(0u, store_.Store({}, &pack)); in TEST_F()
84 ids.push_back(store_.Store(s, &pack)); in TEST_F()
102 ids.push_back(store_.Store(s, &pack)); in TEST_F()
116 StackStore::Id id = store_.Store(s, &pack); in TEST_F()
150 ids.push_back(store_.Store(s, &pack)); in TEST_P()
192 store_.Store(StackTrace(frames.data(), frames.size()), &pack); in TEST_P()
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZInstrSystem.td44 // Store then AND/OR system mask.
69 // Store control.
104 // Store prefix.
117 // Store BEAR.
204 // Store real address.
213 // Store using real address.
339 // Store clock (fast / extended).
346 // Store clock comparator.
350 // Store CPU timer.
358 // Store CPU address.
[all …]
H A DSystemZISelDAGToDAG.cpp314 bool tryScatter(StoreSDNode *Store, unsigned Opcode);
330 bool canUseBlockOperation(StoreSDNode *Store, LoadSDNode *Load) const;
1219 bool SystemZDAGToDAGISel::tryScatter(StoreSDNode *Store, unsigned Opcode) { in tryScatter() argument
1220 SDValue Value = Store->getValue(); in tryScatter()
1223 if (Store->getMemoryVT().getSizeInBits() != Value.getValueSizeInBits()) in tryScatter()
1238 if (!selectBDVAddr12Only(Store->getBasePtr(), ElemV, Base, Disp, Index) || in tryScatter()
1242 SDLoc DL(Store); in tryScatter()
1245 Store->getChain() in tryScatter()
1247 ReplaceNode(Store, CurDAG->getMachineNode(Opcode, DL, MVT::Other, Ops)); in tryScatter()
1414 bool SystemZDAGToDAGISel::canUseBlockOperation(StoreSDNode *Store, in canUseBlockOperation() argument
[all …]
/openbsd-src/gnu/llvm/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()
534 Push->cloneMemRefs(MF, *Store); in adjustCallSequence()
542 if (Is64Bit && Store->getOpcode() == X86::MOV32mr) { in adjustCallSequence()
566 Push->cloneMergedMemRefs(MF, {DefMov, &*Store}); in adjustCallSequence()
573 Push->cloneMemRefs(MF, *Store); in adjustCallSequence()
587 MBB.erase(Store); in adjustCallSequence()
/openbsd-src/gnu/llvm/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
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp93 StoreInst *Store = LoopBuilder.CreateAlignedStore( in createMemCpyLoopKnownSize() local
97 Store->setMetadata(LLVMContext::MD_noalias, MDNode::get(Ctx, NewScope)); in createMemCpyLoopKnownSize()
101 Store->setAtomic(AtomicOrdering::Unordered); in createMemCpyLoopKnownSize()
158 StoreInst *Store = RBuilder.CreateAlignedStore(Load, DstGEP, PartDstAlign, in createMemCpyLoopKnownSize() local
162 Store->setMetadata(LLVMContext::MD_noalias, MDNode::get(Ctx, NewScope)); in createMemCpyLoopKnownSize()
166 Store->setAtomic(AtomicOrdering::Unordered); in createMemCpyLoopKnownSize()
244 StoreInst *Store = in createMemCpyLoopUnknownSize() local
248 Store->setMetadata(LLVMContext::MD_noalias, MDNode::get(Ctx, NewScope)); in createMemCpyLoopUnknownSize()
252 Store->setAtomic(AtomicOrdering::Unordered); in createMemCpyLoopUnknownSize()
321 StoreInst *Store = ResBuilder.CreateAlignedStore(Load, DstGEP, PartDstAlign, in createMemCpyLoopUnknownSize() local
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DP10InstrResources.td409 // 13 Cycles Decimal Floating Point operations, and 3 Cycles Store operations, 2 input operands
1794 // 3 Cycles Store operations, 1 input operands
1802 // 3 Cycles Store operations, 2 input operands
1855 // 3 Cycles Store operations, 3 input operands
1868 // 3 Cycles Store operations, 0 input operands
1879 // 3 Cycles Store operations, 1 input operands
1886 // 3 Cycles Store operations, 2 input operands
1898 // 3 Cycles Store operations, 3 input operands
1909 // 3 Cycles Store operations, and 3 Cycles ALU operations, 0 input operands
1916 // 3 Cycles Store operations, and 3 Cycles ALU operations, 1 input operands
[all …]
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp222 Store asStore() const { in asStore()
223 llvm::PointerIntPair<Store, 1, bool> Ptr = { in asStore()
225 return reinterpret_cast<Store>(Ptr.getOpaqueValue()); in asStore()
413 StoreRef invalidateRegions(Store store,
423 bool scanReachableSymbols(Store S, const MemRegion *R,
440 StoreRef Bind(Store store, Loc LV, SVal V) override { in Bind()
448 StoreRef BindDefaultInitial(Store store, const MemRegion *R, in BindDefaultInitial()
461 StoreRef BindDefaultZero(Store store, const MemRegion *R) override { in BindDefaultZero()
521 StoreRef killBinding(Store ST, Loc L) override;
523 void incrementReferenceCount(Store store) override { in incrementReferenceCount()
[all …]
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()
525 Store store, in HandleBinding()

12345678910>>...20