Home | History | Annotate | Download | only in Target

Lines Matching refs:unwrap

27 inline TargetLibraryInfo *unwrap(LLVMTargetLibraryInfoRef P) {
42 initializeTarget(*unwrap(R));
52 unwrap(PM)->add(new DataLayoutPass(*unwrap(TD)));
57 unwrap(PM)->add(new TargetLibraryInfo(*unwrap(TLI)));
61 std::string StringRep = unwrap(TD)->getStringRepresentation();
66 return unwrap(TD)->isLittleEndian() ? LLVMLittleEndian : LLVMBigEndian;
70 return unwrap(TD)->getPointerSize(0);
74 return unwrap(TD)->getPointerSize(AS);
78 return wrap(unwrap(TD)->getIntPtrType(getGlobalContext()));
82 return wrap(unwrap(TD)->getIntPtrType(getGlobalContext(), AS));
86 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C)));
90 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C), AS));
94 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty));
98 return unwrap(TD)->getTypeStoreSize(unwrap(Ty));
102 return unwrap(TD)->getTypeAllocSize(unwrap(Ty));
106 return unwrap(TD)->getABITypeAlignment(unwrap(Ty));
110 return unwrap(TD)->getABITypeAlignment(unwrap(Ty));
114 return unwrap(TD)->getPrefTypeAlignment(unwrap(Ty));
119 return unwrap(TD)->getPreferredAlignment(unwrap<GlobalVariable>(GlobalVar));
124 StructType *STy = unwrap<StructType>(StructTy);
125 return unwrap(TD)->getStructLayout(STy)->getElementContainingOffset(Offset);
130 StructType *STy = unwrap<StructType>(StructTy);
131 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element);
135 delete unwrap(TD);