Home
last modified time | relevance | path

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

12345678910>>...12

/external/clang/lib/CodeGen/
DCGOpenCLRuntime.cpp44 return llvm::PointerType::get(llvm::StructType::create( in convertOpenCLSpecificType()
47 return llvm::PointerType::get(llvm::StructType::create( in convertOpenCLSpecificType()
50 return llvm::PointerType::get(llvm::StructType::create( in convertOpenCLSpecificType()
53 return llvm::PointerType::get(llvm::StructType::create( in convertOpenCLSpecificType()
56 return llvm::PointerType::get(llvm::StructType::create( in convertOpenCLSpecificType()
59 return llvm::PointerType::get( in convertOpenCLSpecificType()
62 return llvm::PointerType::get( in convertOpenCLSpecificType()
66 return llvm::PointerType::get( in convertOpenCLSpecificType()
69 return llvm::PointerType::get( in convertOpenCLSpecificType()
73 return llvm::PointerType::get( in convertOpenCLSpecificType()
[all …]
DCodeGenTypeCache.h23 class PointerType; variable
53 llvm::PointerType *VoidPtrTy;
54 llvm::PointerType *Int8PtrTy;
59 llvm::PointerType *VoidPtrPtrTy;
60 llvm::PointerType *Int8PtrPtrTy;
/external/llvm/include/llvm/IR/
DType.h27 class PointerType; variable
397 static PointerType *getHalfPtrTy(LLVMContext &C, unsigned AS = 0);
398 static PointerType *getFloatPtrTy(LLVMContext &C, unsigned AS = 0);
399 static PointerType *getDoublePtrTy(LLVMContext &C, unsigned AS = 0);
400 static PointerType *getX86_FP80PtrTy(LLVMContext &C, unsigned AS = 0);
401 static PointerType *getFP128PtrTy(LLVMContext &C, unsigned AS = 0);
402 static PointerType *getPPC_FP128PtrTy(LLVMContext &C, unsigned AS = 0);
403 static PointerType *getX86_MMXPtrTy(LLVMContext &C, unsigned AS = 0);
404 static PointerType *getIntNPtrTy(LLVMContext &C, unsigned N, unsigned AS = 0);
405 static PointerType *getInt1PtrTy(LLVMContext &C, unsigned AS = 0);
[all …]
DDerivedTypes.h444 class PointerType : public SequentialType {
445 PointerType(const PointerType &) = delete;
446 const PointerType &operator=(const PointerType &) = delete;
447 explicit PointerType(Type *ElType, unsigned AddrSpace);
452 static PointerType *get(Type *ElementType, unsigned AddressSpace);
456 static PointerType *getUnqual(Type *ElementType) { in getUnqual()
457 return PointerType::get(ElementType, 0); in getUnqual()
/external/llvm/tools/llvm-pdbdump/
DFunctionDumper.cpp51 const char *Name, PointerType Pointer) { in start()
67 if (Pointer == PointerType::None) { in start()
85 if (Pointer == PointerType::Reference) in start()
111 void FunctionDumper::start(const PDBSymbolFunc &Symbol, PointerType Pointer) { in start()
143 if (Pointer == PointerType::Pointer) in start()
145 else if (Pointer == FunctionDumper::PointerType::Reference) in start()
156 if (Pointer != FunctionDumper::PointerType::None) in start()
165 if (Pointer != FunctionDumper::PointerType::None) { in start()
166 if (Pointer == PointerType::Pointer) in start()
168 else if (Pointer == FunctionDumper::PointerType::Reference) in start()
[all …]
DVariableDumper.cpp105 FunctionDumper::PointerType Pointer = in dump()
106 Symbol.isReference() ? FunctionDumper::PointerType::Reference in dump()
107 : FunctionDumper::PointerType::Pointer; in dump()
156 if (auto *PointerType = dyn_cast<PDBSymbolTypePointer>(&Type)) { in tryDumpFunctionPointer() local
157 auto PointeeType = PointerType->getPointeeType(); in tryDumpFunctionPointer()
161 FunctionDumper::PointerType PT = FunctionDumper::PointerType::Pointer; in tryDumpFunctionPointer()
162 if (PointerType->isReference()) in tryDumpFunctionPointer()
163 PT = FunctionDumper::PointerType::Reference; in tryDumpFunctionPointer()
DTypedefDumper.cpp60 FunctionDumper::PointerType Pointer = FunctionDumper::PointerType::Pointer; in dump()
62 Pointer = FunctionDumper::PointerType::Reference; in dump()
73 Dumper.start(Symbol, nullptr, FunctionDumper::PointerType::None); in dump()
DFunctionDumper.h23 enum class PointerType { None, Pointer, Reference }; enum
26 PointerType Pointer);
27 void start(const PDBSymbolFunc &Symbol, PointerType Pointer);
/external/mesa3d/src/gallium/drivers/radeon/
DR600KernelParameters.cpp190 if (isa<PointerType>(Arg->getType()) && Arg->hasByValAttr()) { in AddParam()
201 if (Arg->hasByValAttr() && dyn_cast<PointerType>(T)) { in CalculateArgumentSize()
202 T = dyn_cast<PointerType>(T)->getElementType(); in CalculateArgumentSize()
260 if (dyn_cast<PointerType>(Op->getType())->getAddressSpace() != Addrspace) { in Propagate()
261 Op = new BitCastInst(Op, PointerType::get(dyn_cast<PointerType>( in Propagate()
281 PointerType *OrigPtrType = dyn_cast<PointerType>(OrigPtr->getType()); in Propagate()
283 Type* NewPtrType = PointerType::get(OrigPtrType->getElementType(), in Propagate()
331 PointerType * ArgPtrType = dyn_cast<PointerType>(P.Val->getType()); in ConstantRead()
335 PointerType::get(Type::getInt32Ty(*Context), in ConstantRead()
342 PointerType::get(ArgPtrType->getElementType(), in ConstantRead()
[all …]
/external/llvm/lib/IR/
DType.cpp89 if (auto *PTy = dyn_cast<PointerType>(this)) { in canLosslesslyBitCastTo()
90 if (auto *OtherPTy = dyn_cast<PointerType>(Ty)) in canLosslesslyBitCastTo()
210 return cast<PointerType>(getScalarType())->getAddressSpace(); in getPointerAddressSpace()
241 PointerType *Type::getHalfPtrTy(LLVMContext &C, unsigned AS) { in getHalfPtrTy()
245 PointerType *Type::getFloatPtrTy(LLVMContext &C, unsigned AS) { in getFloatPtrTy()
249 PointerType *Type::getDoublePtrTy(LLVMContext &C, unsigned AS) { in getDoublePtrTy()
253 PointerType *Type::getX86_FP80PtrTy(LLVMContext &C, unsigned AS) { in getX86_FP80PtrTy()
257 PointerType *Type::getFP128PtrTy(LLVMContext &C, unsigned AS) { in getFP128PtrTy()
261 PointerType *Type::getPPC_FP128PtrTy(LLVMContext &C, unsigned AS) { in getPPC_FP128PtrTy()
265 PointerType *Type::getX86_MMXPtrTy(LLVMContext &C, unsigned AS) { in getX86_MMXPtrTy()
[all …]
/external/eigen/Eigen/src/Core/
DMapBase.h48 PointerType; typedef
126 …inline MapBase(PointerType dataPtr) : m_data(dataPtr), m_rows(RowsAtCompileTime), m_cols(ColsAtCom… in MapBase()
132 inline MapBase(PointerType dataPtr, Index vecSize) in MapBase()
143 inline MapBase(PointerType dataPtr, Index nbRows, Index nbCols) in MapBase()
163 PointerType m_data;
179 typedef typename Base::PointerType PointerType; typedef
228 explicit inline MapBase(PointerType dataPtr) : Base(dataPtr) {} in MapBase()
229 inline MapBase(PointerType dataPtr, Index vecSize) : Base(dataPtr, vecSize) {} in MapBase()
230 … inline MapBase(PointerType dataPtr, Index nbRows, Index nbCols) : Base(dataPtr, nbRows, nbCols) {} in MapBase()
DMap.h112 typedef typename Base::PointerType PointerType;
115 …inline PointerType cast_to_pointer_type(PointerArgType ptr) { return const_cast<PointerType>(ptr);…
117 typedef PointerType PointerArgType;
118 inline PointerType cast_to_pointer_type(PointerArgType ptr) { return ptr; }
/external/libchrome/crypto/
Dscoped_openssl_types.h32 template <typename PointerType, void (*Destroyer)(PointerType*)>
34 scoped_ptr<PointerType, OpenSSLDestroyer<PointerType, Destroyer>>;
/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()
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()
/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()
DSemaCast.cpp396 if (auto Ptr = From->getAs<PointerType>()) { in diagnoseBadCast()
401 if (auto Ptr = To->getAs<PointerType>()) { in diagnoseBadCast()
427 const PointerType *T1PtrType = T1->getAs<PointerType>(), in UnwrapDissimilarPointerTypes()
428 *T2PtrType = T2->getAs<PointerType>(); in UnwrapDissimilarPointerTypes()
588 const PointerType *DestPointer = DestType->getAs<PointerType>(); in CheckDynamicCast()
625 if (const PointerType *SrcPointer = SrcType->getAs<PointerType>()) { in CheckDynamicCast()
1060 if (const PointerType *SrcPointer = SrcType->getAs<PointerType>()) { in TryStaticCast()
1063 if (const PointerType *DestPointer = DestType->getAs<PointerType>()) { in TryStaticCast()
1122 if (auto SrcPointer = SrcType->getAs<PointerType>()) in TryStaticCast()
1123 if (auto DestPointer = DestType->getAs<PointerType>()) in TryStaticCast()
[all …]
/external/lldb/source/Expression/
DIRDynamicChecks.cpp287 param_array[0] = const_cast<llvm::PointerType*>(GetI8PtrTy()); in BuildPointerValidatorFunc()
292 PointerType *fun_ptr_ty = PointerType::getUnqual(fun_ty); in BuildPointerValidatorFunc()
314 param_array[0] = const_cast<llvm::PointerType*>(GetI8PtrTy()); in BuildObjectCheckerFunc()
315 param_array[1] = const_cast<llvm::PointerType*>(GetI8PtrTy()); in BuildObjectCheckerFunc()
320 PointerType *fun_ptr_ty = PointerType::getUnqual(fun_ty); in BuildObjectCheckerFunc()
325 PointerType *GetI8PtrTy() in GetI8PtrTy()
340 PointerType *m_i8ptr_ty;
/external/llvm/lib/Analysis/
DObjCARCInstKind.cpp99 if (PointerType *PTy = dyn_cast<PointerType>(A0->getType())) { in GetFunctionClass()
124 if (PointerType *Pte = dyn_cast<PointerType>(ETy)) in GetFunctionClass()
136 if (PointerType *PTy = dyn_cast<PointerType>(A0->getType())) in GetFunctionClass()
137 if (PointerType *Pte = dyn_cast<PointerType>(PTy->getElementType())) in GetFunctionClass()
139 if (PointerType *PTy1 = dyn_cast<PointerType>(A1->getType())) { in GetFunctionClass()
149 if (PointerType *Pte1 = dyn_cast<PointerType>(ETy1)) in GetFunctionClass()
/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp130 PointerType *SrcTy = cast<PointerType>(Src->getType()); in isEliminableAddrSpaceCast()
131 PointerType *DestTy = cast<PointerType>(Cast->getType()); in isEliminableAddrSpaceCast()
200 PointerType::get(BC->getType()->getPointerElementType(), in hoistAddrSpaceCastFromBitCast()
DNVPTXLowerKernelArgs.cpp146 PointerType *PType = dyn_cast<PointerType>(Arg->getType()); in handleByValParam()
159 Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(), in handleByValParam()
182 Ptr, PointerType::get(Ptr->getType()->getPointerElementType(), in markPointerAsGlobal()
DNVPTXLowerAlloca.cpp69 auto PTy = dyn_cast<PointerType>(allocaInst->getType()); in runOnBasicBlock()
71 auto LocalAddrTy = PointerType::get(ETy, ADDRESS_SPACE_LOCAL); in runOnBasicBlock()
73 auto GenericAddrTy = PointerType::get(ETy, ADDRESS_SPACE_GENERIC); in runOnBasicBlock()
/external/llvm/lib/Transforms/ObjCARC/
DARCRuntimeEntryPoints.h130 Type *Params[] = { PointerType::getUnqual(Type::getInt8Ty(C)) }; in getVoidRetI8XEntryPoint()
146 Type *I8X = PointerType::getUnqual(Type::getInt8Ty(C));
164 Type *I8X = PointerType::getUnqual(Type::getInt8Ty(C)); in getI8XRetI8XXI8XEntryPoint()
165 Type *I8XX = PointerType::getUnqual(I8X); in getI8XRetI8XXI8XEntryPoint()
/external/llvm/lib/CodeGen/
DCoreCLRGC.cpp43 PointerType *PT = cast<PointerType>(V->getType()); in isGCManagedPointer()
DStatepointExampleGC.cpp39 PointerType *PT = cast<PointerType>(V->getType()); in isGCManagedPointer()

12345678910>>...12