Home
last modified time | relevance | path

Searched refs:ElemCount (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp150 ElementCount ElemCount);
210 ElementCount ElemCount) { in convertEVLToMask() argument
213 if (ElemCount.isScalable()) { in convertEVLToMask()
214 Type *BoolVecTy = VectorType::get(Builder.getInt1Ty(), ElemCount); in convertEVLToMask()
224 unsigned NumElems = ElemCount.getFixedValue(); in convertEVLToMask()
226 Value *IdxVec = Builder.CreateStepVector(VectorType::get(LaneTy, ElemCount)); in convertEVLToMask()
539 ElementCount ElemCount = VPI.getStaticVectorLength(); in foldEVLIntoMask() local
540 Value *VLMask = convertEVLToMask(Builder, OldEVLParam, ElemCount); in foldEVLIntoMask()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp201 Value *ElemCount = ActiveLaneMask->getOperand(1); in IsSafeActiveMask() local
203 if (!L->makeLoopInvariant(ElemCount, Changed)) in IsSafeActiveMask()
206 const SCEV *EC = SE->getSCEV(ElemCount); in IsSafeActiveMask()
254 if ((ConstElemCount = dyn_cast<ConstantInt>(ElemCount))) { in IsSafeActiveMask()
/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Dpath.cpp284 int ElemCount = DetermineLexicalElementCount(PPBase); in lexically_relative() local
285 if (ElemCount < 0) in lexically_relative()
289 if (ElemCount == 0 && (PP.atEnd() || *PP == PATHSTR(""))) in lexically_relative()
296 while (ElemCount--) in lexically_relative()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DOperator.cpp105 const uint64_t ElemCount = OpC ? OpC->getZExtValue() : 1; in getMaxPreservedAlignment() local
106 Offset = GTI.getSequentialElementStride(DL) * ElemCount; in getMaxPreservedAlignment()
H A DIntrinsicInst.cpp363 auto ElemCount = VT->getElementCount(); in getStaticVectorLength() local
364 return ElemCount; in getStaticVectorLength()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVECustomDAG.cpp435 unsigned ElemCount = ResultVT.getVectorNumElements(); in getMaskBroadcast() local
436 MVT CmpVecTy = MVT::getVectorVT(ScalarBoolVT, ElemCount); in getMaskBroadcast()
444 MVT BoolVecTy = MVT::getVectorVT(MVT::i1, ElemCount); in getMaskBroadcast()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp88 Type *getByteTy(int ElemCount = 0) const;
91 Type *getBoolTy(int ElemCount = 0) const;
2181 auto HexagonVectorCombine::getByteTy(int ElemCount) const -> Type * { in getByteTy()
2182 assert(ElemCount >= 0); in getByteTy()
2184 if (ElemCount == 0) in getByteTy()
2186 return VectorType::get(ByteTy, ElemCount, /*Scalable=*/false); in getByteTy()
2189 auto HexagonVectorCombine::getBoolTy(int ElemCount) const -> Type * { in getBoolTy()
2190 assert(ElemCount >= 0); in getBoolTy()
2192 if (ElemCount == 0) in getBoolTy()
2194 return VectorType::get(BoolTy, ElemCount, /*Scalable=*/false); in getBoolTy()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDie.cpp556 if (std::optional<uint64_t> ElemCount = in getTypeSizeImpl() local
558 Size *= *ElemCount; in getTypeSizeImpl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/
H A DARM.cpp462 const unsigned ElemCount = Ops[0]->getType()->getPrimitiveSizeInBits() / in EmitFP8NeonFDOTCall() local
464 llvm::Type *Tys[] = {llvm::FixedVectorType::get(RetTy, ElemCount), in EmitFP8NeonFDOTCall()
483 const unsigned ElemCount = Ops[0]->getType()->getPrimitiveSizeInBits() / in EmitFP8NeonFMLACall() local
485 return EmitFP8NeonCall(IID, {llvm::FixedVectorType::get(RetTy, ElemCount)}, in EmitFP8NeonFMLACall()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp1065 uint64_t ElemCount, bool Diag) { in CheckArraySize() argument
1071 ElemCount > uint64_t(std::numeric_limits<unsigned>::max())) { in CheckArraySize()
1073 FFDiag(Loc, diag::note_constexpr_new_too_large) << ElemCount; in CheckArraySize()
1083 if (ElemCount > Limit) { in CheckArraySize()
1086 << ElemCount << Limit; in CheckArraySize()