Searched refs:PointerType (Results 1 - 25 of 321) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypeCache.h23 class PointerType;
53 llvm::PointerType *VoidPtrTy;
54 llvm::PointerType *Int8PtrTy;
59 llvm::PointerType *VoidPtrPtrTy;
60 llvm::PointerType *Int8PtrPtrTy;
65 llvm::PointerType *AllocaVoidPtrTy;
66 llvm::PointerType *AllocaInt8PtrTy;
H A DCGOpenCLRuntime.h40 llvm::PointerType *SamplerTy;
69 llvm::PointerType *getSamplerType(const Type *T);
80 llvm::PointerType *getGenericVoidPointerType();
H A DCGOpenCLRuntime.cpp46 return llvm::PointerType::get( \
53 return llvm::PointerType::get(
56 return llvm::PointerType::get(
59 return llvm::PointerType::get(
62 return llvm::PointerType::get(
66 return llvm::PointerType::get( \
82 PipeTy = llvm::PointerType::get(llvm::StructType::create(
89 llvm::PointerType *CGOpenCLRuntime::getSamplerType(const Type *T) {
91 SamplerTy = llvm::PointerType::get(llvm::StructType::create(
118 llvm::PointerType *CGOpenCLRuntim
[all...]
H A DAddress.h43 llvm::PointerType *getType() const {
44 return llvm::cast<llvm::PointerType>(getPointer()->getType());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DBuiltinGCs.cpp77 const PointerType *PT = cast<PointerType>(Ty);
109 const PointerType *PT = cast<PointerType>(Ty);
H A DLowerEmuTLS.cpp88 PointerType *VoidPtrType = Type::getInt8PtrTy(C);
117 PointerType *InitPtrType = InitValue ?
118 PointerType::getUnqual(InitValue->getType()) : VoidPtrType;
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyFunctionDumper.h22 enum class PointerType { None, Pointer, Reference }; class in class:llvm::pdb::FunctionDumper
25 PointerType Pointer);
26 void start(const PDBSymbolFunc &Symbol, PointerType Pointer);
H A DPrettyTypedefDumper.cpp60 FunctionDumper::PointerType Pointer = FunctionDumper::PointerType::Pointer;
62 Pointer = FunctionDumper::PointerType::Reference;
76 Dumper.start(Symbol, nullptr, FunctionDumper::PointerType::None);
H A DPrettyFunctionDumper.cpp53 const char *Name, PointerType Pointer) {
72 if (Pointer == PointerType::None) {
90 if (Pointer == PointerType::Reference)
116 void FunctionDumper::start(const PDBSymbolFunc &Symbol, PointerType Pointer) {
154 if (Pointer == PointerType::Pointer)
156 else if (Pointer == FunctionDumper::PointerType::Reference)
167 if (Pointer != FunctionDumper::PointerType::None)
176 if (Pointer != FunctionDumper::PointerType::None) {
177 if (Pointer == PointerType::Pointer)
179 else if (Pointer == FunctionDumper::PointerType
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h34 class PointerType;
224 /// True if this is an instance of PointerType.
435 static PointerType *getHalfPtrTy(LLVMContext &C, unsigned AS = 0);
436 static PointerType *getBFloatPtrTy(LLVMContext &C, unsigned AS = 0);
437 static PointerType *getFloatPtrTy(LLVMContext &C, unsigned AS = 0);
438 static PointerType *getDoublePtrTy(LLVMContext &C, unsigned AS = 0);
439 static PointerType *getX86_FP80PtrTy(LLVMContext &C, unsigned AS = 0);
440 static PointerType *getFP128PtrTy(LLVMContext &C, unsigned AS = 0);
441 static PointerType *getPPC_FP128PtrTy(LLVMContext &C, unsigned AS = 0);
442 static PointerType *getX86_MMXPtrT
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAlloca.cpp73 auto ETy = cast<PointerType>(allocaInst->getType())->getElementType();
74 auto LocalAddrTy = PointerType::get(ETy, ADDRESS_SPACE_LOCAL);
76 auto GenericAddrTy = PointerType::get(ETy, ADDRESS_SPACE_GENERIC);
H A DNVPTXLowerArgs.cpp157 PointerType *PType = dyn_cast<PointerType>(Arg->getType());
173 Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(),
197 Ptr, PointerType::get(Ptr->getType()->getPointerElementType(),
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DPDBSymbolTypePointer.h21 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::PointerType)
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastToStructChecker.cpp45 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr());
46 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr());
H A DMallocSizeofChecker.cpp139 if (B->isVoidPointerType() && A->getAs<PointerType>())
149 if (const PointerType *ptrA = A->getAs<PointerType>())
150 if (const PointerType *ptrB = B->getAs<PointerType>()) {
H A DCastSizeChecker.cpp93 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp32 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace();
33 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace();
53 PointerType *SrcOpType = PointerType::get(LoopOpType, SrcAS);
54 PointerType *DstOpType = PointerType::get(LoopOpType, DstAS);
108 PointerType *SrcPtrType = PointerType::get(OpTy, SrcAS);
118 PointerType *DstPtrType = PointerType
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp34 if (isa<PointerType>(From) && isa<PointerType>(To)) {
36 (cast<PointerType>(From))->getPointeeType());
38 (cast<PointerType>(To))->getPointeeType());
93 if (const PointerType *FromPtrTy = dyn_cast<PointerType>(FromQTy)) {
127 if (isa<PointerType>(ToQTy)) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp88 if (auto *PTy = dyn_cast<PointerType>(this)) {
89 if (auto *OtherPTy = dyn_cast<PointerType>(Ty))
194 PointerType *Type::getHalfPtrTy(LLVMContext &C, unsigned AS) {
198 PointerType *Type::getBFloatPtrTy(LLVMContext &C, unsigned AS) {
202 PointerType *Type::getFloatPtrTy(LLVMContext &C, unsigned AS) {
206 PointerType *Type::getDoublePtrTy(LLVMContext &C, unsigned AS) {
210 PointerType *Type::getX86_FP80PtrTy(LLVMContext &C, unsigned AS) {
214 PointerType *Type::getFP128PtrTy(LLVMContext &C, unsigned AS) {
218 PointerType *Type::getPPC_FP128PtrTy(LLVMContext &C, unsigned AS) {
222 PointerType *Typ
674 PointerType::PointerType(Type *E, unsigned AddrSpace) function in class:PointerType
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVR.h44 return cast<PointerType>(V->getType())->getAddressSpace() == ProgramMemory;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp152 PointerType *GuardFnPtrType = nullptr;
194 PointerType *PTy = PointerType::get(CalledOperandType, 0);
235 GuardFnPtrType = PointerType::get(GuardFnType, 0);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DCocoaConventions.cpp41 const PointerType* PT = RetTy->castAs<PointerType>();
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRDynamicChecks.cpp243 param_array[0] = const_cast<llvm::PointerType *>(GetI8PtrTy());
249 PointerType *fun_ptr_ty = PointerType::getUnqual(fun_ty);
266 param_array[0] = const_cast<llvm::PointerType *>(GetI8PtrTy());
267 param_array[1] = const_cast<llvm::PointerType *>(GetI8PtrTy());
273 PointerType *fun_ptr_ty = PointerType::getUnqual(fun_ty);
279 PointerType *GetI8PtrTy() {
306 PointerType *m_i8ptr_ty;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp57 cast<PointerType>(Ptr->getType())->getElementType(), Ptr, "L", &*IP);
127 Ptr = UndefValue::get(PointerType::get(V->getType(), 0));
142 if (auto PtrTy = dyn_cast<PointerType>(Inst->getType())) {
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptx86ABIFixups.cpp107 llvm::PointerType *return_type_ptr_type =
108 llvm::PointerType::getUnqual(orig->getReturnType());
110 "failed to get function return type PointerType");
176 llvm::PointerType *new_func_ptr_type =
177 llvm::PointerType::get(new_func_type, 0);

Completed in 253 milliseconds

1234567891011>>