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

Function SimplifyTree

utils/TableGen/CodeGenDAGPatterns.cpp:2262–2285  ·  view source on GitHub ↗

SimplifyTree - See if we can simplify this tree to eliminate something that will never match in favor of something obvious that will. This is here strictly as a convenience to target authors because it allows them to write more type generic things and have useless type casts fold away. This returns true if any change is made.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

InferAllTypesMethod · 0.85

Calls 8

isConcreteMethod · 0.80
setChildMethod · 0.80
isLeafMethod · 0.45
getNameMethod · 0.45
getOperatorMethod · 0.45
getChildMethod · 0.45
emptyMethod · 0.45
getNumChildrenMethod · 0.45

Tested by

no test coverage detected