reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/CodeGen/BasicTTIImpl.h
  778         Type *SplitDst = VectorType::get(Dst->getVectorElementType(),
  780         Type *SplitSrc = VectorType::get(Src->getVectorElementType(),
 1598     Type *ScalarTy = Ty->getVectorElementType();
 1648     Type *ScalarTy = Ty->getVectorElementType();
 1649     Type *ScalarCondTy = CondTy->getVectorElementType();
include/llvm/IR/Type.h
  309       return getVectorElementType();
lib/Analysis/ConstantFolding.cpp
  157   Type *SrcEltTy = C->getType()->getVectorElementType();
  216           Src = Constant::getNullValue(C->getType()->getVectorElementType());
lib/Analysis/InstructionSimplify.cpp
 4217       return UndefValue::get(Vec->getType()->getVectorElementType());
 4225       return UndefValue::get(Vec->getType()->getVectorElementType());
 4233     return UndefValue::get(Vec->getType()->getVectorElementType());
lib/Bitcode/Reader/BitcodeReader.cpp
 4135       FullTy = FullTy->getVectorElementType();
 4168       FullTy = VectorType::get(FullTy->getVectorElementType(),
 5149              FullTy->getVectorElementType()->isFloatingPointTy() ||
 5150              FullTy->getVectorElementType()->isIntegerTy()) &&
lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
  522          isa<PointerType>(Ptrs->getType()->getVectorElementType()) &&
  725   Type *EltTy = VecType->getVectorElementType();
lib/IR/AsmWriter.cpp
 1475     Type *ETy = CV->getType()->getVectorElementType();
lib/IR/AutoUpgrade.cpp
 2056                                  CI->getType()->getVectorElementType());
 2060                                  CI->getType()->getVectorElementType());
 2064       Rep = Builder.CreateFPExt(Rep, CI->getType()->getVectorElementType());
 2095       bool IsPS2PD = SrcTy->getVectorElementType()->isFloatTy();
 2125       Type *PtrTy = ResultTy->getVectorElementType();
 2140       Type *PtrTy = ResultTy->getVectorElementType();
 2236       Type *EltTy = VecTy->getVectorElementType();
 2282       Type *EltTy = CI->getType()->getVectorElementType();
