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

12

/external/llvm/include/llvm/ADT/
H A DTinyPtrVector.h25 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 DModuleUtils.cpp32 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 DDerivedTypes.h377 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 DCodeGenTypes.cpp489 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 DCGCall.cpp620 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 DCGExprComplex.cpp366 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 DAMDGPUPromoteAlloca.cpp363 Type *EltTy = V->getType()->getPointerElementType(); local
364 PointerType *NewTy = PointerType::get(EltTy, AMDGPUAS::LOCAL_ADDRESS);
/external/llvm/lib/CodeGen/
H A DAnalysis.cpp61 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 DTargetLoweringBase.cpp1039 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 DAutoUpgrade.cpp480 Type *EltTy = VecTy->getVectorElementType(); local
483 EltTy->getPointerTo());
484 Value *Load = Builder.CreateLoad(EltTy, Cast);
H A DConstantFold.cpp834 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 DFunction.cpp808 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 DType.cpp731 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 DConstants.cpp852 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 DConstantFolding.cpp362 Type *EltTy = C->getType()->getSequentialElementType(); local
363 uint64_t EltSize = DL.getTypeAllocSize(EltTy);
H A DValueTracking.cpp1580 Type *EltTy = cast<PointerType>(A->getType())->getElementType(); local
1581 if (EltTy->isSized())
1582 Align = DL.getABITypeAlignment(EltTy);
/external/llvm/lib/Target/Mips/
H A DMipsSEISelDAGToDAG.cpp524 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 DRecord.h591 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 DBitcodeWriter.cpp1629 Type *EltTy = CDS->getType()->getElementType(); local
1630 if (isa<IntegerType>(EltTy)) {
/external/llvm/lib/Linker/
H A DIRMover.cpp850 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 DRecord.cpp470 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 DTGParser.cpp1354 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 DInstCombineCalls.cpp1365 auto EltTy = SelectorType->getElementType(); local
1368 EltTy->isFloatTy()
1370 : (EltTy->isDoubleTy() ? 64 : EltTy->getIntegerBitWidth());
/external/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp923 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 DAArch64ISelDAGToDAG.cpp1236 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);

Completed in 353 milliseconds

12