| /minix3/external/bsd/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGOpenCLRuntime.cpp | 44 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(llvm::StructType::create( in convertOpenCLSpecificType() 64 return llvm::PointerType::get(llvm::StructType::create( in convertOpenCLSpecificType()
|
| H A D | CGCUDANV.cpp | 34 llvm::PointerType *CharPtrTy, *VoidPtrTy; 54 CharPtrTy = llvm::PointerType::getUnqual(Types.ConvertType(Ctx.CharTy)); in CGNVCUDARuntime() 55 VoidPtrTy = cast<llvm::PointerType>(Types.ConvertType(Ctx.VoidPtrTy)); in CGNVCUDARuntime() 87 assert(isa<llvm::PointerType>(V->getType()) && "Arg type not PointerType"); in EmitDeviceStubBody() 88 ArgTypes.push_back(cast<llvm::PointerType>(V->getType())->getElementType()); in EmitDeviceStubBody()
|
| H A D | CGOpenMPRuntime.cpp | 90 llvm::Type *MicroParams[] = {llvm::PointerType::getUnqual(CGM.Int32Ty), in CGOpenMPRuntime() 91 llvm::PointerType::getUnqual(CGM.Int32Ty)}; in CGOpenMPRuntime() 243 return llvm::PointerType::getUnqual(IdentTy); in getIdentTyPointerTy() 247 return llvm::PointerType::getUnqual(Kmpc_MicroTy); in getKmpc_MicroPointerTy() 288 llvm::PointerType::getUnqual(KmpCriticalNameTy)}; in CreateRuntimeFunction() 322 llvm::PointerType::getUnqual(KmpCriticalNameTy)}; in CreateRuntimeFunction() 344 auto PtrTy = llvm::PointerType::getUnqual(ITy); in CreateRuntimeFunction() 349 llvm::PointerType::getUnqual(CGM.Int32Ty), // p_lastiter in CreateRuntimeFunction() 363 auto PtrTy = llvm::PointerType::getUnqual(ITy); in CreateRuntimeFunction() 368 llvm::PointerType::getUnqual(CGM.Int32Ty), // p_lastiter in CreateRuntimeFunction() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
| H A D | Type.h | 28 class PointerType; variable 403 static PointerType *getHalfPtrTy(LLVMContext &C, unsigned AS = 0); 404 static PointerType *getFloatPtrTy(LLVMContext &C, unsigned AS = 0); 405 static PointerType *getDoublePtrTy(LLVMContext &C, unsigned AS = 0); 406 static PointerType *getX86_FP80PtrTy(LLVMContext &C, unsigned AS = 0); 407 static PointerType *getFP128PtrTy(LLVMContext &C, unsigned AS = 0); 408 static PointerType *getPPC_FP128PtrTy(LLVMContext &C, unsigned AS = 0); 409 static PointerType *getX86_MMXPtrTy(LLVMContext &C, unsigned AS = 0); 410 static PointerType *getIntNPtrTy(LLVMContext &C, unsigned N, unsigned AS = 0); 411 static PointerType *getInt1PtrTy(LLVMContext &C, unsigned AS = 0); [all …]
|
| H A D | DerivedTypes.h | 448 class PointerType : public SequentialType { 449 PointerType(const PointerType &) LLVM_DELETED_FUNCTION; 450 const PointerType &operator=(const PointerType &) LLVM_DELETED_FUNCTION; 451 explicit PointerType(Type *ElType, unsigned AddrSpace); 455 static PointerType *get(Type *ElementType, unsigned AddressSpace); 459 static PointerType *getUnqual(Type *ElementType) { in getUnqual() 460 return PointerType::get(ElementType, 0); in getUnqual()
|
| H A D | InlineAsm.h | 25 class PointerType; variable 51 InlineAsm(PointerType *Ty, const std::string &AsmString, 74 PointerType *getType() const { in getType() 75 return reinterpret_cast<PointerType*>(Value::getType()); in getType()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCUtil.cpp | 97 if (PointerType *PTy = dyn_cast<PointerType>(A0->getType())) { in GetFunctionClass() 120 if (PointerType *Pte = dyn_cast<PointerType>(ETy)) in GetFunctionClass() 132 if (PointerType *PTy = dyn_cast<PointerType>(A0->getType())) in GetFunctionClass() 133 if (PointerType *Pte = dyn_cast<PointerType>(PTy->getElementType())) in GetFunctionClass() 135 if (PointerType *PTy1 = dyn_cast<PointerType>(A1->getType())) { in GetFunctionClass() 145 if (PointerType *Pte1 = dyn_cast<PointerType>(ETy1)) in GetFunctionClass()
|
| H A D | ARCRuntimeEntryPoints.h | 132 Type *Params[] = { PointerType::getUnqual(Type::getInt8Ty(C)) }; in getVoidRetI8XEntryPoint() 148 Type *I8X = PointerType::getUnqual(Type::getInt8Ty(C)); 166 Type *I8X = PointerType::getUnqual(Type::getInt8Ty(C)); in getI8XRetI8XXI8XEntryPoint() 167 Type *I8XX = PointerType::getUnqual(I8X); in getI8XRetI8XXI8XEntryPoint()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/IR/ |
| H A D | Type.cpp | 94 if (const PointerType *PTy = dyn_cast<PointerType>(this)) { in canLosslesslyBitCastTo() 95 if (const PointerType *OtherPTy = dyn_cast<PointerType>(Ty)) in canLosslesslyBitCastTo() 217 return cast<PointerType>(getScalarType())->getAddressSpace(); in getPointerAddressSpace() 246 PointerType *Type::getHalfPtrTy(LLVMContext &C, unsigned AS) { in getHalfPtrTy() 250 PointerType *Type::getFloatPtrTy(LLVMContext &C, unsigned AS) { in getFloatPtrTy() 254 PointerType *Type::getDoublePtrTy(LLVMContext &C, unsigned AS) { in getDoublePtrTy() 258 PointerType *Type::getX86_FP80PtrTy(LLVMContext &C, unsigned AS) { in getX86_FP80PtrTy() 262 PointerType *Type::getFP128PtrTy(LLVMContext &C, unsigned AS) { in getFP128PtrTy() 266 PointerType *Type::getPPC_FP128PtrTy(LLVMContext &C, unsigned AS) { in getPPC_FP128PtrTy() 270 PointerType *Type::getX86_MMXPtrTy(LLVMContext &C, unsigned AS) { in getX86_MMXPtrTy() [all …]
|
| H A D | IRBuilder.cpp | 43 PointerType *PT = cast<PointerType>(Ptr->getType()); in getCastedInt8PtrValue() 148 assert(isa<PointerType>(Ptr->getType()) && in CreateLifetimeStart() 163 assert(isa<PointerType>(Ptr->getType()) && in CreateLifetimeEnd() 200 Type *DataTy = cast<PointerType>(Ptr->getType())->getElementType(); in CreateMaskedLoad() 239 PointerType *FuncPtrType = cast<PointerType>(ActualCallee->getType()); in CreateGCStatepoint()
|
| H A D | Globals.cpp | 150 : GlobalObject(PointerType::get(Ty, AddressSpace), Value::GlobalVariableVal, in GlobalVariable() 168 : GlobalObject(PointerType::get(Ty, AddressSpace), Value::GlobalVariableVal, in GlobalVariable() 251 : GlobalValue(PointerType::get(Ty, AddressSpace), Value::GlobalAliasVal, in GlobalAlias() 279 PointerType *PTy = Aliasee->getType(); in create()
|
| /minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A 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()
|
| H A D | MallocSizeofChecker.cpp | 141 if (B->isVoidPointerType() && A->getAs<PointerType>()) in typesCompatible() 151 if (const PointerType *ptrA = A->getAs<PointerType>()) in typesCompatible() 152 if (const PointerType *ptrB = B->getAs<PointerType>()) { in typesCompatible() 188 QualType PointeeType = CastedType->getAs<PointerType>()->getPointeeType(); in checkASTCodeBody()
|
| H A D | CheckSecuritySyntaxOnly.cpp | 319 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_gets() 359 const PointerType *PT = FPT->getParamType(1)->getAs<PointerType>(); in checkCall_getpw() 399 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_mktemp() 571 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); in checkCall_strCommon() 600 const PointerType *PT = FTP->getParamType(0)->getAs<PointerType>(); in checkCall_rand()
|
| H A D | NSErrorChecker.cpp | 284 const PointerType* PPT = T->getAs<PointerType>(); in IsNSError() 304 const PointerType* PPT = T->getAs<PointerType>(); in IsCFError()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Sema/ |
| H A D | SemaFixItUtils.cpp | 35 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()
|
| H A D | SemaCast.cpp | 400 const PointerType *T1PtrType = T1->getAs<PointerType>(), in UnwrapDissimilarPointerTypes() 401 *T2PtrType = T2->getAs<PointerType>(); in UnwrapDissimilarPointerTypes() 561 const PointerType *DestPointer = DestType->getAs<PointerType>(); in CheckDynamicCast() 598 if (const PointerType *SrcPointer = SrcType->getAs<PointerType>()) { in CheckDynamicCast() 1040 if (const PointerType *SrcPointer = SrcType->getAs<PointerType>()) { in TryStaticCast() 1043 if (const PointerType *DestPointer = DestType->getAs<PointerType>()) { in TryStaticCast() 1198 const PointerType *DestPointer = DestType->getAs<PointerType>(); in TryStaticPointerDowncast() 1203 const PointerType *SrcPointer = SrcType->getAs<PointerType>(); in TryStaticPointerDowncast() 1632 if (!SrcType->getAs<PointerType>() || !DestType->getAs<PointerType>()) { in CheckCompatibleReinterpretCast() 1675 if (const PointerType *SrcPtrTy = SrcType->getAs<PointerType>()) in DiagnoseCastOfObjCSEL() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXFavorNonGenericAddrSpaces.cpp | 96 PointerType *SrcTy = cast<PointerType>(Src->getType()); in IsEliminableAddrSpaceCast() 97 PointerType *DestTy = cast<PointerType>(Cast->getType()); in IsEliminableAddrSpaceCast()
|
| H A D | NVPTXLowerStructArgs.cpp | 60 PointerType *PType = dyn_cast<PointerType>(Arg->getType()); in handleParam() 91 CallCVT, PointerType::get(StructType, ADDRESS_SPACE_PARAM), in handleParam()
|
| H A D | NVPTXLowerAggrCopies.cpp | 48 unsigned srcAS = dyn_cast<PointerType>(srcAddr->getType())->getAddressSpace(); in convertTransferToLoop() 49 unsigned dstAS = dyn_cast<PointerType>(dstAddr->getType())->getAddressSpace(); in convertTransferToLoop() 84 unsigned dstAS = dyn_cast<PointerType>(dstAddr->getType())->getAddressSpace(); in convertMemSetToLoop() 88 builder.CreateBitCast(dstAddr, PointerType::get(val->getType(), dstAS)); in convertMemSetToLoop()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/ |
| H A D | StatepointExampleGC.cpp | 40 PointerType *PT = cast<PointerType>(V->getType()); in isGCManagedPointer()
|
| H A D | GlobalMerge.cpp | 157 Type *Ty1 = cast<PointerType>(GV1->getType())->getElementType(); in doMerge() 158 Type *Ty2 = cast<PointerType>(GV2->getType())->getElementType(); in doMerge() 229 auto *PTy = cast<PointerType>(GEP->getType()); in doMerge() 302 PointerType *PT = dyn_cast<PointerType>(I->getType()); in doInitialization()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Analysis/ |
| H A D | Loads.cpp | 89 PointerType *AddrTy = cast<PointerType>(V->getType()); in isSafeToLoadUnconditionally() 143 auto *AccessedTy = cast<PointerType>(AccessedPtr->getType()); in isSafeToLoadUnconditionally() 177 Type *AccessTy = cast<PointerType>(Ptr->getType())->getElementType(); in FindAvailableLoadedValue()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 91 cast<PointerType>(MI->getArgOperand(1)->getType())->getAddressSpace(); in SimplifyMemTransfer() 93 cast<PointerType>(MI->getArgOperand(0)->getType())->getAddressSpace(); in SimplifyMemTransfer() 96 Type *NewSrcPtrTy = PointerType::get(IntType, SrcAddrSp); in SimplifyMemTransfer() 97 Type *NewDstPtrTy = PointerType::get(IntType, DstAddrSp); in SimplifyMemTransfer() 108 Type *SrcETy = cast<PointerType>(StrippedDest->getType()) in SimplifyMemTransfer() 116 NewSrcPtrTy = PointerType::get(SrcETy, SrcAddrSp); in SimplifyMemTransfer() 117 NewDstPtrTy = PointerType::get(SrcETy, DstAddrSp); in SimplifyMemTransfer() 179 unsigned DstAddrSp = cast<PointerType>(Dest->getType())->getAddressSpace(); in SimplifyMemSet() 180 Type *NewDstPtrTy = PointerType::get(ITy, DstAddrSp); in SimplifyMemSet() 549 PointerType::getUnqual(II->getType())); in visitCallInst() [all …]
|
| /minix3/external/bsd/llvm/dist/clang/lib/Analysis/ |
| H A D | CocoaConventions.cpp | 42 const PointerType* PT = RetTy->getAs<PointerType>(); in isRefType()
|