Home | History | Annotate | Download | only in Target

Lines Matching refs:unwrap

30 inline TargetLibraryInfoImpl *unwrap(LLVMTargetLibraryInfoRef P) {
45 initializeTarget(*unwrap(R));
49 return wrap(&unwrap(M)->getDataLayout());
53 unwrap(M)->setDataLayout(*unwrap(DL));
61 delete unwrap(TD);
66 unwrap(PM)->add(new TargetLibraryInfoWrapperPass(*unwrap(TLI)));
70 std::string StringRep = unwrap(TD)->getStringRepresentation();
75 return unwrap(TD)->isLittleEndian() ? LLVMLittleEndian : LLVMBigEndian;
79 return unwrap(TD)->getPointerSize(0);
83 return unwrap(TD)->getPointerSize(AS);
87 return wrap(unwrap(TD)->getIntPtrType(*unwrap(LLVMGetGlobalContext())));
91 return wrap(unwrap(TD)->getIntPtrType(*unwrap(LLVMGetGlobalContext()), AS));
95 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C)));
99 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C), AS));
103 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty));
107 return unwrap(TD)->getTypeStoreSize(unwrap(Ty));
111 return unwrap(TD)->getTypeAllocSize(unwrap(Ty));
115 return unwrap(TD)->getABITypeAlignment(unwrap(Ty));
119 return unwrap(TD)->getABITypeAlignment(unwrap(Ty));
123 return unwrap(TD)->getPrefTypeAlignment(unwrap(Ty));
128 return unwrap(TD)->getPreferredAlignment(unwrap<GlobalVariable>(GlobalVar));
133 StructType *STy = unwrap<StructType>(StructTy);
134 return unwrap(TD)->getStructLayout(STy)->getElementContainingOffset(Offset);
139 StructType *STy = unwrap<StructType>(StructTy);
140 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element);