Home
last modified time | relevance | path

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

12345678910>>...15

/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp86 StoreInst *Store; member
88 StoreToLoadForwardingCandidate(LoadInst *Load, StoreInst *Store) in StoreToLoadForwardingCandidate()
89 : Load(Load), Store(Store) {} in StoreToLoadForwardingCandidate()
97 Value *StorePtr = Store->getPointerOperand(); in isDependenceDistanceOfOne()
104 DL.getTypeSizeInBits(getLoadStoreType(Store)) && in isDependenceDistanceOfOne()
142 OS << *Cand.Store << " -->\n"; in operator <<()
218 auto *Store = dyn_cast<StoreInst>(Source); in findStoreToLoadDependences() local
219 if (!Store) in findStoreToLoadDependences()
227 getLoadStoreType(Store), getLoadStoreType(Load), in findStoreToLoadDependences()
228 Store->getDataLayout())) in findStoreToLoadDependences()
[all …]
/freebsd/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()
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 …]
/freebsd/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.cpp114 auto &Store = Context.pImpl->MetadataAsValues; in getIfExists() local
115 return Store.lookup(MD); in getIfExists()
121 auto &Store = Context.pImpl->MetadataAsValues; in handleChangedMetadata() local
124 Store.erase(this->MD); in handleChangedMetadata()
129 auto *&Entry = Store[MD]; in handleChangedMetadata()
337 auto &Store = Context.pImpl->ValuesAsMetadata; in SalvageDebugInfo() local
338 auto I = Store.find(&C); in SalvageDebugInfo()
522 auto &Store = V->getType()->getContext().pImpl->ValuesAsMetadata; in handleDeletion() local
523 auto I = Store.find(V); in handleDeletion()
524 if (I == Store.end()) in handleDeletion()
[all …]
/freebsd/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.cpp586 CheckAddressSized<ErrorAction::Abort, AccessType::Store>(p, sz); in __hwasan_storeN()
589 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()
605 CheckAddressSized<ErrorAction::Recover, AccessType::Store>(p, sz); in __hwasan_storeN_noabort()
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()
[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/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/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveStaticOffset.cpp245 StoreInst *Store) { in makeGEPAndStore() argument
247 Args.push_back(Store->getValueOperand()); in makeGEPAndStore()
248 fillCommonArgs(M->getContext(), Args, GEP, Store); in makeGEPAndStore()
251 {Store->getValueOperand()->getType()}, Args); in makeGEPAndStore()
253 if (Store->getValueOperand()->getType()->isPointerTy()) in makeGEPAndStore()
256 Store->getDebugLoc()); in makeGEPAndStore()
257 if (Store->isUnordered()) { in makeGEPAndStore()
264 Call->setAAMetadata(Store->getAAMetadata()); in makeGEPAndStore()
317 auto *Store = new StoreInst(Call->getOperand(0), GEP, in reconstructStore() local
320 reconstructCommon(Call, GEP, Store, 1); in reconstructStore()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DSVEIntrinsicOpts.cpp300 auto *Store = dyn_cast<StoreInst>(I); in optimizePredicateStore() local
301 if (!Store || !Store->isSimple()) in optimizePredicateStore()
305 if (Store->getOperand(0)->getType() != FixedPredType) in optimizePredicateStore()
309 auto *IntrI = dyn_cast<IntrinsicInst>(Store->getOperand(0)); in optimizePredicateStore()
329 Builder.CreateStore(BitCast->getOperand(0), Store->getPointerOperand()); in optimizePredicateStore()
331 Store->eraseFromParent(); in optimizePredicateStore()
412 case Instruction::Store: in optimizeInstructions()
H A DAArch64SchedNeoverseN1.td46 def N1UnitL : ProcResource<2>; // Load/Store 0/1
47 def N1UnitD : ProcResource<2>; // Store data 0/1
384 // 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
516 // Store vector reg, unscaled immed, B/H/S/D-form
519 // Store vector reg, unscaled immed, Q-form
522 // Store vecto
[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).
770 // -- Store 1-element structure from one lane of 1 register
773 // -- Store 1-element structures from 1 register
776 // -- Store 1-element structures from 2 registers
779 // -- Store 1-element structures from 3 registers
782 // -- Store 1-element structures from 4 registers
785 // -- Store 2-element structure from one lane of 2 registers
788 // -- Store 2-element structures from 2 registers, 16B/8H/4S/2D sizes
[all …]
/freebsd/contrib/llvm-project/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.cpp316 bool tryScatter(StoreSDNode *Store, unsigned Opcode);
332 bool canUseBlockOperation(StoreSDNode *Store, LoadSDNode *Load) const;
1269 bool SystemZDAGToDAGISel::tryScatter(StoreSDNode *Store, unsigned Opcode) { in tryScatter() argument
1270 SDValue Value = Store->getValue(); in tryScatter()
1273 if (Store->getMemoryVT().getSizeInBits() != Value.getValueSizeInBits()) in tryScatter()
1288 if (!selectBDVAddr12Only(Store->getBasePtr(), ElemV, Base, Disp, Index) || in tryScatter()
1292 SDLoc DL(Store); in tryScatter()
1295 Store->getChain() in tryScatter()
1297 ReplaceNode(Store, CurDAG->getMachineNode(Opcode, DL, MVT::Other, Ops)); in tryScatter()
1464 bool SystemZDAGToDAGISel::canUseBlockOperation(StoreSDNode *Store, in canUseBlockOperation() argument
[all …]
/freebsd/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/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/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp86 StoreInst *Store = LoopBuilder.CreateAlignedStore( in createMemCpyLoopKnownSize() local
90 Store->setMetadata(LLVMContext::MD_noalias, MDNode::get(Ctx, NewScope)); in createMemCpyLoopKnownSize()
94 Store->setAtomic(AtomicOrdering::Unordered); in createMemCpyLoopKnownSize()
142 StoreInst *Store = RBuilder.CreateAlignedStore(Load, DstGEP, PartDstAlign, in createMemCpyLoopKnownSize() local
146 Store->setMetadata(LLVMContext::MD_noalias, MDNode::get(Ctx, NewScope)); in createMemCpyLoopKnownSize()
150 Store->setAtomic(AtomicOrdering::Unordered); in createMemCpyLoopKnownSize()
241 StoreInst *Store = in createMemCpyLoopUnknownSize() local
245 Store->setMetadata(LLVMContext::MD_noalias, MDNode::get(Ctx, NewScope)); in createMemCpyLoopUnknownSize()
249 Store->setAtomic(AtomicOrdering::Unordered); in createMemCpyLoopUnknownSize()
317 StoreInst *Store = in createMemCpyLoopUnknownSize() local
[all …]
/freebsd/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()
316 if (Store.getMemSizeInBits() != ValTy.getSizeInBits()) in matchSplitStoreZero128()
318 if (!MRI.hasOneNonDBGUse(Store.getValueReg())) in matchSplitStoreZero128()
321 *MRI.getVRegDef(Store.getValueReg()), MRI); in matchSplitStoreZero128()
329 GStore &Store = cast<GStore>(MI); in applySplitStoreZero128() local
330 assert(MRI.getType(Store.getValueReg()).isVector() && in applySplitStoreZero128()
333 Register PtrReg = Store.getPointerReg(); in applySplitStoreZero128()
338 auto *LowMMO = MF.getMachineMemOperand(&Store.getMMO(), 0, NewTy); in applySplitStoreZero128()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DP10InstrResources.td394 // 13 Cycles Decimal Floating Point operations, and 3 Cycles Store operations, 1 input operands
1776 // 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
1869 // 3 Cycles Store operations, 3 input operands
1883 // 3 Cycles Store operations, and 3 Cycles ALU operations, 0 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…
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp223 Store asStore() const { in asStore()
224 llvm::PointerIntPair<Store, 1, bool> Ptr = { in asStore()
226 return reinterpret_cast<Store>(Ptr.getOpaqueValue()); in asStore()
415 StoreRef invalidateRegions(Store store,
425 bool scanReachableSymbols(Store S, const MemRegion *R,
442 StoreRef Bind(Store store, Loc LV, SVal V) override { in Bind()
450 StoreRef BindDefaultInitial(Store store, const MemRegion *R, in BindDefaultInitial()
463 StoreRef BindDefaultZero(Store store, const MemRegion *R) override { in BindDefaultZero()
523 StoreRef killBinding(Store ST, Loc L) override;
525 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()
534 Store store, in HandleBinding()

12345678910>>...15