MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / isSafeToLoadUnconditionally

Method isSafeToLoadUnconditionally

lib/Analysis/Loads.cpp:185–291  ·  view source on GitHub ↗

\brief Check if executing a load of this pointer value cannot trap. If DT and ScanFrom are specified this method performs context-sensitive analysis and returns true if it is safe to load immediately before ScanFrom. If it is not obviously safe to load from the specified pointer, we do a quick local scan of the basic block containing \c ScanFrom, to determine if the address is already accessed.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

isPowerOf2_32Function · 0.85
getABITypeAlignmentMethod · 0.80
getPointerElementTypeMethod · 0.80
isInterposableMethod · 0.80
getTypeStoreSizeMethod · 0.80
getPrefTypeAlignmentMethod · 0.80
getTypeAllocSizeMethod · 0.80
assertFunction · 0.50
getTypeMethod · 0.45

Tested by

no test coverage detected