| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CodeGenTypeCache.h | 24 class PointerType; variable 54 llvm::PointerType *VoidPtrTy; 55 llvm::PointerType *Int8PtrTy; 60 llvm::PointerType *VoidPtrPtrTy; 61 llvm::PointerType *Int8PtrPtrTy; 66 llvm::PointerType *AllocaVoidPtrTy; 67 llvm::PointerType *AllocaInt8PtrTy;
|
| H A D | CGOpenCLRuntime.cpp | 47 return llvm::PointerType::get( \ in convertOpenCLSpecificType() 54 return llvm::PointerType::get( in convertOpenCLSpecificType() 57 return llvm::PointerType::get( in convertOpenCLSpecificType() 60 return llvm::PointerType::get( in convertOpenCLSpecificType() 63 return llvm::PointerType::get( in convertOpenCLSpecificType() 67 return llvm::PointerType::get( \ in convertOpenCLSpecificType() 83 PipeTy = llvm::PointerType::get(llvm::StructType::create( in getPipeType() 90 llvm::PointerType *CGOpenCLRuntime::getSamplerType(const Type *T) { in getSamplerType() 92 SamplerTy = llvm::PointerType::get(llvm::StructType::create( in getSamplerType() 119 llvm::PointerType *CGOpenCLRuntime::getGenericVoidPointerType() { in getGenericVoidPointerType()
|
| H A D | CGOpenCLRuntime.h | 41 llvm::PointerType *SamplerTy; 70 llvm::PointerType *getSamplerType(const Type *T); 81 llvm::PointerType *getGenericVoidPointerType();
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Type.h | 34 class PointerType; variable 432 static PointerType *getHalfPtrTy(LLVMContext &C, unsigned AS = 0); 433 static PointerType *getFloatPtrTy(LLVMContext &C, unsigned AS = 0); 436 static PointerType *getFP128PtrTy(LLVMContext &C, unsigned AS = 0); 440 static PointerType *getInt1PtrTy(LLVMContext &C, unsigned AS = 0); 441 static PointerType *getInt8PtrTy(LLVMContext &C, unsigned AS = 0); 442 static PointerType *getInt16PtrTy(LLVMContext &C, unsigned AS = 0); 443 static PointerType *getInt32PtrTy(LLVMContext &C, unsigned AS = 0); 444 static PointerType *getInt64PtrTy(LLVMContext &C, unsigned AS = 0); 448 PointerType *getPointerTo(unsigned AddrSpace = 0) const; [all …]
|
| H A D | 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) { in getUnqual() 483 return PointerType::get(ElementType, 0); in getUnqual() 504 return cast<PointerType>(getScalarType())->getAddressSpace(); in getPointerAddressSpace()
|
| H A D | InlineAsm.h | 28 class PointerType; variable 73 PointerType *getType() const { in getType() 74 return reinterpret_cast<PointerType*>(Value::getType()); in getType()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Type.cpp | 90 if (auto *PTy = dyn_cast<PointerType>(this)) { in canLosslesslyBitCastTo() 91 if (auto *OtherPTy = dyn_cast<PointerType>(Ty)) in canLosslesslyBitCastTo() 184 PointerType *Type::getHalfPtrTy(LLVMContext &C, unsigned AS) { in getHalfPtrTy() 216 PointerType *Type::getInt1PtrTy(LLVMContext &C, unsigned AS) { in getInt1PtrTy() 220 PointerType *Type::getInt8PtrTy(LLVMContext &C, unsigned AS) { in getInt8PtrTy() 630 PointerType *PointerType::get(Type *EltTy, unsigned AddressSpace) { in get() 645 PointerType::PointerType(Type *E, unsigned AddrSpace) in PointerType() function in PointerType 652 PointerType *Type::getPointerTo(unsigned addrs) const { in getPointerTo() 653 return PointerType::get(const_cast<Type*>(this), addrs); in getPointerTo() 656 bool PointerType::isValidElementType(Type *ElemTy) { in isValidElementType() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/ |
| H A D | PrettyFunctionDumper.cpp | 54 const char *Name, PointerType Pointer) { in start() 73 if (Pointer == PointerType::None) { in start() 91 if (Pointer == PointerType::Reference) in start() 154 if (Pointer == PointerType::Pointer) in start() 156 else if (Pointer == FunctionDumper::PointerType::Reference) in start() 167 if (Pointer != FunctionDumper::PointerType::None) in start() 176 if (Pointer != FunctionDumper::PointerType::None) { in start() 177 if (Pointer == PointerType::Pointer) in start() 179 else if (Pointer == FunctionDumper::PointerType::Reference) in start() 249 PointerType Pointer = in dump() [all …]
|
| H A D | PrettyTypedefDumper.cpp | 61 FunctionDumper::PointerType Pointer = FunctionDumper::PointerType::Pointer; in dump() 63 Pointer = FunctionDumper::PointerType::Reference; in dump() 77 Dumper.start(Symbol, nullptr, FunctionDumper::PointerType::None); in dump()
|
| H A D | PrettyFunctionDumper.h | 23 enum class PointerType { None, Pointer, Reference }; enum 26 PointerType Pointer); 27 void start(const PDBSymbolFunc &Symbol, PointerType Pointer);
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | LowerMemIntrinsics.cpp | 47 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in createMemCpyLoopKnownSize() 48 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemCpyLoopKnownSize() 61 PointerType *SrcOpType = PointerType::get(LoopOpType, SrcAS); in createMemCpyLoopKnownSize() 62 PointerType *DstOpType = PointerType::get(LoopOpType, DstAS); in createMemCpyLoopKnownSize() 112 PointerType *SrcPtrType = PointerType::get(OpTy, SrcAS); in createMemCpyLoopKnownSize() 121 PointerType *DstPtrType = PointerType::get(OpTy, DstAS); in createMemCpyLoopKnownSize() 155 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in createMemCpyLoopUnknownSize() 156 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemCpyLoopUnknownSize() 157 PointerType *SrcOpType = PointerType::get(LoopOpType, SrcAS); in createMemCpyLoopUnknownSize() 158 PointerType *DstOpType = PointerType::get(LoopOpType, DstAS); in createMemCpyLoopUnknownSize() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | BuiltinGCs.cpp | 78 const PointerType *PT = cast<PointerType>(Ty); in isGCManagedPointer() 110 const PointerType *PT = cast<PointerType>(Ty); in isGCManagedPointer()
|
| H A D | LowerEmuTLS.cpp | 87 PointerType *VoidPtrType = Type::getInt8PtrTy(C); in addEmuTlsVar() 116 PointerType *InitPtrType = InitValue ? in addEmuTlsVar() 117 PointerType::getUnqual(InitValue->getType()) : VoidPtrType; in addEmuTlsVar()
|
| H A D | ShadowStackGCLowering.cpp | 190 PointerType *FrameMapPtrTy = PointerType::getUnqual(FrameMapTy); in doInitialization() 201 EltTys.push_back(PointerType::getUnqual(StackEntryTy)); in doInitialization() 204 PointerType *StackEntryPtrTy = PointerType::getUnqual(StackEntryTy); in doInitialization()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaFixItUtils.cpp | 35 if (isa<PointerType>(From) && isa<PointerType>(To)) { in compareTypesSimple() 37 (cast<PointerType>(From))->getPointeeType()); in compareTypesSimple() 39 (cast<PointerType>(To))->getPointeeType()); in compareTypesSimple() 94 if (const PointerType *FromPtrTy = dyn_cast<PointerType>(FromQTy)) { in tryToFixConversion() 128 if (isa<PointerType>(ToQTy)) { in tryToFixConversion()
|
| H A D | SemaCast.cpp | 693 const PointerType *DestPointer = DestType->getAs<PointerType>(); in CheckDynamicCast() 730 if (const PointerType *SrcPointer = SrcType->getAs<PointerType>()) { in CheckDynamicCast() 1180 if (const PointerType *SrcPointer = SrcType->getAs<PointerType>()) { in TryStaticCast() 1183 if (const PointerType *DestPointer = DestType->getAs<PointerType>()) { in TryStaticCast() 1363 const PointerType *DestPointer = DestType->getAs<PointerType>(); in TryStaticPointerDowncast() 1368 const PointerType *SrcPointer = SrcType->getAs<PointerType>(); in TryStaticPointerDowncast() 1785 if (!SrcType->getAs<PointerType>() || !DestType->getAs<PointerType>()) { in CheckCompatibleReinterpretCast() 1828 if (const PointerType *SrcPtrTy = SrcType->getAs<PointerType>()) in DiagnoseCastOfObjCSEL() 1831 if (isa<PointerType>(DestType)) in DiagnoseCastOfObjCSEL() 2662 const PointerType *CastPtr = DestType->getAs<PointerType>(); in CheckCStyleCast() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckSecuritySyntaxOnly.cpp | 330 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); in checkCall_bcmp() 372 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); in checkCall_bcopy() 414 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_bzero() 456 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_gets() 496 const PointerType *PT = FPT->getParamType(1)->getAs<PointerType>(); in checkCall_getpw() 536 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_mktemp() 720 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); in checkCall_strCommon() 749 const PointerType *PT = FTP->getParamType(0)->getAs<PointerType>(); in checkCall_rand()
|
| H A D | CastToStructChecker.cpp | 46 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr()); in VisitCastExpr() 47 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in VisitCastExpr()
|
| H A D | MallocSizeofChecker.cpp | 140 if (B->isVoidPointerType() && A->getAs<PointerType>()) in typesCompatible() 150 if (const PointerType *ptrA = A->getAs<PointerType>()) in typesCompatible() 151 if (const PointerType *ptrB = B->getAs<PointerType>()) { in typesCompatible() 187 QualType PointeeType = CastedType->getAs<PointerType>()->getPointeeType(); in checkASTCodeBody()
|
| H A D | NSErrorChecker.cpp | 282 const PointerType* PPT = T->getAs<PointerType>(); in IsNSError() 302 const PointerType* PPT = T->getAs<PointerType>(); in IsCFError()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Expression/ |
| H A D | IRDynamicChecks.cpp | 261 param_array[0] = const_cast<llvm::PointerType *>(GetI8PtrTy()); in BuildPointerValidatorFunc() 267 PointerType *fun_ptr_ty = PointerType::getUnqual(fun_ty); in BuildPointerValidatorFunc() 286 param_array[0] = const_cast<llvm::PointerType *>(GetI8PtrTy()); in BuildObjectCheckerFunc() 287 param_array[1] = const_cast<llvm::PointerType *>(GetI8PtrTy()); in BuildObjectCheckerFunc() 293 PointerType *fun_ptr_ty = PointerType::getUnqual(fun_ty); in BuildObjectCheckerFunc() 299 PointerType *GetI8PtrTy() { in GetI8PtrTy() 326 PointerType *m_i8ptr_ty;
|
| /freebsd-12.1/contrib/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerArgs.cpp | 157 PointerType *PType = dyn_cast<PointerType>(Arg->getType()); in handleByValParam() 171 Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(), in handleByValParam() 194 Ptr, PointerType::get(Ptr->getType()->getPointerElementType(), in markPointerAsGlobal()
|
| H A D | NVPTXLowerAlloca.cpp | 72 auto PTy = dyn_cast<PointerType>(allocaInst->getType()); in runOnBasicBlock() 74 auto LocalAddrTy = PointerType::get(ETy, ADDRESS_SPACE_LOCAL); in runOnBasicBlock() 76 auto GenericAddrTy = PointerType::get(ETy, ADDRESS_SPACE_GENERIC); in runOnBasicBlock()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/ |
| H A D | RenderScriptx86ABIFixups.cpp | 110 llvm::PointerType *return_type_ptr_type = in cloneToStructRetFnTy() 111 llvm::PointerType::getUnqual(orig->getReturnType()); in cloneToStructRetFnTy() 180 llvm::PointerType *new_func_ptr_type = in fixupX86StructRetCalls() 181 llvm::PointerType::get(new_func_type, 0); in fixupX86StructRetCalls()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCallLowering.cpp | 54 PointerType *PtrTy = PointerType::get(ParamTy, AMDGPUAS::CONSTANT_ADDRESS); in lowerParameterPtr() 76 PointerType *PtrTy = PointerType::get(ParamTy, AMDGPUAS::CONSTANT_ADDRESS); in lowerParameter()
|