/external/swiftshader/third_party/LLVM/include/llvm/Target/ |
D | TargetLowering.h | 204 TargetRegisterClass *RC = RegClassForVT[VT.getSimpleVT().SimpleTy]; in getRegClassFor() 216 const TargetRegisterClass *RC = RepRegClassForVT[VT.getSimpleVT().SimpleTy]; in getRepRegClassFor() 224 return RepRegClassCostForVT[VT.getSimpleVT().SimpleTy]; in getRepRegClassCostFor() 232 (unsigned)VT.getSimpleVT().SimpleTy < array_lengthof(RegClassForVT)); in isTypeLegal() 233 return VT.isSimple() && RegClassForVT[VT.getSimpleVT().SimpleTy] != 0; in isTypeLegal() 251 unsigned I = VT.getSimpleVT().SimpleTy; in setTypeAction() 373 unsigned I = (unsigned) VT.getSimpleVT().SimpleTy; in getOperationAction() 399 VT.getSimpleVT() < MVT::LAST_VALUETYPE && in getLoadExtAction() 401 return (LegalizeAction)LoadExtActions[VT.getSimpleVT().SimpleTy][ExtType]; in getLoadExtAction() 415 assert(ValVT.getSimpleVT() < MVT::LAST_VALUETYPE && in getTruncStoreAction() [all …]
|
D | TargetCallingConv.h | 115 VT = vt.getSimpleVT(); in InputArg() 133 VT = vt.getSimpleVT(); in OutputArg()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 117 MVT VT = RealVT.getSimpleVT(); in getRegForValue() 121 VT = TLI.getTypeToTransformTo(V->getContext(), VT).getSimpleVT(); in getRegForValue() 196 Reg = FastEmit_r(IntVT.getSimpleVT(), VT, ISD::SINT_TO_FP, in materializeRegForValue() 274 IdxN = FastEmit_r(IdxVT.getSimpleVT(), PtrVT, ISD::SIGN_EXTEND, in getRegForGEPIndex() 279 IdxN = FastEmit_r(IdxVT.getSimpleVT(), PtrVT, ISD::TRUNCATE, in getRegForGEPIndex() 351 unsigned ResultReg = FastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op1, in SelectBinaryOp() 353 VT.getSimpleVT()); in SelectBinaryOp() 380 unsigned ResultReg = FastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op0, in SelectBinaryOp() 381 Op0IsKill, Imm, VT.getSimpleVT()); in SelectBinaryOp() 391 unsigned ResultReg = FastEmit_rf(VT.getSimpleVT(), VT.getSimpleVT(), in SelectBinaryOp() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/PTX/ |
D | PTXISelDAGToDAG.cpp | 116 MVT Type = VT.getSimpleVT(); in SelectREADPARAM() 154 MVT Type = VT.getSimpleVT(); in SelectWRITEPARAM() 206 R2 = CurDAG->getTargetConstant(0, Addr.getValueType().getSimpleVT()); in SelectADDRrr() 250 Offset = CurDAG->getTargetConstant(0, Addr.getValueType().getSimpleVT()); in SelectADDRri() 299 Offset = CurDAG->getTargetConstant(0, Addr.getValueType().getSimpleVT()); in SelectADDRii() 314 Offset = CurDAG->getTargetConstant(0, Addr.getValueType().getSimpleVT()); in SelectADDRlocal()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXISelDAGToDAG.cpp | 704 MVT SimpleVT = LoadedVT.getSimpleVT(); in tryLoad() 944 MVT SimpleVT = LoadedVT.getSimpleVT(); in tryLoadVector() 986 switch (EltVT.getSimpleVT().SimpleTy) { in tryLoadVector() 1010 switch (EltVT.getSimpleVT().SimpleTy) { in tryLoadVector() 1039 switch (EltVT.getSimpleVT().SimpleTy) { in tryLoadVector() 1063 switch (EltVT.getSimpleVT().SimpleTy) { in tryLoadVector() 1093 switch (EltVT.getSimpleVT().SimpleTy) { in tryLoadVector() 1117 switch (EltVT.getSimpleVT().SimpleTy) { in tryLoadVector() 1140 switch (EltVT.getSimpleVT().SimpleTy) { in tryLoadVector() 1164 switch (EltVT.getSimpleVT().SimpleTy) { in tryLoadVector() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.cpp | 181 DstTy.getSimpleVT(), in getCastInstrCost() 182 SrcTy.getSimpleVT())) in getCastInstrCost() 211 DstTy.getSimpleVT(), in getCastInstrCost() 212 SrcTy.getSimpleVT())) in getCastInstrCost() 242 ISD, DstTy.getSimpleVT(), in getCastInstrCost() 243 SrcTy.getSimpleVT())) in getCastInstrCost() 261 DstTy.getSimpleVT(), in getCastInstrCost() 262 SrcTy.getSimpleVT())) in getCastInstrCost() 310 SelCondTy.getSimpleVT(), in getCmpSelInstrCost() 311 SelValTy.getSimpleVT())) in getCmpSelInstrCost()
|
D | ARMFastISel.cpp | 651 MVT VT = CEVT.getSimpleVT(); in fastMaterializeConstant() 698 VT = evt.getSimpleVT(); in isTypeLegal() 1354 MVT SrcVT = SrcEVT.getSimpleVT(); in ARMEmitCmp() 1547 MVT SrcVT = SrcEVT.getSimpleVT(); in SelectIToFP() 1779 MVT VT = FPVT.getSimpleVT(); in SelectBinaryFPOp() 2121 MVT RVVT = RVEVT.getSimpleVT(); in SelectRet() 2177 return ARMMaterializeGV(GV, LCREVT.getSimpleVT()); in getLibcallReg() 2738 MVT SrcVT = SrcEVT.getSimpleVT(); in SelectIntExt() 2739 MVT DestVT = DestEVT.getSimpleVT(); in SelectIntExt() 3024 switch (ArgVT.getSimpleVT().SimpleTy) { in fastLowerArguments()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 179 MVT VT = RealVT.getSimpleVT(); in getRegForValue() 183 VT = TLI.getTypeToTransformTo(V->getContext(), VT).getSimpleVT(); in getRegForValue() 246 Reg = fastEmit_r(IntVT.getSimpleVT(), VT, ISD::SINT_TO_FP, IntegerReg, in materializeConstant() 329 IdxN = fastEmit_r(IdxVT.getSimpleVT(), PtrVT, ISD::SIGN_EXTEND, IdxN, in getRegForGEPIndex() 334 fastEmit_r(IdxVT.getSimpleVT(), PtrVT, ISD::TRUNCATE, IdxN, IdxNIsKill); in getRegForGEPIndex() 415 fastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op1, Op1IsKill, in selectBinaryOp() 416 CI->getZExtValue(), VT.getSimpleVT()); in selectBinaryOp() 448 unsigned ResultReg = fastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op0, in selectBinaryOp() 449 Op0IsKill, Imm, VT.getSimpleVT()); in selectBinaryOp() 460 unsigned ResultReg = fastEmit_rf(VT.getSimpleVT(), VT.getSimpleVT(), in selectBinaryOp() [all …]
|
/external/llvm/include/llvm/Target/ |
D | TargetLowering.h | 282 MVT LoadMVT = LoadVT.getSimpleVT(); in isLoadBitCastBeneficial() 287 getTypeToPromoteTo(ISD::LOAD, LoadMVT) == BitcastVT.getSimpleVT()) in isLoadBitCastBeneficial() 459 (unsigned)VT.getSimpleVT().SimpleTy < array_lengthof(RegClassForVT)); in isTypeLegal() 460 return VT.isSimple() && RegClassForVT[VT.getSimpleVT().SimpleTy] != nullptr; in isTypeLegal() 603 return OpActions[(unsigned)VT.getSimpleVT().SimpleTy][Op]; in getOperationAction() 660 unsigned ValI = (unsigned) ValVT.getSimpleVT().SimpleTy; in getLoadExtAction() 661 unsigned MemI = (unsigned) MemVT.getSimpleVT().SimpleTy; in getLoadExtAction() 685 unsigned ValI = (unsigned) ValVT.getSimpleVT().SimpleTy; in getTruncStoreAction() 686 unsigned MemI = (unsigned) MemVT.getSimpleVT().SimpleTy; in getTruncStoreAction() 720 (getIndexedLoadAction(IdxMode, VT.getSimpleVT()) == Legal || in isIndexedLoadLegal() [all …]
|
D | TargetCallingConv.h | 165 VT = vt.getSimpleVT(); in InputArg() 204 VT = vt.getSimpleVT(); in OutputArg()
|
/external/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.cpp | 836 DstTy.getSimpleVT(), in getCastInstrCost() 837 SrcTy.getSimpleVT())) in getCastInstrCost() 842 DstTy.getSimpleVT(), in getCastInstrCost() 843 SrcTy.getSimpleVT())) in getCastInstrCost() 848 DstTy.getSimpleVT(), in getCastInstrCost() 849 SrcTy.getSimpleVT())) in getCastInstrCost() 855 DstTy.getSimpleVT(), in getCastInstrCost() 856 SrcTy.getSimpleVT())) in getCastInstrCost() 862 DstTy.getSimpleVT(), in getCastInstrCost() 863 SrcTy.getSimpleVT())) in getCastInstrCost() [all …]
|
D | X86FastISel.cpp | 326 VT = evt.getSimpleVT(); in isTypeLegal() 359 switch (VT.getSimpleVT().SimpleTy) { in X86FastEmitLoad() 511 switch (VT.getSimpleVT().SimpleTy) { in X86FastEmitStore() 660 switch (VT.getSimpleVT().SimpleTy) { in X86FastEmitStore() 698 unsigned RR = fastEmit_r(SrcVT.getSimpleVT(), DstVT.getSimpleVT(), Opc, in X86FastEmitExtend() 1231 SrcReg = fastEmit_r(SrcVT.getSimpleVT(), DstVT.getSimpleVT(), Op, in X86SelectRet() 1333 switch (VT.getSimpleVT().SimpleTy) { in X86ChooseCmpOpcode() 1350 switch (VT.getSimpleVT().SimpleTy) { in X86ChooseCmpImmediateOpcode() 1545 ResultReg = fastEmit_r(MVT::i8, DstVT.getSimpleVT(), ISD::ZERO_EXTEND, in X86SelectZExt() 2929 switch (ArgVT.getSimpleVT().SimpleTy) { in fastLowerArguments() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86FastISel.cpp | 154 VT = evt.getSimpleVT(); in isTypeLegal() 181 switch (VT.getSimpleVT().SimpleTy) { in X86FastEmitLoad() 238 switch (VT.getSimpleVT().SimpleTy) { in X86FastEmitStore() 278 switch (VT.getSimpleVT().SimpleTy) { in X86FastEmitStore() 313 unsigned RR = FastEmit_r(SrcVT.getSimpleVT(), DstVT.getSimpleVT(), Opc, in X86FastEmitExtend() 774 SrcReg = FastEmit_r(SrcVT.getSimpleVT(), DstVT.getSimpleVT(), Op, in X86SelectRet() 824 switch (VT.getSimpleVT().SimpleTy) { in X86ChooseCmpOpcode() 841 switch (VT.getSimpleVT().SimpleTy) { in X86ChooseCmpImmediateOpcode() 986 ResultReg = FastEmit_r(MVT::i8, DstVT.getSimpleVT(), ISD::ZERO_EXTEND, in X86SelectZExt() 1713 unsigned BC = FastEmit_r(ArgVT.getSimpleVT(), VA.getLocVT(), in DoSelectCall() [all …]
|
D | X86ISelDAGToDAG.cpp | 1387 switch (NVT.getSimpleVT().SimpleTy) { in SelectAtomicLoadAdd() 1599 switch (NVT.getSimpleVT().SimpleTy) { in SelectAtomicLoadArith() 1803 switch (NVT.getSimpleVT().SimpleTy) { in Select() 1839 switch (NVT.getSimpleVT().SimpleTy) { in Select() 1867 switch (NVT.getSimpleVT().SimpleTy) { in Select() 1875 switch (NVT.getSimpleVT().SimpleTy) { in Select() 1885 switch (NVT.getSimpleVT().SimpleTy) { in Select() 1967 switch (NVT.getSimpleVT().SimpleTy) { in Select() 1975 switch (NVT.getSimpleVT().SimpleTy) { in Select() 1986 switch (NVT.getSimpleVT().SimpleTy) { in Select() [all …]
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430ISelDAGToDAG.cpp | 306 switch (VT.getSimpleVT().SimpleTy) { in isValidIndexedLoad() 331 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedLoad() 360 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedBinOp()
|
/external/llvm/include/llvm/CodeGen/ |
D | ValueTypes.h | 83 MVT EltTy = getSimpleVT().getVectorElementType(); in changeVectorElementTypeToInteger() 226 MVT getSimpleVT() const { in getSimpleVT() function
|
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/ |
D | MSP430ISelDAGToDAG.cpp | 309 switch (VT.getSimpleVT().SimpleTy) { in isValidIndexedLoad() 334 MVT VT = LD->getMemoryVT().getSimpleVT(); in SelectIndexedLoad() 363 MVT VT = LD->getMemoryVT().getSimpleVT(); in SelectIndexedBinOp()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 287 DstTy.getSimpleVT(), in getCastInstrCost() 288 SrcTy.getSimpleVT())) in getCastInstrCost() 458 SelCondTy.getSimpleVT(), in getCmpSelInstrCost() 459 SelValTy.getSimpleVT())) in getCmpSelInstrCost()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMFastISel.cpp | 690 VT = evt.getSimpleVT(); in isTypeLegal() 836 switch (VT.getSimpleVT().SimpleTy) { in ARMSimplifyAddress() 883 if (VT.getSimpleVT().SimpleTy == MVT::f32 || in AddLoadStoreOperands() 884 VT.getSimpleVT().SimpleTy == MVT::f64) in AddLoadStoreOperands() 901 if (!isThumb && VT.getSimpleVT().SimpleTy == MVT::i16) MIB.addReg(0); in AddLoadStoreOperands() 910 if (!isThumb && VT.getSimpleVT().SimpleTy == MVT::i16) MIB.addReg(0); in AddLoadStoreOperands() 922 switch (VT.getSimpleVT().SimpleTy) { in ARMEmitLoad() 979 switch (VT.getSimpleVT().SimpleTy) { in ARMEmitStore() 1513 unsigned RR = FastEmit_r(SrcVT.getSimpleVT(), DstVT.getSimpleVT(), Opc, in FastEmitExtend() 2024 switch (SrcVT.getSimpleVT().SimpleTy) { in SelectIntCast()
|
D | ARMISelLowering.cpp | 99 setOperationAction(ISD::LOAD, VT.getSimpleVT(), Promote); in addTypeForNEON() 100 AddPromotedToType (ISD::LOAD, VT.getSimpleVT(), in addTypeForNEON() 101 PromotedLdStVT.getSimpleVT()); in addTypeForNEON() 103 setOperationAction(ISD::STORE, VT.getSimpleVT(), Promote); in addTypeForNEON() 104 AddPromotedToType (ISD::STORE, VT.getSimpleVT(), in addTypeForNEON() 105 PromotedLdStVT.getSimpleVT()); in addTypeForNEON() 110 setOperationAction(ISD::SETCC, VT.getSimpleVT(), Custom); in addTypeForNEON() 111 setOperationAction(ISD::EXTRACT_VECTOR_ELT, VT.getSimpleVT(), Custom); in addTypeForNEON() 113 setOperationAction(ISD::SINT_TO_FP, VT.getSimpleVT(), Expand); in addTypeForNEON() 114 setOperationAction(ISD::UINT_TO_FP, VT.getSimpleVT(), Expand); in addTypeForNEON() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsFastISel.cpp | 409 MVT VT = CEVT.getSimpleVT(); in fastMaterializeConstant() 559 VT = evt.getSimpleVT(); in isTypeLegal() 1494 MVT RVVT = RVEVT.getSimpleVT(); in selectRet() 1566 MVT SrcVT = SrcEVT.getSimpleVT(); in selectIntExt() 1567 MVT DestVT = DestEVT.getSimpleVT(); in selectIntExt() 1666 MVT DestVT = DestEVT.getSimpleVT(); in selectDivRem() 1727 MVT Op0MVT = TLI.getValueType(DL, Op0->getType(), true).getSimpleVT(); in selectShift() 1845 MVT VMVT = TLI.getValueType(DL, V->getType(), true).getSimpleVT(); in getRegEnsuringSimpleIntegerWidening()
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | ValueTypes.h | 447 MVT EltTy = getSimpleVT().getVectorElementType(); in changeVectorElementTypeToInteger() 562 MVT getSimpleVT() const { in getSimpleVT() function
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.cpp | 1221 if (VT.getSimpleVT() == MVT::v4i8) in createSplat() 1224 if (VT.getSimpleVT() == MVT::v4i16) in createSplat() 2252 return (MTy1.getSimpleVT() == MVT::i64) && (MTy2.getSimpleVT() == MVT::i32); in isTruncateFree() 2258 return (VT1.getSimpleVT() == MVT::i64) && (VT2.getSimpleVT() == MVT::i32); in isTruncateFree() 2358 if (VT.getSimpleVT() == MVT::v4i16) { in LowerVECTOR_SHIFT() 2372 } else if (VT.getSimpleVT() == MVT::v2i32) { in LowerVECTOR_SHIFT() 2411 if ((VT.getSimpleVT() == MVT::v4i8 || VT.getSimpleVT() == MVT::v4i16) && in LowerBUILD_VECTOR() 2421 if (VT.getSimpleVT() == MVT::v2i32) { in LowerBUILD_VECTOR() 2445 if (VT.getSimpleVT() == MVT::v2i16) { in LowerBUILD_VECTOR() 2543 MVT ST = VecVT.getSimpleVT(); in LowerCONCAT_VECTORS() [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCFastISel.cpp | 287 VT = Evt.getSimpleVT(); in isTypeLegal() 819 MVT SrcVT = SrcEVT.getSimpleVT(); in PPCEmitCmp() 1013 MVT SrcVT = SrcEVT.getSimpleVT(); in SelectIToFP() 1660 MVT RVVT = RVEVT.getSimpleVT(); in SelectRet() 1829 MVT SrcVT = SrcEVT.getSimpleVT(); in SelectIntExt() 1830 MVT DestVT = DestEVT.getSimpleVT(); in SelectIntExt() 2141 MVT VT = CEVT.getSimpleVT(); in fastMaterializeConstant()
|
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/ |
D | SPUISelLowering.cpp | 509 switch(VT.getSimpleVT().SimpleTy){ in getSetCCResultType() 1142 switch (ObjectVT.getSimpleVT().SimpleTy) { in LowerFormalArguments() 1309 switch (Arg.getValueType().getSimpleVT().SimpleTy) { in LowerCall() 1665 switch (VT.getSimpleVT().SimpleTy) { in LowerBUILD_VECTOR() 1958 switch (Op.getValueType().getSimpleVT().SimpleTy) { in LowerSCALAR_TO_VECTOR() 1977 switch (Op0.getValueType().getSimpleVT().SimpleTy) { in LowerSCALAR_TO_VECTOR() 2022 switch (VT.getSimpleVT().SimpleTy) { in LowerEXTRACT_VECTOR_ELT() 2114 switch (VT.getSimpleVT().SimpleTy) { in LowerEXTRACT_VECTOR_ELT() 2356 switch (VT.getSimpleVT().SimpleTy) { in LowerCTPOP() 2675 MVT simpleVT = VT.getSimpleVT(); in LowerTRUNCATE() [all …]
|