Lines Matching refs:Value
26 /// \brief Test if A and B will obviously have the same value.
29 /// value in code like this:
37 static bool AreEquivalentAddressValues(const Value *A, const Value *B) {
46 // value or one of them will have an undefined value.
57 /// \brief Check if executing a load of this pointer value cannot trap.
65 bool llvm::isSafeToLoadUnconditionally(Value *V, Instruction *ScanFrom,
75 Value *Base = V;
137 Value *AccessedPtr;
169 /// At that point, the value of MaxInstsToScan was already set to '6'
175 "available loaded value"));
177 /// \brief Scan the ScanBB block backwards to see if we have the value at the
184 /// If the value is available, this function returns it. If not, it returns the
185 /// iterator for the last validated instruction that the value would be live
196 Value *llvm::FindAvailableLoadedValue(Value *Ptr, BasicBlock *ScanBB,
210 Value *StrippedPtr = Ptr->stripPointerCasts();
219 // Restore ScanFrom to expected value in case next test succeeds
227 // If this is a load of Ptr, the loaded value is available.
240 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts();
241 // If this is a store through Ptr, the value is available!
261 // value, ignore the store.