Lines Matching defs:store

805 // Function to store a first-class aggregate into memory.  We prefer to
806 // store the elements rather than the aggregate to be more friendly to
830 /// CreateCoercedStore - Create a store to \arg DstPtr from \arg Src,
865 // If store is legal, just bitcast the src pointer.
869 // FIXME: Use better alignment / avoid requiring aligned store.
1513 llvm::Value *Ptr = V; // Pointer to store into.
1560 // Simple case, just do a coerced store of the argument into the alloca.
1788 /// Heuristically search for a dominating store to the return-value slot.
1797 llvm::StoreInst *store = dyn_cast<llvm::StoreInst>(&IP->back());
1798 if (!store) return nullptr;
1799 if (store->getPointerOperand() != CGF.ReturnValue) return nullptr;
1800 assert(!store->isAtomic() && !store->isVolatile()); // see below
1801 return store;
1804 llvm::StoreInst *store =
1806 if (!store) return nullptr;
1810 assert(!store->isAtomic() && !store->isVolatile());
1814 llvm::BasicBlock *StoreBB = store->getParent();
1821 // Okay, the store's basic block dominates the insertion point; we
1823 return store;
1887 // If there is a dominating store to ReturnValue, we can elide
1888 // the load, zap the store, and usually zap the alloca.
1890 // Reuse the debug location from the store unless there is
1891 // cleanup code to be emitted between the store and return
1895 // Get the stored value and nuke the now-dead store.
2023 // before doing the store.
2068 // Otherwise, we can just do a normal lvalue store.
2195 // Use an ordinary store, not a store-to-lvalue.
2200 // value has to stay alive until we're doing the store back.
2241 // alloca and store lazily on the first cleanup emission.
2582 /// initialization, a non-atomic store will be used.