Lines Matching refs:unwrap
27 inline TargetLibraryInfoImpl *unwrap(LLVMTargetLibraryInfoRef P) { in unwrap() function
42 initializeTarget(*unwrap(R)); in LLVMInitializeTarget()
54 unwrap(PM)->add(new TargetLibraryInfoWrapperPass(*unwrap(TLI))); in LLVMAddTargetLibraryInfo()
58 std::string StringRep = unwrap(TD)->getStringRepresentation(); in LLVMCopyStringRepOfTargetData()
63 return unwrap(TD)->isLittleEndian() ? LLVMLittleEndian : LLVMBigEndian; in LLVMByteOrder()
67 return unwrap(TD)->getPointerSize(0); in LLVMPointerSize()
71 return unwrap(TD)->getPointerSize(AS); in LLVMPointerSizeForAS()
75 return wrap(unwrap(TD)->getIntPtrType(getGlobalContext())); in LLVMIntPtrType()
79 return wrap(unwrap(TD)->getIntPtrType(getGlobalContext(), AS)); in LLVMIntPtrTypeForAS()
83 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C))); in LLVMIntPtrTypeInContext()
87 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C), AS)); in LLVMIntPtrTypeForASInContext()
91 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty)); in LLVMSizeOfTypeInBits()
95 return unwrap(TD)->getTypeStoreSize(unwrap(Ty)); in LLVMStoreSizeOfType()
99 return unwrap(TD)->getTypeAllocSize(unwrap(Ty)); in LLVMABISizeOfType()
103 return unwrap(TD)->getABITypeAlignment(unwrap(Ty)); in LLVMABIAlignmentOfType()
107 return unwrap(TD)->getABITypeAlignment(unwrap(Ty)); in LLVMCallFrameAlignmentOfType()
111 return unwrap(TD)->getPrefTypeAlignment(unwrap(Ty)); in LLVMPreferredAlignmentOfType()
116 return unwrap(TD)->getPreferredAlignment(unwrap<GlobalVariable>(GlobalVar)); in LLVMPreferredAlignmentOfGlobal()
121 StructType *STy = unwrap<StructType>(StructTy); in LLVMElementAtOffset()
122 return unwrap(TD)->getStructLayout(STy)->getElementContainingOffset(Offset); in LLVMElementAtOffset()
127 StructType *STy = unwrap<StructType>(StructTy); in LLVMOffsetOfElement()
128 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element); in LLVMOffsetOfElement()
132 delete unwrap(TD); in LLVMDisposeTargetData()