Searched refs:PointerType (Results 1 - 25 of 218) sorted by relevance

123456789

/freebsd-10.1-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp41 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(
H A DCGCUDANV.cpp34 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());
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCastToStructChecker.cpp41 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr());
42 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr());
H A DCastSizeChecker.cpp36 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr());
H A DMallocSizeofChecker.cpp148 if (const PointerType *ptrA = A->getAs<PointerType>())
149 if (const PointerType *ptrB = B->getAs<PointerType>()) {
185 QualType PointeeType = CastedType->getAs<PointerType>()->getPointeeType();
H A DNSErrorChecker.cpp277 const PointerType* PPT = T->getAs<PointerType>();
297 const PointerType* PPT = T->getAs<PointerType>();
H A DCheckSecuritySyntaxOnly.cpp309 const PointerType *PT = FPT->getArgType(0)->getAs<PointerType>();
349 const PointerType *PT = FPT->getArgType(1)->getAs<PointerType>();
389 const PointerType *PT = FPT->getArgType(0)->getAs<PointerType>();
561 const PointerType *PT = FPT->getArgType(i)->getAs<PointerType>();
590 const PointerType *PT = FTP->getArgType(0)->getAs<PointerType>();
[all...]
/freebsd-10.1-release/contrib/llvm/include/llvm/IR/
H A DType.h27 class PointerType;
218 /// isPointerTy - True if this is an instance of PointerType.
410 static PointerType *getHalfPtrTy(LLVMContext &C, unsigned AS = 0);
411 static PointerType *getFloatPtrTy(LLVMContext &C, unsigned AS = 0);
412 static PointerType *getDoublePtrTy(LLVMContext &C, unsigned AS = 0);
413 static PointerType *getX86_FP80PtrTy(LLVMContext &C, unsigned AS = 0);
414 static PointerType *getFP128PtrTy(LLVMContext &C, unsigned AS = 0);
415 static PointerType *getPPC_FP128PtrTy(LLVMContext &C, unsigned AS = 0);
416 static PointerType *getX86_MMXPtrTy(LLVMContext &C, unsigned AS = 0);
417 static PointerType *getIntNPtrT
[all...]
H A DInlineAsm.h25 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());
H A DDerivedTypes.h142 /// CompositeType - Common super class of ArrayType, StructType, PointerType
423 /// PointerType - Class to represent pointers.
425 class PointerType : public SequentialType { class in namespace:llvm
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 *ge
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Transforms/ObjCARC/
H A DObjCARCUtil.cpp97 if (PointerType *PTy = dyn_cast<PointerType>(A0->getType())) {
120 if (PointerType *Pte = dyn_cast<PointerType>(ETy))
132 if (PointerType *PTy = dyn_cast<PointerType>(A0->getType()))
133 if (PointerType *Pte = dyn_cast<PointerType>(PTy->getElementType()))
135 if (PointerType *PTy1 = dyn_cast<PointerType>(A
[all...]
H A DARCRuntimeEntryPoints.h132 Type *Params[] = { PointerType::getUnqual(Type::getInt8Ty(C)) };
148 Type *I8X = PointerType::getUnqual(Type::getInt8Ty(C));
166 Type *I8X = PointerType::getUnqual(Type::getInt8Ty(C));
167 Type *I8XX = PointerType::getUnqual(I8X);
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaFixItUtils.cpp35 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)) {
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Analysis/
H A DCocoaConventions.cpp42 const PointerType* PT = RetTy->getAs<PointerType>();
H A DFormatString.cpp260 const PointerType *PT = argTy->getAs<PointerType>();
333 const PointerType *PT = argTy->getAs<PointerType>();
353 const PointerType *PT = argTy->getAs<PointerType>();
389 if (const PointerType *PT = argTy->getAs<PointerType>()) {
/freebsd-10.1-release/contrib/llvm/lib/IR/
H A DType.cpp219 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 *Typ
746 PointerType::PointerType(Type *E, unsigned AddrSpace) function in class:PointerType
[all...]
H A DIRBuilder.cpp43 PointerType *PT = cast<PointerType>(Ptr->getType());
126 assert(isa<PointerType>(Ptr->getType()) &&
141 assert(isa<PointerType>(Ptr->getType()) &&
H A DLLVMContextImpl.h275 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;
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Expression/
H A DIRDynamicChecks.cpp286 param_array[0] = const_cast<llvm::PointerType*>(GetI8PtrTy());
291 PointerType *fun_ptr_ty = PointerType::getUnqual(fun_ty);
310 param_array[0] = const_cast<llvm::PointerType*>(GetI8PtrTy());
311 param_array[1] = const_cast<llvm::PointerType*>(GetI8PtrTy());
316 PointerType *fun_ptr_ty = PointerType::getUnqual(fun_ty);
321 PointerType *GetI8PtrTy()
348 PointerType *m_i8ptr_ty;
/freebsd-10.1-release/contrib/llvm/lib/Analysis/
H A DLoads.cpp89 PointerType *AddrTy = cast<PointerType>(V->getType());
149 Type *AccessTy = cast<PointerType>(Ptr->getType())->getElementType();
/freebsd-10.1-release/contrib/llvm/lib/Target/Hexagon/
H A DHexagonRemoveSZExtArgs.cpp61 if (!isa<PointerType>(Arg->getType())) {
/freebsd-10.1-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAggrCopies.cpp48 unsigned srcAS = dyn_cast<PointerType>(srcAddr->getType())->getAddressSpace();
49 unsigned dstAS = dyn_cast<PointerType>(dstAddr->getType())->getAddressSpace();
84 unsigned dstAS = dyn_cast<PointerType>(dstAddr->getType())->getAddressSpace();
88 builder.CreateBitCast(dstAddr, PointerType::get(val->getType(), dstAS));
/freebsd-10.1-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp87 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
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Transforms/Scalar/
H A DGlobalMerge.cpp129 Type *Ty1 = cast<PointerType>(GV1->getType())->getElementType();
130 Type *Ty2 = cast<PointerType>(GV2->getType())->getElementType();
249 PointerType *PT = dyn_cast<PointerType>(I->getType());
/freebsd-10.1-release/contrib/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp28 IRB.getInt32Ty(), PointerType::getUnqual(FnTy), NULL);

Completed in 280 milliseconds

123456789