Searched refs:EltTy (Results 1 - 22 of 22) sorted by relevance

/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/ADT/
H A DTinyPtrVector.h27 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...]
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/
H A DDerivedTypes.h383 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits); local
384 return VectorType::get(EltTy, VTy->getNumElements());
393 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits * 2); local
394 return VectorType::get(EltTy, VTy->getNumElements());
405 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits / 2); local
406 return VectorType::get(EltTy, VTy->getNumElements());
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/
H A DAnalysis.cpp57 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,
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp914 Type *EltTy = VTy->getElementType();
915 if (SV->getType() != EltTy)
916 SV = Builder.CreateBitCast(SV, EltTy);
917 uint64_t EltSize = TD.getTypeAllocSizeInBits(EltTy);
1747 /// return true with NumElts and EltTy set to the number of elements and the
1750 Type *&EltTy) {
1753 EltTy = (NumElts == 0 ? 0 : AT->getElementType());
1758 EltTy = (NumElts == 0 ? 0 : ST->getContainedType(0));
1760 if (ST->getContainedType(n) != EltTy)
1832 Type *EltTy; local
1749 isHomogeneousAggregate(Type *T, unsigned &NumElts, Type *&EltTy) argument
2230 Type *EltTy = cast<SequentialType>(OtherTy)->getElementType(); local
2243 Type *EltTy = cast<PointerType>(EltPtr->getType())->getElementType(); local
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp62 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) {
/macosx-10.10.1/llvmCore-3425.0.34/lib/VMCore/
H A DType.cpp747 PointerType *PointerType::get(Type *EltTy, unsigned AddressSpace) { argument
748 assert(EltTy && "Can't get a pointer to <null> type!");
749 assert(isValidElementType(EltTy) && "Invalid type for pointer element!");
751 LLVMContextImpl *CImpl = EltTy->getContext().pImpl;
754 PointerType *&Entry = AddressSpace == 0 ? CImpl->PointerTypes[EltTy]
755 : CImpl->ASPointerTypes[std::make_pair(EltTy, AddressSpace)];
758 Entry = new (CImpl->TypeAllocator) PointerType(EltTy, AddressSpace);
H A DConstantFold.cpp785 Type *EltTy = V1->getType()->getVectorElementType(); local
789 return UndefValue::get(VectorType::get(EltTy, MaskNumElts));
801 Result.push_back(UndefValue::get(EltTy));
806 InElt = UndefValue::get(EltTy);
H A DConstants.cpp668 template <typename ItTy, typename EltTy>
669 static bool rangeOnlyContains(ItTy Start, ItTy End, EltTy Elt) {
1862 Type *EltTy = V1->getType()->getVectorElementType(); local
1863 Type *ShufTy = VectorType::get(EltTy, NElts);
/macosx-10.10.1/llvmCore-3425.0.34/lib/TableGen/
H A DTGParser.cpp1315 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 DTGParser.h173 std::vector<Init*> ParseValueList(Record *CurRec, Record *ArgsRec = 0, RecTy *EltTy = 0);
H A DRecord.cpp572 RecTy *EltTy) {
574 ID.AddPointer(EltTy);
583 ListInit *ListInit::get(ArrayRef<Init *> Range, RecTy *EltTy) { argument
590 ProfileListInit(ID, Range, EltTy);
596 ListInit *I = new ListInit(Range, EltTy);
604 RecTy *EltTy = ListType->getElementType(); local
606 ProfileListInit(ID, Values, EltTy);
570 ProfileListInit(FoldingSetNodeID &ID, ArrayRef<Init *> Range, RecTy *EltTy) argument
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/CodeGen/
H A DValueTypes.h540 MVT EltTy = getSimpleVT().getVectorElementType();
541 unsigned BitWidth = EltTy.getSizeInBits();
/macosx-10.10.1/llvmCore-3425.0.34/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1049 Type *EltTy = ATy->getElementType(); local
1051 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy));
1054 Type *EltTy = VTy->getElementType(); local
1056 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy));
1077 Type *EltTy = cast<SequentialType>(CurTy)->getElementType();
1080 if (EltTy->isIntegerTy(8)) {
1086 } else if (EltTy->isIntegerTy(16)) {
1092 } else if (EltTy->isIntegerTy(32)) {
1098 } else if (EltTy->isIntegerTy(64)) {
1104 } else if (EltTy
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/AsmParser/
H A DLLParser.cpp1680 Type *EltTy = 0;
1681 if (ParseType(EltTy)) return true;
1692 if (!VectorType::isValidElementType(EltTy))
1695 Result = VectorType::get(EltTy, unsigned(Size));
1697 if (!ArrayType::isValidElementType(EltTy))
1699 Result = ArrayType::get(EltTy, Size);
3482 Type *EltTy = 0;
3486 ParseType(EltTy, TypeLoc))
3489 if (!EltTy->isFirstClassType())
3492 Inst = new VAArgInst(Op, EltTy);
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Linker/
H A DLinkModules.cpp661 Type *EltTy = DstTy->getElementType(); local
664 if (EltTy != SrcTy->getElementType())
682 ArrayType *NewType = ArrayType::get(EltTy, NewSize);
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp660 MVT EltTy = VT.getVectorElementType(); local
673 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) {
680 MVT NewVT = MVT::getVectorVT(EltTy, NumElts);
682 NewVT = EltTy;
947 EVT EltTy = VT.getVectorElementType(); local
961 EVT::getVectorVT(Context, EltTy, NumElts))) {
968 EVT NewVT = EVT::getVectorVT(Context, EltTy, NumElts);
970 NewVT = EltTy;
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/TableGen/
H A DRecord.h742 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);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp894 Type *EltTy = CDS->getType()->getElementType(); local
895 if (isa<IntegerType>(EltTy)) {
898 } else if (EltTy->isFloatTy()) {
905 assert(EltTy->isDoubleTy() && "Unknown ConstantData element type");
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp839 Type *EltTy = cast<VectorType>(V->getType())->getElementType();
840 Constant *Undef = UndefValue::get(EltTy);
H A DInstCombineCompares.cpp229 Type *EltTy = Init->getType()->getArrayElementType(); local
237 if (StructType *STy = dyn_cast<StructType>(EltTy))
238 EltTy = STy->getElementType(IdxVal);
239 else if (ArrayType *ATy = dyn_cast<ArrayType>(EltTy)) {
241 EltTy = ATy->getElementType();
H A DInstCombineCasts.cpp963 Type *EltTy = VTy->getElementType(); local
966 Constant *VSh = ConstantInt::get(VTy, EltTy->getScalarSizeInBits()-1);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Analysis/
H A DConstantFolding.cpp352 Type *EltTy = cast<SequentialType>(C->getType())->getElementType(); local
353 uint64_t EltSize = TD.getTypeAllocSize(EltTy);

Completed in 533 milliseconds