/external/llvm/include/llvm/ |
D | Type.h | 22 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 …]
|
D | DerivedTypes.h | 407 class PointerType : public SequentialType { 408 PointerType(const PointerType &); // Do not implement 409 const PointerType &operator=(const PointerType &); // Do not implement 410 explicit PointerType(Type *ElType, unsigned AddrSpace); 414 static PointerType *get(Type *ElementType, unsigned AddressSpace); 418 static PointerType *getUnqual(Type *ElementType) { in getUnqual() 419 return PointerType::get(ElementType, 0); in getUnqual() 430 static inline bool classof(const PointerType *) { return true; } in classof() argument
|
D | InlineAsm.h | 24 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());
|
D | GlobalValue.h | 25 class PointerType; variable 109 inline PointerType *getType() const { in getType() 110 return reinterpret_cast<PointerType*>(User::getType()); in getType()
|
/external/llvm/lib/VMCore/ |
D | Type.cpp | 220 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 …]
|
D | IRBuilder.cpp | 43 PointerType *PT = cast<PointerType>(Ptr->getType()); in getCastedInt8PtrValue() 122 assert(isa<PointerType>(Ptr->getType()) && in CreateLifetimeStart() 137 assert(isa<PointerType>(Ptr->getType()) && in CreateLifetimeEnd()
|
D | LLVMContextImpl.h | 155 ConstantUniqueMap<char, char, PointerType, ConstantPointerNull> 163 ConstantUniqueMap<InlineAsmKeyType, const InlineAsmKeyType&, PointerType, 191 DenseMap<Type*, PointerType*> PointerTypes; // Pointers in AddrSpace = 0 192 DenseMap<std::pair<Type*, unsigned>, PointerType*> ASPointerTypes;
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CastToStructChecker.cpp | 41 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr()); in checkPreStmt() 42 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
|
D | CheckSecuritySyntaxOnly.cpp | 284 const PointerType *PT = dyn_cast<PointerType>(FPT->getArgType(0)); in checkCall_gets() 320 const PointerType *PT = dyn_cast<PointerType>(FPT->getArgType(1)); in checkCall_getpw() 352 const PointerType *PT = dyn_cast<PointerType>(FPT->getArgType(0)); in checkCall_mktemp() 430 const PointerType *PT = dyn_cast<PointerType>(FPT->getArgType(i)); in checkCall_strCommon() 460 const PointerType *PT = dyn_cast<PointerType>(FTP->getArgType(0)); in checkCall_rand()
|
D | NSErrorChecker.cpp | 287 const PointerType* PPT = T->getAs<PointerType>(); in IsNSError() 307 const PointerType* PPT = T->getAs<PointerType>(); in IsCFError()
|
D | CastSizeChecker.cpp | 36 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
|
/external/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 136 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()
|
D | Loads.cpp | 117 PointerType *AddrTy = cast<PointerType>(V->getType()); in isSafeToLoadUnconditionally() 172 Type *AccessTy = cast<PointerType>(Ptr->getType())->getElementType(); in FindAvailableLoadedValue()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 63 cast<PointerType>(MI->getArgOperand(1)->getType())->getAddressSpace(); in SimplifyMemTransfer() 65 cast<PointerType>(MI->getArgOperand(0)->getType())->getAddressSpace(); in SimplifyMemTransfer() 68 Type *NewSrcPtrTy = PointerType::get(IntType, SrcAddrSp); in SimplifyMemTransfer() 69 Type *NewDstPtrTy = PointerType::get(IntType, DstAddrSp); in SimplifyMemTransfer() 79 Type *SrcETy = cast<PointerType>(StrippedDest->getType()) in SimplifyMemTransfer() 100 NewSrcPtrTy = PointerType::get(SrcETy, SrcAddrSp); in SimplifyMemTransfer() 101 NewDstPtrTy = PointerType::get(SrcETy, DstAddrSp); in SimplifyMemTransfer() 148 unsigned DstAddrSp = cast<PointerType>(Dest->getType())->getAddressSpace(); in SimplifyMemSet() 149 Type *NewDstPtrTy = PointerType::get(ITy, DstAddrSp); in SimplifyMemSet() 553 PointerType::getUnqual(II->getType())); in visitCallInst() [all …]
|
D | InstCombineLoadStoreAlloca.cpp | 95 PointerType *DestTy = cast<PointerType>(CI->getType()); in InstCombineLoadCast() 97 if (PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType())) { in InstCombineLoadCast() 117 SrcTy = cast<PointerType>(CastOp->getType()); in InstCombineLoadCast() 259 Type *DestPTy = cast<PointerType>(CI->getType())->getElementType(); in InstCombineStoreToCast() 260 PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType()); in InstCombineStoreToCast() 296 SrcTy = PointerType::get(SrcPTy, SrcTy->getAddressSpace()); in InstCombineStoreToCast() 306 cast<PointerType>(CI->getType())->getAddressSpace() || in InstCombineStoreToCast()
|
/external/clang/lib/Sema/ |
D | SemaExceptionSpec.cpp | 28 if (const PointerType *PtrTy = T->getAs<PointerType>()) in GetUnderlyingFunction() 60 if (const PointerType* IT = T->getAs<PointerType>()) { in CheckSpecifiedExceptionType() 84 if (const PointerType *PT = T->getAs<PointerType>()) in CheckDistantExceptionSpec() 558 if (const PointerType *PtrTy = CanonicalSubT->getAs<PointerType>()) { in CheckExceptionSpecSubset() 579 if (const PointerType *PtrTy = CanonicalSuperT->getAs<PointerType>()) in CheckExceptionSpecSubset()
|
D | SemaCXXCast.cpp | 333 const PointerType *T1PtrType = T1->getAs<PointerType>(), in UnwrapDissimilarPointerTypes() 334 *T2PtrType = T2->getAs<PointerType>(); in UnwrapDissimilarPointerTypes() 476 const PointerType *DestPointer = DestType->getAs<PointerType>(); in CheckDynamicCast() 512 if (const PointerType *SrcPointer = SrcType->getAs<PointerType>()) { in CheckDynamicCast() 844 if (const PointerType *SrcPointer = SrcType->getAs<PointerType>()) { in TryStaticCast() 847 if (const PointerType *DestPointer = DestType->getAs<PointerType>()) { in TryStaticCast() 994 const PointerType *DestPointer = DestType->getAs<PointerType>(); in TryStaticPointerDowncast() 999 const PointerType *SrcPointer = SrcType->getAs<PointerType>(); in TryStaticPointerDowncast() 1382 if (!SrcType->getAs<PointerType>() || !DestType->getAs<PointerType>()) { in CheckCompatibleReinterpretCast()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 390 cast<llvm::PointerType>(SrcPtr->getType())->getElementType(); in EnterStructPointerForCoercedAccess() 406 if (isa<llvm::PointerType>(Val->getType())) { in CoerceIntOrPtrToIntOrPtr() 408 if (isa<llvm::PointerType>(Ty)) in CoerceIntOrPtrToIntOrPtr() 416 if (isa<llvm::PointerType>(DestIntTy)) in CoerceIntOrPtrToIntOrPtr() 422 if (isa<llvm::PointerType>(Ty)) in CoerceIntOrPtrToIntOrPtr() 439 cast<llvm::PointerType>(SrcPtr->getType())->getElementType(); in CreateCoercedLoad() 449 SrcTy = cast<llvm::PointerType>(SrcPtr->getType())->getElementType(); in CreateCoercedLoad() 456 if ((isa<llvm::IntegerType>(Ty) || isa<llvm::PointerType>(Ty)) && in CreateCoercedLoad() 457 (isa<llvm::IntegerType>(SrcTy) || isa<llvm::PointerType>(SrcTy))) { in CreateCoercedLoad() 471 CGF.Builder.CreateBitCast(SrcPtr, llvm::PointerType::getUnqual(Ty)); in CreateCoercedLoad() [all …]
|
D | CGObjCGNU.cpp | 117 llvm::PointerType *PtrToObjCSuperTy; 121 llvm::PointerType *SelectorTy; 127 llvm::PointerType *PtrToInt8Ty; 133 llvm::PointerType *IMPTy; 138 llvm::PointerType *IdTy; 141 llvm::PointerType *PtrToIdTy; 150 llvm::PointerType *PtrTy; 161 llvm::PointerType *PtrToIntTy; 612 SlotTy = llvm::PointerType::getUnqual(SlotStructTy); in CGObjCGNUstep() 684 PtrToInt8Ty = llvm::PointerType::getUnqual(Int8Ty); in CGObjCGNU() [all …]
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | ProfilingUtils.h | 25 class PointerType; variable 29 PointerType *arrayType = 0);
|
D | ProfilingUtils.cpp | 26 PointerType *arrayType) { in InsertProfilingInitCall() 29 PointerType::getUnqual(Type::getInt8PtrTy(Context)); in InsertProfilingInitCall() 30 PointerType *UIntPtr = arrayType ? arrayType : in InsertProfilingInitCall()
|
/external/mesa3d/src/pixelflinger2/ |
D | llvm_scanline.cpp | 424 PointerType * vectorPtr = PointerType::get(vectorType, 0); in ScanLineFunctionType() 426 PointerType * intPointerType = PointerType::get(intType, 0); in ScanLineFunctionType() 427 PointerType * bytePointerType = PointerType::get(builder.getInt8Ty(), 0); in ScanLineFunctionType() 455 PointerType * intPointerType = PointerType::get(intType, 0); in GenerateScanLine() 457 PointerType * bytePointerType = PointerType::get(byteType, 0); in GenerateScanLine() 516 frame = builder.CreateBitCast(frame, PointerType::get(builder.getInt16Ty(), 0)); in GenerateScanLine() 678 frame = builder.CreateBitCast(frame, PointerType::get(builder.getInt32Ty(), 0)); in GenerateScanLine() 700 PointerType * floatPointerType = PointerType::get(floatType, 0); in GenerateScanLine()
|
/external/llvm/include/llvm/Analysis/ |
D | MemoryBuiltins.h | 20 class PointerType; variable 54 PointerType *getMallocType(const CallInst *CI);
|
/external/llvm/unittests/Support/ |
D | TypeBuilderTest.cpp | 75 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), in TEST() 82 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), in TEST() 89 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), in TEST() 234 EXPECT_EQ(PointerType::getUnqual(StructType::get( in TEST() 240 EXPECT_EQ(PointerType::getUnqual(StructType::get( in TEST() 246 EXPECT_EQ(PointerType::getUnqual(StructType::get( in TEST()
|
/external/webkit/Source/JavaScriptCore/wtf/ |
D | HashTable.h | 102 typedef const ValueType* PointerType; typedef 113 … HashTableConstIterator(const HashTableType* table, PointerType position, PointerType endPosition) in HashTableConstIterator() 120 …HashTableConstIterator(const HashTableType* table, PointerType position, PointerType endPosition, … in HashTableConstIterator() 158 PointerType get() const in get() 164 PointerType operator->() const { return get(); } 209 PointerType m_position; 210 PointerType m_endPosition; 230 typedef ValueType* PointerType; typedef 234 …HashTableIterator(HashTableType* table, PointerType pos, PointerType end) : m_iterator(table, pos,… in HashTableIterator() 235 …HashTableIterator(HashTableType* table, PointerType pos, PointerType end, HashItemKnownGoodTag tag… in HashTableIterator() [all …]
|