Lines Matching defs:PointerType
219 return cast<PointerType>(getScalarType())->getAddressSpace();
248 PointerType *Type::getHalfPtrTy(LLVMContext &C, unsigned AS) {
252 PointerType *Type::getFloatPtrTy(LLVMContext &C, unsigned AS) {
256 PointerType *Type::getDoublePtrTy(LLVMContext &C, unsigned AS) {
260 PointerType *Type::getX86_FP80PtrTy(LLVMContext &C, unsigned AS) {
264 PointerType *Type::getFP128PtrTy(LLVMContext &C, unsigned AS) {
268 PointerType *Type::getPPC_FP128PtrTy(LLVMContext &C, unsigned AS) {
272 PointerType *Type::getX86_MMXPtrTy(LLVMContext &C, unsigned AS) {
276 PointerType *Type::getIntNPtrTy(LLVMContext &C, unsigned N, unsigned AS) {
280 PointerType *Type::getInt1PtrTy(LLVMContext &C, unsigned AS) {
284 PointerType *Type::getInt8PtrTy(LLVMContext &C, unsigned AS) {
288 PointerType *Type::getInt16PtrTy(LLVMContext &C, unsigned AS) {
292 PointerType *Type::getInt32PtrTy(LLVMContext &C, unsigned AS) {
296 PointerType *Type::getInt64PtrTy(LLVMContext &C, unsigned AS) {
731 // PointerType Implementation
734 PointerType *PointerType::get(Type *EltTy, unsigned AddressSpace) {
741 PointerType *&Entry = AddressSpace == 0 ? CImpl->PointerTypes[EltTy]
745 Entry = new (CImpl->TypeAllocator) PointerType(EltTy, AddressSpace);
750 PointerType::PointerType(Type *E, unsigned AddrSpace)
760 PointerType *Type::getPointerTo(unsigned addrs) {
761 return PointerType::get(this, addrs);
764 bool PointerType::isValidElementType(Type *ElemTy) {