| /llvm-project-15.0.7/clang/unittests/CodeGen/ |
| H A D | TBAAMetadataTest.cpp | 70 MInstruction(Instruction::Store, in TEST() 79 MInstruction(Instruction::Store, in TEST() 91 MInstruction(Instruction::Store, in TEST() 103 MInstruction(Instruction::Store, in TEST() 115 MInstruction(Instruction::Store, in TEST() 127 MInstruction(Instruction::Store, in TEST() 191 MInstruction(Instruction::Store, in TEST() 203 MInstruction(Instruction::Store, in TEST() 215 MInstruction(Instruction::Store, in TEST() 227 MInstruction(Instruction::Store, in TEST() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | Store.h | 107 virtual StoreRef Bind(Store store, Loc loc, SVal val) = 0; 122 virtual StoreRef killBinding(Store ST, Loc L) = 0; 190 virtual bool includedInBindings(Store store, 195 virtual void incrementReferenceCount(Store store) {} in incrementReferenceCount() 200 virtual void decrementReferenceCount(Store store) {} in decrementReferenceCount() 227 virtual StoreRef invalidateRegions(Store store, 239 StoreRef enterStackFrame(Store store, 246 virtual bool scanReachableSymbols(Store S, const MemRegion *R, 257 virtual bool HandleBinding(StoreManager& SMgr, Store store, 277 virtual void iterBindings(Store store, BindingsHandler& f) = 0; [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()
|
| /llvm-project-15.0.7/llvm/test/Transforms/Util/ |
| H A D | trivial-auto-var-init-store.ll | 7 ; CHECK-NEXT: Store size: 4 bytes. 57 ; CHECK-NEXT: Store size: 4 bytes. Atomic: true. 82 ; CHECK-NEXT: Store size: 4 bytes. 115 ; CHECK-NEXT: Store size: 4 bytes. 126 ; CHECK-NEXT: Store size: 4 bytes. 139 ; CHECK-NEXT: Store size: 4 bytes. 150 ; CHECK-NEXT: Store size: 4 bytes. 162 ; CHECK-NEXT: Store size: 4 bytes. 174 ; CHECK-NEXT: Store size: 4 bytes. 187 ; CHECK-NEXT: Store size: 4 bytes. [all …]
|
| /llvm-project-15.0.7/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() 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 …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopLoadElimination.cpp | 89 StoreInst *Store; member 92 : Load(Load), Store(Store) {} in StoreToLoadForwardingCandidate() 99 Value *StorePtr = Store->getPointerOperand(); in isDependenceDistanceOfOne() 104 LoadType == getLoadStoreType(Store) && in isDependenceDistanceOfOne() 133 OS << *Cand.Store << " -->\n"; in operator <<() 207 auto *Store = dyn_cast<StoreInst>(Source); in findStoreToLoadDependences() local 208 if (!Store) in findStoreToLoadDependences() 219 Candidates.emplace_front(Load, Store); in findStoreToLoadDependences() 279 if (Cand.Store->getParent() == OtherCand->Store->getParent() && in removeDependencesFromMultipleStores() 283 if (getInstrIndex(OtherCand->Store) < getInstrIndex(Cand.Store)) in removeDependencesFromMultipleStores() [all …]
|
| /llvm-project-15.0.7/clang/unittests/StaticAnalyzer/ |
| H A D | StoreTest.cpp | 66 Store StInit = SManager.getInitialStore(SFC).getStore(); in performTest() 72 Store StX0 = SManager.Bind(StInit, LX0, Zero).getStore(); in performTest() 76 Store StY0 = in performTest() 82 Store StZ0 = SManager.BindDefaultZero(StInit, LZ0.getAsRegion()).getStore(); in performTest() 90 Store StX1 = SManager.Bind(StInit, LX1, One).getStore(); in performTest() 94 Store StY1 = in performTest() 104 TEST(Store, VariableBind) { in TEST() argument 134 Store StInit = SManager.getInitialStore(SFC).getStore(); in performTest() 137 Store StX = SManager.Bind(StInit, ZeroElement, One).getStore(); in performTest() 147 TEST(Store, LiteralCompound) { in TEST() argument
|
| /llvm-project-15.0.7/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 return Store.lookup(MD); in getIfExists() 123 Store.erase(this->MD); in handleChangedMetadata() 128 auto *&Entry = Store[MD]; in handleChangedMetadata() 255 auto I = Store.find(&C); in SalvageDebugInfo() 420 auto I = Store.find(V); in handleDeletion() 421 if (I == Store.end()) in handleDeletion() 428 Store.erase(I); in handleDeletion() 444 if (I == Store.end()) { in handleRAUW() 455 Store.erase(I); in handleRAUW() 874 Store.insert(N); in uniquifyImpl() [all …]
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/mlir/test/Target/SPIRV/ |
| H A D | loop.mlir | 42 // CHECK-NEXT: spv.Store 43 spv.Store "Function" %var, %add : i32 94 spv.Store "StorageBuffer" %13, %12 : f32 144 // CHECK-NEXT: spv.Store 145 spv.Store "Function" %jvar, %zero : i32 175 // CHECK-NEXT: spv.Store 176 spv.Store "Function" %jvar, %add : i32 196 // CHECK-NEXT: spv.Store 197 spv.Store "Function" %ivar, %add : i32 252 spv.Store "Function" %var, %true : i1 [all …]
|
| H A D | selection.mlir | 25 // CHECK-NEXT: spv.Store 26 spv.Store "Function" %var, %one : i32 33 // CHECK-NEXT: spv.Store 34 spv.Store "Function" %var, %two : i32 115 // CHECK: spv.Store "Function" %[[VAR]] 118 spv.Store "Function" %var, %true : i1 122 // CHECK: spv.Store "Function" %[[VAR]] 125 spv.Store "Function" %var, %false : i1
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | SVEIntrinsicOpts.cpp | 298 auto *Store = dyn_cast<StoreInst>(I); in optimizePredicateStore() local 299 if (!Store || !Store->isSimple()) in optimizePredicateStore() 303 if (Store->getOperand(0)->getType() != FixedPredType) in optimizePredicateStore() 307 auto *IntrI = dyn_cast<IntrinsicInst>(Store->getOperand(0)); in optimizePredicateStore() 328 Store->getPointerOperand(), in optimizePredicateStore() 329 PredType->getPointerTo(Store->getPointerAddressSpace())); in optimizePredicateStore() 332 Store->eraseFromParent(); in optimizePredicateStore() 416 case Instruction::Store: in optimizeInstructions()
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/Transforms/ |
| H A D | canonicalize.mlir | 79 // CHECK-NEXT: spv.Store {{".*"}} {{%.*}}, %[[RESULT_0]] 83 spv.Store "Uniform" %arg1, %0 : i64 423 // CHECK-NEXT: spv.Store "Uniform" {{%.*}}, %[[RESULT_0]] 427 spv.Store "Uniform" %arg2, %0 : vector<3xi1> 503 spv.Store "Function" %3, %2 ["Aligned", 4]: i32 507 spv.Store "Function" %3, %1 ["Aligned", 4]: i32 534 spv.Store "Function" %3, %1 ["Aligned", 8]: vector<3xi32> 538 spv.Store "Function" %3, %2 ["Aligned", 8] : vector<3xi32> 551 // Store to a different variables. 573 spv.Store "Function" %3, %1 ["Aligned", 8]: vector<3xi32> [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64PostLegalizerCombiner.cpp | 297 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 …]
|
| /llvm-project-15.0.7/mlir/test/Conversion/SCFToSPIRV/ |
| H A D | if.mlir | 91 // CHECK-DAG: spv.Store "Function" %[[VAR1]], %[[RET1TRUE]] : f32 92 // CHECK-DAG: spv.Store "Function" %[[VAR2]], %[[RET2TRUE]] : f32 97 // CHECK-DAG: spv.Store "Function" %[[VAR1]], %[[RET1FALSE]] : f32 98 // CHECK-DAG: spv.Store "Function" %[[VAR2]], %[[RET2FALSE]] : f32 105 // CHECK: spv.Store "StorageBuffer" {{%.*}}, %[[OUT1]] : f32 106 // CHECK: spv.Store "StorageBuffer" {{%.*}}, %[[OUT2]] : f32 133 …// CHECK: spv.Store "Function" %[[VAR]], {{%.*}} : !spv.ptr<!spv.struct<(!spv.array<10 x f… 136 …// CHECK: spv.Store "Function" %[[VAR]], {{%.*}} : !spv.ptr<!spv.struct<(!spv.array<10 x f… 143 // CHECK: spv.Store "StorageBuffer" %[[ADD]], {{%.*}} : f32
|
| /llvm-project-15.0.7/compiler-rt/lib/hwasan/ |
| H A D | hwasan.cpp | 480 CheckAddressSized<ErrorAction::Abort, AccessType::Store>(p, sz); in __hwasan_storeN() 483 CheckAddress<ErrorAction::Abort, AccessType::Store, 0>(p); in __hwasan_store1() 486 CheckAddress<ErrorAction::Abort, AccessType::Store, 1>(p); in __hwasan_store2() 489 CheckAddress<ErrorAction::Abort, AccessType::Store, 2>(p); in __hwasan_store4() 492 CheckAddress<ErrorAction::Abort, AccessType::Store, 3>(p); in __hwasan_store8() 495 CheckAddress<ErrorAction::Abort, AccessType::Store, 4>(p); in __hwasan_store16() 502 CheckAddress<ErrorAction::Recover, AccessType::Store, 0>(p); in __hwasan_store1_noabort() 505 CheckAddress<ErrorAction::Recover, AccessType::Store, 1>(p); in __hwasan_store2_noabort() 508 CheckAddress<ErrorAction::Recover, AccessType::Store, 2>(p); in __hwasan_store4_noabort() 511 CheckAddress<ErrorAction::Recover, AccessType::Store, 3>(p); in __hwasan_store8_noabort() [all …]
|
| 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()
|
| H A D | hwasan_checks.h | 81 enum class AccessType { Load, Store }; enumerator 91 0x10 * (AT == AccessType::Store) + LogSize>(p); in CheckAddress() 109 0x10 * (AT == AccessType::Store) + 0xf>(p, sz); in CheckAddressSized() 119 0x10 * (AT == AccessType::Store) + 0xf>(p, sz); in CheckAddressSized()
|
| /llvm-project-15.0.7/compiler-rt/test/hwasan/TestCases/ |
| H A D | use-after-scope-types.cpp | 39 void Store(T *ptr) { t = ptr; } in Store() function 49 void Store(Type *ptr) { t = *ptr; } in Store() function 61 ptr.Store(&x); in test()
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/ |
| H A D | use-after-scope-types.cpp | 19 void Store(T *ptr) { t = ptr; } in Store() function 28 void Store(Type *ptr) { t = *ptr; } in Store() function 39 ptr.Store(&x); in test()
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/Vectorize/ |
| H A D | VPlanHCFGTest.cpp | 78 VPInstruction *Store = dyn_cast<VPInstruction>(&*Iter++); in TEST_F() local 79 EXPECT_EQ(Instruction::Store, Store->getOpcode()); in TEST_F() 80 EXPECT_EQ(2u, Store->getNumOperands()); in TEST_F() 81 EXPECT_EQ(Add, Store->getOperand(0)); in TEST_F() 82 EXPECT_EQ(Idx, Store->getOperand(1)); in TEST_F()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_stack_store_test.cpp | 75 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()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZInstrSystem.td | 69 // 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 …]
|
| /llvm-project-15.0.7/flang/unittests/Runtime/ |
| H A D | BufferTest.cpp | 22 class Store : public FileFrame<Store, tinyBufferSize> { class 24 explicit Store(std::size_t bytes = 65536) : bytes_{bytes} { in Store() function in Store 85 Store store; in TEST()
|