/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/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/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 | CodeGenFunction.h | 1464 QualType EltTy) { 1465 bool IsVolatile = hasVolatileMember(EltTy); 1466 EmitAggregateCopy(DestPtr, SrcPtr, EltTy, IsVolatile, CharUnits::Zero(), 1477 QualType EltTy, bool isVolatile=false, 1463 EmitAggregateAssign(llvm::Value *DestPtr, llvm::Value *SrcPtr, QualType EltTy) argument
|
/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 | 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/lib/IR/ |
H A D | AutoUpgrade.cpp | 344 Type *EltTy = VecTy->getVectorElementType(); local 347 EltTy->getPointerTo());
|
H A D | ConstantFold.cpp | 802 Type *EltTy = V1->getType()->getVectorElementType(); local 806 return UndefValue::get(VectorType::get(EltTy, MaskNumElts)); 818 Result.push_back(UndefValue::get(EltTy)); 823 InElt = UndefValue::get(EltTy);
|
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);
|
/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/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...] |
/external/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 354 Type *EltTy = C->getType()->getSequentialElementType(); local 355 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/include/llvm/TableGen/ |
H A D | Record.h | 788 explicit ListInit(ArrayRef<Init *> Range, RecTy *EltTy) argument 789 : TypedInit(IK_ListInit, ListRecTy::get(EltTy)), 799 static ListInit *get(ArrayRef<Init *> Range, RecTy *EltTy);
|
/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/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 1062 Type *EltTy = CDS->getType()->getElementType(); local 1063 if (isa<IntegerType>(EltTy)) { 1066 } else if (EltTy->isFloatTy()) { 1073 assert(EltTy->isDoubleTy() && "Unknown ConstantData element type");
|
/external/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 826 Type *EltTy = DstTy->getElementType(); local 829 if (EltTy != SrcTy->getElementType()) 851 ArrayType *NewType = ArrayType::get(EltTy, NewSize);
|
/external/llvm/lib/TableGen/ |
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
|
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...] |
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelDAGToDAG.cpp | 1102 MVT EltTy = VT.getVectorElementType().getSimpleVT(); local 1103 MVT WideTy = MVT::getVectorVT(EltTy, 2 * NarrowSize); 1117 MVT EltTy = VT.getVectorElementType().getSimpleVT(); local 1118 MVT NarrowTy = MVT::getVectorVT(EltTy, WideSize / 2);
|
/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/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/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...] |