Searched refs:EltTy (Results 51 - 75 of 78) sorted by relevance

1234

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h1356 Type *EltTy = VTy->getElementType(); local
1358 if (auto *PTy = dyn_cast<PointerType>(EltTy)) {
1360 EltTy = PointerTy.getTypeForEVT(Ty->getContext());
1362 return EVT::getVectorVT(Ty->getContext(), EVT::getEVT(EltTy, false),
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DInitialization.h1312 void AddArrayInitLoopStep(QualType T, QualType EltTy);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp4202 auto *EltTy = cast<PointerType>(A->getType())->getElementType();
4203 return EltTy->isVectorTy() || EltTy->isAggregateType();
4495 Type *EltTy = cast<VectorType>(VecTy)->getElementType();
4496 if (EltTy->isFloatTy() || EltTy->isDoubleTy() || EltTy->isIntegerTy(64) ||
4497 EltTy->isIntegerTy(32) || EltTy->isPointerTy())
4499 if (EltTy
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp3064 Type *EltTy = C->getType()->getScalarType(); local
3065 C = Constant::replaceUndefsWith(C, ConstantInt::getAllOnesValue(EltTy));
3203 Type *EltTy = C->getType()->getScalarType(); local
3204 C = Constant::replaceUndefsWith(C, ConstantInt::getAllOnesValue(EltTy));
3213 Type *EltTy = C->getType()->getScalarType(); local
3214 C = Constant::replaceUndefsWith(C, ConstantInt::getNullValue(EltTy));
H A DInstCombineCompares.cpp173 Type *EltTy = Init->getType()->getArrayElementType(); local
181 if (StructType *STy = dyn_cast<StructType>(EltTy))
182 EltTy = STy->getElementType(IdxVal);
183 else if (ArrayType *ATy = dyn_cast<ArrayType>(EltTy)) {
185 EltTy = ATy->getElementType();
2854 auto *EltTy = cast<IntegerType>(VecTy->getElementType()); local
2855 if (C->isSplat(EltTy->getBitWidth())) {
2863 Value *NewC = ConstantInt::get(EltTy, C->trunc(EltTy->getBitWidth()));
H A DInstCombineVectorOps.cpp1336 Type *EltTy = V->getType()->getScalarType(); local
1339 return UndefValue::get(FixedVectorType::get(EltTy, Mask.size()));
1342 return ConstantAggregateZero::get(FixedVectorType::get(EltTy, Mask.size()));
H A DInstructionCombining.cpp1816 Type *EltTy = GTI.getIndexedType(); local
1817 if (EltTy->isSized() && DL.getTypeAllocSize(EltTy).isZero())
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1144 auto *EltTy = local
1151 auto *DescTy = DBuilder.createPointerType(EltTy, Size);
1162 EltTy = DBuilder.createStructType(Unit, "", nullptr, 0, FieldOffset, 0,
1165 return DBuilder.createPointerType(EltTy, Size);
2835 QualType EltTy(Ty, 0);
2836 while ((Ty = dyn_cast<ArrayType>(EltTy))) {
2855 auto SizeNode = SizeExprCache.find(EltTy);
2868 EltTy = Ty->getElementType();
2873 return DBuilder.createArrayType(Size, Align, getOrCreateType(EltTy, Unit),
H A DCGExpr.cpp914 QualType EltTy) {
916 uint64_t EltSize = C.getTypeSizeInChars(EltTy).getQuantity();
977 QualType EltTy{Base->getType()->getPointeeOrArrayElementType(), 0};
978 if (llvm::Value *POS = CGF.LoadPassedObjectSize(Base, EltTy)) {
1179 llvm::Type *EltTy = local
1181 llvm::Value *U = llvm::UndefValue::get(EltTy);
1681 const llvm::Type *EltTy = Addr.getElementType(); local
1683 const auto *VTy = cast<llvm::VectorType>(EltTy);
913 LoadPassedObjectSize(const Expr *E, QualType EltTy) argument
H A DCodeGenFunction.h2557 void EmitAggregateAssign(LValue Dest, LValue Src, QualType EltTy) { argument
2558 bool IsVolatile = hasVolatileMember(EltTy);
2559 EmitAggregateCopy(Dest, Src, EltTy, AggValueSlot::MayOverlap, IsVolatile);
2574 void EmitAggregateCopy(LValue Dest, LValue Src, QualType EltTy,
4625 /// array size modifier, emit the object size divided by the size of \p EltTy.
4627 llvm::Value *LoadPassedObjectSize(const Expr *E, QualType EltTy);
H A DCGBuiltin.cpp5953 llvm::Type *EltTy =
5956 llvm::FixedVectorType::get(EltTy, VTy->getNumElements() * 2);
5964 llvm::Type *EltTy = llvm::IntegerType::get(getLLVMContext(), EltBits / 2);
5966 llvm::FixedVectorType::get(EltTy, VTy->getNumElements() * 2);
7809 static llvm::ScalableVectorType *getSVEVectorForElementType(llvm::Type *EltTy) {
7810 unsigned NumElts = SVEBitsPerBlock / EltTy->getScalarSizeInBits();
7811 return llvm::ScalableVectorType::get(EltTy, NumElts);
8420 llvm::Type *EltTy = Ops[0]->getType();
8422 EltTy = IntegerType::get(getLLVMContext(), SVEBitsPerBlock / NumOpnds);
8424 Address Alloca = CreateTempAlloca(llvm::ArrayType::get(EltTy, NumOpnd
[all...]
H A DCGExprScalar.cpp1965 llvm::Type *EltTy = VType->getElementType(); local
1970 llvm::Value *Init = llvm::Constant::getNullValue(EltTy);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp894 Type *EltTy = V1VTy->getElementType(); local
898 return UndefValue::get(FixedVectorType::get(EltTy, MaskNumElts));
922 Result.push_back(UndefValue::get(EltTy));
927 InElt = UndefValue::get(EltTy);
H A DConstants.cpp1075 template <typename ItTy, typename EltTy>
1076 static bool rangeOnlyContains(ItTy Start, ItTy End, EltTy Elt) {
2399 Type *EltTy = V1VTy->getElementType(); local
2401 Type *ShufTy = VectorType::get(EltTy, NElts, TypeIsScalable);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp487 Type *EltTy; local
490 EltTy = AT->getElementType();
493 EltTy = cast<VectorType>(C->getType())->getElementType();
495 uint64_t EltSize = DL.getTypeAllocSize(EltTy);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp1695 EVT EltTy = VectorEntry.getValueType().getVectorElementType(); local
1699 NewBldVec[i] = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL, EltTy, VectorEntry,
1739 EVT EltTy = VectorEntry.getValueType().getVectorElementType(); local
1744 NewBldVec[i] = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL, EltTy, VectorEntry,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp2891 Type *EltTy = nullptr;
2892 if (ParseType(EltTy)) return true;
2903 if (!VectorType::isValidElementType(EltTy))
2905 Result = VectorType::get(EltTy, unsigned(Size), Scalable);
2907 if (!ArrayType::isValidElementType(EltTy))
2909 Result = ArrayType::get(EltTy, Size);
6708 Type *EltTy = nullptr;
6712 ParseType(EltTy, TypeLoc))
6715 if (!EltTy->isFirstClassType())
6718 Inst = new VAArgInst(Op, EltTy);
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp2162 Type *EltTy = VTy->getElementType();
2169 Elements.push_back(ConstantInt::get(EltTy, V2));
2171 Elements.push_back(ConstantInt::get(EltTy, 1));
2687 Type *EltTy = cast<VectorType>(ResultShadow->getType())->getElementType();
2690 ResultShadow, ConstantInt::getNullValue(EltTy),
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp1845 QualType EltTy; local
1847 EltTy = T;
1849 EltTy = PTy->getPointeeType();
1851 EltTy = T->getPointeeType();
1855 if (!EltTy->isIncompleteOrObjectType()) {
1857 ProblemTy = EltTy;
2317 if (const RecordType *EltTy = T->getAs<RecordType>()) {
2320 if (EltTy->getDecl()->hasFlexibleArrayMember())
H A DSemaChecking.cpp1130 const QualType EltTy = PipeTy->getElementType(); local
1136 EltTy, ArgTy->getPointeeType()->getCanonicalTypeInternal())) {
1138 << Call->getDirectCallee() << S.Context.getPointerType(EltTy)
2221 QualType EltTy = local
2224 EltTy = EltTy.withConst();
2225 QualType LHSTy = Context.getPointerType(EltTy);
H A DSemaExprCXX.cpp5896 const QualType EltTy =
5899 assert(!EltTy->isBooleanType() && !EltTy->isEnumeralType() &&
5901 return EltTy->isIntegralType(Ctx);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp1234 LLT EltTy = Ty.getElementType(); local
1235 if (EltTy.isPointer())
5082 LLT EltTy = DstTy.getElementType(); local
5087 Undef = MIRBuilder.buildUndef(EltTy).getReg(0);
5099 auto Extract = MIRBuilder.buildExtractVectorElement(EltTy, SrcVec, IdxK);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp1565 MVT EltTy = VT.getVectorElementType().getSimpleVT(); local
1566 MVT WideTy = MVT::getVectorVT(EltTy, 2 * NarrowSize);
1581 MVT EltTy = VT.getVectorElementType().getSimpleVT(); local
1582 MVT NarrowTy = MVT::getVectorVT(EltTy, WideSize / 2);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp4428 const LLT EltTy = MRI.getType(EltReg);
4429 unsigned EltSize = EltTy.getSizeInBits();
4537 const LLT EltTy = MRI.getType(I.getOperand(1).getReg()); local
4538 unsigned EltSize = EltTy.getSizeInBits();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp13943 MVT EltTy = MVT::getIntegerVT(Alignment * 8); local
13946 unsigned NumElts = NumBytes / (EltTy.getSizeInBits() / 8);
13947 AlignedVecTy = MVT::getVectorVT(EltTy, NumElts);
18495 Type *EltTy = VecTy->getElementType(); local
18509 if (EltTy->isPointerTy())
18510 VecTy = FixedVectorType::get(DL.getIntPtrType(EltTy), VecTy);
18588 if (EltTy->isPointerTy())
18647 Type *EltTy = VecTy->getElementType(); local
18648 auto *SubVecTy = FixedVectorType::get(EltTy, LaneLen);
18666 if (EltTy
[all...]

Completed in 902 milliseconds

1234