reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Transforms/Utils/Local.h
  383 bool replaceAllDbgUsesWith(Instruction &From, Value &To, Instruction &DomPoint,

References

lib/Transforms/InstCombine/InstCombineCasts.cpp
  272         replaceAllDbgUsesWith(*CSrc, *Res, CI, DT);
  285         replaceAllDbgUsesWith(*Sel, *NV, CI, DT);
 1119         replaceAllDbgUsesWith(*SrcOp, *Res, CI, DT);
lib/Transforms/Scalar/IndVarSimplify.cpp
 1685   replaceAllDbgUsesWith(*DU.NarrowUse, *WideUse, *WideUse, *DT);
 1813   replaceAllDbgUsesWith(*OrigPhi, *WidePhi, *WidePhi, *DT);
unittests/Transforms/Utils/LocalTest.cpp
  724   EXPECT_FALSE(replaceAllDbgUsesWith(A, C, C, DT));
  725   EXPECT_FALSE(replaceAllDbgUsesWith(C, A, A, DT));
  728   EXPECT_FALSE(replaceAllDbgUsesWith(E, A, A, DT));
  729   EXPECT_FALSE(replaceAllDbgUsesWith(A, E, E, DT));
  732   EXPECT_TRUE(replaceAllDbgUsesWith(D, C, C, DT));
  744   EXPECT_TRUE(replaceAllDbgUsesWith(C, D, D, DT));
  757   EXPECT_TRUE(replaceAllDbgUsesWith(A, F_, F_, DT));
  763   EXPECT_TRUE(replaceAllDbgUsesWith(F_, G, G, DT));
  775   EXPECT_TRUE(replaceAllDbgUsesWith(B, A, A, DT));