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

12345678910

/external/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());
/external/llvm/lib/Transforms/Instrumentation/
H A DProfilingUtils.h25 class PointerType;
29 PointerType *arrayType = 0);
/external/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>();
/external/llvm/include/llvm/IR/
H A DType.h27 class PointerType;
218 /// isPointerTy - True if this is an instance of PointerType.
402 static PointerType *getHalfPtrTy(LLVMContext &C, unsigned AS = 0);
403 static PointerType *getFloatPtrTy(LLVMContext &C, unsigned AS = 0);
404 static PointerType *getDoublePtrTy(LLVMContext &C, unsigned AS = 0);
405 static PointerType *getX86_FP80PtrTy(LLVMContext &C, unsigned AS = 0);
406 static PointerType *getFP128PtrTy(LLVMContext &C, unsigned AS = 0);
407 static PointerType *getPPC_FP128PtrTy(LLVMContext &C, unsigned AS = 0);
408 static PointerType *getX86_MMXPtrTy(LLVMContext &C, unsigned AS = 0);
409 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...]
/external/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);
/external/eigen/Eigen/src/Core/
H A DMap.h112 typedef typename Base::PointerType PointerType; typedef in class:Eigen::Map
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; }
H A DMapBase.h48 PointerType; typedef in class:Eigen::MapBase
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; typedef in class:Eigen::MapBase
227 explicit inline MapBase(PointerType data) : Base(data) {}
228 inline MapBase(PointerType data, Index size) : Base(data, size) {}
229 inline MapBase(PointerType dat
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DR600KernelParameters.cpp190 if (isa<PointerType>(Arg->getType()) && Arg->hasByValAttr()) {
201 if (Arg->hasByValAttr() && dyn_cast<PointerType>(T)) {
202 T = dyn_cast<PointerType>(T)->getElementType();
260 if (dyn_cast<PointerType>(Op->getType())->getAddressSpace() != Addrspace) {
261 Op = new BitCastInst(Op, PointerType::get(dyn_cast<PointerType>(
281 PointerType *OrigPtrType = dyn_cast<PointerType>(OrigPtr->getType());
283 Type* NewPtrType = PointerType::get(OrigPtrType->getElementType(),
331 PointerType * ArgPtrTyp
[all...]
/external/mesa3d/src/gallium/drivers/radeon/
H A DR600KernelParameters.cpp190 if (isa<PointerType>(Arg->getType()) && Arg->hasByValAttr()) {
201 if (Arg->hasByValAttr() && dyn_cast<PointerType>(T)) {
202 T = dyn_cast<PointerType>(T)->getElementType();
260 if (dyn_cast<PointerType>(Op->getType())->getAddressSpace() != Addrspace) {
261 Op = new BitCastInst(Op, PointerType::get(dyn_cast<PointerType>(
281 PointerType *OrigPtrType = dyn_cast<PointerType>(OrigPtr->getType());
283 Type* NewPtrType = PointerType::get(OrigPtrType->getElementType(),
331 PointerType * ArgPtrTyp
[all...]
/external/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)) {
/external/clang/lib/Analysis/
H A DCocoaConventions.cpp42 const PointerType* PT = RetTy->getAs<PointerType>();
/external/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
750 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()) &&
/external/llvm/lib/Analysis/
H A DLoads.cpp89 PointerType *AddrTy = cast<PointerType>(V->getType());
149 Type *AccessTy = cast<PointerType>(Ptr->getType())->getElementType();
/external/llvm/examples/BrainF/
H A DBrainFDriver.cpp62 PointerType::getUnqual(PointerType::getUnqual(
/external/llvm/lib/Target/Hexagon/
H A DHexagonRemoveSZExtArgs.cpp61 if (!isa<PointerType>(Arg->getType())) {
/external/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));
/external/llvm/unittests/Bitcode/
H A DBitReaderTest.cpp39 PointerType* Int8Ptr = Type::getInt8PtrTy(Mod->getContext());

Completed in 1660 milliseconds

12345678910