/freebsd-10.0-release/contrib/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARCUtil.cpp | 97 if (PointerType *PTy = dyn_cast<PointerType>(A0->getType())) { 98 Type *ETy = PTy->getElementType(); 130 if (PointerType *PTy = dyn_cast<PointerType>(A0->getType())) 131 if (PointerType *Pte = dyn_cast<PointerType>(PTy->getElementType()))
|
/freebsd-10.0-release/contrib/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 1095 const PointerType *PTy = GVar->getType(); local 1096 Type *ETy = PTy->getElementType(); 1211 emitPTXAddressSpace(PTy->getAddressSpace(), O); 1229 if (((PTy->getAddressSpace() == llvm::ADDRESS_SPACE_GLOBAL) || 1230 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST_NOT_GEN) || 1231 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST)) && 1253 if (((PTy->getAddressSpace() == llvm::ADDRESS_SPACE_GLOBAL) || 1254 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST_NOT_GEN) || 1255 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST)) && 1388 const PointerType *PTy local 1559 const PointerType *PTy = dyn_cast<PointerType>(Ty); local 1620 const PointerType *PTy = dyn_cast<PointerType>(Ty); local [all...] |
H A D | NVPTXISelLowering.cpp | 394 const PointerType *PTy = dyn_cast<PointerType>(Ty); local 395 assert(PTy && "Param with byval attribute should be a pointer type"); 396 Type *ETy = PTy->getElementType(); 504 const PointerType *PTy = dyn_cast<PointerType>(Args[i].Ty); local 505 assert(PTy && "Type of a byval parameter should be pointer"); 506 ComputeValueVTs(*this, PTy->getElementType(), vtparts); 1029 const PointerType *PTy = dyn_cast<PointerType>(Ty); local 1031 if (!PTy) 1037 const StructType *STy = dyn_cast<StructType>(PTy->getElementType());
|
/freebsd-10.0-release/contrib/llvm/lib/Analysis/ |
H A D | ScalarEvolutionExpander.cpp | 398 PointerType *PTy, 401 Type *ElTy = PTy->getElementType(); 519 Type::getInt8PtrTy(Ty->getContext(), PTy->getAddressSpace())); 605 if (V->getType() != PTy) 606 Casted = InsertNoopCastOfTo(Casted, PTy); 737 } else if (PointerType *PTy = dyn_cast<PointerType>(Sum->getType())) { 750 Sum = expandAddToGEP(NewOps.begin(), NewOps.end(), PTy, Ty, Sum); 751 } else if (PointerType *PTy = dyn_cast<PointerType>(Op->getType())) { 760 Sum = expandAddToGEP(NewOps.begin(), NewOps.end(), PTy, Ty, expand(Op)); 1256 if (PointerType *PTy 396 expandAddToGEP(const SCEV *const *op_begin, const SCEV *const *op_end, PointerType *PTy, Type *Ty, Value *V) argument [all...] |
H A D | LazyValueInfo.cpp | 615 PointerType *PTy = cast<PointerType>(Val->getType()); local 616 Result = LVILatticeVal::getNot(ConstantPointerNull::get(PTy)); 643 PointerType *PTy = cast<PointerType>(Val->getType()); local 644 Result = LVILatticeVal::getNot(ConstantPointerNull::get(PTy));
|
/freebsd-10.0-release/contrib/llvm/lib/IR/ |
H A D | Verifier.cpp | 458 PointerType *PTy = dyn_cast<PointerType>(ATy->getElementType()); local 459 Assert1(PTy, "wrong type for intrinsic global variable", &GV); 764 if (PointerType *PTy = dyn_cast<PointerType>(Ty)) 766 PTy->getElementType()->isSized(), 1618 PointerType *PTy = dyn_cast<PointerType>(LI.getOperand(0)->getType()); local 1619 Assert1(PTy, "Load operand must be a pointer.", &LI); 1620 Type *ElTy = PTy->getElementType(); 1692 PointerType *PTy = dyn_cast<PointerType>(SI.getOperand(1)->getType()); local 1693 Assert1(PTy, "Store operand must be a pointer.", &SI); 1694 Type *ElTy = PTy 1720 PointerType *PTy = AI.getType(); local 1736 PointerType *PTy = dyn_cast<PointerType>(CXI.getOperand(0)->getType()); local 1760 PointerType *PTy = dyn_cast<PointerType>(RMWI.getOperand(0)->getType()); local [all...] |
H A D | ConstantFold.cpp | 106 if (PointerType *PTy = dyn_cast<PointerType>(V->getType())) 108 if (PTy->getAddressSpace() == DPTy->getAddressSpace() 114 Type *ElTy = PTy->getElementType(); 368 if (PointerType *PTy = dyn_cast<PointerType>(Ty)) 369 if (!PTy->getElementType()->isIntegerTy(1)) 371 getFoldedSizeOf(PointerType::get(IntegerType::get(PTy->getContext(), 1), 372 PTy->getAddressSpace()), 433 if (PointerType *PTy = dyn_cast<PointerType>(Ty)) 434 if (!PTy->getElementType()->isIntegerTy(1)) 436 getFoldedAlignOf(PointerType::get(IntegerType::get(PTy [all...] |
H A D | AsmWriter.cpp | 265 PointerType *PTy = cast<PointerType>(Ty); local 266 print(PTy->getElementType(), OS); 267 if (unsigned AddressSpace = PTy->getAddressSpace()) 280 VectorType *PTy = cast<VectorType>(Ty); local 281 OS << "<" << PTy->getNumElements() << " x "; 282 print(PTy->getElementType(), OS); 1932 PointerType *PTy = cast<PointerType>(Operand->getType()); local 1933 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); 1965 PointerType *PTy = cast<PointerType>(Operand->getType()); local 1966 FunctionType *FTy = cast<FunctionType>(PTy [all...] |
/freebsd-10.0-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 943 PointerType *PTy = cast<PointerType>(Callee->getType()); 944 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); 1170 Type *PTy = getPromotedType((*AI)->getType()); local 1171 if (PTy != (*AI)->getType()) { 1174 CastInst::getCastOpcode(*AI, false, PTy, false); 1175 Args.push_back(Builder->CreateCast(opcode, *AI, PTy)); 1255 PointerType *PTy = cast<PointerType>(Callee->getType()); local 1256 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); 1402 NestF->getType() == PTy ? NestF : 1403 ConstantExpr::getBitCast(NestF, PTy); [all...] |
H A D | InstCombineCasts.cpp | 84 PointerType *PTy = cast<PointerType>(CI.getType()); 91 Type *CastElTy = PTy->getElementType();
|
/freebsd-10.0-release/contrib/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolutionExpander.h | 214 PointerType *PTy, Type *Ty, Value *V);
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CodeGenTypes.cpp | 412 const PointerType *PTy = cast<PointerType>(Ty); local 413 QualType ETy = PTy->getPointeeType();
|
H A D | TargetInfo.cpp | 987 llvm::Type *PTy = local 989 llvm::Value *AddrTyped = Builder.CreateBitCast(Addr, PTy); 2569 llvm::Type *PTy = 2571 llvm::Value *AddrTyped = Builder.CreateBitCast(Addr, PTy); 2876 llvm::Type *PTy = llvm::PointerType::getUnqual(CGF.ConvertType(Ty)); 2877 return Builder.CreateBitCast(Addr, PTy); 3553 llvm::Type *PTy = 3555 llvm::Value *AddrTyped = Builder.CreateBitCast(Addr, PTy); 4832 llvm::Type *PTy = llvm::PointerType::getUnqual(CGF.ConvertType(Ty)); 4843 AddrTyped = CGF.Builder.CreateIntToPtr(And, PTy); [all...] |
H A D | CGExprCXX.cpp | 160 if (const PointerType *PTy = T->getAs<PointerType>()) 161 T = PTy->getPointeeType(); 183 if (const PointerType * PTy = dyn_cast<PointerType>(PQTy)) { 184 DI->getOrCreateRecordType(PTy->getPointeeType(), 1784 if (const PointerType *PTy = DestTy->getAs<PointerType>()) { 1785 if (PTy->getPointeeType()->isVoidType()) {
|
H A D | CodeGenModule.cpp | 1359 llvm::Type *PTy = llvm::PointerType::getUnqual(Ty); local 1360 return llvm::ConstantExpr::getBitCast(F, PTy); 1545 llvm::PointerType *PTy = local 1549 return GetOrCreateLLVMGlobal(MangledName, PTy, D); 2408 llvm::Type *PTy = llvm::PointerType::getUnqual(Ty); local 2409 V = llvm::ConstantExpr::getBitCast(GV, PTy); 2415 llvm::Type *PTy = llvm::ArrayType::get(Ty, 0); local 2416 GV = CreateRuntimeVariable(PTy, str);
|
H A D | CGBuiltin.cpp | 1466 llvm::Type *PTy = FTy->getParamType(i); local 1467 if (PTy != ArgValue->getType()) { 1468 assert(PTy->canLosslesslyBitCastTo(FTy->getParamType(i)) && 1470 ArgValue = Builder.CreateBitCast(ArgValue, PTy);
|
H A D | CodeGenModule.h | 977 llvm::PointerType *PTy,
|
/freebsd-10.0-release/contrib/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 319 PointerType *PTy = cast<PointerType>(T); local 322 TypeVals.push_back(VE.getTypeID(PTy->getElementType())); 323 unsigned AddressSpace = PTy->getAddressSpace(); 1303 PointerType *PTy = cast<PointerType>(Callee->getType()); local 1304 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); 1436 PointerType *PTy = cast<PointerType>(CI.getCalledValue()->getType()); local 1437 FunctionType *FTy = cast<FunctionType>(PTy->getElementType());
|
/freebsd-10.0-release/contrib/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 968 PointerType *PTy = dyn_cast<PointerType>(Ty); local 969 if (PTy == 0) { 997 if (FunctionType *FT = dyn_cast<FunctionType>(PTy->getElementType())) 1000 FwdVal = new GlobalVariable(*M, PTy->getElementType(), false, 1003 PTy->getAddressSpace()); 1010 PointerType *PTy = dyn_cast<PointerType>(Ty); local 1011 if (PTy == 0) { 1037 if (FunctionType *FT = dyn_cast<FunctionType>(PTy->getElementType())) 1040 FwdVal = new GlobalVariable(*M, PTy->getElementType(), false, 2781 PointerType *PTy [all...] |
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaPseudoObject.cpp | 1056 if (const ObjCObjectPointerType *PTy = 1058 ResultType = PTy->getPointeeType(); 1165 if (const ObjCObjectPointerType *PTy = 1167 ResultType = PTy->getPointeeType();
|
H A D | SemaExpr.cpp | 665 QualType PTy = Context.isPromotableBitField(E); local 666 if (!PTy.isNull()) { 667 E = ImpCastExprToType(E, PTy, CK_IntegralCast).take(); 3584 } else if (const PointerType *PTy = LHSTy->getAs<PointerType>()) { 3587 ResultType = PTy->getPointeeType(); 3588 } else if (const ObjCObjectPointerType *PTy = 3598 ResultType = PTy->getPointeeType(); 3604 } else if (const PointerType *PTy = RHSTy->getAs<PointerType>()) { 3608 ResultType = PTy->getPointeeType(); 3609 } else if (const ObjCObjectPointerType *PTy [all...] |
/freebsd-10.0-release/contrib/llvm/lib/Analysis/IPA/ |
H A D | InlineCost.cpp | 922 PointerType *PTy = cast<PointerType>(CS.getArgument(I)->getType()); local 923 unsigned TypeSize = TD->getTypeSizeInBits(PTy->getElementType());
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | DeclPrinter.cpp | 110 else if (const PointerType* PTy = BaseType->getAs<PointerType>()) 111 BaseType = PTy->getPointeeType();
|
/freebsd-10.0-release/contrib/llvm/lib/Target/Mips/ |
H A D | MipsISelLowering.cpp | 1353 EVT PTy = getPointerTy(); local 1357 Index = DAG.getNode(ISD::MUL, DL, PTy, Index, 1358 DAG.getConstant(EntrySize, PTy)); 1359 SDValue Addr = DAG.getNode(ISD::ADD, DL, PTy, Index, Table); 1362 Addr = DAG.getExtLoad(ISD::SEXTLOAD, DL, PTy, Chain, Addr, 1371 Addr = DAG.getNode(ISD::ADD, DL, PTy, Addr,
|
/freebsd-10.0-release/contrib/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 1347 PointerType *PTy = cast<PointerType>(CurTy); local 1348 V = InlineAsm::get(cast<FunctionType>(PTy->getElementType()), 1371 PointerType *PTy = cast<PointerType>(CurTy); local 1372 V = InlineAsm::get(cast<FunctionType>(PTy->getElementType()),
|