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

Declarations

include/llvm/IR/DebugInfoMetadata.h
 1508   inline Optional<const DILocation *> cloneWithBaseDiscriminator(unsigned BD) const;

References

lib/Transforms/Utils/AddDiscriminators.cpp
  211       auto NewDIL = DIL->cloneWithBaseDiscriminator(Discriminator);
  248         auto NewDIL = CurrentDIL->cloneWithBaseDiscriminator(Discriminator);
unittests/IR/MetadataTest.cpp
 1053   EXPECT_EQ(L1, L1->cloneWithBaseDiscriminator(0).getValue());
 1057   auto L2 = L1->cloneWithBaseDiscriminator(1).getValue();
 1074   auto L5 = L4->cloneWithBaseDiscriminator(2).getValue();
 1079   auto L6 = L1->cloneWithBaseDiscriminator(0xfff).getValue();
 1086   EXPECT_EQ(None, L4->cloneWithBaseDiscriminator(0x1000));