MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / isByval

Method isByval

ir/pointer.cpp:879–886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

877}
878
879expr Pointer::isByval() const {
880 auto this_bid = getShortBid();
881 expr non_local(false);
882 for (auto [bid, is_const] : m.byval_blks) {
883 non_local |= this_bid == bid;
884 }
885 return !isLocal() && non_local;
886}
887
888expr Pointer::isNocapture(bool simplify) const {
889 if (!has_nocapture)

Callers 3

refinedMethod · 0.80
checkMethod · 0.80
fninputRefinedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected