Searched defs:EltTy (Results 1 - 25 of 32) sorted by relevance

12

/external/llvm/include/llvm/ADT/
H A DTinyPtrVector.h24 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 DAnalysis.cpp57 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 DCodeGenTypes.cpp380 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 DCGExprComplex.cpp328 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 DCGBuiltin.cpp1894 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 DCGCall.cpp455 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 DCGDebugInfo.cpp605 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 DDerivedTypes.h382 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 DConstantFolding.cpp352 Type *EltTy = cast<SequentialType>(C->getType())->getElementType(); local
353 uint64_t EltSize = TD.getTypeAllocSize(EltTy);
/external/llvm/lib/Linker/
H A DLinkModules.cpp659 Type *EltTy = DstTy->getElementType(); local
662 if (EltTy != SrcTy->getElementType())
680 ArrayType *NewType = ArrayType::get(EltTy, NewSize);
/external/llvm/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp62 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 DConstantFold.cpp782 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 DType.cpp746 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 DConstants.cpp668 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 DVerifier.cpp1792 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 DRecord.h738 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 DBitcodeReader.cpp1082 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 DBitcodeWriter.cpp878 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 DRecord.cpp586 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 DTGParser.cpp1351 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 DInstCombineCasts.cpp965 Type *EltTy = VTy->getElementType(); local
968 Constant *VSh = ConstantInt::get(VTy, EltTy->getScalarSizeInBits()-1);
H A DInstCombineCompares.cpp228 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 DScalarReplAggregates.cpp812 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 DSemaType.cpp928 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 DTargetLowering.cpp659 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;

Completed in 253 milliseconds

12