Home
last modified time | relevance | path

Searched refs:VTs (Results 1 – 25 of 57) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h80 const EVT *VTs; member
1129 SDNode(unsigned Opc, unsigned Order, DebugLoc dl, SDVTList VTs)
1130 : NodeType(Opc), ValueList(VTs.VTs), NumValues(VTs.NumVTs),
1134 assert(NumValues == VTs.NumVTs &&
1308 AddrSpaceCastSDNode(unsigned Order, const DebugLoc &dl, SDVTList VTs,
1310 : SDNode(ISD::ADDRSPACECAST, Order, dl, VTs), SrcAddrSpace(SrcAS),
1332 MemSDNode(unsigned Opc, unsigned Order, const DebugLoc &dl, SDVTList VTs,
1571 SDVTList VTs, EVT MemoryVT, MachineMemOperand *MMO)
1572 : MemSDNode(Opc, Order, dl, VTs, MemoryVT, MMO) {
1602 ShuffleVectorSDNode(SDVTList VTs, unsigned Order, const DebugLoc &dl,
[all …]
H A DSelectionDAG.h107 const EVT *VTs;
115 FastID(ID), VTs(VT), NumVTs(Num) {
120 SDVTList result = {VTs, NumVTs};
430 SDVTList VTs, EVT MemoryVT,
432 return SDNodeTy(Opc, Order, DebugLoc(), VTs, MemoryVT, MMO)
657 SDVTList getVTList(ArrayRef<EVT> VTs);
796 SDVTList VTs = getVTList(MVT::Other, MVT::Glue);
798 return getNode(ISD::CopyToReg, dl, VTs,
805 SDVTList VTs = getVTList(MVT::Other, MVT::Glue);
807 return getNode(ISD::CopyToReg, dl, VTs,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp89 static SDVTList makeVTList(const EVT *VTs, unsigned NumVTs) { in makeVTList() argument
90 SDVTList Res = {VTs, NumVTs}; in makeVTList()
689 ID.AddPointer(VTList.VTs); in AddNodeIDValueTypes()
1726 SDVTList VTs = getVTList(EltVT); in getConstant() local
1728 AddNodeIDNode(ID, Opc, VTs, std::nullopt); in getConstant()
1738 N = newSDNode<ConstantSDNode>(isT, isO, Elt, VTs); in getConstant()
1788 SDVTList VTs = getVTList(EltVT); in getConstantFP() local
1790 AddNodeIDNode(ID, Opc, VTs, std::nullopt); in getConstantFP()
1799 N = newSDNode<ConstantFPSDNode>(isTarget, &V, VTs); in getConstantFP()
1846 SDVTList VTs = getVTList(VT); in getGlobalAddress() local
[all …]
H A DSelectionDAGISel.cpp2430 const EVT VTs[] = {MVT::Other, MVT::Glue}; in Select_INLINEASM() local
2431 SDValue New = CurDAG->getNode(N->getOpcode(), DL, VTs, Ops); in Select_INLINEASM()
4068 SmallVector<EVT, 4> VTs; in SelectCodeCommon() local
4074 VTs.push_back(VT); in SelectCodeCommon()
4078 VTs.push_back(MVT::Other); in SelectCodeCommon()
4080 VTs.push_back(MVT::Glue); in SelectCodeCommon()
4085 if (VTs.size() == 1) in SelectCodeCommon()
4086 VTList = CurDAG->getVTList(VTs[0]); in SelectCodeCommon()
4087 else if (VTs.size() == 2) in SelectCodeCommon()
4088 VTList = CurDAG->getVTList(VTs[0], VTs[1]); in SelectCodeCommon()
[all …]
H A DScheduleDAGSDNodes.cpp144 static void CloneNodeWithValues(SDNode *N, SelectionDAG *DAG, ArrayRef<EVT> VTs, in CloneNodeWithValues() argument
150 SDVTList VTList = DAG->getVTList(VTs); in CloneNodeWithValues()
179 SmallVector<EVT, 4> VTs(N->values()); in AddGlue() local
181 VTs.push_back(MVT::Glue); in AddGlue()
183 CloneNodeWithValues(N, DAG, VTs, Glue); in AddGlue()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.cpp27 SDVTList VTs = Op == SystemZISD::CLC ? DAG.getVTList(MVT::i32, MVT::Other) in createMemMemNode() local
34 return DAG.getNode(Op, DL, VTs, Ops); in createMemMemNode()
193 SDVTList VTs = DAG.getVTList(PtrVT, MVT::i32, MVT::Other); in EmitTargetCodeForMemchr() local
199 SDValue End = DAG.getNode(SystemZISD::SEARCH_STRING, DL, VTs, Chain, in EmitTargetCodeForMemchr()
218 SDVTList VTs = DAG.getVTList(Dest.getValueType(), MVT::Other); in EmitTargetCodeForStrcpy() local
219 SDValue EndDest = DAG.getNode(SystemZISD::STPCPY, DL, VTs, Chain, Dest, Src, in EmitTargetCodeForStrcpy()
228 SDVTList VTs = DAG.getVTList(Src1.getValueType(), MVT::i32, MVT::Other); in EmitTargetCodeForStrcmp() local
230 SDValue Unused = DAG.getNode(SystemZISD::STRCMP, DL, VTs, Chain, Src2, Src1, in EmitTargetCodeForStrcmp()
247 SDVTList VTs = DAG.getVTList(PtrVT, MVT::i32, MVT::Other); in getBoundedStrlen() local
248 SDValue End = DAG.getNode(SystemZISD::SEARCH_STRING, DL, VTs, Chain, in getBoundedStrlen()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/Utils/
H A DWebAssemblyTypeUtilities.cpp70 ArrayRef<MVT> VTs) { in wasmSymbolSetType() argument
87 } else if (VTs.size() == 1) { in wasmSymbolSetType()
88 ValTy = WebAssembly::toValType(VTs[0]); in wasmSymbolSetType()
H A DWebAssemblyTypeUtilities.h63 ArrayRef<MVT> VTs);
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFSelectionDAGInfo.cpp35 SDVTList VTs = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemcpy() local
37 Dst = DAG.getNode(BPFISD::MEMCPY, dl, VTs, Chain, Dst, Src, in EmitTargetCodeForMemcpy()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMachineFunctionInfo.cpp46 SmallVector<EVT, 4> VTs; in computeLegalValueVTs() local
47 ComputeValueVTs(TLI, DL, Ty, VTs); in computeLegalValueVTs()
49 for (EVT VT : VTs) { in computeLegalValueVTs()
H A DWebAssemblyMCInstLower.cpp59 SmallVector<MVT, 1> VTs; in GetGlobalAddressSymbol() local
60 computeLegalValueVTs(CurrentFunc, TM, GlobalVT, VTs); in GetGlobalAddressSymbol()
62 WebAssembly::wasmSymbolSetType(WasmSym, GlobalVT, VTs); in GetGlobalAddressSymbol()
H A DWebAssemblyAsmPrinter.cpp189 SmallVector<MVT, 1> VTs; in emitGlobalVariable() local
199 GV->getDataLayout(), GlobalVT, VTs); in emitGlobalVariable()
201 WebAssembly::wasmSymbolSetType(Sym, GlobalVT, VTs); in emitGlobalVariable()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp454 SDVTList VTs = CurDAG->getVTList(MVT::i32, MVT::i32); in getSBBZero() local
456 CurDAG->getMachineNode(X86::MOV32r0, dl, VTs, std::nullopt), 0); in getSBBZero()
479 VTs = CurDAG->getVTList(SBBVT, MVT::i32); in getSBBZero()
481 CurDAG->getMachineNode(Opc, dl, VTs, in getSBBZero()
1031 SDVTList VTs = CurDAG->getVTList(NarrowVT, MVT::Other); in PreprocessISelDAG() local
1034 X86ISD::VBROADCAST_LOAD, dl, VTs, Ops, MemNode->getMemoryVT(), in PreprocessISelDAG()
1451 SDVTList VTs = CurDAG->getVTList(MVT::Other); in PreprocessISelDAG() local
1453 Store = CurDAG->getMemIntrinsicNode(X86ISD::FST, dl, VTs, Ops, MemVT, in PreprocessISelDAG()
1468 SDVTList VTs = CurDAG->getVTList(DstVT, MVT::Other); in PreprocessISelDAG() local
1471 X86ISD::FLD, dl, VTs, Ops, MemVT, MPI, in PreprocessISelDAG()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DDAGISelMatcher.cpp295 for (unsigned i = 0, e = VTs.size(); i != e; ++i) in printImpl()
296 OS << ' ' << getEnumName(VTs[i]); in printImpl()
318 return &M->CGI == &CGI && M->VTs == VTs && M->Operands == Operands && in isEqualImpl()
H A DCodeGenRegisters.h350 SmallVector<ValueTypeByHwMode, 4> VTs; variable
378 ArrayRef<ValueTypeByHwMode> getValueTypes() const { return VTs; } in getValueTypes()
379 unsigned getNumValueTypes() const { return VTs.size(); } in getNumValueTypes()
383 if (VTNum < VTs.size()) in getValueTypeNum()
384 return VTs[VTNum]; in getValueTypeNum()
H A DDAGISelMatcher.h1010 const SmallVector<MVT::SimpleValueType, 3> VTs; variable
1026 VTs(vts.begin(), vts.end()), Operands(operands.begin(), operands.end()), in EmitNodeMatcherCommon()
1032 unsigned getNumVTs() const { return VTs.size(); } in getNumVTs()
1034 assert(i < VTs.size()); in getVT()
1035 return VTs[i]; in getVT()
1044 const SmallVectorImpl<MVT::SimpleValueType> &getVTList() const { return VTs; } in getVTList()
H A DCodeGenTarget.cpp194 if (!llvm::is_contained(SubClassWithSubReg->VTs, ValueTy)) in getSuperRegForSubReg()
259 llvm::append_range(LegalValueTypes, RC.VTs); in ReadLegalValueTypes()
H A DCodeGenRegisters.cpp772 VTs.push_back(getValueTypeByHwMode(Type, RegBank.getHwModes())); in CodeGenRegisterClass()
812 assert((RSI.hasDefault() || Size != 0 || VTs[0].isSimple()) && in CodeGenRegisterClass()
817 Size ? Size : VTs[0].getSimple().getSizeInBits(); in CodeGenRegisterClass()
867 VTs = Super.VTs; in inheritProperties()
889 if (llvm::is_contained(VTs, VT)) in hasType()
900 for (const ValueTypeByHwMode &OurVT : VTs) { in hasType()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCallingConvEmitter.cpp133 ListInit *VTs = Action->getValueAsListInit("VTs"); in EmitAction() local
134 for (unsigned i = 0, e = VTs->size(); i != e; ++i) { in EmitAction()
135 Record *VT = VTs->getElementAsRecord(i); in EmitAction()
H A DDAGISelMatcherOpt.cpp125 const SmallVectorImpl<MVT::SimpleValueType> &VTs = EN->getVTList(); in ContractNodes() local
128 EN->getInstruction(), VTs, Operands, EN->hasChain(), in ContractNodes()
H A DRegisterInfoEmitter.cpp1225 for (const ValueTypeByHwMode &VVT : RC.VTs) in runTargetDesc()
1288 std::vector<MVT::SimpleValueType> VTs; in runTargetDesc() local
1289 for (const ValueTypeByHwMode &VVT : RC.VTs) in runTargetDesc()
1291 VTs.push_back(VVT.get(M).SimpleTy); in runTargetDesc()
1292 OS << ", /*VTLists+*/" << VTSeqs.get(VTs) << " }, // " in runTargetDesc()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp1608 SDVTList VTs; in lowerOverflowArithmetic() local
1610 VTs = DAG.getVTList(VT); in lowerOverflowArithmetic()
1613 VTs = DAG.getVTList(VT, MVT::i8); in lowerOverflowArithmetic()
1615 SDValue Arith = DAG.getNode(BaseOp, DL, VTs, LHS, RHS); in lowerOverflowArithmetic()
2074 SDVTList VTs = DAG.getVTList(Op.getValueType(), MVT::i8); in EmitTest() local
2077 SDValue New = DAG.getNode(Opcode, DL, VTs, Ops); in EmitTest()
2123 SDVTList VTs = DAG.getVTList(Op0.getValueType(), MVT::i8); in EmitCmp() local
2124 SDValue Sub = DAG.getNode(M68kISD::SUB, DL, VTs, Op0, Op1); in EmitCmp()
2224 SDVTList VTs = DAG.getVTList(LHS.getValueType(), MVT::i32); in LowerSETCCCARRY() local
2226 DAG.getNode(M68kISD::SUBX, DL, VTs, LHS, RHS, Carry.getValue(1)); in LowerSETCCCARRY()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMSelectionDAGInfo.cpp224 SDVTList VTs = DAG.getVTList(MVT::i32, MVT::i32, MVT::Other, MVT::Glue); in EmitTargetCodeForMemcpy() local
232 Dst = DAG.getNode(ARMISD::MEMCPY, dl, VTs, Chain, Dst, Src, in EmitTargetCodeForMemcpy()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp1702 SmallVector<EVT, 16> VTs; in LowerCall() local
1708 ComputePTXValueVTs(*this, DL, ETy, VTs, &Offsets, IsByVal ? 0 : VAOffset); in LowerCall()
1774 auto VectorInfo = VectorizePTXValueVTs(VTs, Offsets, ArgAlign, IsVAArg); in LowerCall()
1776 for (unsigned j = 0, je = VTs.size(); j != je; ++j) { in LowerCall()
1777 EVT EltVT = VTs[j]; in LowerCall()
1802 assert(VTs.size() == 1 && "Scalar can't have multiple parts."); in LowerCall()
1892 if (!IsByVal && VTs.size() > 0) in LowerCall()
2055 SmallVector<EVT, 16> VTs; in LowerCall() local
2057 ComputePTXValueVTs(*this, DL, RetTy, VTs, &Offsets, 0); in LowerCall()
2058 assert(VTs.size() == Ins.size() && "Bad value decomposition"); in LowerCall()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp2915 SDVTList VTs = CurDAG->getVTList(MVT::Other); in SelectV65GatherPred()
2918 SDNode *Result = CurDAG->getMachineNode(Opcode, dl, VTs, Ops); in SelectV65GatherPred() local
2954 SDVTList VTs = CurDAG->getVTList(MVT::Other); in SelectV65Gather()
2956 SDNode *Result = CurDAG->getMachineNode(Opcode, dl, VTs, Ops); in SelectV65Gather()
2971 SDVTList VTs = CurDAG->getVTList(MVT::v16i32, MVT::v64i1); in SelectHVXDualOutput()
2972 Result = CurDAG->getMachineNode(Hexagon::V6_vaddcarry, SDLoc(N), VTs, Ops); in SelectHVXDualOutput()
2978 SDVTList VTs = CurDAG->getVTList(MVT::v32i32, MVT::v128i1); in SelectHVXDualOutput()
2979 Result = CurDAG->getMachineNode(Hexagon::V6_vaddcarry, SDLoc(N), VTs, Ops); in SelectHVXDualOutput()
2985 SDVTList VTs = CurDAG->getVTList(MVT::v16i32, MVT::v64i1); in SelectHVXDualOutput()
2986 Result = CurDAG->getMachineNode(Hexagon::V6_vsubcarry, SDLoc(N), VTs, Op in SelectHVXDualOutput()
2957 SDVTList VTs = CurDAG->getVTList(MVT::Other); SelectV65Gather() local
2974 SDVTList VTs = CurDAG->getVTList(MVT::v16i32, MVT::v64i1); SelectHVXDualOutput() local
2981 SDVTList VTs = CurDAG->getVTList(MVT::v32i32, MVT::v128i1); SelectHVXDualOutput() local
2988 SDVTList VTs = CurDAG->getVTList(MVT::v16i32, MVT::v64i1); SelectHVXDualOutput() local
2995 SDVTList VTs = CurDAG->getVTList(MVT::v32i32, MVT::v128i1); SelectHVXDualOutput() local
[all...]

123