Lines Matching defs:unwrap
29 inline TargetLibraryInfoImpl *unwrap(LLVMTargetLibraryInfoRef P) {
44 return wrap(&unwrap(M)->getDataLayout());
48 unwrap(M)->setDataLayout(*unwrap(DL));
56 delete unwrap(TD);
61 unwrap(PM)->add(new TargetLibraryInfoWrapperPass(*unwrap(TLI)));
65 std::string StringRep = unwrap(TD)->getStringRepresentation();
70 return unwrap(TD)->isLittleEndian() ? LLVMLittleEndian : LLVMBigEndian;
74 return unwrap(TD)->getPointerSize(0);
78 return unwrap(TD)->getPointerSize(AS);
82 return wrap(unwrap(TD)->getIntPtrType(*unwrap(LLVMGetGlobalContext())));
86 return wrap(unwrap(TD)->getIntPtrType(*unwrap(LLVMGetGlobalContext()), AS));
90 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C)));
94 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C), AS));
98 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty));
102 return unwrap(TD)->getTypeStoreSize(unwrap(Ty));
106 return unwrap(TD)->getTypeAllocSize(unwrap(Ty));
110 return unwrap(TD)->getABITypeAlign(unwrap(Ty)).value();
114 return unwrap(TD)->getABITypeAlign(unwrap(Ty)).value();
118 return unwrap(TD)->getPrefTypeAlign(unwrap(Ty)).value();
123 return unwrap(TD)
124 ->getPreferredAlign(unwrap<GlobalVariable>(GlobalVar))
130 StructType *STy = unwrap<StructType>(StructTy);
131 return unwrap(TD)->getStructLayout(STy)->getElementContainingOffset(Offset);
136 StructType *STy = unwrap<StructType>(StructTy);
137 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element);