Home
last modified time | relevance | path

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

12345678910>>...18

/external/swiftshader/third_party/LLVM/include/llvm/
DType.h22 class PointerType; variable
327 static PointerType *getFloatPtrTy(LLVMContext &C, unsigned AS = 0);
328 static PointerType *getDoublePtrTy(LLVMContext &C, unsigned AS = 0);
329 static PointerType *getX86_FP80PtrTy(LLVMContext &C, unsigned AS = 0);
330 static PointerType *getFP128PtrTy(LLVMContext &C, unsigned AS = 0);
331 static PointerType *getPPC_FP128PtrTy(LLVMContext &C, unsigned AS = 0);
332 static PointerType *getX86_MMXPtrTy(LLVMContext &C, unsigned AS = 0);
333 static PointerType *getIntNPtrTy(LLVMContext &C, unsigned N, unsigned AS = 0);
334 static PointerType *getInt1PtrTy(LLVMContext &C, unsigned AS = 0);
335 static PointerType *getInt8PtrTy(LLVMContext &C, unsigned AS = 0);
[all …]
DDerivedTypes.h425 class PointerType : public SequentialType {
426 PointerType(const PointerType &); // Do not implement
427 const PointerType &operator=(const PointerType &); // Do not implement
428 explicit PointerType(Type *ElType, unsigned AddrSpace);
432 static PointerType *get(Type *ElementType, unsigned AddressSpace);
436 static PointerType *getUnqual(Type *ElementType) { in getUnqual()
437 return PointerType::get(ElementType, 0); in getUnqual()
448 static inline bool classof(const PointerType *) { return true; } in classof() argument
DInlineAsm.h24 class PointerType; variable
35 friend struct ConstantCreator<InlineAsm, PointerType, InlineAsmKeyType>;
37 PointerType, InlineAsm, false>;
46 InlineAsm(PointerType *Ty, const std::string &AsmString,
67 PointerType *getType() const {
68 return reinterpret_cast<PointerType*>(Value::getType());
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DType.h28 class PointerType; variable
400 static PointerType *getHalfPtrTy(LLVMContext &C, unsigned AS = 0);
401 static PointerType *getFloatPtrTy(LLVMContext &C, unsigned AS = 0);
402 static PointerType *getDoublePtrTy(LLVMContext &C, unsigned AS = 0);
403 static PointerType *getX86_FP80PtrTy(LLVMContext &C, unsigned AS = 0);
404 static PointerType *getFP128PtrTy(LLVMContext &C, unsigned AS = 0);
405 static PointerType *getPPC_FP128PtrTy(LLVMContext &C, unsigned AS = 0);
406 static PointerType *getX86_MMXPtrTy(LLVMContext &C, unsigned AS = 0);
407 static PointerType *getIntNPtrTy(LLVMContext &C, unsigned N, unsigned AS = 0);
408 static PointerType *getInt1PtrTy(LLVMContext &C, unsigned AS = 0);
[all …]
DDerivedTypes.h443 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) { in getUnqual()
459 return PointerType::get(ElementType, 0); in getUnqual()
480 return cast<PointerType>(getScalarType())->getAddressSpace(); in getPointerAddressSpace()
/external/llvm/include/llvm/IR/
DType.h28 class PointerType; variable
389 static PointerType *getHalfPtrTy(LLVMContext &C, unsigned AS = 0);
390 static PointerType *getFloatPtrTy(LLVMContext &C, unsigned AS = 0);
391 static PointerType *getDoublePtrTy(LLVMContext &C, unsigned AS = 0);
392 static PointerType *getX86_FP80PtrTy(LLVMContext &C, unsigned AS = 0);
393 static PointerType *getFP128PtrTy(LLVMContext &C, unsigned AS = 0);
394 static PointerType *getPPC_FP128PtrTy(LLVMContext &C, unsigned AS = 0);
395 static PointerType *getX86_MMXPtrTy(LLVMContext &C, unsigned AS = 0);
396 static PointerType *getIntNPtrTy(LLVMContext &C, unsigned N, unsigned AS = 0);
397 static PointerType *getInt1PtrTy(LLVMContext &C, unsigned AS = 0);
[all …]
DDerivedTypes.h443 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) { in getUnqual()
456 return PointerType::get(ElementType, 0); in getUnqual()
475 return cast<PointerType>(getScalarType())->getAddressSpace(); in getPointerAddressSpace()
/external/spirv-llvm/lib/SPIRV/Mangler/
DParameterType.cpp53 PointerType::PointerType(const RefParamType type) : in PointerType() function in SPIR::PointerType
61 MangleError PointerType::accept(TypeVisitor* visitor) const { in accept()
65 void PointerType::setAddressSpace(TypeAttributeEnum attr) { in setAddressSpace()
72 TypeAttributeEnum PointerType::getAddressSpace() const { in getAddressSpace()
76 void PointerType::setQualifier(TypeAttributeEnum qual, bool enabled) { in setQualifier()
83 bool PointerType::hasQualifier(TypeAttributeEnum qual) const { in hasQualifier()
90 std::string PointerType::toString() const { in toString()
103 bool PointerType::equals(const ParamType* type) const { in equals()
104 const PointerType* p = SPIR::dyn_cast<PointerType>(type); in equals()
237 const TypeEnum PointerType::enumTy = TYPE_ID_POINTER;
/external/llvm/tools/llvm-pdbdump/
DFunctionDumper.cpp54 const char *Name, PointerType Pointer) { in start()
70 if (Pointer == PointerType::None) { in start()
88 if (Pointer == PointerType::Reference) in start()
114 void FunctionDumper::start(const PDBSymbolFunc &Symbol, PointerType Pointer) { in start()
146 if (Pointer == PointerType::Pointer) in start()
148 else if (Pointer == FunctionDumper::PointerType::Reference) in start()
159 if (Pointer != FunctionDumper::PointerType::None) in start()
168 if (Pointer != FunctionDumper::PointerType::None) { in start()
169 if (Pointer == PointerType::Pointer) in start()
171 else if (Pointer == FunctionDumper::PointerType::Reference) in start()
[all …]
DVariableDumper.cpp106 FunctionDumper::PointerType Pointer = in dump()
107 Symbol.isReference() ? FunctionDumper::PointerType::Reference in dump()
108 : FunctionDumper::PointerType::Pointer; in dump()
157 if (auto *PointerType = dyn_cast<PDBSymbolTypePointer>(&Type)) { in tryDumpFunctionPointer() local
158 auto PointeeType = PointerType->getPointeeType(); in tryDumpFunctionPointer()
162 FunctionDumper::PointerType PT = FunctionDumper::PointerType::Pointer; in tryDumpFunctionPointer()
163 if (PointerType->isReference()) in tryDumpFunctionPointer()
164 PT = FunctionDumper::PointerType::Reference; in tryDumpFunctionPointer()
DTypedefDumper.cpp61 FunctionDumper::PointerType Pointer = FunctionDumper::PointerType::Pointer; in dump()
63 Pointer = FunctionDumper::PointerType::Reference; in dump()
74 Dumper.start(Symbol, nullptr, FunctionDumper::PointerType::None); in dump()
/external/clang/lib/CodeGen/
DCGOpenCLRuntime.cpp45 return llvm::PointerType::get( \ in convertOpenCLSpecificType()
52 return llvm::PointerType::get(llvm::StructType::create( in convertOpenCLSpecificType()
55 return llvm::PointerType::get( in convertOpenCLSpecificType()
58 return llvm::PointerType::get( in convertOpenCLSpecificType()
61 return llvm::PointerType::get( in convertOpenCLSpecificType()
64 return llvm::PointerType::get( in convertOpenCLSpecificType()
73 PipeTy = llvm::PointerType::get(llvm::StructType::create( in getPipeType()
DCodeGenTypeCache.h23 class PointerType; variable
53 llvm::PointerType *VoidPtrTy;
54 llvm::PointerType *Int8PtrTy;
59 llvm::PointerType *VoidPtrPtrTy;
60 llvm::PointerType *Int8PtrPtrTy;
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXSelectionDAGInfo.cpp61 EVT PointerType = Subtarget->is64Bit() ? MVT::i64 : MVT::i32; in EmitTargetCodeForMemcpy() local
70 DAG.getNode(ISD::ADD, dl, PointerType, Src, in EmitTargetCodeForMemcpy()
71 DAG.getConstant(SrcOff, PointerType)), in EmitTargetCodeForMemcpy()
82 DAG.getNode(ISD::ADD, dl, PointerType, Dst, in EmitTargetCodeForMemcpy()
83 DAG.getConstant(DstOff, PointerType)), in EmitTargetCodeForMemcpy()
109 DAG.getNode(ISD::ADD, dl, PointerType, Src, in EmitTargetCodeForMemcpy()
110 DAG.getConstant(SrcOff, PointerType)), in EmitTargetCodeForMemcpy()
131 DAG.getNode(ISD::ADD, dl, PointerType, Dst, in EmitTargetCodeForMemcpy()
132 DAG.getConstant(DstOff, PointerType)), in EmitTargetCodeForMemcpy()
/external/llvm/lib/IR/
DType.cpp83 if (auto *PTy = dyn_cast<PointerType>(this)) { in canLosslesslyBitCastTo()
84 if (auto *OtherPTy = dyn_cast<PointerType>(Ty)) in canLosslesslyBitCastTo()
177 PointerType *Type::getHalfPtrTy(LLVMContext &C, unsigned AS) { in getHalfPtrTy()
181 PointerType *Type::getFloatPtrTy(LLVMContext &C, unsigned AS) { in getFloatPtrTy()
185 PointerType *Type::getDoublePtrTy(LLVMContext &C, unsigned AS) { in getDoublePtrTy()
189 PointerType *Type::getX86_FP80PtrTy(LLVMContext &C, unsigned AS) { in getX86_FP80PtrTy()
193 PointerType *Type::getFP128PtrTy(LLVMContext &C, unsigned AS) { in getFP128PtrTy()
197 PointerType *Type::getPPC_FP128PtrTy(LLVMContext &C, unsigned AS) { in getPPC_FP128PtrTy()
201 PointerType *Type::getX86_MMXPtrTy(LLVMContext &C, unsigned AS) { in getX86_MMXPtrTy()
205 PointerType *Type::getIntNPtrTy(LLVMContext &C, unsigned N, unsigned AS) { in getIntNPtrTy()
[all …]
DIRBuilder.cpp47 PointerType *PT = cast<PointerType>(Ptr->getType()); in getCastedInt8PtrValue()
165 assert(isa<PointerType>(Ptr->getType()) && in CreateLifetimeStart()
180 assert(isa<PointerType>(Ptr->getType()) && in CreateLifetimeEnd()
215 PointerType *PtrTy = cast<PointerType>(Ptr->getType()); in CreateMaskedLoad()
234 PointerType *PtrTy = cast<PointerType>(Ptr->getType()); in CreateMaskedStore()
266 auto PtrTy = cast<PointerType>(PtrsTy->getElementType()); in CreateMaskedGather()
295 auto PtrTy = cast<PointerType>(PtrsTy->getElementType()); in CreateMaskedScatter()
340 PointerType *FuncPtrType = cast<PointerType>(ActualCallee->getType()); in CreateGCStatepointCallCommon()
391 PointerType *FuncPtrType = cast<PointerType>(ActualInvokee->getType()); in CreateGCStatepointInvokeCommon()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DType.cpp220 PointerType *Type::getFloatPtrTy(LLVMContext &C, unsigned AS) { in getFloatPtrTy()
224 PointerType *Type::getDoublePtrTy(LLVMContext &C, unsigned AS) { in getDoublePtrTy()
228 PointerType *Type::getX86_FP80PtrTy(LLVMContext &C, unsigned AS) { in getX86_FP80PtrTy()
232 PointerType *Type::getFP128PtrTy(LLVMContext &C, unsigned AS) { in getFP128PtrTy()
236 PointerType *Type::getPPC_FP128PtrTy(LLVMContext &C, unsigned AS) { in getPPC_FP128PtrTy()
240 PointerType *Type::getX86_MMXPtrTy(LLVMContext &C, unsigned AS) { in getX86_MMXPtrTy()
244 PointerType *Type::getIntNPtrTy(LLVMContext &C, unsigned N, unsigned AS) { in getIntNPtrTy()
248 PointerType *Type::getInt1PtrTy(LLVMContext &C, unsigned AS) { in getInt1PtrTy()
252 PointerType *Type::getInt8PtrTy(LLVMContext &C, unsigned AS) { in getInt8PtrTy()
256 PointerType *Type::getInt16PtrTy(LLVMContext &C, unsigned AS) { in getInt16PtrTy()
[all …]
/external/eigen/Eigen/src/Core/
DMapBase.h57 PointerType; typedef
149 …explicit inline MapBase(PointerType dataPtr) : m_data(dataPtr), m_rows(RowsAtCompileTime), m_cols(… in MapBase()
157 inline MapBase(PointerType dataPtr, Index vecSize) in MapBase()
170 inline MapBase(PointerType dataPtr, Index rows, Index cols) in MapBase()
200 PointerType m_data;
226 typedef typename Base::PointerType PointerType; typedef
279 EIGEN_DEVICE_FUNC explicit inline MapBase(PointerType dataPtr) : Base(dataPtr) {} in MapBase()
280 EIGEN_DEVICE_FUNC inline MapBase(PointerType dataPtr, Index vecSize) : Base(dataPtr, vecSize) {} in MapBase()
281 …EIGEN_DEVICE_FUNC inline MapBase(PointerType dataPtr, Index rows, Index cols) : Base(dataPtr, rows… in MapBase()
DMap.h96 typedef typename Base::PointerType PointerType;
97 typedef PointerType PointerArgType;
99 inline PointerType cast_to_pointer_type(PointerArgType ptr) { return ptr; }
/external/llvm/lib/CodeGen/
DBuiltinGCs.cpp82 const PointerType *PT = cast<PointerType>(Ty); in isGCManagedPointer()
115 const PointerType *PT = cast<PointerType>(Ty); in isGCManagedPointer()
/external/clang/lib/StaticAnalyzer/Checkers/
DCastToStructChecker.cpp41 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr()); in checkPreStmt()
42 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
/external/clang/lib/Sema/
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()
/external/libmojo/mojo/public/cpp/bindings/
Draw_ptr_impl_ref_traits.h14 using PointerType = Interface*; member
16 static bool IsNull(PointerType ptr) { return !ptr; } in IsNull()
17 static Interface* GetRawPointer(PointerType* ptr) { return *ptr; } in GetRawPointer()
/external/llvm/lib/Analysis/
DObjCARCInstKind.cpp101 if (PointerType *PTy = dyn_cast<PointerType>(A0->getType())) { in GetFunctionClass()
128 if (PointerType *Pte = dyn_cast<PointerType>(ETy)) in GetFunctionClass()
140 if (PointerType *PTy = dyn_cast<PointerType>(A0->getType())) in GetFunctionClass()
141 if (PointerType *Pte = dyn_cast<PointerType>(PTy->getElementType())) in GetFunctionClass()
143 if (PointerType *PTy1 = dyn_cast<PointerType>(A1->getType())) { in GetFunctionClass()
153 if (PointerType *Pte1 = dyn_cast<PointerType>(ETy1)) in GetFunctionClass()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DMemoryBuiltins.cpp136 PointerType *llvm::getMallocType(const CallInst *CI) { in getMallocType()
139 PointerType *MallocType = NULL; in getMallocType()
146 MallocType = cast<PointerType>(BCI->getDestTy()); in getMallocType()
156 return cast<PointerType>(CI->getType()); in getMallocType()
168 PointerType *PT = getMallocType(CI); in getMallocAllocatedType()

12345678910>>...18