Searched refs:RegToMem (Results 1 – 1 of 1) sorted by relevance
38 struct RegToMem : public FunctionPass { struct40 RegToMem() : FunctionPass(ID) { in RegToMem() function63 char RegToMem::ID = 0;64 INITIALIZE_PASS_BEGIN(RegToMem, "reg2mem", "Demote all values to stack slots",67 INITIALIZE_PASS_END(RegToMem, "reg2mem", "Demote all values to stack slots", in INITIALIZE_PASS_DEPENDENCY()70 bool RegToMem::runOnFunction(Function &F) { in INITIALIZE_PASS_DEPENDENCY()129 char &llvm::DemoteRegisterToMemoryID = RegToMem::ID;131 return new RegToMem(); in createDemoteRegisterToMemoryPass()