Home
last modified time | relevance | path

Searched refs:PointerType (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenTypeCache.h24 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 DCGOpenCLRuntime.cpp47 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 DCGOpenCLRuntime.h41 llvm::PointerType *SamplerTy;
70 llvm::PointerType *getSamplerType(const Type *T);
81 llvm::PointerType *getGenericVoidPointerType();
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DType.h34 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 DDerivedTypes.h467 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 DInlineAsm.h28 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 DType.cpp90 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 DPrettyFunctionDumper.cpp54 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 DPrettyTypedefDumper.cpp61 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 DPrettyFunctionDumper.h23 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 DLowerMemIntrinsics.cpp47 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 DBuiltinGCs.cpp78 const PointerType *PT = cast<PointerType>(Ty); in isGCManagedPointer()
110 const PointerType *PT = cast<PointerType>(Ty); in isGCManagedPointer()
H A DLowerEmuTLS.cpp87 PointerType *VoidPtrType = Type::getInt8PtrTy(C); in addEmuTlsVar()
116 PointerType *InitPtrType = InitValue ? in addEmuTlsVar()
117 PointerType::getUnqual(InitValue->getType()) : VoidPtrType; in addEmuTlsVar()
H A DShadowStackGCLowering.cpp190 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 DSemaFixItUtils.cpp35 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 DSemaCast.cpp693 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 DCheckSecuritySyntaxOnly.cpp330 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 DCastToStructChecker.cpp46 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr()); in VisitCastExpr()
47 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in VisitCastExpr()
H A DMallocSizeofChecker.cpp140 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 DNSErrorChecker.cpp282 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 DIRDynamicChecks.cpp261 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 DNVPTXLowerArgs.cpp157 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 DNVPTXLowerAlloca.cpp72 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 DRenderScriptx86ABIFixups.cpp110 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 DAMDGPUCallLowering.cpp54 PointerType *PtrTy = PointerType::get(ParamTy, AMDGPUAS::CONSTANT_ADDRESS); in lowerParameterPtr()
76 PointerType *PtrTy = PointerType::get(ParamTy, AMDGPUAS::CONSTANT_ADDRESS); in lowerParameter()

12345678910>>...13