/external/llvm/include/llvm/ADT/ |
H A D | TinyPtrVector.h | 24 template <typename EltTy> 27 typedef llvm::SmallVector<EltTy, 4> VecTy; 28 llvm::PointerUnion<EltTy, VecTy*> Val; 41 operator ArrayRef<EltTy>() const { 43 return ArrayRef<EltTy>(); 44 if (Val.template is<EltTy>()) 61 if (Val.template is<EltTy>()) 66 typedef const EltTy *const_iterator; 67 typedef EltTy *iterator; 73 if (Val.template is<EltTy>()) [all...] |
/external/llvm/lib/CodeGen/ |
H A D | Analysis.cpp | 57 Type *EltTy = ATy->getElementType(); local 60 return ComputeLinearIndex(EltTy, Indices+1, IndicesEnd, CurIndex); 61 CurIndex = ComputeLinearIndex(EltTy, 0, 0, CurIndex); 93 Type *EltTy = ATy->getElementType(); local 94 uint64_t EltSize = TLI.getTargetData()->getTypeAllocSize(EltTy); 96 ComputeValueVTs(TLI, EltTy, ValueVTs, Offsets,
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenTypes.cpp | 380 llvm::Type *EltTy = ConvertType(cast<ComplexType>(Ty)->getElementType()); local 381 ResultType = llvm::StructType::get(EltTy, EltTy, NULL); 429 llvm::Type *EltTy = ConvertTypeForMem(A->getElementType()); local 433 if (!EltTy->isSized()) { 435 EltTy = llvm::Type::getInt8Ty(getLLVMContext()); 438 ResultType = llvm::ArrayType::get(EltTy, A->getSize().getZExtValue());
|
H A D | CGExprComplex.cpp | 328 llvm::Type *EltTy = local 330 llvm::Value *U = llvm::UndefValue::get(EltTy); 768 llvm::Type *EltTy = local 770 llvm::Value *U = llvm::UndefValue::get(EltTy);
|
H A D | CGBuiltin.cpp | 1894 llvm::Type *EltTy = local 1897 llvm::VectorType::get(EltTy, VTy->getNumElements() * 2); 1909 llvm::Type *EltTy = llvm::IntegerType::get(getLLVMContext(), EltBits / 2); local 1911 llvm::VectorType::get(EltTy, VTy->getNumElements() * 2);
|
H A D | CGCall.cpp | 455 llvm::Type *EltTy = ConvertType(CT->getElementType()); local 456 expandedTypes.push_back(EltTy); 457 expandedTypes.push_back(EltTy); 470 QualType EltTy = AT->getElementType(); local 473 LValue LV = MakeAddrLValue(EltAddr, EltTy); 474 AI = ExpandTypeFromArgs(EltTy, LV, AI); 512 QualType EltTy = CT->getElementType(); local 514 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(RealAddr, EltTy)); 516 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(ImagAddr, EltTy)); 1792 QualType EltTy local [all...] |
H A D | CGDebugInfo.cpp | 605 llvm::DIType EltTy, DescTy; local 618 EltTy = DBuilder.createStructType(Unit, "__block_descriptor", 625 DescTy = DBuilder.createPointerType(EltTy, Size); 648 EltTy = DBuilder.createStructType(Unit, "__block_literal_generic", 653 BlockLiteralGeneric = DBuilder.createPointerType(EltTy, Size); 1481 QualType EltTy(Ty, 0); 1483 EltTy = Ty->getElementType(); 1485 while ((Ty = dyn_cast<ArrayType>(EltTy))) { 1499 EltTy = Ty->getElementType(); 1506 DBuilder.createArrayType(Size, Align, getOrCreateType(EltTy, Uni [all...] |
/external/llvm/include/llvm/ |
H A D | DerivedTypes.h | 382 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits); local 383 return VectorType::get(EltTy, VTy->getNumElements()); 392 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits * 2); local 393 return VectorType::get(EltTy, VTy->getNumElements()); 404 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits / 2); local 405 return VectorType::get(EltTy, VTy->getNumElements());
|
/external/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 352 Type *EltTy = cast<SequentialType>(C->getType())->getElementType(); local 353 uint64_t EltSize = TD.getTypeAllocSize(EltTy);
|
/external/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 659 Type *EltTy = DstTy->getElementType(); local 662 if (EltTy != SrcTy->getElementType()) 680 ArrayType *NewType = ArrayType::get(EltTy, NewSize);
|
/external/llvm/lib/Transforms/Utils/ |
H A D | PromoteMemoryToRegister.cpp | 62 typedef std::pair<BasicBlock*, unsigned> EltTy; typedef in struct:llvm::DenseMapInfo 63 static inline EltTy getEmptyKey() { 64 return EltTy(reinterpret_cast<BasicBlock*>(-1), ~0U); 66 static inline EltTy getTombstoneKey() { 67 return EltTy(reinterpret_cast<BasicBlock*>(-2), 0U); 73 static bool isEqual(const EltTy &LHS, const EltTy &RHS) {
|
/external/llvm/lib/VMCore/ |
H A D | ConstantFold.cpp | 782 Type *EltTy = V1->getType()->getVectorElementType(); local 786 return UndefValue::get(VectorType::get(EltTy, MaskNumElts)); 798 Result.push_back(UndefValue::get(EltTy)); 803 InElt = UndefValue::get(EltTy);
|
H A D | Type.cpp | 746 PointerType *PointerType::get(Type *EltTy, unsigned AddressSpace) { argument 747 assert(EltTy && "Can't get a pointer to <null> type!"); 748 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); 750 LLVMContextImpl *CImpl = EltTy->getContext().pImpl; 753 PointerType *&Entry = AddressSpace == 0 ? CImpl->PointerTypes[EltTy] 754 : CImpl->ASPointerTypes[std::make_pair(EltTy, AddressSpace)]; 757 Entry = new (CImpl->TypeAllocator) PointerType(EltTy, AddressSpace);
|
H A D | Constants.cpp | 668 template <typename ItTy, typename EltTy> 669 static bool rangeOnlyContains(ItTy Start, ItTy End, EltTy Elt) { 1862 Type *EltTy = V1->getType()->getVectorElementType(); local 1863 Type *ShufTy = VectorType::get(EltTy, NElts);
|
H A D | Verifier.cpp | 1792 Type *EltTy = Ty; local 1795 EltTy = VTy->getElementType(); 1817 IntegerType *IEltTy = dyn_cast<IntegerType>(EltTy); 1854 if (!EltTy->isIntegerTy()) { 1860 unsigned GotBits = cast<IntegerType>(EltTy)->getBitWidth(); 1863 if (EltTy != Ty) 1879 if (!EltTy->isFloatingPointTy()) { 1887 if (EltTy != Ty) 1890 Suffix += EVT::getEVT(EltTy).getEVTString(); 1897 Suffix += ".v" + utostr(NumElts) + EVT::getEVT(EltTy) [all...] |
/external/llvm/include/llvm/TableGen/ |
H A D | Record.h | 738 explicit ListInit(ArrayRef<Init *> Range, RecTy *EltTy) argument 739 : TypedInit(ListRecTy::get(EltTy)), Values(Range.begin(), Range.end()) {} 745 static ListInit *get(ArrayRef<Init *> Range, RecTy *EltTy);
|
/external/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 1082 Type *EltTy = ATy->getElementType(); local 1084 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy)); 1087 Type *EltTy = VTy->getElementType(); local 1089 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy)); 1113 Type *EltTy = cast<SequentialType>(CurTy)->getElementType(); 1116 if (EltTy->isIntegerTy(8)) { 1122 } else if (EltTy->isIntegerTy(16)) { 1128 } else if (EltTy->isIntegerTy(32)) { 1134 } else if (EltTy->isIntegerTy(64)) { 1140 } else if (EltTy [all...] |
/external/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 878 Type *EltTy = CDS->getType()->getElementType(); local 879 if (isa<IntegerType>(EltTy)) { 882 } else if (EltTy->isFloatTy()) { 889 assert(EltTy->isDoubleTy() && "Unknown ConstantData element type");
|
/external/llvm/lib/TableGen/ |
H A D | Record.cpp | 586 RecTy *EltTy) { 588 ID.AddPointer(EltTy); 597 ListInit *ListInit::get(ArrayRef<Init *> Range, RecTy *EltTy) { argument 604 ProfileListInit(ID, Range, EltTy); 610 ListInit *I = new ListInit(Range, EltTy); 618 RecTy *EltTy = ListType->getElementType(); local 620 ProfileListInit(ID, Values, EltTy); 584 ProfileListInit(FoldingSetNodeID &ID, ArrayRef<Init *> Range, RecTy *EltTy) argument
|
H A D | TGParser.cpp | 1351 RecTy *EltTy = 0; local 1360 if (EltTy != 0) { 1361 EltTy = resolveTypes(EltTy, TArg->getType()); 1362 if (EltTy == 0) { 1367 EltTy = TArg->getType(); 1372 if (EltTy != 0) { 1374 if (!EltTy->typeIsConvertibleTo(GivenEltTy)) { 1379 EltTy = GivenEltTy; 1382 if (EltTy 1624 ParseValueList(Record *CurRec, Record *ArgsRec, RecTy *EltTy) argument [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 965 Type *EltTy = VTy->getElementType(); local 968 Constant *VSh = ConstantInt::get(VTy, EltTy->getScalarSizeInBits()-1);
|
H A D | InstCombineCompares.cpp | 228 Type *EltTy = Init->getType()->getArrayElementType(); local 236 if (StructType *STy = dyn_cast<StructType>(EltTy)) 237 EltTy = STy->getElementType(IdxVal); 238 else if (ArrayType *ATy = dyn_cast<ArrayType>(EltTy)) { 240 EltTy = ATy->getElementType();
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 812 Type *EltTy = VTy->getElementType(); 813 if (SV->getType() != EltTy) 814 SV = Builder.CreateBitCast(SV, EltTy); 815 uint64_t EltSize = TD.getTypeAllocSizeInBits(EltTy); 1645 /// return true with NumElts and EltTy set to the number of elements and the 1648 Type *&EltTy) { 1651 EltTy = (NumElts == 0 ? 0 : AT->getElementType()); 1656 EltTy = (NumElts == 0 ? 0 : ST->getContainedType(0)); 1658 if (ST->getContainedType(n) != EltTy) 1730 Type *EltTy; local 1647 isHomogeneousAggregate(Type *T, unsigned &NumElts, Type *&EltTy) argument 2097 Type *EltTy = cast<SequentialType>(OtherTy)->getElementType(); local 2110 Type *EltTy = cast<PointerType>(EltPtr->getType())->getElementType(); local [all...] |
/external/clang/lib/Sema/ |
H A D | SemaType.cpp | 928 QualType EltTy; local 930 EltTy = Result; 932 EltTy = Result->isPointerType() ? 938 if (!EltTy->isIncompleteOrObjectType()) { 941 << EltTy << DS.getSourceRange(); 1278 if (const RecordType *EltTy = T->getAs<RecordType>()) { 1281 if (EltTy->getDecl()->hasFlexibleArrayMember())
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 659 MVT EltTy = VT.getVectorElementType(); local 672 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) { 679 MVT NewVT = MVT::getVectorVT(EltTy, NumElts); 681 NewVT = EltTy; 955 EVT EltTy = VT.getVectorElementType(); local 969 EVT::getVectorVT(Context, EltTy, NumElts))) { 976 EVT NewVT = EVT::getVectorVT(Context, EltTy, NumElts); 978 NewVT = EltTy;
|