Home
last modified time | relevance | path

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

12

/external/llvm/utils/TableGen/
DCodeGenRegisters.h93 std::vector<MVT::SimpleValueType> VTs; variable
103 const std::vector<MVT::SimpleValueType> &getValueTypes() const {return VTs;} in getValueTypes()
104 unsigned getNumValueTypes() const { return VTs.size(); } in getNumValueTypes()
107 if (VTNum < VTs.size()) in getValueTypeNum()
108 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.cpp250 for (unsigned i = 0, e = VTs.size(); i != e; ++i) in printImpl()
251 OS << ' ' << getEnumName(VTs[i]); in printImpl()
315 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.h958 const SmallVector<MVT::SimpleValueType, 3> VTs; variable
974 VTs(vts, vts+numvts), Operands(operands, operands+numops), in EmitNodeMatcherCommon()
980 unsigned getNumVTs() const { return VTs.size(); } in getNumVTs()
982 assert(i < VTs.size()); in getVT()
983 return VTs[i]; in getVT()
992 const SmallVectorImpl<MVT::SimpleValueType> &getVTList() const { return VTs; } in getVTList()
DCodeGenRegisters.cpp271 VTs.push_back(getValueType(Type)); in CodeGenRegisterClass()
273 assert(!VTs.empty() && "RegisterClass must contain at least one ValueType!"); in CodeGenRegisterClass()
324 SpillSize = Size ? Size : EVT(VTs[0]).getSizeInBits(); in CodeGenRegisterClass()
DCodeGenTarget.cpp206 for (unsigned ri = 0, re = RCs[i].VTs.size(); ri != re; ++ri) in ReadLegalValueTypes()
207 LegalValueTypes.push_back(RCs[i].VTs[ri]); in ReadLegalValueTypes()
DRegisterInfoEmitter.cpp446 for (unsigned i = 0, e = RC.VTs.size(); i != e; ++i) in runTargetDesc()
447 OS << getEnumName(RC.VTs[i]) << ", "; in runTargetDesc()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp58 static SDVTList makeVTList(const EVT *VTs, unsigned NumVTs) { in makeVTList() argument
59 SDVTList Res = {VTs, NumVTs}; in makeVTList()
323 ID.AddPointer(VTList.VTs); in AddNodeIDValueTypes()
2594 SDVTList VTs = getVTList(VT); in getNode() local
2598 AddNodeIDNode(ID, Opcode, VTs, Ops, 1); in getNode()
2603 N = new (NodeAllocator) UnarySDNode(Opcode, DL, VTs, Operand); in getNode()
2606 N = new (NodeAllocator) UnarySDNode(Opcode, DL, VTs, Operand); in getNode()
3062 SDVTList VTs = getVTList(VT); in getNode() local
3066 AddNodeIDNode(ID, Opcode, VTs, Ops, 2); in getNode()
3071 N = new (NodeAllocator) BinarySDNode(Opcode, DL, VTs, N1, N2); in getNode()
[all …]
DSelectionDAGISel.cpp1472 std::vector<EVT> VTs; in Select_INLINEASM() local
1473 VTs.push_back(MVT::Other); in Select_INLINEASM()
1474 VTs.push_back(MVT::Glue); in Select_INLINEASM()
1476 VTs, &Ops[0], Ops.size()); in Select_INLINEASM()
2518 SmallVector<EVT, 4> VTs; in SelectCodeCommon() local
2523 VTs.push_back(VT); in SelectCodeCommon()
2527 VTs.push_back(MVT::Other); in SelectCodeCommon()
2529 VTs.push_back(MVT::Glue); in SelectCodeCommon()
2534 if (VTs.size() == 1) in SelectCodeCommon()
2535 VTList = CurDAG->getVTList(VTs[0]); in SelectCodeCommon()
[all …]
DScheduleDAGSDNodes.cpp127 SmallVector<EVT, 4> VTs; in AddGlue() local
137 VTs.push_back(N->getValueType(I)); in AddGlue()
140 VTs.push_back(MVT::Glue); in AddGlue()
149 SDVTList VTList = DAG->getVTList(&VTs[0], VTs.size()); in AddGlue()
DSelectionDAGBuilder.cpp3075 SDVTList VTs = DAG.getVTList(AllocSize.getValueType(), MVT::Other); in visitAlloca() local
3077 VTs, Ops, 3); in visitAlloca()
3261 SDVTList VTs = DAG.getVTList(ValueVTs.data(), ValueVTs.size()); in visitTargetIntrinsic() local
3268 VTs, &Ops[0], Ops.size(), in visitTargetIntrinsic()
3275 VTs, &Ops[0], Ops.size()); in visitTargetIntrinsic()
3278 VTs, &Ops[0], Ops.size()); in visitTargetIntrinsic()
3281 VTs, &Ops[0], Ops.size()); in visitTargetIntrinsic()
3365 SDVTList VTs = DAG.getVTList(Op1.getValueType(), MVT::i1); in implVisitAluOverflow() local
3366 setValue(&I, DAG.getNode(Op, getCurDebugLoc(), VTs, Op1, Op2)); in implVisitAluOverflow()
4438 SDVTList VTs = DAG.getVTList(TLI.getPointerTy(), MVT::Other); in visitIntrinsicCall() local
[all …]
DLegalizeDAG.cpp3377 SDVTList VTs = DAG.getVTList(VT, VT); in ExpandNode() local
3386 Tmp1 = DAG.getNode(DivRemOpc, dl, VTs, Tmp2, Tmp3).getValue(1); in ExpandNode()
3410 SDVTList VTs = DAG.getVTList(VT, VT); in ExpandNode() local
3414 Tmp1 = DAG.getNode(DivRemOpc, dl, VTs, Node->getOperand(0), in ExpandNode()
3434 SDVTList VTs = DAG.getVTList(VT, VT); in ExpandNode() local
3437 Tmp1 = DAG.getNode(ExpandOpcode, dl, VTs, Node->getOperand(0), in ExpandNode()
3449 SDVTList VTs = DAG.getVTList(VT, VT); in ExpandNode() local
3470 Results.push_back(DAG.getNode(OpToUse, dl, VTs, Node->getOperand(0), in ExpandNode()
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h320 SDVTList getVTList(const EVT *VTs, unsigned NumVTs);
409 SDVTList VTs = getVTList(MVT::Other, MVT::Glue);
411 return getNode(ISD::CopyToReg, dl, VTs, Ops, Glue.getNode() ? 4 : 3);
417 SDVTList VTs = getVTList(MVT::Other, MVT::Glue);
419 return getNode(ISD::CopyToReg, dl, VTs, Ops, Glue.getNode() ? 4 : 3);
423 SDVTList VTs = getVTList(VT, MVT::Other);
425 return getNode(ISD::CopyFromReg, dl, VTs, Ops, 2);
433 SDVTList VTs = getVTList(VT, MVT::Other, MVT::Glue);
435 return getNode(ISD::CopyFromReg, dl, VTs, Ops, Glue.getNode() ? 3 : 2);
472 SDVTList VTs = getVTList(MVT::Other, MVT::Glue);
[all …]
DSelectionDAGNodes.h57 const EVT *VTs; member
676 SDNode(unsigned Opc, const DebugLoc dl, SDVTList VTs, const SDValue *Ops,
681 ValueList(VTs.VTs), UseList(NULL),
682 NumOperands(NumOps), NumValues(VTs.NumVTs),
693 SDNode(unsigned Opc, const DebugLoc dl, SDVTList VTs)
695 SubclassData(0), NodeId(-1), OperandList(0), ValueList(VTs.VTs),
696 UseList(NULL), NumOperands(0), NumValues(VTs.NumVTs),
829 UnarySDNode(unsigned Opc, DebugLoc dl, SDVTList VTs, SDValue X)
830 : SDNode(Opc, dl, VTs) {
840 BinarySDNode(unsigned Opc, DebugLoc dl, SDVTList VTs, SDValue X, SDValue Y)
[all …]
DSelectionDAGISel.h278 SDNode *MorphNode(SDNode *Node, unsigned TargetOpc, SDVTList VTs,
/external/llvm/include/llvm/Target/
DTargetRegisterInfo.h45 const vt_iterator VTs; variable
65 : ID(id), Name(name), VTs(vts), SubClasses(subcs), SuperClasses(supcs), in TargetRegisterClass()
112 for(int i = 0; VTs[i] != MVT::Other; ++i) in hasType()
113 if (VTs[i] == vt) in hasType()
121 return VTs; in vt_begin()
125 vt_iterator I = VTs; in vt_end()
DTargetCallingConv.td32 list<ValueType> VTs = vts;
/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.cpp833 SDVTList VTs = DAG.getVTList(Op.getValueType(), MVT::Glue); in LowerSETCC() local
839 return DAG.getNode(MSP430ISD::SELECT_CC, dl, VTs, &Ops[0], Ops.size()); in LowerSETCC()
855 SDVTList VTs = DAG.getVTList(Op.getValueType(), MVT::Glue); in LowerSELECT_CC() local
862 return DAG.getNode(MSP430ISD::SELECT_CC, dl, VTs, &Ops[0], Ops.size()); in LowerSELECT_CC()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp2624 SDVTList VTs = DAG.getVTList(MVT::i64, MVT::Other, MVT::Glue); in PrepareCall() local
2625 SDValue LoadFuncPtr = DAG.getNode(PPCISD::LOAD, dl, VTs, MTCTROps, in PrepareCall()
2635 SDValue LoadEnvPtr = DAG.getNode(PPCISD::LOAD, dl, VTs, Chain, AddPtr, in PrepareCall()
2651 VTs = DAG.getVTList(MVT::Other, MVT::Glue); in PrepareCall()
2652 SDValue LoadTOCPtr = DAG.getNode(PPCISD::LOAD_TOC, dl, VTs, Chain, in PrepareCall()
2782 SDVTList VTs = DAG.getVTList(MVT::Other, MVT::Glue); in FinishCall() local
2793 Chain = DAG.getNode(PPCISD::TOC_RESTORE, dl, VTs, Chain, InFlag); in FinishCall()
3541 SDVTList VTs = DAG.getVTList(PtrVT, MVT::Other); in LowerDYNAMIC_STACKALLOC() local
3542 return DAG.getNode(PPCISD::DYNALLOC, dl, VTs, Ops, 3); in LowerDYNAMIC_STACKALLOC()
4361 std::vector<EVT> VTs; in LowerINTRINSIC_WO_CHAIN() local
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp714 SDVTList VTs = DAG.getVTList(Op.getValueType(), MVT::Glue); in LowerSELECT_CC() local
721 return DAG.getNode(SystemZISD::SELECT, dl, VTs, &Ops[0], Ops.size()); in LowerSELECT_CC()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp1243 SDVTList VTs = DAG.getVTList(MVT::i32); in LowerGlobalAddress() local
1251 SDValue GPRelNode = DAG.getNode(MipsISD::GPRel, dl, VTs, &GA, 1); in LowerGlobalAddress()
1260 SDValue HiPart = DAG.getNode(MipsISD::Hi, dl, VTs, &GAHi, 1); in LowerGlobalAddress()
1356 SDVTList VTs = DAG.getVTList(MVT::i32); in LowerGlobalTLSAddress() local
1361 SDValue Hi = DAG.getNode(MipsISD::TprelHi, dl, VTs, &TGAHi, 1); in LowerGlobalTLSAddress()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp7430 SDVTList VTs = DAG.getVTList(Op.getValueType(), MVT::i32); in EmitTest() local
7435 SDValue New = DAG.getNode(Opcode, dl, VTs, &Ops[0], NumOperands); in EmitTest()
7832 SDVTList VTs = DAG.getVTList(Op.getValueType(), MVT::Glue); in LowerSELECT() local
7834 return DAG.getNode(X86ISD::CMOV, DL, VTs, Ops, array_lengthof(Ops)); in LowerSELECT()
8154 SDVTList VTs = DAG.getVTList(getPointerTy(), MVT::Other); in LowerVAARG() local
8156 VTs, &InstOps[0], InstOps.size(), in LowerVAARG()
8775 SDVTList VTs = DAG.getVTList(OpVT, MVT::i32); in LowerCTLZ() local
8776 Op = DAG.getNode(X86ISD::BSR, dl, VTs, Op); in LowerCTLZ()
8808 SDVTList VTs = DAG.getVTList(OpVT, MVT::i32); in LowerCTTZ() local
8809 Op = DAG.getNode(X86ISD::BSF, dl, VTs, Op); in LowerCTTZ()
[all …]
DX86InstrInfo.cpp2793 std::vector<EVT> VTs; in unfoldMemoryOperand() local
2797 VTs.push_back(*DstRC->vt_begin()); in unfoldMemoryOperand()
2802 VTs.push_back(VT); in unfoldMemoryOperand()
2807 SDNode *NewNode= DAG.getMachineNode(Opc, dl, VTs, &BeforeOps[0], in unfoldMemoryOperand()

12