Home
last modified time | relevance | path

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

12

/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp57 static SDVTList makeVTList(const EVT *VTs, unsigned NumVTs) { in makeVTList() argument
58 SDVTList Res = {VTs, NumVTs}; in makeVTList()
332 ID.AddPointer(VTList.VTs); in AddNodeIDValueTypes()
2605 SDVTList VTs = getVTList(VT); in getNode() local
2609 AddNodeIDNode(ID, Opcode, VTs, Ops, 1); in getNode()
2614 N = new (NodeAllocator) UnarySDNode(Opcode, DL, VTs, Operand); in getNode()
2617 N = new (NodeAllocator) UnarySDNode(Opcode, DL, VTs, Operand); in getNode()
3085 SDVTList VTs = getVTList(VT); in getNode() local
3089 AddNodeIDNode(ID, Opcode, VTs, Ops, 2); in getNode()
3094 N = new (NodeAllocator) BinarySDNode(Opcode, DL, VTs, N1, N2); in getNode()
[all …]
DSelectionDAGISel.cpp1642 std::vector<EVT> VTs; in Select_INLINEASM() local
1643 VTs.push_back(MVT::Other); in Select_INLINEASM()
1644 VTs.push_back(MVT::Glue); in Select_INLINEASM()
1646 VTs, &Ops[0], Ops.size()); in Select_INLINEASM()
2689 SmallVector<EVT, 4> VTs; in SelectCodeCommon() local
2694 VTs.push_back(VT); in SelectCodeCommon()
2698 VTs.push_back(MVT::Other); in SelectCodeCommon()
2700 VTs.push_back(MVT::Glue); in SelectCodeCommon()
2705 if (VTs.size() == 1) in SelectCodeCommon()
2706 VTList = CurDAG->getVTList(VTs[0]); in SelectCodeCommon()
[all …]
DScheduleDAGSDNodes.cpp135 SmallVector<EVT, 4> VTs; in AddGlue() local
145 VTs.push_back(N->getValueType(I)); in AddGlue()
148 VTs.push_back(MVT::Glue); in AddGlue()
157 SDVTList VTList = DAG->getVTList(&VTs[0], VTs.size()); in AddGlue()
DSelectionDAGBuilder.cpp1872 SDVTList VTs = DAG.getVTList(TLI.getPointerTy(), MVT::Other); in visitLandingPad() local
1875 SDValue Op1 = DAG.getNode(ISD::EXCEPTIONADDR, getCurDebugLoc(), VTs, Ops, 1); in visitLandingPad()
1879 VTs = DAG.getVTList(TLI.getPointerTy(), MVT::Other); in visitLandingPad()
1882 SDValue Op2 = DAG.getNode(ISD::EHSELECTION, getCurDebugLoc(), VTs, Ops, 2); in visitLandingPad()
3187 SDVTList VTs = DAG.getVTList(AllocSize.getValueType(), MVT::Other); in visitAlloca() local
3189 VTs, Ops, 3); in visitAlloca()
3547 SDVTList VTs = DAG.getVTList(ValueVTs.data(), ValueVTs.size()); in visitTargetIntrinsic() local
3554 VTs, &Ops[0], Ops.size(), in visitTargetIntrinsic()
3561 VTs, &Ops[0], Ops.size()); in visitTargetIntrinsic()
3564 VTs, &Ops[0], Ops.size()); in visitTargetIntrinsic()
[all …]
DLegalizeDAG.cpp3069 SDVTList VTs = DAG.getVTList(VT, VT); in ExpandNode() local
3078 Tmp1 = DAG.getNode(DivRemOpc, dl, VTs, Tmp2, Tmp3).getValue(1); in ExpandNode()
3102 SDVTList VTs = DAG.getVTList(VT, VT); in ExpandNode() local
3106 Tmp1 = DAG.getNode(DivRemOpc, dl, VTs, Node->getOperand(0), in ExpandNode()
3126 SDVTList VTs = DAG.getVTList(VT, VT); in ExpandNode() local
3129 Tmp1 = DAG.getNode(ExpandOpcode, dl, VTs, Node->getOperand(0), in ExpandNode()
3141 SDVTList VTs = DAG.getVTList(VT, VT); in ExpandNode() local
3162 Results.push_back(DAG.getNode(OpToUse, dl, VTs, Node->getOperand(0), in ExpandNode()
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h322 SDVTList getVTList(const EVT *VTs, unsigned NumVTs);
412 SDVTList VTs = getVTList(MVT::Other, MVT::Glue);
414 return getNode(ISD::CopyToReg, dl, VTs, Ops, Glue.getNode() ? 4 : 3);
420 SDVTList VTs = getVTList(MVT::Other, MVT::Glue);
422 return getNode(ISD::CopyToReg, dl, VTs, Ops, Glue.getNode() ? 4 : 3);
426 SDVTList VTs = getVTList(VT, MVT::Other);
428 return getNode(ISD::CopyFromReg, dl, VTs, Ops, 2);
436 SDVTList VTs = getVTList(VT, MVT::Other, MVT::Glue);
438 return getNode(ISD::CopyFromReg, dl, VTs, Ops, Glue.getNode() ? 3 : 2);
479 SDVTList VTs = getVTList(MVT::Other, MVT::Glue);
[all …]
DSelectionDAGNodes.h58 const EVT *VTs; member
677 SDNode(unsigned Opc, const DebugLoc dl, SDVTList VTs, const SDValue *Ops,
682 ValueList(VTs.VTs), UseList(NULL),
683 NumOperands(NumOps), NumValues(VTs.NumVTs),
694 SDNode(unsigned Opc, const DebugLoc dl, SDVTList VTs)
696 SubclassData(0), NodeId(-1), OperandList(0), ValueList(VTs.VTs),
697 UseList(NULL), NumOperands(0), NumValues(VTs.NumVTs),
830 UnarySDNode(unsigned Opc, DebugLoc dl, SDVTList VTs, SDValue X)
831 : SDNode(Opc, dl, VTs) {
841 BinarySDNode(unsigned Opc, DebugLoc dl, SDVTList VTs, SDValue X, SDValue Y)
[all …]
DSelectionDAGISel.h277 SDNode *MorphNode(SDNode *Node, unsigned TargetOpc, SDVTList VTs,
/external/llvm/include/llvm/Target/
DTargetRegisterInfo.h44 const vt_iterator VTs; variable
104 for(int i = 0; VTs[i] != MVT::Other; ++i) in hasType()
105 if (EVT(VTs[i]) == vt) in hasType()
113 return VTs; in vt_begin()
117 vt_iterator I = VTs; in vt_end()
DTargetCallingConv.td32 list<ValueType> VTs = vts;
/external/llvm/utils/TableGen/
DCodeGenRegisters.h195 std::vector<MVT::SimpleValueType> VTs; variable
210 const std::vector<MVT::SimpleValueType> &getValueTypes() const {return VTs;} in getValueTypes()
211 unsigned getNumValueTypes() const { return VTs.size(); } in getNumValueTypes()
214 if (VTNum < VTs.size()) in getValueTypeNum()
215 return VTs[VTNum]; in getValueTypeNum()
DCallingConvEmitter.cpp70 ListInit *VTs = Action->getValueAsListInit("VTs"); in EmitAction() local
71 for (unsigned i = 0, e = VTs->getSize(); i != e; ++i) { in EmitAction()
72 Record *VT = VTs->getElementAsRecord(i); in EmitAction()
DDAGISelMatcher.cpp252 for (unsigned i = 0, e = VTs.size(); i != e; ++i) in printImpl()
253 OS << ' ' << getEnumName(VTs[i]); in printImpl()
317 return M->OpcodeName == OpcodeName && M->VTs == VTs && in isEqualImpl()
DDAGISelMatcherOpt.cpp132 const SmallVectorImpl<MVT::SimpleValueType> &VTs = EN->getVTList(); in ContractNodes() local
135 VTs.data(), VTs.size(), in ContractNodes()
DDAGISelMatcher.h959 const SmallVector<MVT::SimpleValueType, 3> VTs; variable
975 VTs(vts, vts+numvts), Operands(operands, operands+numops), in EmitNodeMatcherCommon()
981 unsigned getNumVTs() const { return VTs.size(); } in getNumVTs()
983 assert(i < VTs.size()); in getVT()
984 return VTs[i]; in getVT()
993 const SmallVectorImpl<MVT::SimpleValueType> &getVTList() const { return VTs; } in getVTList()
DCodeGenTarget.cpp228 for (unsigned ri = 0, re = RCs[i]->VTs.size(); ri != re; ++ri) in ReadLegalValueTypes()
229 LegalValueTypes.push_back(RCs[i]->VTs[ri]); in ReadLegalValueTypes()
DCodeGenRegisters.cpp478 VTs.push_back(getValueType(Type)); in CodeGenRegisterClass()
480 assert(!VTs.empty() && "RegisterClass must contain at least one ValueType!"); in CodeGenRegisterClass()
535 SpillSize = Size ? Size : EVT(VTs[0]).getSizeInBits(); in CodeGenRegisterClass()
567 VTs = Super.VTs; in inheritProperties()
DRegisterInfoEmitter.cpp736 VTSeqs.add(RegisterClasses[rc]->VTs); in runTargetDesc()
867 << "VTLists + " << VTSeqs.get(RC.VTs) << ",\n " in runTargetDesc()
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp954 std::vector<EVT> VTs; in LowerBR_CC() local
955 VTs.push_back(MVT::i32); in LowerBR_CC()
956 VTs.push_back(MVT::Glue); in LowerBR_CC()
958 CompareFlag = DAG.getNode(SPISD::CMPICC, dl, VTs, Ops, 2).getValue(1); in LowerBR_CC()
985 std::vector<EVT> VTs; in LowerSELECT_CC() local
986 VTs.push_back(LHS.getValueType()); // subcc returns a value in LowerSELECT_CC()
987 VTs.push_back(MVT::Glue); in LowerSELECT_CC()
989 CompareFlag = DAG.getNode(SPISD::CMPICC, dl, VTs, Ops, 2).getValue(1); in LowerSELECT_CC()
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp827 SDVTList VTs = DAG.getVTList(Op.getValueType(), MVT::Glue); in LowerSETCC() local
833 return DAG.getNode(MSP430ISD::SELECT_CC, dl, VTs, &Ops[0], Ops.size()); in LowerSETCC()
849 SDVTList VTs = DAG.getVTList(Op.getValueType(), MVT::Glue); in LowerSELECT_CC() local
856 return DAG.getNode(MSP430ISD::SELECT_CC, dl, VTs, &Ops[0], Ops.size()); in LowerSELECT_CC()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp2666 SDVTList VTs = DAG.getVTList(MVT::i64, MVT::Other, MVT::Glue); in PrepareCall() local
2667 SDValue LoadFuncPtr = DAG.getNode(PPCISD::LOAD, dl, VTs, MTCTROps, in PrepareCall()
2677 SDValue LoadEnvPtr = DAG.getNode(PPCISD::LOAD, dl, VTs, Chain, AddPtr, in PrepareCall()
2693 VTs = DAG.getVTList(MVT::Other, MVT::Glue); in PrepareCall()
2694 SDValue LoadTOCPtr = DAG.getNode(PPCISD::LOAD_TOC, dl, VTs, Chain, in PrepareCall()
2851 SDVTList VTs = DAG.getVTList(MVT::Other, MVT::Glue); in FinishCall() local
2852 Chain = DAG.getNode(PPCISD::TOC_RESTORE, dl, VTs, Chain, InFlag); in FinishCall()
3614 SDVTList VTs = DAG.getVTList(PtrVT, MVT::Other); in LowerDYNAMIC_STACKALLOC() local
3615 return DAG.getNode(PPCISD::DYNALLOC, dl, VTs, Ops, 3); in LowerDYNAMIC_STACKALLOC()
4433 std::vector<EVT> VTs; in LowerINTRINSIC_WO_CHAIN() local
[all …]
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp8202 SDVTList VTs = DAG.getVTList(Op.getValueType(), MVT::i32); in EmitTest() local
8207 SDValue New = DAG.getNode(Opcode, dl, VTs, &Ops[0], NumOperands); in EmitTest()
8630 SDVTList VTs; in LowerSELECT() local
8641 VTs = DAG.getVTList(LHS.getValueType(), LHS.getValueType(), in LowerSELECT()
8644 VTs = DAG.getVTList(LHS.getValueType(), MVT::i32); in LowerSELECT()
8646 SDValue X86Op = DAG.getNode(X86Opcode, DL, VTs, LHS, RHS); in LowerSELECT()
8698 SDVTList VTs = DAG.getVTList(Op.getValueType(), MVT::Glue); in LowerSELECT() local
8700 return DAG.getNode(X86ISD::CMOV, DL, VTs, Ops, array_lengthof(Ops)); in LowerSELECT()
8810 SDVTList VTs; in LowerBRCOND() local
8823 VTs = DAG.getVTList(LHS.getValueType(), LHS.getValueType(), in LowerBRCOND()
[all …]
DX86InstrInfo.cpp3371 std::vector<EVT> VTs; in unfoldMemoryOperand() local
3375 VTs.push_back(*DstRC->vt_begin()); in unfoldMemoryOperand()
3380 VTs.push_back(VT); in unfoldMemoryOperand()
3385 SDNode *NewNode= DAG.getMachineNode(Opc, dl, VTs, &BeforeOps[0], in unfoldMemoryOperand()
DX86ISelDAGToDAG.cpp2078 SDVTList VTs = CurDAG->getVTList(NVT, NVT, MVT::i32); in Select() local
2080 SDNode *CNode = CurDAG->getMachineNode(Opc, dl, VTs, Ops, 2); in Select()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp1532 SDVTList VTs = DAG.getVTList(MVT::i32); in LowerGlobalAddress() local
1540 SDValue GPRelNode = DAG.getNode(MipsISD::GPRel, dl, VTs, &GA, 1); in LowerGlobalAddress()
1549 SDValue HiPart = DAG.getNode(MipsISD::Hi, dl, VTs, &GAHi, 1); in LowerGlobalAddress()

12