search for: numinstkilled

Displaying 1 result from an estimated 1 matches for "numinstkilled".

2010 Feb 26
0
[LLVMdev] a question of the simple constant propagation pass
...uses of a variable with uses of the constant. 78 I->replaceAllUsesWith(C); 79 80 // Remove the dead instruction. 81 WorkList.erase(I); 82 I->eraseFromParent(); 83 84 // We made a change to the function... 85 Changed = true; 86 ++NumInstKilled; 87 } 88 } 89 return Changed; 90 }