/external/clang/lib/CodeGen/ |
CGOpenCLRuntime.cpp | 41 return llvm::PointerType::get(llvm::StructType::create( 44 return llvm::PointerType::get(llvm::StructType::create( 47 return llvm::PointerType::get(llvm::StructType::create( 50 return llvm::PointerType::get(llvm::StructType::create( 53 return llvm::PointerType::get(llvm::StructType::create( 56 return llvm::PointerType::get(llvm::StructType::create( 61 return llvm::PointerType::get(llvm::StructType::create(
|
CGCUDANV.cpp | 34 llvm::PointerType *CharPtrTy, *VoidPtrTy; 54 CharPtrTy = llvm::PointerType::getUnqual(Types.ConvertType(Ctx.CharTy)); 55 VoidPtrTy = cast<llvm::PointerType>(Types.ConvertType(Ctx.VoidPtrTy)); 87 assert(isa<llvm::PointerType>(V->getType()) && "Arg type not PointerType"); 88 ArgTypes.push_back(cast<llvm::PointerType>(V->getType())->getElementType());
|
/external/eigen/Eigen/src/Core/ |
MapBase.h | 48 PointerType; 126 inline MapBase(PointerType data) : m_data(data), m_rows(RowsAtCompileTime), m_cols(ColsAtCompileTime) 132 inline MapBase(PointerType data, Index size) 143 inline MapBase(PointerType data, Index rows, Index cols) 163 PointerType m_data; 178 typedef typename Base::PointerType PointerType; 227 explicit inline MapBase(PointerType data) : Base(data) {} 228 inline MapBase(PointerType data, Index size) : Base(data, size) {} 229 inline MapBase(PointerType data, Index rows, Index cols) : Base(data, rows, cols) { [all...] |
Map.h | 112 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/llvm/lib/Transforms/ObjCARC/ |
ObjCARCUtil.cpp | 94 if (PointerType *PTy = dyn_cast<PointerType>(A0->getType())) { 115 if (PointerType *Pte = dyn_cast<PointerType>(ETy)) 127 if (PointerType *PTy = dyn_cast<PointerType>(A0->getType())) 128 if (PointerType *Pte = dyn_cast<PointerType>(PTy->getElementType())) 130 if (PointerType *PTy1 = dyn_cast<PointerType>(A1->getType())) [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
CastToStructChecker.cpp | 41 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr()); 42 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr());
|
MallocSizeofChecker.cpp | 148 if (const PointerType *ptrA = A->getAs<PointerType>()) 149 if (const PointerType *ptrB = B->getAs<PointerType>()) { 185 QualType PointeeType = CastedType->getAs<PointerType>()->getPointeeType();
|
CastSizeChecker.cpp | 36 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr());
|
NSErrorChecker.cpp | 277 const PointerType* PPT = T->getAs<PointerType>(); 297 const PointerType* PPT = T->getAs<PointerType>();
|
/external/llvm/lib/Transforms/Instrumentation/ |
ProfilingUtils.h | 25 class PointerType; 29 PointerType *arrayType = 0);
|
ProfilingUtils.cpp | 26 PointerType *arrayType) { 29 PointerType::getUnqual(Type::getInt8PtrTy(Context)); 30 PointerType *UIntPtr = arrayType ? arrayType :
|
/external/llvm/include/llvm/Analysis/ |
MemoryBuiltins.h | 29 class PointerType; 87 /// getMallocType - Returns the PointerType resulting from the malloc call. 88 /// The PointerType depends on the number of bitcast uses of the malloc call: 89 /// 0: PointerType is the malloc calls' return type. 90 /// 1: PointerType is the bitcast's result type. 91 /// >1: Unique PointerType cannot be determined, return NULL. 92 PointerType *getMallocType(const CallInst *CI, const TargetLibraryInfo *TLI); 96 /// 0: PointerType is the malloc calls' return type. 97 /// 1: PointerType is the bitcast's result type. 98 /// >1: Unique PointerType cannot be determined, return NULL [all...] |
/external/clang/lib/Sema/ |
SemaFixItUtils.cpp | 35 if (isa<PointerType>(From) && isa<PointerType>(To)) { 37 (cast<PointerType>(From))->getPointeeType()); 39 (cast<PointerType>(To))->getPointeeType()); 94 if (const PointerType *FromPtrTy = dyn_cast<PointerType>(FromQTy)) { 128 if (isa<PointerType>(ToQTy)) {
|
/external/llvm/include/llvm/IR/ |
Type.h | 25 class PointerType; 216 /// isPointerTy - True if this is an instance of PointerType. 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) [all...] |
InlineAsm.h | 25 class PointerType; 43 friend struct ConstantCreator<InlineAsm, PointerType, InlineAsmKeyType>; 45 PointerType, InlineAsm, false>; 55 InlineAsm(PointerType *Ty, const std::string &AsmString, 78 PointerType *getType() const { 79 return reinterpret_cast<PointerType*>(Value::getType());
|
DerivedTypes.h | 142 /// CompositeType - Common super class of ArrayType, StructType, PointerType 423 /// PointerType - Class to represent pointers. 425 class PointerType : public SequentialType { 426 PointerType(const PointerType &) LLVM_DELETED_FUNCTION; 427 const PointerType &operator=(const PointerType &) LLVM_DELETED_FUNCTION; 428 explicit PointerType(Type *ElType, unsigned AddrSpace); 430 /// PointerType::get - This constructs a pointer to an object of the specified 432 static PointerType *get(Type *ElementType, unsigned AddressSpace) [all...] |
/external/llvm/lib/IR/ |
Type.cpp | 219 return cast<PointerType>(getScalarType())->getAddressSpace(); 248 PointerType *Type::getHalfPtrTy(LLVMContext &C, unsigned AS) { 252 PointerType *Type::getFloatPtrTy(LLVMContext &C, unsigned AS) { 256 PointerType *Type::getDoublePtrTy(LLVMContext &C, unsigned AS) { 260 PointerType *Type::getX86_FP80PtrTy(LLVMContext &C, unsigned AS) { 264 PointerType *Type::getFP128PtrTy(LLVMContext &C, unsigned AS) { 268 PointerType *Type::getPPC_FP128PtrTy(LLVMContext &C, unsigned AS) { 272 PointerType *Type::getX86_MMXPtrTy(LLVMContext &C, unsigned AS) { 276 PointerType *Type::getIntNPtrTy(LLVMContext &C, unsigned N, unsigned AS) { 280 PointerType *Type::getInt1PtrTy(LLVMContext &C, unsigned AS) [all...] |
IRBuilder.cpp | 43 PointerType *PT = cast<PointerType>(Ptr->getType()); 126 assert(isa<PointerType>(Ptr->getType()) && 141 assert(isa<PointerType>(Ptr->getType()) &&
|
LLVMContextImpl.h | 275 DenseMap<PointerType*, ConstantPointerNull*> CPNConstants; 286 ConstantUniqueMap<InlineAsmKeyType, const InlineAsmKeyType&, PointerType, 315 DenseMap<Type*, PointerType*> PointerTypes; // Pointers in AddrSpace = 0 316 DenseMap<std::pair<Type*, unsigned>, PointerType*> ASPointerTypes;
|
/external/webkit/Source/JavaScriptCore/wtf/ |
HashTable.h | 102 typedef const ValueType* PointerType; 113 HashTableConstIterator(const HashTableType* table, PointerType position, PointerType endPosition) 120 HashTableConstIterator(const HashTableType* table, PointerType position, PointerType endPosition, HashItemKnownGoodTag) 158 PointerType get() const 164 PointerType operator->() const { return get(); } 209 PointerType m_position; 210 PointerType m_endPosition; 230 typedef ValueType* PointerType; [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXLowerAggrCopies.cpp | 52 dyn_cast<PointerType>(srcAddr->getType())->getAddressSpace(); 54 dyn_cast<PointerType>(dstAddr->getType())->getAddressSpace(); 90 dyn_cast<PointerType>(dstAddr->getType())->getAddressSpace(); 94 PointerType::get(val->getType(), dstAS));
|
/external/llvm/lib/Analysis/ |
MemoryBuiltins.cpp | 240 /// getMallocType - Returns the PointerType resulting from the malloc call. 241 /// The PointerType depends on the number of bitcast uses of the malloc call: 242 /// 0: PointerType is the calls' return type. 243 /// 1: PointerType is the bitcast's result type. 244 /// >1: Unique PointerType cannot be determined, return NULL. 245 PointerType *llvm::getMallocType(const CallInst *CI, 249 PointerType *MallocType = 0; 256 MallocType = cast<PointerType>(BCI->getDestTy()); 266 return cast<PointerType>(CI->getType()); 274 /// 0: PointerType is the malloc calls' return type [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCalls.cpp | 87 cast<PointerType>(MI->getArgOperand(1)->getType())->getAddressSpace(); 89 cast<PointerType>(MI->getArgOperand(0)->getType())->getAddressSpace(); 92 Type *NewSrcPtrTy = PointerType::get(IntType, SrcAddrSp); 93 Type *NewDstPtrTy = PointerType::get(IntType, DstAddrSp); 104 Type *SrcETy = cast<PointerType>(StrippedDest->getType()) 112 NewSrcPtrTy = PointerType::get(SrcETy, SrcAddrSp); 113 NewDstPtrTy = PointerType::get(SrcETy, DstAddrSp); 176 unsigned DstAddrSp = cast<PointerType>(Dest->getType())->getAddressSpace(); 177 Type *NewDstPtrTy = PointerType::get(ITy, DstAddrSp); 509 PointerType::getUnqual(II->getType())) [all...] |
/external/llvm/unittests/IR/ |
TypeBuilderTest.cpp | 74 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), 81 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), 88 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), 233 EXPECT_EQ(PointerType::getUnqual(StructType::get( 239 EXPECT_EQ(PointerType::getUnqual(StructType::get( 245 EXPECT_EQ(PointerType::getUnqual(StructType::get(
|
/external/clang/include/clang/AST/ |
CanonicalType.h | 39 /// The template type parameter @p T is one of the Type classes (PointerType, 100 /// if (CanQual<PointerType> Ptr = T->getAs<PointerType>()) { 239 /// if (CanQual<PointerType> Ptr = T->getAs<PointerType>()) { ... } 318 /// redirection to the underlying type (T), e.g., @c PointerType. One can 331 /// look to either map down to a raw T* (e.g., PointerType*) or to a proxy 483 struct CanProxyAdaptor<PointerType> : public CanProxyBase<PointerType> {
|