Searched refs:VL (Results 1 - 25 of 43) sorted by relevance

12

/freebsd-current/contrib/llvm-project/clang/lib/AST/
H A DDeclOpenMP.cpp31 ArrayRef<Expr *> VL) {
33 C, DC, std::nullopt, VL.size(), L);
34 D->setVars(VL);
45 void OMPThreadPrivateDecl::setVars(ArrayRef<Expr *> VL) { argument
46 assert(VL.size() == Data->getNumChildren() &&
48 llvm::copy(VL, getVars().begin());
58 SourceLocation L, ArrayRef<Expr *> VL,
61 C, DC, CL, VL.size(), L);
62 D->setVars(VL);
73 void OMPAllocateDecl::setVars(ArrayRef<Expr *> VL) { argument
28 Create(ASTContext &C, DeclContext *DC, SourceLocation L, ArrayRef<Expr *> VL) argument
57 Create(ASTContext &C, DeclContext *DC, SourceLocation L, ArrayRef<Expr *> VL, ArrayRef<OMPClause *> CL) argument
[all...]
H A DOpenMPClause.cpp427 void OMPPrivateClause::setPrivateCopies(ArrayRef<Expr *> VL) {
428 assert(VL.size() == varlist_size() &&
430 std::copy(VL.begin(), VL.end(), varlist_end());
436 ArrayRef<Expr *> VL, ArrayRef<Expr *> PrivateVL) {
438 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * VL.size()));
440 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size());
441 Clause->setVarRefs(VL);
452 void OMPFirstprivateClause::setPrivateCopies(ArrayRef<Expr *> VL) {
453 assert(VL
[all...]
H A DCommentSema.cpp420 VerbatimLineComment *VL = new (Allocator) VerbatimLineComment( local
426 checkFunctionDeclVerbatimLine(VL);
427 checkContainerDeclVerbatimLine(VL);
428 return VL;
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DVarLocBasedImpl.cpp477 VarLoc VL(MI);
478 assert(VL.Locs.size() == 1 &&
479 VL.Locs[0].Kind == MachineLocKind::RegisterKind);
480 VL.EVKind = EntryValueLocKind::EntryValueKind;
481 VL.Expr = EntryExpr;
482 VL.Locs[0].Value.RegNo = Reg;
483 return VL;
492 VarLoc VL(MI);
493 assert(VL.Locs.size() == 1 &&
494 VL
519 VarLoc VL = OldVL; local
533 VarLoc VL = OldVL; local
798 insert(const VarLoc &VL) argument
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp233 static std::string shortBundleName(ArrayRef<Value *> VL) { argument
236 OS << "n=" << VL.size() << " [" << *VL.front() << ", ..]";
242 /// \returns true if all of the instructions in \p VL are in the same block or
244 static bool allSameBlock(ArrayRef<Value *> VL) { argument
245 Instruction *I0 = dyn_cast<Instruction>(VL[0]);
248 if (all_of(VL, isVectorLikeInstWithConstOps))
252 for (int I = 1, E = VL.size(); I < E; I++) {
253 auto *II = dyn_cast<Instruction>(VL[I]);
263 /// \returns True if all of the values in \p VL ar
265 allConstant(ArrayRef<Value *> VL) argument
273 isSplat(ArrayRef<Value *> VL) argument
445 isFixedVectorShuffle(ArrayRef<Value *> VL, SmallVectorImpl<int> &Mask) argument
630 getSameOpcode(ArrayRef<Value *> VL, const TargetLibraryInfo &TLI, unsigned BaseIndex) argument
769 allSameType(ArrayRef<Value *> VL) argument
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp2589 /// vector length VL. .
2590 static SDValue getAllOnesMask(MVT VecVT, SDValue VL, const SDLoc &DL, argument
2593 return DAG.getNode(RISCVISD::VMSET_VL, DL, MaskVT, VL);
2598 // If we know the exact VLEN, and our VL is exactly equal to VLMAX,
2613 SDValue VL = DAG.getRegister(RISCV::X0, Subtarget.getXLenVT()); local
2614 SDValue Mask = getAllOnesMask(VecVT, VL, DL, DAG);
2615 return {Mask, VL};
2622 SDValue VL = getVLOp(NumElts, ContainerVT, DL, DAG, Subtarget); local
2623 SDValue Mask = getAllOnesMask(ContainerVT, VL, DL, DAG);
2624 return {Mask, VL};
2883 SDValue Mask, VL; local
3131 getVSlidedown(SelectionDAG &DAG, const RISCVSubtarget &Subtarget, const SDLoc &DL, EVT VT, SDValue Merge, SDValue Op, SDValue Offset, SDValue Mask, SDValue VL, unsigned Policy = RISCVII::TAIL_UNDISTURBED_MASK_UNDISTURBED) argument
3143 getVSlideup(SelectionDAG &DAG, const RISCVSubtarget &Subtarget, const SDLoc &DL, EVT VT, SDValue Merge, SDValue Op, SDValue Offset, SDValue Mask, SDValue VL, unsigned Policy = RISCVII::TAIL_UNDISTURBED_MASK_UNDISTURBED) argument
3929 splatPartsI64WithVL(const SDLoc &DL, MVT VT, SDValue Passthru, SDValue Lo, SDValue Hi, SDValue VL, SelectionDAG &DAG) argument
3986 splatSplitI64WithVL(const SDLoc &DL, MVT VT, SDValue Passthru, SDValue Scalar, SDValue VL, SelectionDAG &DAG) argument
3998 lowerScalarSplat(SDValue Passthru, SDValue Scalar, SDValue VL, MVT VT, const SDLoc &DL, SelectionDAG &DAG, const RISCVSubtarget &Subtarget) argument
4036 lowerScalarInsert(SDValue Scalar, SDValue VL, MVT VT, const SDLoc &DL, SelectionDAG &DAG, const RISCVSubtarget &Subtarget) argument
5124 SDValue Mask, VL; local
5507 SDValue Mask, VL; local
6014 SDValue VL = getDefaultVLOps(VT, ContainerVT, DL, DAG, Subtarget).second; local
7527 SDValue VL = getDefaultScalableVLOps(VT, DL, DAG, Subtarget).second; local
7531 SDValue VL = getDefaultScalableVLOps(VT, DL, DAG, Subtarget).second; local
7561 auto VL = getDefaultVLOps(VecVT, ContainerVT, DL, DAG, Subtarget).second; local
7597 SDValue VL = getDefaultVLOps(VecVT, ContainerVT, DL, DAG, Subtarget).second; local
7654 SDValue Mask, VL; local
7723 SDValue Mask, VL; local
7832 SDValue Mask, VL; local
8346 SDValue VL = DAG.getNode(ISD::INTRINSIC_WO_CHAIN, DL, XLenVT, SETVL, AVL, local
8400 SDValue VL = getVLOperand(Op); local
8623 SDValue VL = getVLOperand(Op); local
8760 SDValue VL = getDefaultVLOps(VT, ContainerVT, DL, DAG, Subtarget).second; local
8825 SDValue VL = getVLOp(VT.getVectorNumElements(), ContainerVT, DL, DAG, local
8922 SDValue VL = getDefaultVLOps(VT, ContainerVT, DL, DAG, Subtarget).second; local
8961 SDValue VL = getVLOp(VT.getVectorNumElements(), ContainerVT, DL, DAG, local
9111 SDValue Mask, VL; local
9180 lowerReductionSeq(unsigned RVVOpcode, MVT ResVT, SDValue StartValue, SDValue Vec, SDValue Mask, SDValue VL, const SDLoc &DL, SelectionDAG &DAG, const RISCVSubtarget &Subtarget) argument
9336 SDValue VL = Op.getOperand(3); local
9421 SDValue VL = getVLOp(EndIndex, ContainerVT, DL, DAG, Subtarget); local
9598 SDValue VL = getVLOp(SubVecVT.getVectorNumElements(), ContainerVT, DL, DAG, local
9775 SDValue VL = DAG.getRegister(RISCV::X0, XLenVT); local
10019 SDValue VL = getVLOp(VT.getVectorNumElements(), ContainerVT, DL, DAG, Subtarget); local
10099 SDValue Mask, PassThru, VL; local
10162 SDValue Val, Mask, VL; local
10334 SDValue Mask, VL; local
10394 SDValue VL = getDefaultVLOps(VT, ContainerVT, DL, DAG, Subtarget).second; local
10518 SDValue VL = Op.getOperand(2); local
10553 SDValue VL = Op.getOperand(4); local
10630 SDValue VL = Op.getOperand(2); local
10968 SDValue VL = Op->getOperand(3); local
11086 SDValue Index, Mask, PassThru, VL; local
11184 SDValue Index, Mask, Val, VL; local
13047 SDValue VL; member in struct:__anon32::NodeExtensionHelper
13423 SDValue Mask, VL, Merge; local
14073 SDValue VL = N->getOperand(4 + Offset); local
14122 SDValue VL = N->getOperand(4); local
14181 SDValue VL = N->getOperand(4); local
14218 SDValue VL = N->getOperand(4); local
15733 SDValue VL = N->getOperand(4); local
15914 SDValue VL = N->getOperand(2); local
15925 SDValue VL = N->getOperand(2); local
15968 SDValue VL = N->getOperand(2); local
16054 SDValue VL = N->getOperand(2); local
20065 Value *VL = ConstantInt::get(XLenTy, VTy->getNumElements()); local
20131 Value *VL = ConstantInt::get(XLenTy, VTy->getNumElements()); local
20159 Value *VL; local
20209 Value *VL; local
[all...]
H A DRISCVRegisterInfo.cpp123 markSuperRegs(Reserved, RISCV::VL);
315 Register VL = MRI.createVirtualRegister(&RISCV::GPRRegClass); local
320 STI.getInstrInfo()->movImm(MBB, II, DL, VL, Offset);
322 BuildMI(MBB, II, DL, TII->get(RISCV::PseudoReadVLENB), VL);
325 BuildMI(MBB, II, DL, TII->get(RISCV::SLLI), VL)
326 .addReg(VL)
347 .addReg(VL, getKillRegState(I == NF - 2));
392 Register VL = MRI.createVirtualRegister(&RISCV::GPRRegClass); local
397 STI.getInstrInfo()->movImm(MBB, II, DL, VL, Offset);
399 BuildMI(MBB, II, DL, TII->get(RISCV::PseudoReadVLENB), VL);
[all...]
H A DRISCVISelDAGToDAG.cpp68 SDValue VL = CurDAG->getRegister(RISCV::X0, Subtarget->getXLenVT()); local
73 Result = CurDAG->getNode(Opc, DL, VT, CurDAG->getUNDEF(VT), Src, VL);
85 SDValue VL = N->getOperand(3); local
116 VL};
316 SDValue VL; local
317 selectVLOp(Node->getOperand(CurOp++), VL);
318 Operands.push_back(VL);
382 unsigned NF = Node->getNumValues() - 2; // Do not count VL and Chain.
417 ReplaceUses(SDValue(Node, NF), SDValue(Load, 1)); // VL
1467 SDValue VL; local
1547 SDValue VL; local
2114 SDValue VL; local
3081 selectVLOp(SDValue N, SDValue &VL) argument
[all...]
H A DRISCVTargetTransformInfo.cpp77 unsigned VL = VT.getVectorMinNumElements(); local
79 VL *= *getVScaleForTuning();
80 Cost += Log2_32_Ceil(VL);
84 unsigned VL = VT.getVectorMinNumElements(); local
86 VL *= *getVScaleForTuning();
87 Cost += VL;
651 // know exactly what VL will be.
949 unsigned VL = getEstimatedVLFor(Ty); local
950 return (LT.first - 1) + BaseCost + Log2_32_Ceil(VL);
982 unsigned VL local
[all...]
H A DRISCVInsertVSETVLI.cpp15 // Phase 1 collects how each basic block affects VL/VTYPE.
18 // propagate the VL/VTYPE changes through the function. This gives us the
19 // VL/VTYPE at the start of each basic block.
66 /// VL and only sets VTYPE.
209 /// Which subfields of VL or VTYPE have values we need to preserve?
211 // Some unknown property of VL is used. If demanded, must preserve entire
237 // Return true if any property of VL was used
251 // Mark all VL properties as demanded
353 // that it can't use the value of a SEW, VL, or Policy operand as they might
359 if (MI.isCall() || MI.isInlineAsm() || MI.readsRegister(RISCV::VL))
[all...]
H A DRISCVISelDAGToDAG.h129 bool selectVLOp(SDValue N, SDValue &VL);
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/PBQP/
H A DReductionRules.h152 unsigned VL = V.getLength(); local
155 if (VL <= 1)
160 for (unsigned i = 1; i < VL; ++i)
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/
H A DSLPVectorizer.h96 bool tryToVectorizeList(ArrayRef<Value *> VL, slpvectorizer::BoUpSLP &R,
/freebsd-current/contrib/llvm-project/clang/include/clang/AST/
H A DDeclOpenMP.h129 void setVars(ArrayRef<Expr *> VL);
134 ArrayRef<Expr *> VL);
492 void setVars(ArrayRef<Expr *> VL);
496 SourceLocation L, ArrayRef<Expr *> VL,
H A DOpenMPClause.h303 void setVarRefs(ArrayRef<Expr *> VL) { argument
304 assert(VL.size() == NumVars &&
306 std::copy(VL.begin(), VL.end(),
472 /// Creates clause with a list of variables \a VL.
480 /// \param VL List of references to the variables.
484 SourceLocation EndLoc, ArrayRef<Expr *> VL);
843 void setSizesRefs(ArrayRef<Expr *> VL) { argument
844 assert(VL.size() == NumSizes);
845 std::copy(VL
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/IR/
H A DDominators.cpp108 DomTreeBuilder::BBDomTree::VerificationLevel VL);
111 DomTreeBuilder::BBPostDomTree::VerificationLevel VL);
/freebsd-current/contrib/llvm-project/llvm/include/llvm/IR/
H A DDominators.h87 BBDomTree::VerificationLevel VL);
89 BBPostDomTree::VerificationLevel VL);
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/
H A DVectorUtils.cpp785 /// \returns \p I after propagating metadata from \p VL.
786 Instruction *llvm::propagateMetadata(Instruction *Inst, ArrayRef<Value *> VL) { argument
787 if (VL.empty())
789 Instruction *I0 = cast<Instruction>(VL[0]);
799 for (int J = 1, E = VL.size(); MD && J != E; ++J) {
800 const Instruction *IJ = cast<Instruction>(VL[J]);
1481 SmallVector<Value *, 4> VL; local
1482 std::transform(Members.begin(), Members.end(), std::back_inserter(VL),
1484 propagateMetadata(NewInst, VL);
H A DMemorySSA.cpp1857 void MemorySSA::verifyMemorySSA(VerificationLevel VL) const {
1859 VL = VerificationLevel::Full;
1863 verifyOrderingDominationAndDefUses(F, VL);
1865 if (VL == VerificationLevel::Full)
1958 VerificationLevel VL) const {
1978 if (VL == VerificationLevel::Full) {
2010 if (VL == VerificationLevel::Full)
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-graph-diff.cpp319 GraphDiffRenderer::StatType VL, int TrunLen) {
322 switch (VL) {
334 double RelDiff = statRelDiff(LeftStat, RightStat, VL);
318 getLabel(const GraphDiffRenderer::GraphT::VertexValueType &V, GraphDiffRenderer::StatType VL, int TrunLen) argument
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DGenericDomTreeConstruction.h1596 bool Verify(const DomTreeT &DT, typename DomTreeT::VerificationLevel VL) { argument
1610 if (VL == DomTreeT::VerificationLevel::Basic ||
1611 VL == DomTreeT::VerificationLevel::Full)
1614 if (VL == DomTreeT::VerificationLevel::Full)
H A DGenericDomTree.h221 bool Verify(const DomTreeT &DT, typename DomTreeT::VerificationLevel VL);
819 bool verify(VerificationLevel VL = VerificationLevel::Full) const {
820 return DomTreeBuilder::Verify(*this, VL);
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DLoopUtils.h419 /// of each scalar operation (VL) that will be converted into a vector (I).
424 void propagateIRFlags(Value *I, ArrayRef<Value *> VL, Value *OpValue = nullptr,
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp7784 SDValue VL = Node->getOperand(4);
7796 ShAmt = DAG.getNode(ISD::VP_UREM, DL, ShVT, Z, BitWidthC, Mask, VL);
7797 InvShAmt = DAG.getNode(ISD::VP_SUB, DL, ShVT, BitWidthC, ShAmt, Mask, VL);
7799 VL);
7801 VL);
7808 ShAmt = DAG.getNode(ISD::VP_AND, DL, ShVT, Z, BitMask, Mask, VL);
7811 DAG.getAllOnesConstant(DL, ShVT), Mask, VL);
7812 InvShAmt = DAG.getNode(ISD::VP_AND, DL, ShVT, NotZ, BitMask, Mask, VL);
7815 ShAmt = DAG.getNode(ISD::VP_UREM, DL, ShVT, Z, BitWidthC, Mask, VL);
7816 InvShAmt = DAG.getNode(ISD::VP_SUB, DL, ShVT, BitMask, ShAmt, Mask, VL);
[all...]
/freebsd-current/contrib/llvm-project/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h196 static const PrototypeDescriptor VL; member in struct:clang::RISCV::PrototypeDescriptor

Completed in 637 milliseconds

12