lib/IR/ConstantFold.cpp
  793     return UndefValue::get(Val->getType()->getVectorElementType());
  801     return UndefValue::get(Val->getType()->getVectorElementType());
  818       return CE->getWithOperands(Ops, CE->getType()->getVectorElementType(),
  861   Type *EltTy = V1->getType()->getVectorElementType();
lib/IR/Constants.cpp
 1402     return getNullValue(this->getType()->getVectorElementType());
 2125   Type *ReqTy = Val->getType()->getVectorElementType();
 2141   assert(Elt->getType() == Val->getType()->getVectorElementType() &&
 2169   Type *EltTy = V1->getType()->getVectorElementType();
lib/IR/Function.cpp
  619       getMangledTypeStr(VTy->getVectorElementType());
 1022     Type *EltTy = VTy->getVectorElementType();
 1042     return VectorType::get(Ty->getVectorElementType(),
 1248         EltTy = ThisArgType->getVectorElementType();
 1297               dyn_cast<PointerType>(ThisArgVecTy->getVectorElementType());
 1301              ReferenceType->getVectorElementType();
lib/Target/AArch64/AArch64ISelLowering.cpp
 8806   Type *EltTy = VecTy->getVectorElementType();
 8819     VecTy = VectorType::get(VecTy->getVectorElementType(),
 8826         BaseAddr, VecTy->getVectorElementType()->getPointerTo(
 8849           Builder.CreateConstGEP1_32(VecTy->getVectorElementType(), BaseAddr,
 8865             SubVec, VectorType::get(SVI->getType()->getVectorElementType(),
 8922   Type *EltTy = VecTy->getVectorElementType();
 8960     SubVecTy = VectorType::get(SubVecTy->getVectorElementType(), LaneLen);
 8966         BaseAddr, SubVecTy->getVectorElementType()->getPointerTo(
 9012       BaseAddr = Builder.CreateConstGEP1_32(SubVecTy->getVectorElementType(),
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  651   if (Ty->isVectorTy() && Ty->getVectorElementType()->isIntegerTy(8)) {
lib/Target/AArch64/AArch64TargetTransformInfo.h
  154     Type *Ty = DataType->getVectorElementType();
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
  156     return getValueType(Ty->getVectorElementType(), TypeName);
  597     return getValueType(Ty->getVectorElementType(), TypeName);
lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
  155       V4Ty = VectorType::get(VT->getVectorElementType(), 4);
lib/Target/ARM/ARMISelLowering.cpp
16748   Type *EltTy = VecTy->getVectorElementType();
16774     VecTy = VectorType::get(VecTy->getVectorElementType(),
16781         BaseAddr, VecTy->getVectorElementType()->getPointerTo(
16805           Builder.CreateConstGEP1_32(VecTy->getVectorElementType(), BaseAddr,
16825             SubVec, VectorType::get(SV->getType()->getVectorElementType(),
16883   Type *EltTy = VecTy->getVectorElementType();
16921     SubVecTy = VectorType::get(SubVecTy->getVectorElementType(), LaneLen);
16927         BaseAddr, SubVecTy->getVectorElementType()->getPointerTo(
16945       BaseAddr = Builder.CreateConstGEP1_32(SubVecTy->getVectorElementType(),
lib/Target/ARM/ARMTargetTransformInfo.cpp
  418     if (ValTy->getVectorElementType()->isIntegerTy())
  745       Src->getVectorElementType()->isDoubleTy()) {
lib/Target/Hexagon/HexagonISelLowering.cpp
  925         CValTy->getVectorElementType()->isIntegerTy(1)) {
lib/Target/X86/X86InterleavedAccess.cpp
  130   Type *ShuffleEltTy = ShuffleVecTy->getVectorElementType();
  759   Type *ShuffleEltTy = ShuffleTy->getVectorElementType();
lib/Target/X86/X86ShuffleDecodeConstantPool.cpp
   41   Type *CstEltTy = CstTy->getVectorElementType();
lib/Target/X86/X86TargetTransformInfo.cpp
  927             Tp->getVectorElementType()->getPrimitiveSizeInBits()) {
  930         Type *VecTy = VectorType::get(Tp->getVectorElementType(),
  932         Type *SubTy = VectorType::get(Tp->getVectorElementType(),
  958             Tp->getVectorElementType()->getPrimitiveSizeInBits() &&
  968       Type *SingleOpTy = VectorType::get(Tp->getVectorElementType(),
 2493     VectorType *NewMaskTy = VectorType::get(MaskTy->getVectorElementType(),
 2668   if (!IsPairwise && ValTy->getVectorElementType()->isIntegerTy(1)) {
 3134         IndxTy = IndxTy->getVectorElementType();
 3223     PtrTy = dyn_cast<PointerType>(Ptr->getType()->getVectorElementType());
 3335   Type *ScalarTy = DataTy->getVectorElementType();
 3513   Type *ScalarTy = VecTy->getVectorElementType();
 3522   Type *SingleMemOpTy = VectorType::get(VecTy->getVectorElementType(),
 3622   Type *SingleMemOpTy = VectorType::get(VecTy->getVectorElementType(),
 3659     Type *ResultTy = VectorType::get(VecTy->getVectorElementType(),
 3730     Type *EltTy = VecTy->getVectorElementType();
lib/Transforms/InstCombine/InstCombineCalls.cpp
  473   auto SVT = VT->getVectorElementType();
lib/Transforms/InstCombine/InstCombineInternal.h
  249   Type *EltTy = In->getType()->getVectorElementType();
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
 1036   Type *EltTy = II->getType()->getVectorElementType();
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
 1042       VecSrc->getType()->getVectorElementType() == ScalarSrc->getType()) {
lib/Transforms/InstCombine/InstructionCombining.cpp
 2158       return ArrTy->getArrayElementType() == VecTy->getVectorElementType() &&
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 2666       Type *EltTy = ResultShadow->getType()->getVectorElementType();
lib/Transforms/Scalar/Scalarizer.cpp
  262     Type *ElTy = PtrTy->getElementType()->getVectorElementType();
lib/Transforms/Utils/LoopUtils.cpp
  891           Constant::getNullValue(Src->getType()->getVectorElementType()), Src);
  897       Type *Ty = Src->getType()->getVectorElementType();
lib/Transforms/Vectorize/LoopVectorize.cpp
 3278   auto *I1 = cast<IntegerType>(T1->getVectorElementType());
 3279   auto *I2 = cast<IntegerType>(T2->getVectorElementType());
 3283   auto *I1 = cast<IntegerType>(T1->getVectorElementType());
 3284   auto *I2 = cast<IntegerType>(T2->getVectorElementType());
tools/clang/lib/CodeGen/CGBuiltin.cpp
 5221         CGF.Builder.CreateTruncOrBitCast(Ops[j], ArgTy->getVectorElementType());
 5491     llvm::Type *PTy = llvm::PointerType::getUnqual(VTy->getVectorElementType());
 5670     llvm::Type *PTy = llvm::PointerType::getUnqual(VTy->getVectorElementType());
 9538   llvm::Type *PtrTy = ResultTy->getVectorElementType();
 9569   llvm::Type *PtrTy = ResultTy->getVectorElementType();
14266       llvm::Type *ElemType = ConvertType(E->getType())->getVectorElementType();
tools/clang/lib/CodeGen/CGExprScalar.cpp
 1308     llvm::Type *SrcElementTy = SrcTy->getVectorElementType();
 1309     llvm::Type *DstElementTy = DstTy->getVectorElementType();
 1675   llvm::Type *SrcEltTy = SrcTy->getVectorElementType(),
 1676              *DstEltTy = DstTy->getVectorElementType();
 4416       auto Vec4Ty = llvm::VectorType::get(DstTy->getVectorElementType(), 4);
tools/clang/lib/CodeGen/PatternInit.cpp
   37                             Ty->isVectorTy() ? Ty->getVectorElementType() : Ty)
   46         Ty->isVectorTy() ? Ty->getVectorElementType() : Ty);
   57         (Ty->isVectorTy() ? Ty->getVectorElementType() : Ty)
tools/clang/lib/CodeGen/TargetInfo.cpp
 3007         IRType->getVectorElementType()->isIntegerTy(128)) {