Lines Matching refs:unwrap
30 inline TargetLibraryInfoImpl *unwrap(LLVMTargetLibraryInfoRef P) { in unwrap() function
45 initializeTarget(*unwrap(R)); in LLVMInitializeTarget()
49 return wrap(&unwrap(M)->getDataLayout()); in LLVMGetModuleDataLayout()
53 unwrap(M)->setDataLayout(*unwrap(DL)); in LLVMSetModuleDataLayout()
61 delete unwrap(TD); in LLVMDisposeTargetData()
66 unwrap(PM)->add(new TargetLibraryInfoWrapperPass(*unwrap(TLI))); in LLVMAddTargetLibraryInfo()
70 std::string StringRep = unwrap(TD)->getStringRepresentation(); in LLVMCopyStringRepOfTargetData()
75 return unwrap(TD)->isLittleEndian() ? LLVMLittleEndian : LLVMBigEndian; in LLVMByteOrder()
79 return unwrap(TD)->getPointerSize(0); in LLVMPointerSize()
83 return unwrap(TD)->getPointerSize(AS); in LLVMPointerSizeForAS()
87 return wrap(unwrap(TD)->getIntPtrType(*unwrap(LLVMGetGlobalContext()))); in LLVMIntPtrType()
91 return wrap(unwrap(TD)->getIntPtrType(*unwrap(LLVMGetGlobalContext()), AS)); in LLVMIntPtrTypeForAS()
95 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C))); in LLVMIntPtrTypeInContext()
99 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C), AS)); in LLVMIntPtrTypeForASInContext()
103 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty)); in LLVMSizeOfTypeInBits()
107 return unwrap(TD)->getTypeStoreSize(unwrap(Ty)); in LLVMStoreSizeOfType()
111 return unwrap(TD)->getTypeAllocSize(unwrap(Ty)); in LLVMABISizeOfType()
115 return unwrap(TD)->getABITypeAlignment(unwrap(Ty)); in LLVMABIAlignmentOfType()
119 return unwrap(TD)->getABITypeAlignment(unwrap(Ty)); in LLVMCallFrameAlignmentOfType()
123 return unwrap(TD)->getPrefTypeAlignment(unwrap(Ty)); in LLVMPreferredAlignmentOfType()
128 return unwrap(TD)->getPreferredAlignment(unwrap<GlobalVariable>(GlobalVar)); in LLVMPreferredAlignmentOfGlobal()
133 StructType *STy = unwrap<StructType>(StructTy); in LLVMElementAtOffset()
134 return unwrap(TD)->getStructLayout(STy)->getElementContainingOffset(Offset); in LLVMElementAtOffset()
139 StructType *STy = unwrap<StructType>(StructTy); in LLVMOffsetOfElement()
140 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element); in LLVMOffsetOfElement()