| /freebsd-src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | Store.h | 1 //===- Store.h - Interface for maps from Locations to Values ----*- C++ -*-===// 9 // This file defined the types Store and StoreManager. 74 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 stor [all...] |
| H A D | StoreRef.h | 27 using Store = const void *; variable 30 Store store; 34 StoreRef(Store store, StoreManager &smgr); 46 Store getStore() const { return store; } in getStore()
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopLoadElimination.cpp | 86 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() 219 if (!Store) in findStoreToLoadDependences() 227 getLoadStoreType(Store), getLoadStoreTyp in findStoreToLoadDependences() 215 auto *Store = dyn_cast<StoreInst>(Source); findStoreToLoadDependences() local [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCContract.cpp | 198 StoreInst *Store = nullptr; in findSafeStoreForStoreStrongContraction() local 211 if (Store && SawRelease) in findSafeStoreForStoreStrongContraction() 227 if (Store) { in findSafeStoreForStoreStrongContraction() 230 // instruction in between Store and the Release conservatively can not use in findSafeStoreForStoreStrongContraction() 256 Store = dyn_cast<StoreInst>(Inst); in findSafeStoreForStoreStrongContraction() 262 if (!Store || !Store->isSimple()) in findSafeStoreForStoreStrongContraction() 266 // found our Store! in findSafeStoreForStoreStrongContraction() 267 if (Store->getPointerOperand()->stripPointerCasts() == LocPtr) in findSafeStoreForStoreStrongContraction() 276 if (!Store || !SawReleas in findSafeStoreForStoreStrongContraction() 284 findRetainForStoreStrongContraction(Value * New,StoreInst * Store,Instruction * Release,ProvenanceAnalysis & PA) findRetainForStoreStrongContraction() argument 350 StoreInst *Store = tryToContractReleaseIntoStoreStrong() local [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/IR/ |
| H A D | MetadataImpl.h | 22 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 D | Metadata.cpp | 114 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() 338 auto I = Store.find(&C); in SalvageDebugInfo() 522 auto &Store = V->getType()->getContext().pImpl->ValuesAsMetadata; in handleDeletion() 523 auto I = Store.find(V); in handleDeletion() 524 if (I == Store in handleDeletion() 328 auto &Store = Context.pImpl->ValuesAsMetadata; SalvageDebugInfo() local 513 auto &Store = V->getType()->getContext().pImpl->ValuesAsMetadata; handleDeletion() local 536 auto &Store = Context.pImpl->ValuesAsMetadata; handleRAUW() local 592 auto &Store = Context.pImpl->MDStringCache; get() local 964 uniquifyImpl(T * N,DenseSet<T *,InfoT> & Store) uniquifyImpl() argument 1529 MDAttachments &Store = getContext().pImpl->ValueMetadata.find(this)->second; eraseMetadata() local [all...] |
| /freebsd-src/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan_memintrinsics.cpp | 25 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 D | hwasan.cpp | 586 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, in __hwasan_store4_noabort() [all...] |
| H A D | hwasan_checks.h | 24 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-src/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueLatticeUtils.cpp | 34 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 D | AliasAnalysisEvaluator.cpp | 159 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-src/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFPreserveStaticOffset.cpp | 245 StoreInst *Store) { in makeGEPAndStore() 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() 320 reconstructCommon(Call, GEP, Store, in reconstructStore() 244 makeGEPAndStore(Module * M,GEPChainInfo & GEP,StoreInst * Store) makeGEPAndStore() argument 316 auto *Store = new StoreInst(Call->getOperand(0), GEP, reconstructStore() local 427 if (auto *Store = dyn_cast<StoreInst>(LoadOrStoreTemplate)) { tryToReplaceWithGEPBuiltin() local [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | SVEIntrinsicOpts.cpp | 300 auto *Store = dyn_cast<StoreInst>(I); in optimizePredicateStore() 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() 299 auto *Store = dyn_cast<StoreInst>(I); optimizePredicateStore() local
|
| H A D | AArch64SchedNeoverseN1.td | 46 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 vector reg, immed post-index, B/H/S/D-form [all …]
|
| H A D | AArch64Schedule.td | 44 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 D | AArch64SchedAmpere1B.td | 573 } // 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 [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZInstrSystem.td | 44 // 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 CP [all...] |
| H A D | SystemZISelDAGToDAG.cpp | 170 // Return true on success and if the result had no index. Store the 315 // Try to use scatter instruction Opcode to implement store Store. 316 bool tryScatter(StoreSDNode *Store, unsigned Opcode); 323 // Return true if Load and Store are loads and stores of the same size 332 bool canUseBlockOperation(StoreSDNode *Store, LoadSDNode *Load) const; 1269 bool SystemZDAGToDAGISel::tryScatter(StoreSDNode *Store, unsigned Opcode) { in tryScatter() 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 isFusableLoadOpStorePattern() 1292 SDLoc DL(Store); in isFusableLoadOpStorePattern() 1254 tryScatter(StoreSDNode * Store,unsigned Opcode) tryScatter() argument 1449 canUseBlockOperation(StoreSDNode * Store,LoadSDNode * Load) const canUseBlockOperation() argument 1481 auto *Store = cast<StoreSDNode>(N); storeLoadCanUseMVC() local 1734 auto *Store = cast<StoreSDNode>(Node); Select() local [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LowerMemIntrinsics.cpp | 86 StoreInst *Store = LoopBuilder.CreateAlignedStore( in createMemCpyLoopKnownSize() 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() 146 Store->setMetadata(LLVMContext::MD_noalias, MDNode::get(Ctx, NewScope)); in createMemCpyLoopKnownSize() 150 Store->setAtomic(AtomicOrdering::Unordered); in createMemCpyLoopKnownSize() 241 StoreInst *Store = in createMemCpyLoopUnknownSize() 245 Store->setMetadata(LLVMContext::MD_noalias, MDNode::get(Ctx, NewScope)); in createMemCpyLoopUnknownSize() 249 Store->setAtomic(AtomicOrdering::Unordered); in createMemCpyLoopUnknownSize() 263 "Store siz in createMemCpyLoopUnknownSize() 85 StoreInst *Store = LoopBuilder.CreateAlignedStore( createMemCpyLoopKnownSize() local 141 StoreInst *Store = RBuilder.CreateAlignedStore(Load, DstGEP, PartDstAlign, createMemCpyLoopKnownSize() local 218 StoreInst *Store = createMemCpyLoopUnknownSize() local 291 StoreInst *Store = ResBuilder.CreateAlignedStore(Load, DstGEP, PartDstAlign, createMemCpyLoopUnknownSize() local [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64PostLegalizerCombiner.cpp | 308 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() 330 assert(MRI.getType(Store.getValueReg()).isVector() && in applySplitStoreZero128() 333 Register PtrReg = Store.getPointerReg(); in applySplitStoreZero128() 338 auto *LowMMO = MF.getMachineMemOperand(&Store in applySplitStoreZero128() 327 GStore &Store = cast<GStore>(MI); applySplitStoreZero128() local [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86CallFrameOptimization.cpp | 508 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-src/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsEVAInstrInfo.td | 19 // 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-src/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | P10InstrResources.td | 394 // 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 1892 // 3 Cycles Store operations, 3 Cycles ALU operations, 3 Cycles Store operation [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | Store.cpp | 1 //===- Store.cpp - Interface for maps from Locations to Values ------------===// 9 // This file defined the types Store and StoreManager. 13 #include "clang/StaticAnalyzer/Core/PathSensitive/Store.h" 46 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()
|
| H A D | RegionStore.cpp | 144 // Actual Store type. 222 /// Return the internal tree as a Store. 223 Store asStore() const { in asStore() 224 llvm::PointerIntPair<Store, 1, bool> Ptr = { in asStore() 226 return reinterpret_cast<Store>(Ptr.getOpaqueValue()); in asStore() 394 /// Creates the Store that correctly represents memory contents before 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 stor [all...] |