/external/llvm/include/llvm/ADT/ |
H A D | TinyPtrVector.h | 25 template <typename EltTy> 28 typedef llvm::SmallVector<EltTy, 4> VecTy; 30 typedef llvm::PointerUnion<EltTy, VecTy *> PtrUnion; 56 if (Val.template is<EltTy>()) { 65 if (RHS.Val.template is<EltTy>()) { 75 RHS.Val = (EltTy)nullptr; 89 if (RHS.Val.template is<EltTy>()) { 98 RHS.Val = (EltTy)nullptr; 106 explicit TinyPtrVector(ArrayRef<EltTy> Elts) 111 operator ArrayRef<EltTy>() cons [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | ModuleUtils.cpp | 32 StructType *EltTy; local 37 EltTy = cast<StructType>(ATy->getElementType()); 47 EltTy = StructType::get(IRB.getInt32Ty(), PointerType::getUnqual(FnTy), 56 if (EltTy->getNumElements() >= 3) 59 ConstantStruct::get(EltTy, makeArrayRef(CSVals, EltTy->getNumElements())); 64 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/clang/lib/CodeGen/ |
H A D | CodeGenTypes.cpp | 489 llvm::Type *EltTy = ConvertType(cast<ComplexType>(Ty)->getElementType()); local 490 ResultType = llvm::StructType::get(EltTy, EltTy, nullptr); 538 llvm::Type *EltTy = ConvertTypeForMem(A->getElementType()); local 542 if (!EltTy->isSized()) { 544 EltTy = llvm::Type::getInt8Ty(getLLVMContext()); 547 ResultType = llvm::ArrayType::get(EltTy, A->getSize().getZExtValue());
|
H A D | CGCall.cpp | 620 QualType EltTy; member in struct:__anon1265::ConstantArrayExpansion 623 ConstantArrayExpansion(QualType EltTy, uint64_t NumElts) argument 624 : TypeExpansion(TEK_ConstantArray), EltTy(EltTy), NumElts(NumElts) {} 644 QualType EltTy; member in struct:__anon1265::ComplexExpansion 646 ComplexExpansion(QualType EltTy) : TypeExpansion(TEK_Complex), EltTy(EltTy) {} argument 721 return CAExp->NumElts * getExpansionSize(CAExp->EltTy, Context); 743 getExpandedTypes(CAExp->EltTy, T 751 llvm::Type *EltTy = ConvertType(CExp->EltTy); local [all...] |
H A D | CGExprComplex.cpp | 366 llvm::Type *EltTy = local 368 llvm::Value *U = llvm::UndefValue::get(EltTy); 1027 llvm::Type *EltTy = local 1029 llvm::Value *U = llvm::UndefValue::get(EltTy);
|
/external/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPromoteAlloca.cpp | 363 Type *EltTy = V->getType()->getPointerElementType(); local 364 PointerType *NewTy = PointerType::get(EltTy, AMDGPUAS::LOCAL_ADDRESS);
|
/external/llvm/lib/CodeGen/ |
H A D | Analysis.cpp | 61 Type *EltTy = ATy->getElementType(); local 64 unsigned EltLinearOffset = ComputeLinearIndex(EltTy, nullptr, nullptr, 0); 70 return ComputeLinearIndex(EltTy, Indices+1, IndicesEnd, CurIndex); 103 Type *EltTy = ATy->getElementType(); local 104 uint64_t EltSize = DL.getTypeAllocSize(EltTy); 106 ComputeValueVTs(TLI, DL, EltTy, ValueVTs, Offsets,
|
H A D | TargetLoweringBase.cpp | 1039 MVT EltTy = VT.getVectorElementType(); local 1052 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) { 1059 MVT NewVT = MVT::getVectorVT(EltTy, NumElts); 1061 NewVT = EltTy; 1408 EVT EltTy = VT.getVectorElementType(); local 1422 EVT::getVectorVT(Context, EltTy, NumElts))) { 1429 EVT NewVT = EVT::getVectorVT(Context, EltTy, NumElts); 1431 NewVT = EltTy;
|
/external/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 480 Type *EltTy = VecTy->getVectorElementType(); local 483 EltTy->getPointerTo()); 484 Value *Load = Builder.CreateLoad(EltTy, Cast);
|
H A D | ConstantFold.cpp | 834 Type *EltTy = V1->getType()->getVectorElementType(); local 838 return UndefValue::get(VectorType::get(EltTy, MaskNumElts)); 850 Result.push_back(UndefValue::get(EltTy)); 855 InElt = UndefValue::get(EltTy);
|
H A D | Function.cpp | 808 Type *EltTy = DecodeFixedType(Infos, Tys, Context); local 811 return VectorType::get(EltTy, VTy->getNumElements()); 824 Type *EltTy = VTy->getVectorElementType(); local 825 return VectorType::get(PointerType::getUnqual(EltTy),
|
H A D | Type.cpp | 731 PointerType *PointerType::get(Type *EltTy, unsigned AddressSpace) { argument 732 assert(EltTy && "Can't get a pointer to <null> type!"); 733 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); 735 LLVMContextImpl *CImpl = EltTy->getContext().pImpl; 738 PointerType *&Entry = AddressSpace == 0 ? CImpl->PointerTypes[EltTy] 739 : CImpl->ASPointerTypes[std::make_pair(EltTy, AddressSpace)]; 742 Entry = new (CImpl->TypeAllocator) PointerType(EltTy, AddressSpace);
|
H A D | Constants.cpp | 852 template <typename ItTy, typename EltTy> 853 static bool rangeOnlyContains(ItTy Start, ItTy End, EltTy Elt) { 2112 Type *EltTy = V1->getType()->getVectorElementType(); local 2113 Type *ShufTy = VectorType::get(EltTy, NElts);
|
/external/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 362 Type *EltTy = C->getType()->getSequentialElementType(); local 363 uint64_t EltSize = DL.getTypeAllocSize(EltTy);
|
H A D | ValueTracking.cpp | 1580 Type *EltTy = cast<PointerType>(A->getType())->getElementType(); local 1581 if (EltTy->isSized()) 1582 Align = DL.getABITypeAlignment(EltTy);
|
/external/llvm/lib/Target/Mips/ |
H A D | MipsSEISelDAGToDAG.cpp | 524 EVT EltTy = N->getValueType(0).getVectorElementType(); local 529 if (selectVSplat(N.getNode(), ImmValue, EltTy.getSizeInBits()) && 530 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { 534 Imm = CurDAG->getTargetConstant(ImmValue, SDLoc(N), EltTy); 600 EVT EltTy = N->getValueType(0).getVectorElementType(); local 605 if (selectVSplat(N.getNode(), ImmValue, EltTy.getSizeInBits()) && 606 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { 610 Imm = CurDAG->getTargetConstant(Log2, SDLoc(N), EltTy); 631 EVT EltTy = N->getValueType(0).getVectorElementType(); local 636 if (selectVSplat(N.getNode(), ImmValue, EltTy 665 EVT EltTy = N->getValueType(0).getVectorElementType(); local 687 EVT EltTy = N->getValueType(0).getVectorElementType(); local [all...] |
/external/llvm/include/llvm/TableGen/ |
H A D | Record.h | 591 explicit ListInit(ArrayRef<Init *> Range, RecTy *EltTy) argument 592 : TypedInit(IK_ListInit, ListRecTy::get(EltTy)), 602 static ListInit *get(ArrayRef<Init *> Range, RecTy *EltTy);
|
/external/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 1629 Type *EltTy = CDS->getType()->getElementType(); local 1630 if (isa<IntegerType>(EltTy)) {
|
/external/llvm/lib/Linker/ |
H A D | IRMover.cpp | 850 Type *EltTy = cast<ArrayType>(TypeMap.get(SrcGV->getType()->getElementType())) local 857 if (cast<StructType>(EltTy)->getNumElements() == 3) 865 auto &ST = *cast<StructType>(EltTy); 867 EltTy = StructType::get(SrcGV->getContext(), Tys, false); 881 if (EltTy != DstTy->getElementType()) { 935 ArrayType *NewType = ArrayType::get(EltTy, NewSize); 961 ConstantStruct::get(cast<StructType>(EltTy), E1, E2, Null, nullptr);
|
/external/llvm/lib/TableGen/ |
H A D | Record.cpp | 470 RecTy *EltTy) { 472 ID.AddPointer(EltTy); 478 ListInit *ListInit::get(ArrayRef<Init *> Range, RecTy *EltTy) { argument 483 ProfileListInit(ID, Range, EltTy); 489 ListInit *I = new ListInit(Range, EltTy); 496 RecTy *EltTy = cast<ListRecTy>(getType())->getElementType(); local 498 ProfileListInit(ID, Values, EltTy); 468 ProfileListInit(FoldingSetNodeID &ID, ArrayRef<Init *> Range, RecTy *EltTy) argument
|
H A D | TGParser.cpp | 1354 RecTy *EltTy = nullptr; local 1361 if (EltTy) { 1362 EltTy = resolveTypes(EltTy, TArg->getType()); 1363 if (!EltTy) { 1368 EltTy = TArg->getType(); 1373 if (EltTy) { 1375 if (!EltTy->typeIsConvertibleTo(GivenEltTy)) { 1380 EltTy = GivenEltTy; 1383 if (!EltTy) { 1638 ParseValueList(Record *CurRec, Record *ArgsRec, RecTy *EltTy) argument [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 1365 auto EltTy = SelectorType->getElementType(); local 1368 EltTy->isFloatTy() 1370 : (EltTy->isDoubleTy() ? 64 : EltTy->getIntegerBitWidth());
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 923 Type *EltTy = VTy->getElementType(); 924 if (SV->getType() != EltTy) 925 SV = Builder.CreateBitCast(SV, EltTy); 926 uint64_t EltSize = DL.getTypeAllocSizeInBits(EltTy); 1760 /// return true with NumElts and EltTy set to the number of elements and the 1763 Type *&EltTy) { 1766 EltTy = (NumElts == 0 ? nullptr : AT->getElementType()); 1771 EltTy = (NumElts == 0 ? nullptr : ST->getContainedType(0)); 1773 if (ST->getContainedType(n) != EltTy) 1847 Type *EltTy; local 1762 isHomogeneousAggregate(Type *T, unsigned &NumElts, Type *&EltTy) argument 2252 Type *EltTy = cast<SequentialType>(OtherTy)->getElementType(); local 2265 Type *EltTy = cast<PointerType>(EltPtr->getType())->getElementType(); local [all...] |
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelDAGToDAG.cpp | 1236 MVT EltTy = VT.getVectorElementType().getSimpleVT(); local 1237 MVT WideTy = MVT::getVectorVT(EltTy, 2 * NarrowSize); 1252 MVT EltTy = VT.getVectorElementType().getSimpleVT(); local 1253 MVT NarrowTy = MVT::getVectorVT(EltTy, WideSize / 2);
|