/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | Type.h | 34 class PointerType; variable 469 static PointerType *getHalfPtrTy(LLVMContext &C, unsigned AS = 0); 470 static PointerType *getBFloatPtrTy(LLVMContext &C, unsigned AS = 0); 471 static PointerType *getFloatPtrTy(LLVMContext &C, unsigned AS = 0); 472 static PointerType *getDoublePtrTy(LLVMContext &C, unsigned AS = 0); 473 static PointerType *getX86_FP80PtrTy(LLVMContext &C, unsigned AS = 0); 474 static PointerType *getFP128PtrTy(LLVMContext &C, unsigned AS = 0); 475 static PointerType *getPPC_FP128PtrTy(LLVMContext &C, unsigned AS = 0); 476 static PointerType *getX86_MMXPtrTy(LLVMContext &C, unsigned AS = 0); 477 static PointerType *getX86_AMXPtrTy(LLVMContext &C, unsigned AS = 0); [all …]
|
H A D | DerivedTypes.h | 634 class PointerType : public Type { 635 explicit PointerType(Type *ElType, unsigned AddrSpace); 636 explicit PointerType(LLVMContext &C, unsigned AddrSpace); 641 PointerType(const PointerType &) = delete; 642 PointerType &operator=(const PointerType &) = delete; 646 static PointerType *get(Type *ElementType, unsigned AddressSpace); 649 static PointerType *get(LLVMContext &C, unsigned AddressSpace); 653 static PointerType *getUnqual(Type *ElementType) { in getUnqual() 654 return PointerType::get(ElementType, 0); in getUnqual() 659 static PointerType *getUnqual(LLVMContext &C) { in getUnqual() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | Type.cpp | 97 if (auto *PTy = dyn_cast<PointerType>(this)) { in canLosslesslyBitCastTo() 98 if (auto *OtherPTy = dyn_cast<PointerType>(Ty)) in canLosslesslyBitCastTo() 205 PointerType *Type::getHalfPtrTy(LLVMContext &C, unsigned AS) { in getHalfPtrTy() 209 PointerType *Type::getBFloatPtrTy(LLVMContext &C, unsigned AS) { in getBFloatPtrTy() 213 PointerType *Type::getFloatPtrTy(LLVMContext &C, unsigned AS) { in getFloatPtrTy() 217 PointerType *Type::getDoublePtrTy(LLVMContext &C, unsigned AS) { in getDoublePtrTy() 221 PointerType *Type::getX86_FP80PtrTy(LLVMContext &C, unsigned AS) { in getX86_FP80PtrTy() 225 PointerType *Type::getFP128PtrTy(LLVMContext &C, unsigned AS) { in getFP128PtrTy() 229 PointerType *Type::getPPC_FP128PtrTy(LLVMContext &C, unsigned AS) { in getPPC_FP128PtrTy() 233 PointerType *Type::getX86_MMXPtrTy(LLVMContext &C, unsigned AS) { in getX86_MMXPtrTy() [all …]
|
H A D | BuiltinGCs.cpp | 77 const PointerType *PT = cast<PointerType>(Ty); in isGCManagedPointer() 109 const PointerType *PT = cast<PointerType>(Ty); in isGCManagedPointer()
|
H A D | IRBuilder.cpp | 64 auto *PT = cast<PointerType>(Ptr->getType()); in getCastedInt8PtrValue() 411 assert(isa<PointerType>(Ptr->getType()) && in CreateLifetimeStart() 427 assert(isa<PointerType>(Ptr->getType()) && in CreateLifetimeEnd() 444 assert(isa<PointerType>(Ptr->getType()) && in CreateInvariantStart() 492 auto *PtrTy = cast<PointerType>(Ptr->getType()); in CreateMaskedLoad() 512 auto *PtrTy = cast<PointerType>(Ptr->getType()); in CreateMaskedStore() 545 auto *PtrTy = cast<PointerType>(PtrsTy->getElementType()); in CreateMaskedGather() 579 auto PtrTy = cast<PointerType>(PtrsTy->getElementType()); in CreateMaskedScatter() 648 auto *FuncPtrType = cast<PointerType>(ActualCallee->getType()); in CreateGCStatepointCallCommon() 705 auto *FuncPtrType = cast<PointerType>(ActualInvokee->getType()); in CreateGCStatepointInvokeCommon() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | OpenCLBuiltins.td | 154 class PointerType<Type _Ty, AddressSpace _AS = DefaultAS> : 549 def : Builtin<name, [FGenTypeN, FGenTypeN, PointerType<FGenTypeN, AS>]>; 553 def : Builtin<name, [Type, Type, PointerType<GenTypeIntVecAndScalar, AS>]>; 558 def : Builtin<name, [Type, Type, Type, PointerType<GenTypeIntVecAndScalar, AS>]>; 565 def : Builtin<name, [FGenTypeN, FGenTypeN, PointerType<FGenTypeN, GenericAS>]>; 569 def : Builtin<name, [Type, Type, PointerType<GenTypeIntVecAndScalar, GenericAS>]>; 573 def : Builtin<name, [Type, Type, Type, PointerType<GenTypeIntVecAndScalar, GenericAS>]>; 791 def : Builtin<name, [VectorType<Char, VSize>, Size, PointerType<ConstType<Char>, AS>]>; 792 def : Builtin<name, [VectorType<UChar, VSize>, Size, PointerType<ConstType<UChar>, AS>]>; 793 def : Builtin<name, [VectorType<Short, VSize>, Size, PointerType<ConstType<Short>, AS>]>; [all …]
|
H A D | SemaFixItUtils.cpp | 34 if (isa<PointerType>(From) && isa<PointerType>(To)) { in compareTypesSimple() 36 (cast<PointerType>(From))->getPointeeType()); in compareTypesSimple() 38 (cast<PointerType>(To))->getPointeeType()); in compareTypesSimple() 93 if (const PointerType *FromPtrTy = dyn_cast<PointerType>(FromQTy)) { in tryToFixConversion() 127 if (isa<PointerType>(ToQTy)) { in tryToFixConversion()
|
H A D | SemaCast.cpp | 168 if (const auto *PtrType = dyn_cast<PointerType>(FromType)) { in CheckNoDeref() 170 if (const auto *DestType = dyn_cast<PointerType>(ToType)) { in CheckNoDeref() 498 if (auto Ptr = From->getAs<PointerType>()) { in diagnoseBadCast() 503 if (auto Ptr = To->getAs<PointerType>()) { in diagnoseBadCast() 764 const PointerType *DestPointer = DestType->getAs<PointerType>(); in CheckDynamicCast() 801 if (const PointerType *SrcPointer = SrcType->getAs<PointerType>()) { in CheckDynamicCast() 1245 auto *SrcPtrType = SrcType->getAs<PointerType>(); in IsAddressSpaceConversion() 1248 auto *DestPtrType = DestType->getAs<PointerType>(); in IsAddressSpaceConversion() 1385 if (const PointerType *SrcPointer = SrcType->getAs<PointerType>()) { in TryStaticCast() 1388 if (const PointerType *DestPointer = DestType->getAs<PointerType>()) { in TryStaticCast() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CodeGenTypeCache.h | 23 class PointerType; variable 56 llvm::PointerType *VoidPtrTy; 57 llvm::PointerType *Int8PtrTy; 62 llvm::PointerType *VoidPtrPtrTy; 63 llvm::PointerType *Int8PtrPtrTy; 68 llvm::PointerType *AllocaVoidPtrTy; 69 llvm::PointerType *AllocaInt8PtrTy;
|
H A D | CGOpenCLRuntime.cpp | 46 return llvm::PointerType::get( \ in convertOpenCLSpecificType() 53 return llvm::PointerType::get( in convertOpenCLSpecificType() 56 return llvm::PointerType::get( in convertOpenCLSpecificType() 59 return llvm::PointerType::get( in convertOpenCLSpecificType() 62 return llvm::PointerType::get( in convertOpenCLSpecificType() 66 return llvm::PointerType::get( \ in convertOpenCLSpecificType() 82 PipeTy = llvm::PointerType::get(llvm::StructType::create( in getPipeType() 89 llvm::PointerType *CGOpenCLRuntime::getSamplerType(const Type *T) { in getSamplerType() 91 SamplerTy = llvm::PointerType::get(llvm::StructType::create( in getSamplerType() 118 llvm::PointerType *CGOpenCLRuntime::getGenericVoidPointerType() { in getGenericVoidPointerType()
|
H A D | CGOpenCLRuntime.h | 40 llvm::PointerType *SamplerTy; 69 llvm::PointerType *getSamplerType(const Type *T); 80 llvm::PointerType *getGenericVoidPointerType();
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/ |
H A D | PrettyFunctionDumper.cpp | 53 const char *Name, PointerType Pointer) { in start() 72 if (Pointer == PointerType::None) { in start() 90 if (Pointer == PointerType::Reference) in start() 116 void FunctionDumper::start(const PDBSymbolFunc &Symbol, PointerType Pointer) { 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() [all …]
|
H A D | PrettyTypedefDumper.cpp | 60 FunctionDumper::PointerType Pointer = FunctionDumper::PointerType::Pointer; in dump() 62 Pointer = FunctionDumper::PointerType::Reference; in dump() 76 Dumper.start(Symbol, nullptr, FunctionDumper::PointerType::None); in dump()
|
H A D | PrettyFunctionDumper.h | 22 enum class PointerType { None, Pointer, Reference }; enum 25 PointerType Pointer); 26 void start(const PDBSymbolFunc &Symbol, PointerType Pointer);
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | LowerMemIntrinsics.cpp | 32 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in createMemCpyLoopKnownSize() 33 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemCpyLoopKnownSize() 53 PointerType *SrcOpType = PointerType::get(LoopOpType, SrcAS); in createMemCpyLoopKnownSize() 54 PointerType *DstOpType = PointerType::get(LoopOpType, DstAS); in createMemCpyLoopKnownSize() 108 PointerType *SrcPtrType = PointerType::get(OpTy, SrcAS); in createMemCpyLoopKnownSize() 118 PointerType *DstPtrType = PointerType::get(OpTy, DstAS); in createMemCpyLoopKnownSize() 146 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in createMemCpyLoopUnknownSize() 147 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemCpyLoopUnknownSize() 155 PointerType *SrcOpType = PointerType::get(LoopOpType, SrcAS); in createMemCpyLoopUnknownSize() 156 PointerType *DstOpType = PointerType::get(LoopOpType, DstAS); in createMemCpyLoopUnknownSize() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CheckSecuritySyntaxOnly.cpp | 363 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); in checkCall_bcmp() 405 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); in checkCall_bcopy() 447 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_bzero() 489 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_gets() 529 const PointerType *PT = FPT->getParamType(1)->getAs<PointerType>(); in checkCall_getpw() 569 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_mktemp() 838 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); in checkCall_strCommon() 867 const PointerType *PT = FTP->getParamType(0)->getAs<PointerType>(); in checkCall_rand()
|
H A D | CastToStructChecker.cpp | 45 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr()); in VisitCastExpr() 46 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in VisitCastExpr()
|
H A D | MallocSizeofChecker.cpp | 139 if (B->isVoidPointerType() && A->getAs<PointerType>()) in typesCompatible() 149 if (const PointerType *ptrA = A->getAs<PointerType>()) in typesCompatible() 150 if (const PointerType *ptrB = B->getAs<PointerType>()) { in typesCompatible()
|
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-offload-wrapper/ |
H A D | ClangOffloadWrapper.cpp | 99 PointerType *getEntryPtrTy() { return PointerType::getUnqual(getEntryTy()); } in getEntryPtrTy() 115 PointerType *getDeviceImagePtrTy() { in getDeviceImagePtrTy() 116 return PointerType::getUnqual(getDeviceImageTy()); in getDeviceImagePtrTy() 133 PointerType *getBinDescPtrTy() { in getBinDescPtrTy() 134 return PointerType::getUnqual(getBinDescTy()); in getBinDescPtrTy()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/CFGuard/ |
H A D | CFGuard.cpp | 152 PointerType *GuardFnPtrType = nullptr; 194 PointerType *PTy = PointerType::get(CalledOperandType, 0); in insertCFGuardDispatch() 235 GuardFnPtrType = PointerType::get(GuardFnType, 0); in doInitialization()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/ |
H A D | NVPTXLowerAlloca.cpp | 73 auto ETy = cast<PointerType>(allocaInst->getType())->getElementType(); in runOnFunction() 74 auto LocalAddrTy = PointerType::get(ETy, ADDRESS_SPACE_LOCAL); in runOnFunction() 76 auto GenericAddrTy = PointerType::get(ETy, ADDRESS_SPACE_GENERIC); in runOnFunction()
|
H A D | NVPTXLowerArgs.cpp | 231 PointerType *PType = dyn_cast<PointerType>(Arg->getType()); in handleByValParam() 269 Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(), in handleByValParam() 290 Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(), in handleByValParam() 318 Ptr, PointerType::get(Ptr->getType()->getPointerElementType(), in markPointerAsGlobal()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | LowerEmuTLS.cpp | 89 PointerType *VoidPtrType = Type::getInt8PtrTy(C); in addEmuTlsVar() 118 PointerType *InitPtrType = InitValue ? in addEmuTlsVar() 119 PointerType::getUnqual(InitValue->getType()) : VoidPtrType; in addEmuTlsVar()
|
H A D | ShadowStackGCLowering.cpp | 194 PointerType *FrameMapPtrTy = PointerType::getUnqual(FrameMapTy); in doInitialization() 205 EltTys.push_back(PointerType::getUnqual(StackEntryTy)); in doInitialization() 208 PointerType *StackEntryPtrTy = PointerType::getUnqual(StackEntryTy); in doInitialization()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/FuzzMutate/ |
H A D | RandomIRBuilder.cpp | 57 cast<PointerType>(Ptr->getType())->getElementType(), Ptr, "L", &*IP); in newSource() 127 Ptr = UndefValue::get(PointerType::get(V->getType(), 0)); in newSink() 142 if (auto PtrTy = dyn_cast<PointerType>(Inst->getType())) { in findPointer()
|