Lines Matching refs:unwrap

32   initializeTarget(*unwrap(R));  in LLVMInitializeTarget()
40 unwrap(PM)->add(new TargetData(*unwrap(TD))); in LLVMAddTargetData()
45 unwrap(PM)->add(new TargetLibraryInfo(*unwrap(TLI))); in LLVMAddTargetLibraryInfo()
49 std::string StringRep = unwrap(TD)->getStringRepresentation(); in LLVMCopyStringRepOfTargetData()
54 return unwrap(TD)->isLittleEndian() ? LLVMLittleEndian : LLVMBigEndian; in LLVMByteOrder()
58 return unwrap(TD)->getPointerSize(); in LLVMPointerSize()
62 return wrap(unwrap(TD)->getIntPtrType(getGlobalContext())); in LLVMIntPtrType()
66 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty)); in LLVMSizeOfTypeInBits()
70 return unwrap(TD)->getTypeStoreSize(unwrap(Ty)); in LLVMStoreSizeOfType()
74 return unwrap(TD)->getTypeAllocSize(unwrap(Ty)); in LLVMABISizeOfType()
78 return unwrap(TD)->getABITypeAlignment(unwrap(Ty)); in LLVMABIAlignmentOfType()
82 return unwrap(TD)->getCallFrameTypeAlignment(unwrap(Ty)); in LLVMCallFrameAlignmentOfType()
86 return unwrap(TD)->getPrefTypeAlignment(unwrap(Ty)); in LLVMPreferredAlignmentOfType()
91 return unwrap(TD)->getPreferredAlignment(unwrap<GlobalVariable>(GlobalVar)); in LLVMPreferredAlignmentOfGlobal()
96 StructType *STy = unwrap<StructType>(StructTy); in LLVMElementAtOffset()
97 return unwrap(TD)->getStructLayout(STy)->getElementContainingOffset(Offset); in LLVMElementAtOffset()
102 StructType *STy = unwrap<StructType>(StructTy); in LLVMOffsetOfElement()
103 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element); in LLVMOffsetOfElement()
107 delete unwrap(TD); in LLVMDisposeTargetData()