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

Function computePointerICmp

lib/Analysis/InstructionSimplify.cpp:1974–2151  ·  view source on GitHub ↗

A significant optimization not implemented here is assuming that alloca addresses are not equal to incoming argument values. They don't *alias*, as we say, but that doesn't mean they aren't equal, so we take a conservative approach. This is inspired in part by C++11 5.10p1: "Two pointers of the same type compare equal if and only if they are both null, both point to the same function, or both rep

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

SimplifyICmpInstFunction · 0.85

Calls 15

GetCompareTyFunction · 0.85
isTrueWhenEqualFunction · 0.85
getObjectSizeFunction · 0.85
all_ofFunction · 0.85
isEmptyTyMethod · 0.80
isStaticAllocaMethod · 0.80
hasLocalLinkageMethod · 0.80
hasHiddenVisibilityMethod · 0.80
hasGlobalUnnamedAddrMethod · 0.80
hasByValAttrMethod · 0.80
getFunction · 0.50

Tested by

no test coverage detected