Home
last modified time | relevance | path

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

12345678910>>...26

/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/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/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/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DType.h34 class PointerType; variable
432 static PointerType *getHalfPtrTy(LLVMContext &C, unsigned AS = 0);
433 static PointerType *getFloatPtrTy(LLVMContext &C, unsigned AS = 0);
434 static PointerType *getDoublePtrTy(LLVMContext &C, unsigned AS = 0);
435 static PointerType *getX86_FP80PtrTy(LLVMContext &C, unsigned AS = 0);
436 static PointerType *getFP128PtrTy(LLVMContext &C, unsigned AS = 0);
437 static PointerType *getPPC_FP128PtrTy(LLVMContext &C, unsigned AS = 0);
438 static PointerType *getX86_MMXPtrTy(LLVMContext &C, unsigned AS = 0);
439 static PointerType *getIntNPtrTy(LLVMContext &C, unsigned N, unsigned AS = 0);
440 static PointerType *getInt1PtrTy(LLVMContext &C, unsigned AS = 0);
[all …]
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()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
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()
188 PointerType *Type::getFloatPtrTy(LLVMContext &C, unsigned AS) { in getFloatPtrTy()
192 PointerType *Type::getDoublePtrTy(LLVMContext &C, unsigned AS) { in getDoublePtrTy()
196 PointerType *Type::getX86_FP80PtrTy(LLVMContext &C, unsigned AS) { in getX86_FP80PtrTy()
200 PointerType *Type::getFP128PtrTy(LLVMContext &C, unsigned AS) { in getFP128PtrTy()
204 PointerType *Type::getPPC_FP128PtrTy(LLVMContext &C, unsigned AS) { in getPPC_FP128PtrTy()
208 PointerType *Type::getX86_MMXPtrTy(LLVMContext &C, unsigned AS) { in getX86_MMXPtrTy()
212 PointerType *Type::getIntNPtrTy(LLVMContext &C, unsigned N, unsigned AS) { in getIntNPtrTy()
[all …]
/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-7.0/llvm/tools/llvm-pdbutil/
DPrettyFunctionDumper.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()
151 if (Pointer == PointerType::Pointer) in start()
153 else if (Pointer == FunctionDumper::PointerType::Reference) in start()
164 if (Pointer != FunctionDumper::PointerType::None) in start()
173 if (Pointer != FunctionDumper::PointerType::None) { in start()
174 if (Pointer == PointerType::Pointer) in start()
176 else if (Pointer == FunctionDumper::PointerType::Reference) in start()
[all …]
/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
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 …]
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DBuiltinGCs.cpp85 const PointerType *PT = cast<PointerType>(Ty); in isGCManagedPointer()
119 const PointerType *PT = cast<PointerType>(Ty); in isGCManagedPointer()
/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()

12345678910>>...26