/external/llvm/include/llvm/ADT/ |
H A D | TinyPtrVector.h | 25 template <typename EltTy> 28 typedef llvm::SmallVector<EltTy, 4> VecTy; 31 llvm::PointerUnion<EltTy, VecTy*> Val; 53 if (Val.template is<EltTy>()) { 62 if (RHS.Val.template is<EltTy>()) { 72 RHS.Val = (EltTy)nullptr; 86 if (RHS.Val.template is<EltTy>()) { 95 RHS.Val = (EltTy)nullptr; 100 operator ArrayRef<EltTy>() const { 102 return ArrayRef<EltTy>(); [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | ModuleUtils.cpp | 31 StructType *EltTy; local 36 EltTy = cast<StructType>(ATy->getElementType()); 46 EltTy = StructType::get(IRB.getInt32Ty(), PointerType::getUnqual(FnTy), 55 if (EltTy->getNumElements() >= 3) 58 ConstantStruct::get(EltTy, makeArrayRef(CSVals, EltTy->getNumElements())); 63 ArrayType *AT = ArrayType::get(EltTy, CurrentCtors.size());
|
/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/Target/Mips/ |
H A D | MipsSEISelDAGToDAG.cpp | 453 EVT EltTy = N->getValueType(0).getVectorElementType(); local 459 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { 462 Imm = CurDAG->getTargetConstant(ImmValue, EltTy); 528 EVT EltTy = N->getValueType(0).getVectorElementType(); local 534 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { 538 Imm = CurDAG->getTargetConstant(Log2, EltTy); 559 EVT EltTy = N->getValueType(0).getVectorElementType(); local 565 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { 571 Imm = CurDAG->getTargetConstant(ImmValue.countPopulation(), EltTy); 592 EVT EltTy local 613 EVT EltTy = N->getValueType(0).getVectorElementType(); local [all...] |
H A D | MipsSEISelLowering.cpp | 1361 EVT EltTy = Vec->getValueType(0).getVectorElementType(); local 1364 DAG.getValueType(EltTy)); 1574 EVT EltTy = VecTy.getVectorElementType(); local 1575 APInt Mask = APInt::getHighBitsSet(EltTy.getSizeInBits(), 1587 EVT EltTy = VecTy.getVectorElementType(); local 1588 APInt Mask = APInt::getLowBitsSet(EltTy.getSizeInBits(), 2280 EVT EltTy = VecTy.getVectorElementType(); local 2282 DAG.getValueType(EltTy));
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenTypes.cpp | 401 llvm::Type *EltTy = ConvertType(cast<ComplexType>(Ty)->getElementType()); local 402 ResultType = llvm::StructType::get(EltTy, EltTy, NULL); 450 llvm::Type *EltTy = ConvertTypeForMem(A->getElementType()); local 454 if (!EltTy->isSized()) { 456 EltTy = llvm::Type::getInt8Ty(getLLVMContext()); 459 ResultType = llvm::ArrayType::get(EltTy, A->getSize().getZExtValue());
|
H A D | CGExprComplex.cpp | 358 llvm::Type *EltTy = local 360 llvm::Value *U = llvm::UndefValue::get(EltTy); 821 llvm::Type *EltTy = local 823 llvm::Value *U = llvm::UndefValue::get(EltTy);
|
H A D | CGCall.cpp | 590 llvm::Type *EltTy = ConvertType(CT->getElementType()); local 591 expandedTypes.push_back(EltTy); 592 expandedTypes.push_back(EltTy); 605 QualType EltTy = AT->getElementType(); local 608 LValue LV = MakeAddrLValue(EltAddr, EltTy); 609 AI = ExpandTypeFromArgs(EltTy, LV, AI); 643 QualType EltTy = CT->getElementType(); local 645 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(RealAddr, EltTy)); 647 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(ImagAddr, EltTy)); 2528 QualType EltTy local [all...] |
H A D | CGDebugInfo.cpp | 675 llvm::DIType EltTy, DescTy; local 688 EltTy = DBuilder.createStructType(Unit, "__block_descriptor", 695 DescTy = DBuilder.createPointerType(EltTy, Size); 718 EltTy = DBuilder.createStructType(Unit, "__block_literal_generic", 722 BlockLiteralGeneric = DBuilder.createPointerType(EltTy, Size); 1851 QualType EltTy(Ty, 0); 1852 while ((Ty = dyn_cast<ArrayType>(EltTy))) { 1866 EltTy = Ty->getElementType(); 1872 DBuilder.createArrayType(Size, Align, getOrCreateType(EltTy, Unit),
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 917 Type *EltTy = VTy->getElementType(); 918 if (SV->getType() != EltTy) 919 SV = Builder.CreateBitCast(SV, EltTy); 920 uint64_t EltSize = DL.getTypeAllocSizeInBits(EltTy); 1743 /// return true with NumElts and EltTy set to the number of elements and the 1746 Type *&EltTy) { 1749 EltTy = (NumElts == 0 ? nullptr : AT->getElementType()); 1754 EltTy = (NumElts == 0 ? nullptr : ST->getContainedType(0)); 1756 if (ST->getContainedType(n) != EltTy) 1828 Type *EltTy; local 1745 isHomogeneousAggregate(Type *T, unsigned &NumElts, Type *&EltTy) argument 2228 Type *EltTy = cast<SequentialType>(OtherTy)->getElementType(); local 2241 Type *EltTy = cast<PointerType>(EltPtr->getType())->getElementType(); local [all...] |
/external/llvm/lib/CodeGen/ |
H A D | Analysis.cpp | 56 Type *EltTy = ATy->getElementType(); local 59 return ComputeLinearIndex(EltTy, Indices+1, IndicesEnd, CurIndex); 60 CurIndex = ComputeLinearIndex(EltTy, nullptr, nullptr, CurIndex); 92 Type *EltTy = ATy->getElementType(); local 93 uint64_t EltSize = TLI.getDataLayout()->getTypeAllocSize(EltTy); 95 ComputeValueVTs(TLI, EltTy, ValueVTs, Offsets,
|
H A D | TargetLoweringBase.cpp | 873 MVT EltTy = VT.getVectorElementType(); local 886 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) { 893 MVT NewVT = MVT::getVectorVT(EltTy, NumElts); 895 NewVT = EltTy; 1225 EVT EltTy = VT.getVectorElementType(); local 1239 EVT::getVectorVT(Context, EltTy, NumElts))) { 1246 EVT NewVT = EVT::getVectorVT(Context, EltTy, NumElts); 1248 NewVT = EltTy;
|
/external/llvm/include/llvm/CodeGen/ |
H A D | ValueTypes.h | 84 MVT EltTy = getSimpleVT().getVectorElementType(); 85 unsigned BitWidth = EltTy.getSizeInBits();
|
/external/llvm/lib/IR/ |
H A D | Type.cpp | 727 PointerType *PointerType::get(Type *EltTy, unsigned AddressSpace) { argument 728 assert(EltTy && "Can't get a pointer to <null> type!"); 729 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); 731 LLVMContextImpl *CImpl = EltTy->getContext().pImpl; 734 PointerType *&Entry = AddressSpace == 0 ? CImpl->PointerTypes[EltTy] 735 : CImpl->ASPointerTypes[std::make_pair(EltTy, AddressSpace)]; 738 Entry = new (CImpl->TypeAllocator) PointerType(EltTy, AddressSpace);
|
H A D | AutoUpgrade.cpp | 344 Type *EltTy = VecTy->getVectorElementType(); local 347 EltTy->getPointerTo());
|
/external/llvm/lib/TableGen/ |
H A D | TGParser.cpp | 1350 RecTy *EltTy = nullptr; local 1359 if (EltTy) { 1360 EltTy = resolveTypes(EltTy, TArg->getType()); 1361 if (!EltTy) { 1366 EltTy = TArg->getType(); 1371 if (EltTy) { 1373 if (!EltTy->typeIsConvertibleTo(GivenEltTy)) { 1378 EltTy = GivenEltTy; 1381 if (!EltTy) { 1635 ParseValueList(Record *CurRec, Record *ArgsRec, RecTy *EltTy) argument [all...] |
H A D | TGParser.h | 177 RecTy *EltTy = nullptr);
|
H A D | Record.cpp | 612 RecTy *EltTy) { 614 ID.AddPointer(EltTy); 623 ListInit *ListInit::get(ArrayRef<Init *> Range, RecTy *EltTy) { argument 629 ProfileListInit(ID, Range, EltTy); 635 ListInit *I = new ListInit(Range, EltTy); 644 RecTy *EltTy = ListType->getElementType(); local 646 ProfileListInit(ID, Values, EltTy); 610 ProfileListInit(FoldingSetNodeID &ID, ArrayRef<Init *> Range, RecTy *EltTy) argument
|
/external/llvm/lib/Target/R600/ |
H A D | AMDGPUPromoteAlloca.cpp | 332 Type *EltTy = V->getType()->getPointerElementType(); local 333 PointerType *NewTy = PointerType::get(EltTy, AMDGPUAS::LOCAL_ADDRESS);
|
/external/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 1283 Type *EltTy = ATy->getElementType(); local 1285 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy)); 1288 Type *EltTy = VTy->getElementType(); local 1290 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy)); 1311 Type *EltTy = cast<SequentialType>(CurTy)->getElementType(); 1314 if (EltTy->isIntegerTy(8)) { 1320 } else if (EltTy->isIntegerTy(16)) { 1326 } else if (EltTy->isIntegerTy(32)) { 1332 } else if (EltTy->isIntegerTy(64)) { 1338 } else if (EltTy [all...] |
/external/clang/lib/AST/ |
H A D | ExprConstant.cpp | 249 void addComplexUnchecked(QualType EltTy, bool Imag) { argument 256 MostDerivedType = EltTy; 986 void addComplex(EvalInfo &Info, const Expr *E, QualType EltTy, bool Imag) { argument 988 Designator.addComplexUnchecked(EltTy, Imag); 1359 QualType EltTy = Type->castAsArrayTypeUnsafe()->getElementType(); local 1361 if (!CheckConstantExpression(Info, DiagLoc, EltTy, 1367 return CheckConstantExpression(Info, DiagLoc, EltTy, 1571 QualType EltTy = VecTy->castAs<VectorType>()->getElementType(); local 1572 unsigned EltSize = Info.Ctx.getTypeSize(EltTy); 1885 /// \param EltTy 1887 HandleLValueArrayAdjustment(EvalInfo &Info, const Expr *E, LValue &LVal, QualType EltTy, int64_t Adjustment) argument 1905 HandleLValueComplexElement(EvalInfo &Info, const Expr *E, LValue &LVal, QualType EltTy, bool Imag) argument [all...] |
H A D | ASTContext.cpp | 2370 QualType ASTContext::getConstantArrayType(QualType EltTy, argument 2374 assert((EltTy->isDependentType() || 2375 EltTy->isIncompleteType() || EltTy->isConstantSizeType()) && 2382 ArySize.zextOrTrunc(Target->getPointerWidth(getTargetAddressSpace(EltTy))); 2385 ConstantArrayType::Profile(ID, EltTy, ArySize, ASM, IndexTypeQuals); 2395 if (!EltTy.isCanonical() || EltTy.hasLocalQualifiers()) { 2396 SplitQualType canonSplit = getCanonicalType(EltTy).split(); 2408 ConstantArrayType(EltTy, Cano 2548 getVariableArrayType(QualType EltTy, Expr *NumElts, ArrayType::ArraySizeModifier ASM, unsigned IndexTypeQuals, SourceRange Brackets) const argument [all...] |
/external/clang/include/clang/AST/ |
H A D | ASTContext.h | 996 QualType getVariableArrayType(QualType EltTy, Expr *NumElts, 1006 QualType getDependentSizedArrayType(QualType EltTy, Expr *NumElts, 1013 QualType getIncompleteArrayType(QualType EltTy, 1019 QualType getConstantArrayType(QualType EltTy, const llvm::APInt &ArySize,
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 750 auto EltTy = SelectorType->getElementType(); local 753 EltTy->isFloatTy() 755 : (EltTy->isDoubleTy() ? 64 : EltTy->getIntegerBitWidth());
|
/external/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 11846 QualType EltTy = Context.getBaseElementType(T); local 11847 if (!EltTy->isDependentType()) { 11848 if (RequireCompleteType(Loc, EltTy, diag::err_field_incomplete)) { 11854 EltTy->isIncompleteType(&Def); 11949 if (const RecordType *RT = EltTy->getAs<RecordType>()) { 11965 if (EltTy->isReferenceType()) { 11969 << NewFD->getDeclName() << EltTy; 12005 QualType EltTy = Context.getBaseElementType(FD->getType()); 12006 if (const RecordType *RT = EltTy->getAs<RecordType>()) { 12687 QualType EltTy; local [all...] |