public function normalize(DOMDocument $ir)
	{
		$this->createXPath($ir);
		$this->addDefaultCase($ir);
		$this->addElementIds($ir);
		$this->addCloseTagElements($ir);
		$this->markVoidElements($ir);
		$this->optimizer->optimize($ir);
		$this->markConditionalCloseTagElements($ir);
		$this->setOutputContext($ir);
		$this->markBranchTables($ir);
	}
public function normalize(DOMDocument $ir)
	{
		$this->createXPath($ir);
		$this->addDefaultCase($ir);
		$this->addElementIds($ir);
		$this->addCloseTagElements($ir);
		$this->markVoidElements($ir);
		$this->optimizer->optimize($ir);
		$this->markConditionalCloseTagElements($ir);
		$this->setOutputContext($ir);
		$this->markBranchTables($ir);
	}
public function normalize ( DOMDocument $ ir ) { $ this -> createXPath ( $ ir ) ; $ this -> addDefaultCase ( $ ir ) ; $ this -> addElementIds ( $ ir ) ; $ this -> addCloseTagElements ( $ ir ) ; $ this -> markVoidElements ( $ ir ) ; $ this -> optimizer -> optimize ( $ ir ) ; $ this -> markConditionalCloseTagElements ( $ ir ) ; $ this -> setOutputContext ( $ ir ) ; $ this -> markBranchTables ( $ ir ) ; }
Normalize an IR

@param  DOMDocument $ir
@return void
Normalize an IR