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

Method isPtrCmp

ir/instr.cpp:2793–2798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2791}
2792
2793bool ICmp::isPtrCmp() const {
2794 auto &elem_ty = a->getType();
2795 return elem_ty.isPtrType() ||
2796 (elem_ty.isVectorType() &&
2797 elem_ty.getAsAggregateType()->getChild(0).isPtrType());
2798}
2799
2800void ICmp::rauw(const Value &what, Value &with) {
2801 RAUW(a);

Callers 1

Calls 3

isPtrTypeMethod · 0.80
getAsAggregateTypeMethod · 0.80
isVectorTypeMethod · 0.45

Tested by

no test coverage detected