/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | EquivalenceClasses.h | 57 template <class ElemTy> 73 ElemTy Data; 77 ECValue(const ElemTy &Elt) 107 const ElemTy &getData() const { return Data; } 117 /// TheMapping - This implicitly provides a mapping from ElemTy values to the 163 iterator findValue(const ElemTy &V) const { 170 const ElemTy &getLeaderValue(const ElemTy &V) const { 179 const ElemTy &getOrInsertLeaderValue(const ElemTy [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Type.cpp | 511 bool StructType::isValidElementType(Type *ElemTy) { argument 512 if (auto *VTy = dyn_cast<VectorType>(ElemTy)) 514 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() && 515 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy() && 516 !ElemTy->isTokenTy(); 599 bool ArrayType::isValidElementType(Type *ElemTy) { argument 600 if (auto *VTy = dyn_cast<VectorType>(ElemTy)) 602 return !ElemTy 628 isValidElementType(Type *ElemTy) argument 663 isValidElementType(Type *ElemTy) argument 668 isLoadableOrStorableType(Type *ElemTy) argument [all...] |
H A D | DataLayout.cpp | 806 int64_t DataLayout::getIndexedOffsetInType(Type *ElemTy, 811 GTI = gep_type_begin(ElemTy, Indices), 812 GTE = gep_type_end(ElemTy, Indices);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLoweringHVX.cpp | 221 MVT ElemTy = Tys.first.getVectorElementType(); local 222 return MVT::getVectorVT(ElemTy, Tys.first.getVectorNumElements() + 237 MVT ElemTy = VecTy.getVectorElementType(); local 238 MVT NewElemTy = MVT::getIntegerVT(ElemTy.getSizeInBits() * Factor); 244 MVT ElemTy = VecTy.getVectorElementType(); local 245 MVT NewElemTy = MVT::getIntegerVT(ElemTy.getSizeInBits() / Factor); 250 HexagonTargetLowering::opCastElem(SDValue Vec, MVT ElemTy, argument 252 if (ty(Vec).getVectorElementType() == ElemTy) 254 MVT CastTy = tyVector(Vec.getValueType().getSimpleVT(), ElemTy); 287 HexagonTargetLowering::convertToByteIndex(SDValue ElemIdx, MVT ElemTy, argument 303 getIndexInWord32(SDValue Idx, MVT ElemTy, SelectionDAG &DAG) const argument 325 MVT ElemTy = OpTy.getVectorElementType(); local 355 MVT ElemTy = VecTy.getVectorElementType(); local 666 MVT ElemTy = ty(VecV).getVectorElementType(); local 709 MVT ElemTy = ty(VecV).getVectorElementType(); local 773 MVT ElemTy = VecTy.getVectorElementType(); local 882 MVT ElemTy = VecTy.getVectorElementType(); local 1145 MVT ElemTy = ty(VecV).getVectorElementType(); local 1161 MVT ElemTy = ty(VecV).getVectorElementType(); local 1180 MVT ElemTy = SrcTy.getVectorElementType(); local 1197 MVT ElemTy = VecTy.getVectorElementType(); local 1212 MVT ElemTy = ty(InpV).getVectorElementType(); local 1222 MVT ElemTy = ty(InpV).getVectorElementType(); local 1232 MVT ElemTy = ty(InpV).getVectorElementType(); local 1248 MVT ElemTy = ty(InpV).getVectorElementType(); local 1280 MVT ElemTy = ResTy.getVectorElementType(); local 1334 MVT ElemTy = ResTy.getVectorElementType(); local [all...] |
H A D | HexagonSubtarget.h | 233 MVT ElemTy = VecTy.getVectorElementType(); 234 if (!IncludeBool && ElemTy == MVT::i1) 241 if (IncludeBool && ElemTy == MVT::i1) { 256 return llvm::any_of(ElemTypes, [ElemTy] (MVT T) { return ElemTy == T; });
|
H A D | HexagonISelLowering.h | 388 MVT tyVector(MVT Ty, MVT ElemTy) const { 389 if (Ty.isVector() && Ty.getVectorElementType() == ElemTy) 392 unsigned ElemWidth = ElemTy.getSizeInBits(); 394 return MVT::getVectorVT(ElemTy, TyWidth/ElemWidth); 405 SDValue opCastElem(SDValue Vec, MVT ElemTy, SelectionDAG &DAG) const; 409 SDValue convertToByteIndex(SDValue ElemIdx, MVT ElemTy, 411 SDValue getIndexInWord32(SDValue Idx, MVT ElemTy, SelectionDAG &DAG) const;
|
H A D | HexagonTargetTransformInfo.cpp | 268 Type *ElemTy = Val->isVectorTy() ? cast<VectorType>(Val)->getElementType() local 273 if (ElemTy->isIntegerTy(32))
|
H A D | HexagonISelLowering.cpp | 873 MVT ElemTy = OpTy.getVectorElementType(); local 874 assert(ElemTy.isScalarInteger()); 875 MVT WideTy = MVT::getVectorVT(MVT::getIntegerVT(2*ElemTy.getSizeInBits()), 931 MVT ElemTy = OpTy.getVectorElementType(); local 932 assert(ElemTy.isScalarInteger()); 933 MVT WideTy = MVT::getVectorVT(MVT::getIntegerVT(2*ElemTy.getSizeInBits()), 1927 MVT ElemTy = VT.getVectorElementType(); local 1938 if (llvm::find(Tys, ElemTy) != Tys.end()) { 1945 if (ElemTy == MVT::i1 && VecLen == 2*HwLen) 1950 if (ElemTy 2155 MVT ElemTy = VecTy.getVectorElementType(); local 2184 MVT ElemTy = VecTy.getVectorElementType(); local 2267 MVT ElemTy = VecTy.getVectorElementType(); local 2591 MVT ElemTy = VecTy.getVectorElementType(); local 2649 MVT ElemTy = ty(Vec).getVectorElementType(); local [all...] |
H A D | HexagonISelDAGToDAGHVX.cpp | 816 MVT getSingleVT(MVT ElemTy) const { 817 unsigned NumElems = HwLen / (ElemTy.getSizeInBits()/8); 818 return MVT::getVectorVT(ElemTy, NumElems); 821 MVT getPairVT(MVT ElemTy) const { 822 unsigned NumElems = (2*HwLen) / (ElemTy.getSizeInBits()/8); 823 return MVT::getVectorVT(ElemTy, NumElems); 1365 MVT ElemTy = ResTy.getVectorElementType(); 1366 assert(ElemTy == MVT::i8); 1391 MVT LegalTy = Lower.getTypeToTransformTo(Ctx, ElemTy).getSimpleVT();
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Program.cpp | 126 QualType ElemTy = PD->getType()->castAs<PointerType>()->getPointeeType(); local 127 QualType Ty = ASTCtx.getIncompleteArrayType(ElemTy, ArrayType::Normal, 0); 307 QualType ElemTy = ArrayType->getElementType(); local 311 if (llvm::Optional<PrimType> T = Ctx.classify(ElemTy)) { 323 createDescriptor(D, ElemTy.getTypePtr(), IsConst, IsTemporary); 337 if (llvm::Optional<PrimType> T = Ctx.classify(ElemTy)) { 342 createDescriptor(D, ElemTy.getTypePtr(), IsConst, IsTemporary); 359 PrimType ElemTy = *Ctx.classify(CT->getElementType()); local 360 return allocateDescriptor(D, ElemTy, 2, IsConst, IsTemporary, IsMutable);
|
H A D | EvalEmitter.cpp | 173 QualType ElemTy = AT->getElementType(); 180 if (llvm::Optional<PrimType> T = Ctx.classify(ElemTy)) { 183 Ok &= Composite(ElemTy, EP.narrow(), Slot);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | APValue.cpp | 496 QualType ElemTy = Ty->castAs<VectorType>()->getElementType(); local 497 getVectorElt(0).printPretty(Out, Ctx, ElemTy); 500 getVectorElt(i).printPretty(Out, Ctx, ElemTy); 578 QualType ElemTy; local 581 ElemTy = VD->getType(); 584 ElemTy = Base.getTypeInfoType(); 589 ElemTy = Base.getDynamicAllocType(); 596 ElemTy = E->getType(); 602 if (ElemTy->getAs<RecordType>()) { 608 ElemTy 636 QualType ElemTy = AT->getElementType(); local [all...] |
H A D | RecordLayoutBuilder.cpp | 442 QualType ElemTy = Context.getBaseElementType(AT); local 443 const RecordType *RT = ElemTy->getAs<RecordType>(); 546 QualType ElemTy = Context.getBaseElementType(AT); local 547 const RecordType *RT = ElemTy->getAs<RecordType>();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 615 Type *ElemTy = STy->getElementType(i); local 616 if (ElemTy->isIntegerTy()) 618 APInt(ElemTy->getPrimitiveSizeInBits(), 0); 619 else if (ElemTy->isAggregateType()) { 620 const Constant *ElemUndef = UndefValue::get(ElemTy); 630 Type *ElemTy = VTy->getElementType(); local 633 if (ElemTy->isIntegerTy()) 636 APInt(ElemTy->getPrimitiveSizeInBits(), 0); 919 Type* ElemTy; local 926 ElemTy [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DerivedTypes.h | 335 static bool isValidElementType(Type *ElemTy); 419 static bool isValidElementType(Type *ElemTy); 538 static bool isValidElementType(Type *ElemTy); 601 static bool isValidElementType(Type *ElemTy); 604 static bool isLoadableOrStorableType(Type *ElemTy);
|
H A D | DataLayout.h | 555 int64_t getIndexedOffsetInType(Type *ElemTy, ArrayRef<Value *> Indices) const;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Scalarizer.cpp | 167 Type *ElemTy = nullptr; member in struct:__anon2755::VectorLayout 446 Layout.ElemTy = Layout.VecTy->getElementType(); 447 if (!DL.typeSizeEqualsStoreSize(Layout.ElemTy)) 454 Layout.ElemSize = DL.getTypeStoreSize(Layout.ElemTy);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | Evaluator.cpp | 530 Type *ElemTy = GV->getValueType(); local 533 DL.getTypeStoreSize(ElemTy)) {
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaInit.cpp | 79 const QualType ElemTy = local 85 if (ElemTy->isChar8Type()) 91 if (ElemTy->isCharType()) 96 if (ElemTy->isChar8Type()) 98 if (IsWideCharCompatible(ElemTy, Context)) 107 if (Context.typesAreCompatible(Context.Char16Ty, ElemTy)) 109 if (ElemTy->isCharType() || ElemTy->isChar8Type()) 111 if (IsWideCharCompatible(ElemTy, Context)) 115 if (Context.typesAreCompatible(Context.Char32Ty, ElemTy)) [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 804 Constant *StripPtrCastKeepAS(Constant *Ptr, Type *&ElemTy) { argument 810 ElemTy = NewPtrTy->getPointerElementType(); 814 NewPtrTy = ElemTy->getPointerTo(OldPtrTy->getAddressSpace());
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDecl.cpp | 1054 llvm::Type *ElemTy = STy->getElementType(); 1058 OpValue = llvm::Constant::getNullValue(ElemTy); 1069 if (NewElemTy == ElemTy)
|
H A D | TargetInfo.cpp | 6053 llvm::Type* ElemTy; 6058 ElemTy = llvm::Type::getInt32Ty(getVMContext()); 6061 ElemTy = llvm::Type::getInt64Ty(getVMContext()); 6065 return ABIArgInfo::getDirect(llvm::ArrayType::get(ElemTy, SizeRegs)); 8395 llvm::Type *ElemTy = StrTy->getElementType(i); 8397 switch (ElemTy->getTypeID()) { 8399 addStruct(ElemOffset, cast<llvm::StructType>(ElemTy)); 8402 addFloat(ElemOffset, ElemTy, 32); 8405 addFloat(ElemOffset, ElemTy, 64); 8408 addFloat(ElemOffset, ElemTy, 12 [all...] |
H A D | CGExprConstant.cpp | 623 llvm::Type *ElemTy = Emitter.CGM.getTypes().ConvertTypeForMem(ElemType); local 651 Const.condense(Offset, ElemTy);
|
H A D | CGOpenMPRuntimeNVPTX.cpp | 4650 QualType ElemTy = CurField->getType(); 4653 Src, CGF.ConvertTypeForMem(CGFContext.getPointerType(ElemTy))); 4656 CGFContext.getPointerType(ElemTy), 4660 Arg = castValueToType(CGF, Arg, ElemTy, CGFContext.getUIntPtrType(),
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 2157 QualType ElemTy = Context->getBaseElementType(T); local 2158 return needToScanForQualifiers(ElemTy); 3639 QualType ElemTy = Context->getBaseElementType(Type); local 3640 return RewriteObjCFieldDeclType(ElemTy, Result);
|