/external/llvm/include/llvm/ADT/ |
H A D | TinyPtrVector.h | 27 template <typename EltTy> 30 typedef llvm::SmallVector<EltTy, 4> VecTy; 33 llvm::PointerUnion<EltTy, VecTy*> Val; 55 if (Val.template is<EltTy>()) { 64 if (RHS.Val.template is<EltTy>()) { 75 RHS.Val = (EltTy)0; 89 if (RHS.Val.template is<EltTy>()) { 98 RHS.Val = (EltTy)0; 104 operator ArrayRef<EltTy>() const { 106 return ArrayRef<EltTy>(); [all...] |
/external/clang/lib/CodeGen/ |
H A D | CodeGenTypes.cpp | 403 llvm::Type *EltTy = ConvertType(cast<ComplexType>(Ty)->getElementType()); local 404 ResultType = llvm::StructType::get(EltTy, EltTy, NULL); 452 llvm::Type *EltTy = ConvertTypeForMem(A->getElementType()); local 456 if (!EltTy->isSized()) { 458 EltTy = llvm::Type::getInt8Ty(getLLVMContext()); 461 ResultType = llvm::ArrayType::get(EltTy, A->getSize().getZExtValue());
|
H A D | CGBuiltin.cpp | 2488 llvm::Type *EltTy = local 2491 llvm::VectorType::get(EltTy, VTy->getNumElements() * 2); 2503 llvm::Type *EltTy = llvm::IntegerType::get(getLLVMContext(), EltBits / 2); local 2505 llvm::VectorType::get(EltTy, VTy->getNumElements() * 2);
|
H A D | CGExprComplex.cpp | 356 llvm::Type *EltTy = local 358 llvm::Value *U = llvm::UndefValue::get(EltTy); 814 llvm::Type *EltTy = local 816 llvm::Value *U = llvm::UndefValue::get(EltTy);
|
H A D | CGCall.cpp | 545 llvm::Type *EltTy = ConvertType(CT->getElementType()); local 546 expandedTypes.push_back(EltTy); 547 expandedTypes.push_back(EltTy); 560 QualType EltTy = AT->getElementType(); local 563 LValue LV = MakeAddrLValue(EltAddr, EltTy); 564 AI = ExpandTypeFromArgs(EltTy, LV, AI); 602 QualType EltTy = CT->getElementType(); local 604 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(RealAddr, EltTy)); 606 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(ImagAddr, EltTy)); 2202 QualType EltTy local [all...] |
H A D | CodeGenFunction.h | 1434 QualType EltTy) { 1435 bool IsVolatile = hasVolatileMember(EltTy); 1436 EmitAggregateCopy(DestPtr, SrcPtr, EltTy, IsVolatile, CharUnits::Zero(), 1447 QualType EltTy, bool isVolatile=false, 1433 EmitAggregateAssign(llvm::Value *DestPtr, llvm::Value *SrcPtr, QualType EltTy) argument
|
H A D | CGDebugInfo.cpp | 705 llvm::DIType EltTy, DescTy; local 718 EltTy = DBuilder.createStructType(Unit, "__block_descriptor", 725 DescTy = DBuilder.createPointerType(EltTy, Size); 748 EltTy = DBuilder.createStructType(Unit, "__block_literal_generic", 752 BlockLiteralGeneric = DBuilder.createPointerType(EltTy, Size); 1746 QualType EltTy(Ty, 0); 1747 while ((Ty = dyn_cast<ArrayType>(EltTy))) { 1761 EltTy = Ty->getElementType(); 1767 DBuilder.createArrayType(Size, Align, getOrCreateType(EltTy, Unit),
|
/external/llvm/include/llvm/IR/ |
H A D | DerivedTypes.h | 377 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits); local 378 return VectorType::get(EltTy, VTy->getNumElements()); 387 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits * 2); local 388 return VectorType::get(EltTy, VTy->getNumElements()); 399 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits / 2); local 400 return VectorType::get(EltTy, VTy->getNumElements());
|
/external/llvm/lib/CodeGen/ |
H A D | Analysis.cpp | 55 Type *EltTy = ATy->getElementType(); local 58 return ComputeLinearIndex(EltTy, Indices+1, IndicesEnd, CurIndex); 59 CurIndex = ComputeLinearIndex(EltTy, 0, 0, CurIndex); 91 Type *EltTy = ATy->getElementType(); local 92 uint64_t EltSize = TLI.getDataLayout()->getTypeAllocSize(EltTy); 94 ComputeValueVTs(TLI, EltTy, ValueVTs, Offsets,
|
H A D | TargetLoweringBase.cpp | 785 MVT EltTy = VT.getVectorElementType(); local 798 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) { 805 MVT NewVT = MVT::getVectorVT(EltTy, NumElts); 807 NewVT = EltTy; 1077 EVT EltTy = VT.getVectorElementType(); local 1091 EVT::getVectorVT(Context, EltTy, NumElts))) { 1098 EVT NewVT = EVT::getVectorVT(Context, EltTy, NumElts); 1100 NewVT = EltTy;
|
/external/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 341 Type *EltTy = cast<SequentialType>(C->getType())->getElementType(); local 342 uint64_t EltSize = TD.getTypeAllocSize(EltTy);
|
H A D | ValueTracking.cpp | 318 Type *EltTy = cast<PointerType>(A->getType())->getElementType(); local 319 if (EltTy->isSized()) 320 Align = TD->getABITypeAlignment(EltTy);
|
/external/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 788 Type *EltTy = V1->getType()->getVectorElementType(); local 792 return UndefValue::get(VectorType::get(EltTy, MaskNumElts)); 804 Result.push_back(UndefValue::get(EltTy)); 809 InElt = UndefValue::get(EltTy);
|
H A D | Type.cpp | 734 PointerType *PointerType::get(Type *EltTy, unsigned AddressSpace) { argument 735 assert(EltTy && "Can't get a pointer to <null> type!"); 736 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); 738 LLVMContextImpl *CImpl = EltTy->getContext().pImpl; 741 PointerType *&Entry = AddressSpace == 0 ? CImpl->PointerTypes[EltTy] 742 : CImpl->ASPointerTypes[std::make_pair(EltTy, AddressSpace)]; 745 Entry = new (CImpl->TypeAllocator) PointerType(EltTy, AddressSpace);
|
H A D | Constants.cpp | 725 template <typename ItTy, typename EltTy> 726 static bool rangeOnlyContains(ItTy Start, ItTy End, EltTy Elt) { 1944 Type *EltTy = V1->getType()->getVectorElementType(); local 1945 Type *ShufTy = VectorType::get(EltTy, NElts);
|
/external/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 694 Type *EltTy = DstTy->getElementType(); local 697 if (EltTy != SrcTy->getElementType()) 715 ArrayType *NewType = ArrayType::get(EltTy, NewSize);
|
/external/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 1253 Type *EltTy = ATy->getElementType(); local 1255 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy)); 1258 Type *EltTy = VTy->getElementType(); local 1260 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy)); 1281 Type *EltTy = cast<SequentialType>(CurTy)->getElementType(); 1284 if (EltTy->isIntegerTy(8)) { 1290 } else if (EltTy->isIntegerTy(16)) { 1296 } else if (EltTy->isIntegerTy(32)) { 1302 } else if (EltTy->isIntegerTy(64)) { 1308 } else if (EltTy [all...] |
/external/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 1028 Type *EltTy = CDS->getType()->getElementType(); local 1029 if (isa<IntegerType>(EltTy)) { 1032 } else if (EltTy->isFloatTy()) { 1039 assert(EltTy->isDoubleTy() && "Unknown ConstantData element type");
|
/external/llvm/lib/TableGen/ |
H A D | Record.cpp | 599 RecTy *EltTy) { 601 ID.AddPointer(EltTy); 610 ListInit *ListInit::get(ArrayRef<Init *> Range, RecTy *EltTy) { argument 617 ProfileListInit(ID, Range, EltTy); 623 ListInit *I = new ListInit(Range, EltTy); 631 RecTy *EltTy = ListType->getElementType(); local 633 ProfileListInit(ID, Values, EltTy); 597 ProfileListInit(FoldingSetNodeID &ID, ArrayRef<Init *> Range, RecTy *EltTy) argument
|
H A D | TGParser.cpp | 1314 RecTy *EltTy = 0; local 1323 if (EltTy != 0) { 1324 EltTy = resolveTypes(EltTy, TArg->getType()); 1325 if (EltTy == 0) { 1330 EltTy = TArg->getType(); 1335 if (EltTy != 0) { 1337 if (!EltTy->typeIsConvertibleTo(GivenEltTy)) { 1342 EltTy = GivenEltTy; 1345 if (EltTy 1598 ParseValueList(Record *CurRec, Record *ArgsRec, RecTy *EltTy) argument [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 982 Type *EltTy = VTy->getElementType(); local 985 Constant *VSh = ConstantInt::get(VTy, EltTy->getScalarSizeInBits()-1);
|
H A D | InstCombineCompares.cpp | 254 Type *EltTy = Init->getType()->getArrayElementType(); local 262 if (StructType *STy = dyn_cast<StructType>(EltTy)) 263 EltTy = STy->getElementType(IdxVal); 264 else if (ArrayType *ATy = dyn_cast<ArrayType>(EltTy)) { 266 EltTy = ATy->getElementType();
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 914 Type *EltTy = VTy->getElementType(); 915 if (SV->getType() != EltTy) 916 SV = Builder.CreateBitCast(SV, EltTy); 917 uint64_t EltSize = TD.getTypeAllocSizeInBits(EltTy); 1747 /// return true with NumElts and EltTy set to the number of elements and the 1750 Type *&EltTy) { 1753 EltTy = (NumElts == 0 ? 0 : AT->getElementType()); 1758 EltTy = (NumElts == 0 ? 0 : ST->getContainedType(0)); 1760 if (ST->getContainedType(n) != EltTy) 1832 Type *EltTy; local 1749 isHomogeneousAggregate(Type *T, unsigned &NumElts, Type *&EltTy) argument 2231 Type *EltTy = cast<SequentialType>(OtherTy)->getElementType(); local 2244 Type *EltTy = cast<PointerType>(EltPtr->getType())->getElementType(); local [all...] |
/external/clang/lib/AST/ |
H A D | ExprConstant.cpp | 249 void addComplexUnchecked(QualType EltTy, bool Imag) { argument 256 MostDerivedType = EltTy; 857 void addComplex(EvalInfo &Info, const Expr *E, QualType EltTy, bool Imag) { argument 859 Designator.addComplexUnchecked(EltTy, Imag); 1213 QualType EltTy = Type->castAsArrayTypeUnsafe()->getElementType(); local 1215 if (!CheckConstantExpression(Info, DiagLoc, EltTy, 1221 return CheckConstantExpression(Info, DiagLoc, EltTy, 1426 QualType EltTy = VecTy->castAs<VectorType>()->getElementType(); local 1427 unsigned EltSize = Info.Ctx.getTypeSize(EltTy); 1741 /// \param EltTy 1743 HandleLValueArrayAdjustment(EvalInfo &Info, const Expr *E, LValue &LVal, QualType EltTy, int64_t Adjustment) argument 1761 HandleLValueComplexElement(EvalInfo &Info, const Expr *E, LValue &LVal, QualType EltTy, bool Imag) argument [all...] |
/external/llvm/include/llvm/TableGen/ |
H A D | Record.h | 786 explicit ListInit(ArrayRef<Init *> Range, RecTy *EltTy) argument 787 : TypedInit(IK_ListInit, ListRecTy::get(EltTy)), 797 static ListInit *get(ArrayRef<Init *> Range, RecTy *EltTy);
|