nv/codegen: Remove Function::buildDefSets
Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24791>
This commit is contained in:
@@ -1260,7 +1260,6 @@ public:
|
||||
inline LValue *getLValue(int id);
|
||||
|
||||
void buildLiveSets();
|
||||
void buildDefSets();
|
||||
bool convertToSSA();
|
||||
|
||||
public:
|
||||
|
||||
@@ -438,16 +438,6 @@ Function::buildLiveSets()
|
||||
BasicBlock::get(bi)->liveSet.marker = false;
|
||||
}
|
||||
|
||||
void
|
||||
Function::buildDefSets()
|
||||
{
|
||||
for (unsigned i = 0; i <= loopNestingBound; ++i)
|
||||
buildDefSetsPreSSA(BasicBlock::get(cfgExit), cfg.nextSequence());
|
||||
|
||||
for (ArrayList::Iterator bi = allBBlocks.iterator(); !bi.end(); bi.next())
|
||||
BasicBlock::get(bi)->liveSet.marker = false;
|
||||
}
|
||||
|
||||
bool
|
||||
Pass::run(Program *prog, bool ordered, bool skipPhi)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user