partial-type-refinement.ll 1.2 KB

123456789101112131415161718192021222324
  1. ; RUN: llvm-link %s %p/partial-type-refinement-link.ll -S | FileCheck %s
  2. ; PR4954
  3. ; CHECK: load %PI*, %PI** getelementptr inbounds (%"RegisterP<LowerArrayLength>", %"RegisterP<LowerArrayLength>"* @_ZN3mvmL1XE, i64 0, i32 0, i32 6, i32 0, i32 0, i32 0), align 16
  4. %AnalysisResolver = type { i8, %PMDataManager* }
  5. %"DenseMap<P*,AU*>" = type { i64, %"pair<P*,AU*>"*, i64, i64 }
  6. %PMDataManager = type { i8, %PMTopLevelManager*, i8, i8, i8, i8, i8, i64, i8 }
  7. %PMTopLevelManager = type { i8, i8, i8, i8, i8, i8, i8, i8, %"DenseMap<P*,AU*>" }
  8. %P = type { i8, %AnalysisResolver*, i64 }
  9. %PI = type { i8, i8, i8, i8, i8, i8, %"vector<const PI*>", %P* }
  10. %"RegisterP<LowerArrayLength>" = type { %PI }
  11. %"_V_base<const PI*>" = type { %"_V_base<const PI*>::_V_impl" }
  12. %"_V_base<const PI*>::_V_impl" = type { %PI*, i8, i8 }
  13. %"pair<P*,AU*>" = type opaque
  14. %"vector<const PI*>" = type { %"_V_base<const PI*>" }
  15. @_ZN3mvmL1XE = external global %"RegisterP<LowerArrayLength>"
  16. define void @__tcf_0() nounwind {
  17. entry:
  18. %0 = load %PI*, %PI** getelementptr inbounds (%"RegisterP<LowerArrayLength>", %"RegisterP<LowerArrayLength>"* @_ZN3mvmL1XE, i64 0, i32 0, i32 6, i32 0, i32 0, i32 0), align 16
  19. ret void
  20. }