/freebsd-10.3-release/contrib/llvm/include/llvm/ADT/ |
H A D | TinyPtrVector.h | 27 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...] |
/freebsd-10.3-release/contrib/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());
|
/freebsd-10.3-release/contrib/llvm/lib/Target/Mips/ |
H A D | MipsSEISelDAGToDAG.cpp | 425 EVT EltTy = N->getValueType(0).getVectorElementType(); local 431 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { 434 Imm = CurDAG->getTargetConstant(ImmValue, EltTy); 500 EVT EltTy = N->getValueType(0).getVectorElementType(); local 506 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { 510 Imm = CurDAG->getTargetConstant(Log2, EltTy); 531 EVT EltTy = N->getValueType(0).getVectorElementType(); local 537 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { 543 Imm = CurDAG->getTargetConstant(ImmValue.countPopulation(), EltTy); 564 EVT EltTy local 585 EVT EltTy = N->getValueType(0).getVectorElementType(); local [all...] |
H A D | MipsSEISelLowering.cpp | 1256 EVT EltTy = Vec->getValueType(0).getVectorElementType(); local 1259 DAG.getValueType(EltTy)); 1468 EVT EltTy = VecTy.getVectorElementType(); local 1469 APInt Mask = APInt::getHighBitsSet(EltTy.getSizeInBits(), 1480 EVT EltTy = VecTy.getVectorElementType(); local 1481 APInt Mask = APInt::getLowBitsSet(EltTy.getSizeInBits(), 2154 EVT EltTy = VecTy.getVectorElementType(); local 2156 DAG.getValueType(EltTy));
|
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CodeGenTypes.cpp | 403 llvm::Type *EltTy = ConvertType(cast<ComplexType>(Ty)->getElementType()); local 404 ResultType = llvm::StructType::get(EltTy, EltTy, NULL); 452 llvm::Type *EltTy = ConvertTypeForMem(A->getElementType()); local 456 if (!EltTy->isSized()) { 458 EltTy = llvm::Type::getInt8Ty(getLLVMContext()); 461 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); 818 llvm::Type *EltTy = local 820 llvm::Value *U = llvm::UndefValue::get(EltTy);
|
H A D | CGCall.cpp | 541 llvm::Type *EltTy = ConvertType(CT->getElementType()); local 542 expandedTypes.push_back(EltTy); 543 expandedTypes.push_back(EltTy); 556 QualType EltTy = AT->getElementType(); local 559 LValue LV = MakeAddrLValue(EltAddr, EltTy); 560 AI = ExpandTypeFromArgs(EltTy, LV, AI); 598 QualType EltTy = CT->getElementType(); local 600 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(RealAddr, EltTy)); 602 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(ImagAddr, EltTy)); 2196 QualType EltTy local [all...] |
H A D | TargetInfo.cpp | 1836 llvm::Type *EltTy = VT->getElementType(); 1839 (EltTy->isFloatTy() || EltTy->isDoubleTy() || 1840 EltTy->isIntegerTy(8) || EltTy->isIntegerTy(16) || 1841 EltTy->isIntegerTy(32) || EltTy->isIntegerTy(64) || 1842 EltTy->isIntegerTy(128))) 1954 llvm::Type *EltTy = ATy->getElementType(); 1955 unsigned EltSize = TD.getTypeAllocSize(EltTy); [all...] |
H A D | CGDebugInfo.cpp | 680 llvm::DIType EltTy, DescTy; local 693 EltTy = DBuilder.createStructType(Unit, "__block_descriptor", 700 DescTy = DBuilder.createPointerType(EltTy, Size); 723 EltTy = DBuilder.createStructType(Unit, "__block_literal_generic", 727 BlockLiteralGeneric = DBuilder.createPointerType(EltTy, Size); 1790 QualType EltTy(Ty, 0); 1791 while ((Ty = dyn_cast<ArrayType>(EltTy))) { 1805 EltTy = Ty->getElementType(); 1811 DBuilder.createArrayType(Size, Align, getOrCreateType(EltTy, Unit),
|
H A D | CodeGenFunction.h | 1435 QualType EltTy) { 1436 bool IsVolatile = hasVolatileMember(EltTy); 1437 EmitAggregateCopy(DestPtr, SrcPtr, EltTy, IsVolatile, CharUnits::Zero(), 1448 QualType EltTy, bool isVolatile=false, 1434 EmitAggregateAssign(llvm::Value *DestPtr, llvm::Value *SrcPtr, QualType EltTy) argument
|
/freebsd-10.3-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 914 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 2231 Type *EltTy = cast<SequentialType>(OtherTy)->getElementType(); local 2244 Type *EltTy = cast<PointerType>(EltPtr->getType())->getElementType(); local [all...] |
/freebsd-10.3-release/contrib/llvm/lib/CodeGen/ |
H A D | Analysis.cpp | 55 Type *EltTy = ATy->getElementType(); local 58 return ComputeLinearIndex(EltTy, Indices+1, IndicesEnd, CurIndex); 59 CurIndex = ComputeLinearIndex(EltTy, 0, 0, CurIndex); 91 Type *EltTy = ATy->getElementType(); local 92 uint64_t EltSize = TLI.getDataLayout()->getTypeAllocSize(EltTy); 94 ComputeValueVTs(TLI, EltTy, ValueVTs, Offsets,
|
H A D | TargetLoweringBase.cpp | 845 MVT EltTy = VT.getVectorElementType(); local 858 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) { 865 MVT NewVT = MVT::getVectorVT(EltTy, NumElts); 867 NewVT = EltTy; 1137 EVT EltTy = VT.getVectorElementType(); local 1151 EVT::getVectorVT(Context, EltTy, NumElts))) { 1158 EVT NewVT = EVT::getVectorVT(Context, EltTy, NumElts); 1160 NewVT = EltTy;
|
/freebsd-10.3-release/contrib/llvm/lib/IR/ |
H A D | Type.cpp | 730 PointerType *PointerType::get(Type *EltTy, unsigned AddressSpace) { argument 731 assert(EltTy && "Can't get a pointer to <null> type!"); 732 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); 734 LLVMContextImpl *CImpl = EltTy->getContext().pImpl; 737 PointerType *&Entry = AddressSpace == 0 ? CImpl->PointerTypes[EltTy] 738 : CImpl->ASPointerTypes[std::make_pair(EltTy, AddressSpace)]; 741 Entry = new (CImpl->TypeAllocator) PointerType(EltTy, AddressSpace);
|
/freebsd-10.3-release/contrib/llvm/lib/TableGen/ |
H A D | TGParser.cpp | 1314 RecTy *EltTy = 0; local 1323 if (EltTy != 0) { 1324 EltTy = resolveTypes(EltTy, TArg->getType()); 1325 if (EltTy == 0) { 1330 EltTy = TArg->getType(); 1335 if (EltTy != 0) { 1337 if (!EltTy->typeIsConvertibleTo(GivenEltTy)) { 1342 EltTy = GivenEltTy; 1345 if (EltTy 1598 ParseValueList(Record *CurRec, Record *ArgsRec, RecTy *EltTy) argument [all...] |
H A D | TGParser.h | 174 RecTy *EltTy = 0);
|
H A D | Record.cpp | 612 RecTy *EltTy) { 614 ID.AddPointer(EltTy); 623 ListInit *ListInit::get(ArrayRef<Init *> Range, RecTy *EltTy) { argument 630 ProfileListInit(ID, Range, EltTy); 636 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
|
/freebsd-10.3-release/contrib/llvm/include/llvm/CodeGen/ |
H A D | ValueTypes.h | 629 MVT EltTy = getSimpleVT().getVectorElementType(); 630 unsigned BitWidth = EltTy.getSizeInBits();
|
/freebsd-10.3-release/contrib/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 1242 Type *EltTy = ATy->getElementType(); local 1244 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy)); 1247 Type *EltTy = VTy->getElementType(); local 1249 Elts.push_back(ValueList.getConstantFwdRef(Record[i], EltTy)); 1270 Type *EltTy = cast<SequentialType>(CurTy)->getElementType(); 1273 if (EltTy->isIntegerTy(8)) { 1279 } else if (EltTy->isIntegerTy(16)) { 1285 } else if (EltTy->isIntegerTy(32)) { 1291 } else if (EltTy->isIntegerTy(64)) { 1297 } else if (EltTy [all...] |
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | ExprConstant.cpp | 249 void addComplexUnchecked(QualType EltTy, bool Imag) { argument 256 MostDerivedType = EltTy; 959 void addComplex(EvalInfo &Info, const Expr *E, QualType EltTy, bool Imag) { argument 961 Designator.addComplexUnchecked(EltTy, Imag); 1314 QualType EltTy = Type->castAsArrayTypeUnsafe()->getElementType(); local 1316 if (!CheckConstantExpression(Info, DiagLoc, EltTy, 1322 return CheckConstantExpression(Info, DiagLoc, EltTy, 1527 QualType EltTy = VecTy->castAs<VectorType>()->getElementType(); local 1528 unsigned EltSize = Info.Ctx.getTypeSize(EltTy); 1842 /// \param EltTy 1844 HandleLValueArrayAdjustment(EvalInfo &Info, const Expr *E, LValue &LVal, QualType EltTy, int64_t Adjustment) argument 1862 HandleLValueComplexElement(EvalInfo &Info, const Expr *E, LValue &LVal, QualType EltTy, bool Imag) argument [all...] |
/freebsd-10.3-release/contrib/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 693 Type *EltTy = DstTy->getElementType(); local 696 if (EltTy != SrcTy->getElementType()) 718 ArrayType *NewType = ArrayType::get(EltTy, NewSize);
|
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | ASTContext.h | 977 QualType getVariableArrayType(QualType EltTy, Expr *NumElts, 987 QualType getDependentSizedArrayType(QualType EltTy, Expr *NumElts, 994 QualType getIncompleteArrayType(QualType EltTy, 1000 QualType getConstantArrayType(QualType EltTy, const llvm::APInt &ArySize,
|
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 11419 QualType EltTy = Context.getBaseElementType(T); local 11420 if (!EltTy->isDependentType()) { 11421 if (RequireCompleteType(Loc, EltTy, diag::err_field_incomplete)) { 11427 EltTy->isIncompleteType(&Def); 11516 if (const RecordType *RT = EltTy->getAs<RecordType>()) { 11532 if (EltTy->isReferenceType()) { 11536 << NewFD->getDeclName() << EltTy; 11572 QualType EltTy = Context.getBaseElementType(FD->getType()); 11573 if (const RecordType *RT = EltTy->getAs<RecordType>()) { 12251 QualType EltTy; local [all...] |
/freebsd-10.3-release/contrib/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 1937 Type *EltTy = 0; 1938 if (ParseType(EltTy)) return true; 1949 if (!VectorType::isValidElementType(EltTy)) 1951 Result = VectorType::get(EltTy, unsigned(Size)); 1953 if (!ArrayType::isValidElementType(EltTy)) 1955 Result = ArrayType::get(EltTy, Size); 3776 Type *EltTy = 0; 3780 ParseType(EltTy, TypeLoc)) 3783 if (!EltTy->isFirstClassType()) 3786 Inst = new VAArgInst(Op, EltTy); [all...] |
/freebsd-10.3-release/contrib/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 1017 Type *EltTy = CDS->getType()->getElementType(); local 1018 if (isa<IntegerType>(EltTy)) { 1021 } else if (EltTy->isFloatTy()) { 1028 assert(EltTy->isDoubleTy() && "Unknown ConstantData element type");
|