/external/llvm/include/llvm/CodeGen/ |
D | MachineValueType.h | 179 SimpleValueType SimpleTy; variable 181 LLVM_CONSTEXPR MVT() : SimpleTy(INVALID_SIMPLE_VALUE_TYPE) {} in MVT() 182 LLVM_CONSTEXPR MVT(SimpleValueType SVT) : SimpleTy(SVT) { } in MVT() 184 bool operator>(const MVT& S) const { return SimpleTy > S.SimpleTy; } 185 bool operator<(const MVT& S) const { return SimpleTy < S.SimpleTy; } 186 bool operator==(const MVT& S) const { return SimpleTy == S.SimpleTy; } 187 bool operator!=(const MVT& S) const { return SimpleTy != S.SimpleTy; } 188 bool operator>=(const MVT& S) const { return SimpleTy >= S.SimpleTy; } 189 bool operator<=(const MVT& S) const { return SimpleTy <= S.SimpleTy; } 193 return (SimpleTy >= MVT::FIRST_VALUETYPE && in isValid() [all …]
|
D | ValueTypes.h | 45 if (V.SimpleTy != VT.V.SimpleTy) 47 if (V.SimpleTy < 0) 63 if (M.SimpleTy >= 0) in getIntegerVT() 72 if (M.SimpleTy >= 0) in getVectorVT() 87 assert(VecTy.SimpleTy >= 0 && in changeVectorElementTypeToInteger() 108 return V.SimpleTy >= 0; in isSimple() 348 return V.SimpleTy; in getRawBits() 357 if (L.V.SimpleTy == R.V.SimpleTy) in operator() 360 return L.V.SimpleTy < R.V.SimpleTy; in operator()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | MachineValueType.h | 239 SimpleValueType SimpleTy = INVALID_SIMPLE_VALUE_TYPE; variable 277 constexpr MVT(SimpleValueType SVT) : SimpleTy(SVT) {} in MVT() 279 bool operator>(const MVT& S) const { return SimpleTy > S.SimpleTy; } 280 bool operator<(const MVT& S) const { return SimpleTy < S.SimpleTy; } 281 bool operator==(const MVT& S) const { return SimpleTy == S.SimpleTy; } 282 bool operator!=(const MVT& S) const { return SimpleTy != S.SimpleTy; } 283 bool operator>=(const MVT& S) const { return SimpleTy >= S.SimpleTy; } 284 bool operator<=(const MVT& S) const { return SimpleTy <= S.SimpleTy; } 288 return (SimpleTy >= MVT::FIRST_VALUETYPE && in isValid() 289 SimpleTy < MVT::LAST_VALUETYPE); in isValid() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | ValueTypes.h | 132 SimpleValueType SimpleTy; variable 134 MVT() : SimpleTy((SimpleValueType)(INVALID_SIMPLE_VALUE_TYPE)) {} in MVT() 135 MVT(SimpleValueType SVT) : SimpleTy(SVT) { } in MVT() 137 bool operator>(const MVT& S) const { return SimpleTy > S.SimpleTy; } 138 bool operator<(const MVT& S) const { return SimpleTy < S.SimpleTy; } 139 bool operator==(const MVT& S) const { return SimpleTy == S.SimpleTy; } 140 bool operator!=(const MVT& S) const { return SimpleTy != S.SimpleTy; } 141 bool operator>=(const MVT& S) const { return SimpleTy >= S.SimpleTy; } 142 bool operator<=(const MVT& S) const { return SimpleTy <= S.SimpleTy; } 146 return ((SimpleTy >= MVT::f32 && SimpleTy <= MVT::ppcf128) || in isFloatingPoint() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86GenFastISel.inc | 27 switch (RetVT.SimpleTy) { 35 if (RetVT.SimpleTy != MVT::i64) 41 switch (VT.SimpleTy) { 51 if (RetVT.SimpleTy != MVT::f32) 81 switch (RetVT.SimpleTy) { 89 if (RetVT.SimpleTy != MVT::i32) 115 switch (RetVT.SimpleTy) { 135 switch (RetVT.SimpleTy) { 143 switch (VT.SimpleTy) { 156 if (RetVT.SimpleTy != MVT::isVoid) [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/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/AArch64/ |
D | AArch64GenFastISel.inc | 98 if (RetVT.SimpleTy != MVT::i64) 104 switch (VT.SimpleTy) { 122 if (RetVT.SimpleTy != MVT::isVoid) 128 switch (VT.SimpleTy) { 137 if (RetVT.SimpleTy != MVT::v8i8) 146 if (RetVT.SimpleTy != MVT::v16i8) 155 if (RetVT.SimpleTy != MVT::v4i16) 164 if (RetVT.SimpleTy != MVT::v8i16) 173 if (RetVT.SimpleTy != MVT::v2i32) 182 if (RetVT.SimpleTy != MVT::v4i32) [all …]
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/ARM/ |
D | ARMGenFastISel.inc | 76 if (RetVT.SimpleTy != MVT::isVoid) 85 switch (VT.SimpleTy) { 94 if (RetVT.SimpleTy != MVT::isVoid) 109 switch (VT.SimpleTy) { 118 if (RetVT.SimpleTy != MVT::isVoid) 127 switch (VT.SimpleTy) { 136 if (RetVT.SimpleTy != MVT::i32) 148 switch (VT.SimpleTy) { 157 if (RetVT.SimpleTy != MVT::i32) 169 switch (VT.SimpleTy) { [all …]
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/X86/ |
D | X86GenFastISel.inc | 43 if (RetVT.SimpleTy != MVT::v16i8) 58 if (RetVT.SimpleTy != MVT::v32i8) 70 if (RetVT.SimpleTy != MVT::v64i8) 79 if (RetVT.SimpleTy != MVT::v8i16) 94 if (RetVT.SimpleTy != MVT::v16i16) 106 if (RetVT.SimpleTy != MVT::v32i16) 115 if (RetVT.SimpleTy != MVT::v4i32) 130 if (RetVT.SimpleTy != MVT::v8i32) 142 if (RetVT.SimpleTy != MVT::v16i32) 151 if (RetVT.SimpleTy != MVT::v2i64) [all …]
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/Mips/ |
D | MipsGenFastISel.inc | 68 if (RetVT.SimpleTy != MVT::f32) 83 if (RetVT.SimpleTy != MVT::f64) 92 if (RetVT.SimpleTy != MVT::i32) 107 if (RetVT.SimpleTy != MVT::i64) 116 switch (VT.SimpleTy) { 128 if (RetVT.SimpleTy != MVT::isVoid) 155 if (RetVT.SimpleTy != MVT::isVoid) 173 switch (VT.SimpleTy) { 183 if (RetVT.SimpleTy != MVT::i32) 198 if (RetVT.SimpleTy != MVT::i64) [all …]
|
/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() 247 return (LegalizeTypeAction)ValueTypeActions[VT.SimpleTy]; in getTypeAction() 251 unsigned I = VT.getSimpleVT().SimpleTy; in setTypeAction() 373 unsigned I = (unsigned) VT.getSimpleVT().SimpleTy; in getOperationAction() 401 return (LegalizeAction)LoadExtActions[VT.getSimpleVT().SimpleTy][ExtType]; in getLoadExtAction() 418 return (LegalizeAction)TruncStoreActions[ValVT.getSimpleVT().SimpleTy] in getTruncStoreAction() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | ValueTypes.h | 48 if (V.SimpleTy != VT.V.SimpleTy) 50 if (V.SimpleTy == MVT::INVALID_SIMPLE_VALUE_TYPE) 66 if (M.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE) in getIntegerVT() 76 if (M.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE) 87 if (M.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE) in getVectorVT() 107 assert(VecTy.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE && in changeVectorElementTypeToInteger() 127 return V.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE; in isSimple() 393 return V.SimpleTy; in getRawBits() 402 if (L.V.SimpleTy == R.V.SimpleTy) in operator() 405 return L.V.SimpleTy < R.V.SimpleTy; in operator()
|
D | TargetLowering.h | 608 const TargetRegisterClass *RC = RegClassForVT[VT.SimpleTy]; in getRegClassFor() 621 const TargetRegisterClass *RC = RepRegClassForVT[VT.SimpleTy]; in getRepRegClassFor() 628 return RepRegClassCostForVT[VT.SimpleTy]; in getRepRegClassCostFor() 636 (unsigned)VT.getSimpleVT().SimpleTy < array_lengthof(RegClassForVT)); in isTypeLegal() 637 return VT.isSimple() && RegClassForVT[VT.getSimpleVT().SimpleTy] != nullptr; in isTypeLegal() 652 return ValueTypeActions[VT.SimpleTy]; in getTypeAction() 656 ValueTypeActions[VT.SimpleTy] = Action; in setTypeAction() 790 return OpActions[(unsigned)VT.getSimpleVT().SimpleTy][Op]; in getOperationAction() 947 unsigned ValI = (unsigned) ValVT.getSimpleVT().SimpleTy; in getLoadExtAction() 948 unsigned MemI = (unsigned) MemVT.getSimpleVT().SimpleTy; in getLoadExtAction() [all …]
|
/external/llvm/include/llvm/Target/ |
D | TargetLowering.h | 431 const TargetRegisterClass *RC = RegClassForVT[VT.SimpleTy]; in getRegClassFor() 444 const TargetRegisterClass *RC = RepRegClassForVT[VT.SimpleTy]; in getRepRegClassFor() 451 return RepRegClassCostForVT[VT.SimpleTy]; in getRepRegClassCostFor() 459 (unsigned)VT.getSimpleVT().SimpleTy < array_lengthof(RegClassForVT)); in isTypeLegal() 460 return VT.isSimple() && RegClassForVT[VT.getSimpleVT().SimpleTy] != nullptr; in isTypeLegal() 475 return ValueTypeActions[VT.SimpleTy]; in getTypeAction() 479 ValueTypeActions[VT.SimpleTy] = Action; in setTypeAction() 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() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
D | NVPTXISelDAGToDAG.cpp | 903 fromType = ScalarVT.SimpleTy == MVT::f16 ? NVPTX::PTXLdStInstCode::Untyped in tryLoad() 914 MVT::SimpleValueType TargetVT = LD->getSimpleValueType(0).SimpleTy; in tryLoad() 1042 FromType = ScalarVT.SimpleTy == MVT::f16 ? NVPTX::PTXLdStInstCode::Untyped in tryLoadVector() 1077 Opcode = pickOpcodeForVT(EltVT.getSimpleVT().SimpleTy, in tryLoadVector() 1085 pickOpcodeForVT(EltVT.getSimpleVT().SimpleTy, NVPTX::LDV_i8_v4_avar, in tryLoadVector() 1104 Opcode = pickOpcodeForVT(EltVT.getSimpleVT().SimpleTy, in tryLoadVector() 1112 pickOpcodeForVT(EltVT.getSimpleVT().SimpleTy, NVPTX::LDV_i8_v4_asi, in tryLoadVector() 1133 EltVT.getSimpleVT().SimpleTy, NVPTX::LDV_i8_v2_ari_64, in tryLoadVector() 1141 EltVT.getSimpleVT().SimpleTy, NVPTX::LDV_i8_v4_ari_64, in tryLoadVector() 1152 Opcode = pickOpcodeForVT(EltVT.getSimpleVT().SimpleTy, in tryLoadVector() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64CallingConvention.h | 90 if (LocVT.SimpleTy == MVT::i64) in CC_AArch64_Custom_Block() 92 else if (LocVT.SimpleTy == MVT::f16) in CC_AArch64_Custom_Block() 94 else if (LocVT.SimpleTy == MVT::f32 || LocVT.is32BitVector()) in CC_AArch64_Custom_Block() 96 else if (LocVT.SimpleTy == MVT::f64 || LocVT.is64BitVector()) in CC_AArch64_Custom_Block() 98 else if (LocVT.SimpleTy == MVT::f128 || LocVT.is128BitVector()) in CC_AArch64_Custom_Block()
|
D | AArch64FastISel.cpp | 332 switch (VT.SimpleTy) { in getImplicitScaleFactor() 1132 switch (RetVT.SimpleTy) { in emitAddSub() 1151 RetVT.SimpleTy = std::max(RetVT.SimpleTy, MVT::i32); in emitAddSub() 1459 switch (VT.SimpleTy) { in emitCmp() 1649 MVT VT = std::max(MVT::i32, RetVT.SimpleTy); in emitLogicalOp() 1671 switch (RetVT.SimpleTy) { in emitLogicalOp_ri() 1722 switch (RetVT.SimpleTy) { in emitLogicalOp_rs() 1829 switch (VT.SimpleTy) { in emitLoad() 2058 switch (VT.SimpleTy) { in emitStoreRelease() 2117 switch (VT.SimpleTy) { in emitStore() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64CallingConvention.h | 90 if (LocVT.SimpleTy == MVT::i64) in CC_AArch64_Custom_Block() 92 else if (LocVT.SimpleTy == MVT::f16) in CC_AArch64_Custom_Block() 94 else if (LocVT.SimpleTy == MVT::f32 || LocVT.is32BitVector()) in CC_AArch64_Custom_Block() 96 else if (LocVT.SimpleTy == MVT::f64 || LocVT.is64BitVector()) in CC_AArch64_Custom_Block() 98 else if (LocVT.SimpleTy == MVT::f128 || LocVT.is128BitVector()) in CC_AArch64_Custom_Block()
|
D | AArch64FastISel.cpp | 286 switch (VT.SimpleTy) { in getImplicitScaleFactor() 1086 switch (RetVT.SimpleTy) { in emitAddSub() 1105 RetVT.SimpleTy = std::max(RetVT.SimpleTy, MVT::i32); in emitAddSub() 1405 switch (VT.SimpleTy) { in emitCmp() 1595 MVT VT = std::max(MVT::i32, RetVT.SimpleTy); in emitLogicalOp() 1617 switch (RetVT.SimpleTy) { in emitLogicalOp_ri() 1668 switch (RetVT.SimpleTy) { in emitLogicalOp_rs() 1775 switch (VT.SimpleTy) { in emitLoad() 2041 switch (VT.SimpleTy) { in emitStore() 2586 switch (VT.SimpleTy) { in selectSelect() [all …]
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXISelDAGToDAG.cpp | 739 MVT::SimpleValueType TargetVT = LD->getSimpleValueType(0).SimpleTy; in tryLoad() 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() 1195 switch (EltVT.getSimpleVT().SimpleTy) { in tryLoadVector() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86FastISel.cpp | 359 switch (VT.getSimpleVT().SimpleTy) { in X86FastEmitLoad() 511 switch (VT.getSimpleVT().SimpleTy) { in X86FastEmitStore() 660 switch (VT.getSimpleVT().SimpleTy) { in X86FastEmitStore() 1333 switch (VT.getSimpleVT().SimpleTy) { in X86ChooseCmpOpcode() 1350 switch (VT.getSimpleVT().SimpleTy) { in X86ChooseCmpImmediateOpcode() 1516 if (SrcVT.SimpleTy == MVT::i1) { in X86SelectZExt() 1529 switch (SrcVT.SimpleTy) { in X86SelectZExt() 1646 switch (SourceVT.SimpleTy) { in X86SelectBranch() 1836 switch (VT.SimpleTy) { in X86SelectDivRem() 1880 if (VT.SimpleTy == MVT::i16) { in X86SelectDivRem() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | CodeGenDAGPatterns.h | 90 return (Words[T.SimpleTy / WordWidth] >> (T.SimpleTy % WordWidth)) & 1; in count() 93 bool V = count(T.SimpleTy); in insert() 94 Words[T.SimpleTy / WordWidth] |= WordType(1) << (T.SimpleTy % WordWidth); in insert() 104 Words[T.SimpleTy / WordWidth] &= ~(WordType(1) << (T.SimpleTy % WordWidth)); in erase() 632 return Types[ResNo].getMachineValueType().SimpleTy; in getSimpleType()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86FastISel.cpp | 333 switch (VT.getSimpleVT().SimpleTy) { in X86FastEmitLoad() 509 switch (VT.getSimpleVT().SimpleTy) { in X86FastEmitStore() 681 switch (VT.getSimpleVT().SimpleTy) { in X86FastEmitStore() 1356 switch (VT.getSimpleVT().SimpleTy) { in X86ChooseCmpOpcode() 1379 switch (VT.getSimpleVT().SimpleTy) { in X86ChooseCmpImmediateOpcode() 1555 switch (SrcVT.SimpleTy) { in X86SelectZExt() 1728 switch (SourceVT.SimpleTy) { in X86SelectBranch() 1930 switch (VT.SimpleTy) { in X86SelectDivRem() 2204 switch (RetVT.SimpleTy) { in X86FastEmitSSESelect() 2301 switch (RetVT.SimpleTy) { in X86FastEmitPseudoSelect() [all …]
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | ValueTypes.cpp | 96 switch (V.SimpleTy) { in getEVTString() 150 switch (V.SimpleTy) { in getTypeForEVT()
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600RegisterInfo.cpp | 69 switch(VT.SimpleTy) { in getCFGStructurizerRegClass()
|