Index: src/IceTargetLoweringX86BaseImpl.h |
diff --git a/src/IceTargetLoweringX86BaseImpl.h b/src/IceTargetLoweringX86BaseImpl.h |
index 7707d148af2d09635a148c9d2cc6656fe68f4ea1..0b5423efa6a43f2fa476cef5cc75360875c784a7 100644 |
--- a/src/IceTargetLoweringX86BaseImpl.h |
+++ b/src/IceTargetLoweringX86BaseImpl.h |
@@ -615,6 +615,7 @@ bool isSameMemAddressOperand(const Operand *A, const Operand *B) { |
} |
template <typename TraitsType> void TargetX86Base<TraitsType>::findRMW() { |
+ TimerMarker _(TimerStack::TT_findRMW, Func); |
Func->dump("Before RMW"); |
if (Func->isVerbose(IceV_RMW)) |
Func->getContext()->lockStr(); |
@@ -732,6 +733,7 @@ inline bool canFoldLoadIntoBinaryInst(Operand *LoadSrc, Variable *LoadDest, |
} |
template <typename TraitsType> void TargetX86Base<TraitsType>::doLoadOpt() { |
+ TimerMarker _(TimerStack::TT_loadOpt, Func); |
for (CfgNode *Node : Func->getNodes()) { |
Context.init(Node); |
while (!Context.atEnd()) { |