Lines Matching refs:Optimizer
25 class Optimizer class
28 Optimizer(rr::Nucleus::OptimizerReport *report) in Optimizer() function in __anonf94f41b50111::Optimizer
86 Optimizer::Uses *getUses(Ice::Operand *);
87 void setUses(Ice::Operand *, Optimizer::Uses *);
98 void Optimizer::run(Ice::Cfg *function) in run()
130 void Optimizer::propagateAlloca() in propagateAlloca()
199 void Optimizer::performScalarReplacementOfAggregates() in performScalarReplacementOfAggregates()
297 void Optimizer::eliminateDeadCode() in eliminateDeadCode()
322 void Optimizer::eliminateUnitializedLoads() in eliminateUnitializedLoads()
386 void Optimizer::optimizeSingleBasicBlockLoadsStores() in optimizeSingleBasicBlockLoadsStores()
463 void Optimizer::analyzeUses(Ice::Cfg *function) in analyzeUses()
500 void Optimizer::replace(Ice::Inst *instruction, Ice::Operand *newValue) in replace()
532 void Optimizer::deleteInstruction(Ice::Inst *instruction) in deleteInstruction()
565 bool Optimizer::isDead(Ice::Inst *instruction) in isDead()
583 Optimizer::Uses *uses = getUses(address); in isDead()
597 bool Optimizer::isStaticallyIndexedArray(Ice::Operand *allocaAddress) in isStaticallyIndexedArray()
643 Ice::InstAlloca *Optimizer::allocaOf(Ice::Operand *address) in allocaOf()
652 const Ice::InstIntrinsic *Optimizer::asLoadSubVector(const Ice::Inst *instruction) in asLoadSubVector()
665 const Ice::InstIntrinsic *Optimizer::asStoreSubVector(const Ice::Inst *instruction) in asStoreSubVector()
678 bool Optimizer::isLoad(const Ice::Inst &instruction) in isLoad()
688 bool Optimizer::isStore(const Ice::Inst &instruction) in isStore()
698 bool Optimizer::loadTypeMatchesStore(const Ice::Inst *load, const Ice::Inst *store) in loadTypeMatchesStore()
726 bool Optimizer::storeTypeMatchesStore(const Ice::Inst *store1, const Ice::Inst *store2) in storeTypeMatchesStore()
749 void Optimizer::collectDiagnostics() in collectDiagnostics()
781 Optimizer::Uses *Optimizer::getUses(Ice::Operand *operand) in getUses()
783 Optimizer::Uses *uses = (Optimizer::Uses *)operand->Ice::Operand::getExternalData(); in getUses()
786 uses = new Optimizer::Uses; in getUses()
793 void Optimizer::setUses(Ice::Operand *operand, Optimizer::Uses *uses) in setUses()
795 if(auto *oldUses = reinterpret_cast<Optimizer::Uses *>(operand->Ice::Operand::getExternalData())) in setUses()
803 bool Optimizer::hasUses(Ice::Operand *operand) const in hasUses()
808 Ice::Inst *Optimizer::getDefinition(Ice::Variable *var) in getDefinition()
813 void Optimizer::setDefinition(Ice::Variable *var, Ice::Inst *inst) in setDefinition()
818 bool Optimizer::Uses::areOnlyLoadStore() const in areOnlyLoadStore()
823 void Optimizer::Uses::insert(Ice::Operand *value, Ice::Inst *instruction) in insert()
843 void Optimizer::Uses::erase(Ice::Inst *instruction) in erase()
885 Optimizer optimizer(report); in optimize()