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

References

include/llvm/Support/PointerLikeTypeTraits.h
   56   static inline void *getAsVoidPointer(T *P) { return P; }
   57   static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
   59   enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
   91   typedef PointerLikeTypeTraits<T *> NonConst;
   93   static inline const void *getAsVoidPointer(const T *P) {
   96   static inline const T *getFromVoidPointer(const void *P) {
lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
   60   const T *Region;
   63   ConcreteRegion(const T *Region) : Region(Region) {}
   84   DenseMap<const WebAssemblyException *, std::unique_ptr<Region>> ExceptionMap;
   93     const auto *WE = WEI.getExceptionFor(MBB);
  107           std::make_unique<ConcreteRegion<WebAssemblyException>>(WE);
lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
  462   WebAssemblyException *WE = WEI.getExceptionFor(&MBB);
lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
   48   SmallVector<WebAssemblyException *, 8> Exceptions;
   53     auto *WE = new WebAssemblyException(EHPad);
   53     auto *WE = new WebAssemblyException(EHPad);
   61     WebAssemblyException *WE = getExceptionFor(MBB);
   67   for (auto *WE : Exceptions) {
   76   for (auto *WE : Exceptions) {
   96     WebAssemblyException *WE, const MachineDominatorTree &MDT,
  110     WebAssemblyException *SubE = getOutermostException(MBB);
  141 WebAssemblyException *
  143   WebAssemblyException *WE = getExceptionFor(MBB);
  145     while (WebAssemblyException *Parent = WE->getParentException())
  177 raw_ostream &operator<<(raw_ostream &OS, const WebAssemblyException &WE) {
  183   for (auto *WE : TopLevelExceptions)
lib/Target/WebAssembly/WebAssemblyExceptionInfo.h
   45   WebAssemblyException *ParentException = nullptr;
   46   std::vector<WebAssemblyException *> SubExceptions;
   53   WebAssemblyException(const WebAssemblyException &) = delete;
   54   const WebAssemblyException &operator=(const WebAssemblyException &) = delete;
   54   const WebAssemblyException &operator=(const WebAssemblyException &) = delete;
   58   WebAssemblyException *getParentException() const { return ParentException; }
   59   void setParentException(WebAssemblyException *WE) { ParentException = WE; }
   61   bool contains(const WebAssemblyException *WE) const {
   86   const std::vector<WebAssemblyException *> &getSubExceptions() const {
   89   std::vector<WebAssemblyException *> &getSubExceptions() {
   92   void addSubException(WebAssemblyException *E) { SubExceptions.push_back(E); }
   93   using iterator = typename std::vector<WebAssemblyException *>::const_iterator;
  105     for (const WebAssemblyException *CurException = ParentException;
  115 raw_ostream &operator<<(raw_ostream &OS, const WebAssemblyException &WE);
  119   DenseMap<const MachineBasicBlock *, WebAssemblyException *> BBMap;
  120   std::vector<WebAssemblyException *> TopLevelExceptions;
  122   void discoverAndMapException(WebAssemblyException *WE,
  125   WebAssemblyException *getOutermostException(MachineBasicBlock *MBB) const;
  147   WebAssemblyException *getExceptionFor(const MachineBasicBlock *MBB) const {
  151   void changeExceptionFor(MachineBasicBlock *MBB, WebAssemblyException *WE) {
  159   void addTopLevelException(WebAssemblyException *WE) {
lib/Target/WebAssembly/WebAssemblyUtilities.h
   39 template <typename T> MachineBasicBlock *getBottom(const T *Unit) {
unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp
  181   auto *WE0 = WEI.getExceptionFor(MBB2);
  188   auto *WE0_0 = WEI.getExceptionFor(MBB3);
  215   auto *WE0_0_0 = WEI.getExceptionFor(MBB8);
  222   auto *WE0_1 = WEI.getExceptionFor(MBB9);
  356   auto *WE0 = WEI.getExceptionFor(MBB1);
  378   auto *WE0_0 = WEI.getExceptionFor(MBB3);
  405   auto *WE0_0_0 = WEI.getExceptionFor(MBB10);
  412   auto *WE0_1 = WEI.getExceptionFor(MBB11);
utils/unittest/googletest/include/gtest/gtest-printers.h
  407                     T* p, ::std::ostream* os) {
  416     if (IsTrue(ImplicitlyConvertible<T*, const void*>::value)) {