/external/llvm/runtime/libprofile/ |
H A D | CommonProfiling.c | 113 int PTy = ArgumentInfo; local 115 if (write(OutFile, &PTy, sizeof(int)) < 0 || 140 int PTy; local 144 PTy = PT; 145 if( write(outFile, &PTy, sizeof(int)) < 0 ||
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenTypes.cpp | 394 const PointerType *PTy = cast<PointerType>(Ty); local 395 QualType ETy = PTy->getPointeeType();
|
H A D | TargetInfo.cpp | 948 llvm::Type *PTy = local 950 llvm::Value *AddrTyped = Builder.CreateBitCast(Addr, PTy); 2508 llvm::Type *PTy = 2510 llvm::Value *AddrTyped = Builder.CreateBitCast(Addr, PTy); 3052 llvm::Type *PTy = 3054 llvm::Value *AddrTyped = Builder.CreateBitCast(Addr, PTy); 3587 llvm::Type *PTy = llvm::PointerType::getUnqual(CGF.ConvertType(Ty)); 3598 AddrTyped = CGF.Builder.CreateIntToPtr(And, PTy); 3601 AddrTyped = Builder.CreateBitCast(Addr, PTy); 3831 llvm::Type *PTy [all...] |
H A D | CGBuiltin.cpp | 1368 llvm::Type *PTy = FTy->getParamType(i); local 1369 if (PTy != ArgValue->getType()) { 1370 assert(PTy->canLosslesslyBitCastTo(FTy->getParamType(i)) && 1372 ArgValue = Builder.CreateBitCast(ArgValue, PTy);
|
H A D | CodeGenModule.cpp | 1135 llvm::Type *PTy = llvm::PointerType::getUnqual(Ty); local 1136 return llvm::ConstantExpr::getBitCast(F, PTy); 1313 llvm::PointerType *PTy = local 1317 return GetOrCreateLLVMGlobal(MangledName, PTy, D); 2156 llvm::Type *PTy = llvm::PointerType::getUnqual(Ty); local 2158 llvm::ConstantExpr::getBitCast(GV, PTy); 2163 llvm::Type *PTy = llvm::ArrayType::get(Ty, 0); local 2164 GV = CreateRuntimeVariable(PTy, str);
|
H A D | CGExpr.cpp | 1189 llvm::Type *PTy = llvm::Type::getIntNPtrTy(getLLVMContext(), AI.AccessWidth, local 1191 Ptr = Builder.CreateBitCast(Ptr, PTy); 1419 llvm::Type *PTy = AccessLTy->getPointerTo(addressSpace); local 1420 Ptr = Builder.CreateBitCast(Ptr, PTy); 2605 const PointerType *PTy = BaseExpr->getType()->getAs<PointerType>(); local 2606 BaseQuals = PTy->getPointeeType().getQualifiers();
|
H A D | CGObjC.cpp | 1372 const ObjCObjectPointerType *PTy = cast<ObjCObjectPointerType>( local 1374 return PTy->getPointeeType();
|
/external/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 749 PointerType *PTy = dyn_cast<PointerType>(Ty); local 750 if (PTy == 0) { 778 if (FunctionType *FT = dyn_cast<FunctionType>(PTy->getElementType())) 781 FwdVal = new GlobalVariable(*M, PTy->getElementType(), false, 789 PointerType *PTy = dyn_cast<PointerType>(Ty); local 790 if (PTy == 0) { 816 if (FunctionType *FT = dyn_cast<FunctionType>(PTy->getElementType())) 819 FwdVal = new GlobalVariable(*M, PTy->getElementType(), false, 2495 PointerType *PTy = dyn_cast<PointerType>(Ty); 2497 PTy [all...] |
/external/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 806 PointerType *PTy = cast<PointerType>(CS.getArgument(I)->getType()); local 807 unsigned TypeSize = TD->getTypeSizeInBits(PTy->getElementType());
|
H A D | LazyValueInfo.cpp | 611 PointerType *PTy = cast<PointerType>(Val->getType()); local 612 Result = LVILatticeVal::getNot(ConstantPointerNull::get(PTy)); 639 PointerType *PTy = cast<PointerType>(Val->getType()); local 640 Result = LVILatticeVal::getNot(ConstantPointerNull::get(PTy));
|
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...] |
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelLowering.cpp | 398 const PointerType *PTy = dyn_cast<PointerType>(Ty); local 399 assert(PTy && 401 Type *ETy = PTy->getElementType(); 510 const PointerType *PTy = dyn_cast<PointerType>(Args[i].Ty); local 511 assert(PTy && 513 ComputeValueVTs(*this, PTy->getElementType(), vtparts); 894 const PointerType *PTy = dyn_cast<PointerType>(Ty); local 896 if (!PTy) 902 const StructType *STy = dyn_cast<StructType>(PTy->getElementType());
|
H A D | NVPTXAsmPrinter.cpp | 1029 const PointerType *PTy = GVar->getType(); local 1030 Type *ETy = PTy->getElementType(); 1127 emitPTXAddressSpace(PTy->getAddressSpace(), O); 1142 if (((PTy->getAddressSpace() == llvm::ADDRESS_SPACE_GLOBAL) || 1143 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST_NOT_GEN) || 1144 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST)) 1166 if (((PTy->getAddressSpace() == llvm::ADDRESS_SPACE_GLOBAL) || 1167 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST_NOT_GEN) || 1168 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST)) 1302 const PointerType *PTy local 1461 const PointerType *PTy = dyn_cast<PointerType>(Ty); local 1517 const PointerType *PTy = dyn_cast<PointerType>(Ty); local [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 942 PointerType *PTy = cast<PointerType>(Callee->getType()); 943 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); 1156 Type *PTy = getPromotedType((*AI)->getType()); local 1157 if (PTy != (*AI)->getType()) { 1160 CastInst::getCastOpcode(*AI, false, PTy, false); 1161 Args.push_back(Builder->CreateCast(opcode, *AI, PTy)); 1237 PointerType *PTy = cast<PointerType>(Callee->getType()); local 1238 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); 1377 NestF->getType() == PTy ? NestF : 1378 ConstantExpr::getBitCast(NestF, PTy); [all...] |
/external/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 1266 PointerType *PTy = cast<PointerType>(CurTy); local 1267 V = InlineAsm::get(cast<FunctionType>(PTy->getElementType()), 1290 PointerType *PTy = cast<PointerType>(CurTy); local 1291 V = InlineAsm::get(cast<FunctionType>(PTy->getElementType()),
|
/external/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 277 PointerType *PTy = cast<PointerType>(T); local 280 TypeVals.push_back(VE.getTypeID(PTy->getElementType())); 281 unsigned AddressSpace = PTy->getAddressSpace(); 1225 PointerType *PTy = cast<PointerType>(Callee->getType()); local 1226 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); 1351 PointerType *PTy = cast<PointerType>(CI.getCalledValue()->getType()); local 1352 FunctionType *FTy = cast<FunctionType>(PTy->getElementType());
|
/external/llvm/lib/VMCore/ |
H A D | AsmWriter.cpp | 244 PointerType *PTy = cast<PointerType>(Ty); local 245 print(PTy->getElementType(), OS); 246 if (unsigned AddressSpace = PTy->getAddressSpace()) 259 VectorType *PTy = cast<VectorType>(Ty); local 260 OS << "<" << PTy->getNumElements() << " x "; 261 print(PTy->getElementType(), OS); 1851 PointerType *PTy = cast<PointerType>(Operand->getType()); local 1852 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); 1884 PointerType *PTy = cast<PointerType>(Operand->getType()); local 1885 FunctionType *FTy = cast<FunctionType>(PTy [all...] |
H A D | Verifier.cpp | 554 if (PointerType *PTy = dyn_cast<PointerType>(Ty)) { 555 Assert1(!ByValI || PTy->getElementType()->isSized(), 1371 PointerType *PTy = dyn_cast<PointerType>(LI.getOperand(0)->getType()); local 1372 Assert1(PTy, "Load operand must be a pointer.", &LI); 1373 Type *ElTy = PTy->getElementType(); 1445 PointerType *PTy = dyn_cast<PointerType>(SI.getOperand(1)->getType()); local 1446 Assert1(PTy, "Store operand must be a pointer.", &SI); 1447 Type *ElTy = PTy->getElementType(); 1473 PointerType *PTy = AI.getType(); local 1474 Assert1(PTy 1489 PointerType *PTy = dyn_cast<PointerType>(CXI.getOperand(0)->getType()); local 1513 PointerType *PTy = dyn_cast<PointerType>(RMWI.getOperand(0)->getType()); local [all...] |
H A D | Instructions.cpp | 1341 PointerType *PTy = dyn_cast<PointerType>( local 1343 assert(PTy && "Gep with invalid vector pointer found"); 1344 return PTy->getElementType(); 1347 PointerType *PTy = dyn_cast<PointerType>(Ptr); local 1348 if (!PTy) return 0; // Type isn't a pointer type! 1349 Type *Agg = PTy->getElementType(); 1390 if (PointerType *PTy = dyn_cast<PointerType>(Ty)) 1391 return PTy->getAddressSpace();
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 1643 EVT PTy = TLI.getPointerTy(); local 1645 JT.Reg, PTy); 1646 SDValue Table = DAG.getJumpTable(JT.JTI, PTy); 2332 EVT PTy = TLI.getPointerTy(); local 2333 unsigned IntPtrBits = PTy.getSizeInBits(); 3135 EVT PTy = TLI.getPointerTy(); local 3136 unsigned PtrBits = PTy.getSizeInBits(); 3614 if (VectorType *PTy = dyn_cast<VectorType>(I.getType())) { 3615 EVT VT = TLI.getValueType(PTy);
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 3104 EVT PTy = getPointerTy(); local 3107 SDValue UId = DAG.getConstant(AFI->createJumpTableUId(), PTy); 3108 SDValue JTI = DAG.getTargetJumpTable(JT->getIndex(), PTy); 3110 Index = DAG.getNode(ISD::MUL, dl, PTy, Index, DAG.getConstant(4, PTy)); 3111 SDValue Addr = DAG.getNode(ISD::ADD, dl, PTy, Index, Table); 3125 Addr = DAG.getNode(ISD::ADD, dl, PTy, Addr, Table); 3128 Addr = DAG.getLoad(PTy, dl, Chain, Addr,
|
/external/clang/lib/Sema/ |
H A D | SemaExpr.cpp | 553 QualType PTy = Context.isPromotableBitField(E); local 554 if (!PTy.isNull()) { 555 E = ImpCastExprToType(E, PTy, CK_IntegralCast).take(); 3293 } else if (const PointerType *PTy = LHSTy->getAs<PointerType>()) { 3296 ResultType = PTy->getPointeeType(); 3297 } else if (const ObjCObjectPointerType *PTy = 3307 ResultType = PTy->getPointeeType(); 3313 } else if (const PointerType *PTy = RHSTy->getAs<PointerType>()) { 3317 ResultType = PTy->getPointeeType(); 3318 } else if (const ObjCObjectPointerType *PTy [all...] |
H A D | SemaOverload.cpp | 6119 const ObjCObjectPointerType *PTy = Ty->castAs<ObjCObjectPointerType>(); local 6120 PointeeTy = PTy->getPointeeType(); 8110 if (const PointerType *PTy = TempFromTy->getAs<PointerType>()) 8111 TempFromTy = PTy->getPointeeType();
|