/external/llvm/lib/Target/NVPTX/ |
NVPTXLowerAlloca.cpp | 72 auto PTy = dyn_cast<PointerType>(allocaInst->getType()); 74 auto LocalAddrTy = PointerType::get(ETy, ADDRESS_SPACE_LOCAL); 76 auto GenericAddrTy = PointerType::get(ETy, ADDRESS_SPACE_GENERIC);
|
NVPTXLowerKernelArgs.cpp | 146 PointerType *PType = dyn_cast<PointerType>(Arg->getType()); 159 Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(), 182 Ptr, PointerType::get(Ptr->getType()->getPointerElementType(),
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
builder.cpp | 55 mInt8PtrTy = PointerType::get(mInt8Ty, 0); 56 mInt16PtrTy = PointerType::get(mInt16Ty, 0); 57 mInt32PtrTy = PointerType::get(mInt32Ty, 0);
|
/external/llvm/lib/Target/AVR/ |
AVR.h | 39 return cast<PointerType>(V->getType())->getAddressSpace() == ProgramMemory;
|
/external/llvm/tools/llvm-pdbdump/ |
VariableDumper.cpp | 106 FunctionDumper::PointerType Pointer = 107 Symbol.isReference() ? FunctionDumper::PointerType::Reference 108 : FunctionDumper::PointerType::Pointer; 157 if (auto *PointerType = dyn_cast<PDBSymbolTypePointer>(&Type)) { 158 auto PointeeType = PointerType->getPointeeType(); 162 FunctionDumper::PointerType PT = FunctionDumper::PointerType::Pointer; 163 if (PointerType->isReference()) 164 PT = FunctionDumper::PointerType::Reference;
|
/art/runtime/ |
obj_ptr.h | 115 template <typename PointerType> 116 ALWAYS_INLINE bool operator==(const PointerType* ptr) const 129 template <typename PointerType> 130 ALWAYS_INLINE bool operator!=(const PointerType* ptr) const 186 template<class MirrorType, typename PointerType> 187 ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr<MirrorType>& b) 197 template<typename MirrorType, typename PointerType> 198 ALWAYS_INLINE bool operator!=(const PointerType* a, const ObjPtr<MirrorType>& b)
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
MemoryBuiltins.cpp | 131 /// getMallocType - Returns the PointerType resulting from the malloc call. 132 /// The PointerType depends on the number of bitcast uses of the malloc call: 133 /// 0: PointerType is the calls' return type. 134 /// 1: PointerType is the bitcast's result type. 135 /// >1: Unique PointerType cannot be determined, return NULL. 136 PointerType *llvm::getMallocType(const CallInst *CI) { 139 PointerType *MallocType = NULL; 146 MallocType = cast<PointerType>(BCI->getDestTy()); 156 return cast<PointerType>(CI->getType()); 164 /// 0: PointerType is the malloc calls' return type [all...] |
/external/llvm/include/llvm/IR/ |
DerivedTypes.h | 155 /// Common super class of ArrayType, StructType, PointerType and VectorType. 443 class PointerType : public SequentialType { 444 PointerType(const PointerType &) = delete; 445 const PointerType &operator=(const PointerType &) = delete; 446 explicit PointerType(Type *ElType, unsigned AddrSpace); 451 static PointerType *get(Type *ElementType, unsigned AddressSpace); 455 static PointerType *getUnqual(Type *ElementType) { 456 return PointerType::get(ElementType, 0) [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
DerivedTypes.h | 443 class PointerType : public Type { 444 explicit PointerType(Type *ElType, unsigned AddrSpace); 449 PointerType(const PointerType &) = delete; 450 PointerType &operator=(const PointerType &) = delete; 454 static PointerType *get(Type *ElementType, unsigned AddressSpace); 458 static PointerType *getUnqual(Type *ElementType) { 459 return PointerType::get(ElementType, 0); 480 return cast<PointerType>(getScalarType())->getAddressSpace() [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/IR/ |
DerivedTypes.h | 443 class PointerType : public Type { 444 explicit PointerType(Type *ElType, unsigned AddrSpace); 449 PointerType(const PointerType &) = delete; 450 PointerType &operator=(const PointerType &) = delete; 454 static PointerType *get(Type *ElementType, unsigned AddressSpace); 458 static PointerType *getUnqual(Type *ElementType) { 459 return PointerType::get(ElementType, 0); 480 return cast<PointerType>(getScalarType())->getAddressSpace() [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/IR/ |
DerivedTypes.h | 467 class PointerType : public Type { 468 explicit PointerType(Type *ElType, unsigned AddrSpace); 473 PointerType(const PointerType &) = delete; 474 PointerType &operator=(const PointerType &) = delete; 478 static PointerType *get(Type *ElementType, unsigned AddressSpace); 482 static PointerType *getUnqual(Type *ElementType) { 483 return PointerType::get(ElementType, 0); 504 return cast<PointerType>(getScalarType())->getAddressSpace() [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/IR/ |
DerivedTypes.h | 467 class PointerType : public Type { 468 explicit PointerType(Type *ElType, unsigned AddrSpace); 473 PointerType(const PointerType &) = delete; 474 PointerType &operator=(const PointerType &) = delete; 478 static PointerType *get(Type *ElementType, unsigned AddressSpace); 482 static PointerType *getUnqual(Type *ElementType) { 483 return PointerType::get(ElementType, 0); 504 return cast<PointerType>(getScalarType())->getAddressSpace() [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/IR/ |
DerivedTypes.h | 467 class PointerType : public Type { 468 explicit PointerType(Type *ElType, unsigned AddrSpace); 473 PointerType(const PointerType &) = delete; 474 PointerType &operator=(const PointerType &) = delete; 478 static PointerType *get(Type *ElementType, unsigned AddressSpace); 482 static PointerType *getUnqual(Type *ElementType) { 483 return PointerType::get(ElementType, 0); 504 return cast<PointerType>(getScalarType())->getAddressSpace() [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/IR/ |
DerivedTypes.h | 467 class PointerType : public Type { 468 explicit PointerType(Type *ElType, unsigned AddrSpace); 473 PointerType(const PointerType &) = delete; 474 PointerType &operator=(const PointerType &) = delete; 478 static PointerType *get(Type *ElementType, unsigned AddressSpace); 482 static PointerType *getUnqual(Type *ElementType) { 483 return PointerType::get(ElementType, 0); 504 return cast<PointerType>(getScalarType())->getAddressSpace() [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/IR/ |
DerivedTypes.h | 467 class PointerType : public Type { 468 explicit PointerType(Type *ElType, unsigned AddrSpace); 473 PointerType(const PointerType &) = delete; 474 PointerType &operator=(const PointerType &) = delete; 478 static PointerType *get(Type *ElementType, unsigned AddressSpace); 482 static PointerType *getUnqual(Type *ElementType) { 483 return PointerType::get(ElementType, 0); 504 return cast<PointerType>(getScalarType())->getAddressSpace() [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/IR/ |
DerivedTypes.h | 467 class PointerType : public Type { 468 explicit PointerType(Type *ElType, unsigned AddrSpace); 473 PointerType(const PointerType &) = delete; 474 PointerType &operator=(const PointerType &) = delete; 478 static PointerType *get(Type *ElementType, unsigned AddressSpace); 482 static PointerType *getUnqual(Type *ElementType) { 483 return PointerType::get(ElementType, 0); 504 return cast<PointerType>(getScalarType())->getAddressSpace() [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/IR/ |
DerivedTypes.h | 443 class PointerType : public Type { 444 explicit PointerType(Type *ElType, unsigned AddrSpace); 449 PointerType(const PointerType &) = delete; 450 PointerType &operator=(const PointerType &) = delete; 454 static PointerType *get(Type *ElementType, unsigned AddressSpace); 458 static PointerType *getUnqual(Type *ElementType) { 459 return PointerType::get(ElementType, 0); 480 return cast<PointerType>(getScalarType())->getAddressSpace() [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/IR/ |
DerivedTypes.h | 467 class PointerType : public Type { 468 explicit PointerType(Type *ElType, unsigned AddrSpace); 473 PointerType(const PointerType &) = delete; 474 PointerType &operator=(const PointerType &) = delete; 478 static PointerType *get(Type *ElementType, unsigned AddressSpace); 482 static PointerType *getUnqual(Type *ElementType) { 483 return PointerType::get(ElementType, 0); 504 return cast<PointerType>(getScalarType())->getAddressSpace() [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/IR/ |
DerivedTypes.h | 467 class PointerType : public Type { 468 explicit PointerType(Type *ElType, unsigned AddrSpace); 473 PointerType(const PointerType &) = delete; 474 PointerType &operator=(const PointerType &) = delete; 478 static PointerType *get(Type *ElementType, unsigned AddressSpace); 482 static PointerType *getUnqual(Type *ElementType) { 483 return PointerType::get(ElementType, 0); 504 return cast<PointerType>(getScalarType())->getAddressSpace() [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/IR/ |
DerivedTypes.h | 467 class PointerType : public Type { 468 explicit PointerType(Type *ElType, unsigned AddrSpace); 473 PointerType(const PointerType &) = delete; 474 PointerType &operator=(const PointerType &) = delete; 478 static PointerType *get(Type *ElementType, unsigned AddressSpace); 482 static PointerType *getUnqual(Type *ElementType) { 483 return PointerType::get(ElementType, 0); 504 return cast<PointerType>(getScalarType())->getAddressSpace() [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/IR/ |
DerivedTypes.h | 467 class PointerType : public Type { 468 explicit PointerType(Type *ElType, unsigned AddrSpace); 473 PointerType(const PointerType &) = delete; 474 PointerType &operator=(const PointerType &) = delete; 478 static PointerType *get(Type *ElementType, unsigned AddressSpace); 482 static PointerType *getUnqual(Type *ElementType) { 483 return PointerType::get(ElementType, 0); 504 return cast<PointerType>(getScalarType())->getAddressSpace() [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/IR/ |
DerivedTypes.h | 467 class PointerType : public Type { 468 explicit PointerType(Type *ElType, unsigned AddrSpace); 473 PointerType(const PointerType &) = delete; 474 PointerType &operator=(const PointerType &) = delete; 478 static PointerType *get(Type *ElementType, unsigned AddressSpace); 482 static PointerType *getUnqual(Type *ElementType) { 483 return PointerType::get(ElementType, 0); 504 return cast<PointerType>(getScalarType())->getAddressSpace() [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/IR/ |
DerivedTypes.h | 467 class PointerType : public Type { 468 explicit PointerType(Type *ElType, unsigned AddrSpace); 473 PointerType(const PointerType &) = delete; 474 PointerType &operator=(const PointerType &) = delete; 478 static PointerType *get(Type *ElementType, unsigned AddressSpace); 482 static PointerType *getUnqual(Type *ElementType) { 483 return PointerType::get(ElementType, 0); 504 return cast<PointerType>(getScalarType())->getAddressSpace() [all...] |
/external/clang/lib/Sema/ |
SemaFixItUtils.cpp | 35 if (isa<PointerType>(From) && isa<PointerType>(To)) { 37 (cast<PointerType>(From))->getPointeeType()); 39 (cast<PointerType>(To))->getPointeeType()); 94 if (const PointerType *FromPtrTy = dyn_cast<PointerType>(FromQTy)) { 128 if (isa<PointerType>(ToQTy)) {
|
/external/llvm/lib/IR/ |
Type.cpp | 83 if (auto *PTy = dyn_cast<PointerType>(this)) { 84 if (auto *OtherPTy = dyn_cast<PointerType>(Ty)) 177 PointerType *Type::getHalfPtrTy(LLVMContext &C, unsigned AS) { 181 PointerType *Type::getFloatPtrTy(LLVMContext &C, unsigned AS) { 185 PointerType *Type::getDoublePtrTy(LLVMContext &C, unsigned AS) { 189 PointerType *Type::getX86_FP80PtrTy(LLVMContext &C, unsigned AS) { 193 PointerType *Type::getFP128PtrTy(LLVMContext &C, unsigned AS) { 197 PointerType *Type::getPPC_FP128PtrTy(LLVMContext &C, unsigned AS) { 201 PointerType *Type::getX86_MMXPtrTy(LLVMContext &C, unsigned AS) { 205 PointerType *Type::getIntNPtrTy(LLVMContext &C, unsigned N, unsigned AS) [all...] |