/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/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/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 | CGCall.cpp | 505 llvm::Type *EltTy = ConvertType(CT->getElementType()); local 506 expandedTypes.push_back(EltTy); 507 expandedTypes.push_back(EltTy); 520 QualType EltTy = AT->getElementType(); local 523 LValue LV = MakeAddrLValue(EltAddr, EltTy); 524 AI = ExpandTypeFromArgs(EltTy, LV, AI); 562 QualType EltTy = CT->getElementType(); local 564 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(RealAddr, EltTy)); 566 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(ImagAddr, EltTy)); 1850 QualType EltTy local [all...] |
H A D | CGExprComplex.cpp | 328 llvm::Type *EltTy = local 330 llvm::Value *U = llvm::UndefValue::get(EltTy); 769 llvm::Type *EltTy = local 771 llvm::Value *U = llvm::UndefValue::get(EltTy);
|
H A D | TargetInfo.cpp | 1692 llvm::Type *EltTy = VT->getElementType(); 1695 (EltTy->isFloatTy() || EltTy->isDoubleTy() || 1696 EltTy->isIntegerTy(8) || EltTy->isIntegerTy(16) || 1697 EltTy->isIntegerTy(32) || EltTy->isIntegerTy(64) || 1698 EltTy->isIntegerTy(128))) 1810 llvm::Type *EltTy = ATy->getElementType(); 1811 unsigned EltSize = TD.getTypeAllocSize(EltTy); [all...] |
H A D | CGDebugInfo.cpp | 626 llvm::DIType EltTy, DescTy; local 639 EltTy = DBuilder.createStructType(Unit, "__block_descriptor", 646 DescTy = DBuilder.createPointerType(EltTy, Size); 669 EltTy = DBuilder.createStructType(Unit, "__block_literal_generic", 674 BlockLiteralGeneric = DBuilder.createPointerType(EltTy, Size); 1506 QualType EltTy(Ty, 0); 1507 while ((Ty = dyn_cast<ArrayType>(EltTy))) { 1521 EltTy = Ty->getElementType(); 1527 DBuilder.createArrayType(Size, Align, getOrCreateType(EltTy, Unit),
|
/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); 1756 /// return true with NumElts and EltTy set to the number of elements and the 1759 Type *&EltTy) { 1762 EltTy = (NumElts == 0 ? 0 : AT->getElementType()); 1767 EltTy = (NumElts == 0 ? 0 : ST->getContainedType(0)); 1769 if (ST->getContainedType(n) != EltTy) 1841 Type *EltTy; local 1758 isHomogeneousAggregate(Type *T, unsigned &NumElts, Type *&EltTy) argument 2239 Type *EltTy = cast<SequentialType>(OtherTy)->getElementType(); local 2252 Type *EltTy = cast<PointerType>(EltPtr->getType())->getElementType(); local [all...] |
/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 | Type.cpp | 756 PointerType *PointerType::get(Type *EltTy, unsigned AddressSpace) { argument 757 assert(EltTy && "Can't get a pointer to <null> type!"); 758 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); 760 LLVMContextImpl *CImpl = EltTy->getContext().pImpl; 763 PointerType *&Entry = AddressSpace == 0 ? CImpl->PointerTypes[EltTy] 764 : CImpl->ASPointerTypes[std::make_pair(EltTy, AddressSpace)]; 767 Entry = new (CImpl->TypeAllocator) PointerType(EltTy, AddressSpace);
|
/external/llvm/lib/TableGen/ |
H A D | TGParser.cpp | 1315 RecTy *EltTy = 0; local 1324 if (EltTy != 0) { 1325 EltTy = resolveTypes(EltTy, TArg->getType()); 1326 if (EltTy == 0) { 1331 EltTy = TArg->getType(); 1336 if (EltTy != 0) { 1338 if (!EltTy->typeIsConvertibleTo(GivenEltTy)) { 1343 EltTy = GivenEltTy; 1346 if (EltTy 1588 ParseValueList(Record *CurRec, Record *ArgsRec, RecTy *EltTy) argument [all...] |
H A D | TGParser.h | 173 std::vector<Init*> ParseValueList(Record *CurRec, Record *ArgsRec = 0, RecTy *EltTy = 0);
|
H A D | Record.cpp | 576 RecTy *EltTy) { 578 ID.AddPointer(EltTy); 587 ListInit *ListInit::get(ArrayRef<Init *> Range, RecTy *EltTy) { argument 594 ProfileListInit(ID, Range, EltTy); 600 ListInit *I = new ListInit(Range, EltTy); 608 RecTy *EltTy = ListType->getElementType(); local 610 ProfileListInit(ID, Values, EltTy); 574 ProfileListInit(FoldingSetNodeID &ID, ArrayRef<Init *> Range, RecTy *EltTy) argument
|
/external/llvm/include/llvm/CodeGen/ |
H A D | ValueTypes.h | 496 MVT EltTy = getSimpleVT().getVectorElementType(); 497 unsigned BitWidth = EltTy.getSizeInBits();
|
/external/clang/lib/AST/ |
H A D | ExprConstant.cpp | 230 void addComplexUnchecked(QualType EltTy, bool Imag) { argument 237 MostDerivedType = EltTy; 755 void addComplex(EvalInfo &Info, const Expr *E, QualType EltTy, bool Imag) { argument 757 Designator.addComplexUnchecked(EltTy, Imag); 1045 QualType EltTy = Type->castAsArrayTypeUnsafe()->getElementType(); local 1047 if (!CheckConstantExpression(Info, DiagLoc, EltTy, 1053 return CheckConstantExpression(Info, DiagLoc, EltTy, 1234 QualType EltTy = VecTy->castAs<VectorType>()->getElementType(); local 1235 unsigned EltSize = Info.Ctx.getTypeSize(EltTy); 1387 /// \param EltTy 1389 HandleLValueArrayAdjustment(EvalInfo &Info, const Expr *E, LValue &LVal, QualType EltTy, int64_t Adjustment) argument 1407 HandleLValueComplexElement(EvalInfo &Info, const Expr *E, LValue &LVal, QualType EltTy, bool Imag) argument 3675 QualType EltTy = VT->getElementType(); local 3721 QualType EltTy = VT->getElementType(); local [all...] |
H A D | ASTContext.cpp | 2035 QualType ASTContext::getConstantArrayType(QualType EltTy, argument 2039 assert((EltTy->isDependentType() || 2040 EltTy->isIncompleteType() || EltTy->isConstantSizeType()) && 2047 ArySize.zextOrTrunc(Target->getPointerWidth(getTargetAddressSpace(EltTy))); 2050 ConstantArrayType::Profile(ID, EltTy, ArySize, ASM, IndexTypeQuals); 2060 if (!EltTy.isCanonical() || EltTy.hasLocalQualifiers()) { 2061 SplitQualType canonSplit = getCanonicalType(EltTy).split(); 2073 ConstantArrayType(EltTy, Cano 2213 getVariableArrayType(QualType EltTy, Expr *NumElts, ArrayType::ArraySizeModifier ASM, unsigned IndexTypeQuals, SourceRange Brackets) const argument [all...] |
/external/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 9371 QualType EltTy = Context.getBaseElementType(T); local 9372 if (!EltTy->isDependentType()) { 9373 if (RequireCompleteType(Loc, EltTy, diag::err_field_incomplete)) { 9379 EltTy->isIncompleteType(&Def); 9458 if (const RecordType *RT = EltTy->getAs<RecordType>()) { 9473 if (EltTy->isReferenceType()) { 9475 << NewFD->getDeclName() << EltTy; 9506 QualType EltTy = Context.getBaseElementType(FD->getType()); 9507 if (const RecordType *RT = EltTy->getAs<RecordType>()) { 9698 QualType EltTy local 10323 QualType EltTy; local [all...] |
H A D | SemaType.cpp | 931 QualType EltTy; local 933 EltTy = Result; 935 EltTy = Result->isPointerType() ? 941 if (!EltTy->isIncompleteOrObjectType()) { 944 << EltTy << DS.getSourceRange(); 1295 if (const RecordType *EltTy = T->getAs<RecordType>()) { 1298 if (EltTy->getDecl()->hasFlexibleArrayMember())
|
/external/clang/include/clang/AST/ |
H A D | ASTContext.h | 861 QualType getVariableArrayType(QualType EltTy, Expr *NumElts, 871 QualType getDependentSizedArrayType(QualType EltTy, Expr *NumElts, 878 QualType getIncompleteArrayType(QualType EltTy, 884 QualType getConstantArrayType(QualType EltTy, const llvm::APInt &ArySize,
|
/external/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 1047 Type *EltTy = ATy->getElementType(); local 1049 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy)); 1052 Type *EltTy = VTy->getElementType(); local 1054 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy)); 1075 Type *EltTy = cast<SequentialType>(CurTy)->getElementType(); 1078 if (EltTy->isIntegerTy(8)) { 1084 } else if (EltTy->isIntegerTy(16)) { 1090 } else if (EltTy->isIntegerTy(32)) { 1096 } else if (EltTy->isIntegerTy(64)) { 1102 } else if (EltTy [all...] |
/external/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 1639 Type *EltTy = 0; 1640 if (ParseType(EltTy)) return true; 1651 if (!VectorType::isValidElementType(EltTy)) 1654 Result = VectorType::get(EltTy, unsigned(Size)); 1656 if (!ArrayType::isValidElementType(EltTy)) 1658 Result = ArrayType::get(EltTy, Size); 3441 Type *EltTy = 0; 3445 ParseType(EltTy, TypeLoc)) 3448 if (!EltTy->isFirstClassType()) 3451 Inst = new VAArgInst(Op, EltTy); [all...] |
/external/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 661 Type *EltTy = DstTy->getElementType(); local 664 if (EltTy != SrcTy->getElementType()) 682 ArrayType *NewType = ArrayType::get(EltTy, NewSize);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 654 MVT EltTy = VT.getVectorElementType(); local 667 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) { 674 MVT NewVT = MVT::getVectorVT(EltTy, NumElts); 676 NewVT = EltTy; 941 EVT EltTy = VT.getVectorElementType(); local 955 EVT::getVectorVT(Context, EltTy, NumElts))) { 962 EVT NewVT = EVT::getVectorVT(Context, EltTy, NumElts); 964 NewVT = EltTy;
|
/external/llvm/include/llvm/TableGen/ |
H A D | Record.h | 742 explicit ListInit(ArrayRef<Init *> Range, RecTy *EltTy) argument 743 : TypedInit(ListRecTy::get(EltTy)), Values(Range.begin(), Range.end()) {} 749 static ListInit *get(ArrayRef<Init *> Range, RecTy *EltTy);
|