Home
last modified time | relevance | path

Searched refs:TypedPointerType (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DTypedPointerType.h25 class TypedPointerType : public Type {
26 explicit TypedPointerType(Type *ElType, unsigned AddrSpace);
31 TypedPointerType(const TypedPointerType &) = delete;
32 TypedPointerType &operator=(const TypedPointerType &) = delete;
36 static TypedPointerType *get(Type *ElementType, unsigned AddressSpace);
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DTypedPointerType.cpp17 TypedPointerType *TypedPointerType::get(Type *EltTy, unsigned AddressSpace) { in get()
24 TypedPointerType *&Entry = in get()
28 Entry = new (CImpl->Alloc) TypedPointerType(EltTy, AddressSpace); in get()
32 TypedPointerType::TypedPointerType(Type *E, unsigned AddrSpace) in TypedPointerType() function in TypedPointerType
39 bool TypedPointerType::isValidElementType(Type *ElemTy) { in isValidElementType()
H A DLLVMContextImpl.h73 class TypedPointerType; variable
1579 DenseMap<std::pair<Type *, unsigned>, TypedPointerType *> ASTypedPointerTypes;
H A DValue.cpp48 assert(!isa<TypedPointerType>(Ty->getScalarType()) && in checkType()
H A DAsmWriter.cpp635 TypedPointerType *TPTy = cast<TypedPointerType>(Ty); in print()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/
H A DPointerTypeAnalysis.cpp71 TypedPointerType::get(PointeeTy, V->getType()->getPointerAddressSpace()); in classifyPointerType()
99 RetTy = TypedPointerType::get( in classifyFunctionType()
104 RetTy = TypedPointerType::get( in classifyFunctionType()
114 TypedPointerType::get(FunctionType::get(RetTy, NewArgs, false), 0); in classifyFunctionType()
126 return TypedPointerType::get(Type::getInt8Ty(C->getContext()), in classifyConstantWithOpaquePtr()
185 Map[&GV] = TypedPointerType::get(CtorArrayTy, in classifyGlobalCtorPointerType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp92 if (cast<TypedPointerType>(It->second)->getElementType() == Ty) in maybeGenerateBitcast()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp136 I8PtrTy(TypedPointerType::get(I8Ty, 0)), Stream(Stream), in DXILBitcodeWriter()
537 TypedPointerType *PtrTy = cast<TypedPointerType>(It->second); in getGlobalObjectValueTypeID()
1061 TypedPointerType *PTy = cast<TypedPointerType>(T); in writeTypeTable()
1349 Ty = TypedPointerType::get(F->getFunctionType(), F->getAddressSpace()); in writeValueAsMetadata()
1351 Ty = TypedPointerType::get(GV->getValueType(), GV->getAddressSpace()); in writeValueAsMetadata()
H A DDXILValueEnumerator.cpp376 TypedPointerType::get(F.getFunctionType(), F.getAddressSpace())); in ValueEnumerator()
397 TypedPointerType::get(GV.getValueType(), GV.getAddressSpace())); in ValueEnumerator()